-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,settings_side_dropdown_create].cs2
67 lines (67 loc) · 2.77 KB
/
[proc,settings_side_dropdown_create].cs2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// 4567
[proc,settings_side_dropdown_create](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $layer6, string $string0, struct $struct7)
cc_deleteall($component0);
if ($struct7 = null) {
return;
}
def_enum $enum8 = struct_param($struct7, param_1091);
if (~on_mobile = true & struct_param($struct7, param_1092) ! null) {
$enum8 = struct_param($struct7, param_1092);
}
def_int $setting9 = struct_param($struct7, param_1077);
if ($enum8 = null) {
return;
}
if (compare($string0, "") ! 0) {
$string0 = "<$string0>:";
}
def_int $int10 = 0;
cc_create($component0, ^iftype_graphic, $int10);
$int10 = calc($int10 + 1);
cc_setsize(0, 20, ^setsize_minus, ^setsize_abs);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_bottom);
cc_setgraphic(tradebacking);
cc_settiling(true);
cc_setonclick("settings_side_dropdown_open($component0, $component1, $component2, $component3, $component4, $component5, $layer6, $enum8, $setting9)");
cc_create($component0, ^iftype_rectangle, $int10);
$int10 = calc($int10 + 1);
cc_setsize(0, 20, ^setsize_minus, ^setsize_abs);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_bottom);
cc_setfill(false);
cc_setcolour(0x0e0e0c);
cc_create($component0, ^iftype_rectangle, $int10);
$int10 = calc($int10 + 1);
cc_setsize(2, 18, ^setsize_minus, ^setsize_abs);
cc_setposition(0, 1, ^setpos_abs_centre, ^setpos_abs_bottom);
cc_setfill(false);
cc_setcolour(0x474745);
cc_create($component0, ^iftype_graphic, $int10);
$int10 = calc($int10 + 1);
cc_setsize(16, 16, ^setsize_abs, ^setsize_abs);
cc_setposition(2, 2, ^setpos_abs_right, ^setpos_abs_bottom);
cc_create($component0, ^iftype_text, $int10);
$int10 = calc($int10 + 1);
cc_setsize(20, 16, ^setsize_minus, ^setsize_abs);
cc_setposition(2, 2, ^setpos_abs_left, ^setpos_abs_bottom);
cc_settextfont(p11_full);
cc_settextshadow(true);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
~settings_side_dropdown_update($component0, $enum8, $setting9);
cc_create($component0, ^iftype_text, $int10);
$int10 = calc($int10 + 1);
cc_setsize(0, 20, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_top);
cc_setcolour(0xff981f);
cc_settextshadow(true);
cc_settextfont(p12_full);
cc_settextalign(^settextalign_left, ^settextalign_centre, 0);
cc_settext($string0);
~xpdrops_setup_display_hoveroff($component0);
switch_int ($setting9) {
case 55 :
if_setonvartransmit("settings_side_dropdown_transmit($component0, $enum8, $setting9){var1107}", $component0);
case 56 :
if_setonvartransmit("settings_side_dropdown_transmit($component0, $enum8, $setting9){var1306}", $component0);
case ^setting_windowmode :
if_setonvartransmit("settings_side_dropdown_transmit($component0, $enum8, $setting9){var2855}", $component0);
}