-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,script4501].cs2
64 lines (64 loc) · 2.5 KB
/
[proc,script4501].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
// 4501
[proc,script4501](component $component0, int $int1, component $component2, int $int3, string $text0, int $int4, int $int5, int $int6, int $int7, string $text1)(int, int, int)
def_int $comsubid8 = 0;
cc_create($component0, ^iftype_text, $int1);
$int1 = calc($int1 + 1);
cc_setsize($int6, 12, ^setsize_abs, ^setsize_abs);
cc_setposition($int4, calc($int5 - 12), ^setpos_abs_left, ^setpos_abs_top);
cc_settext($text1);
cc_settextfont(p11_full);
cc_setcolour(0xff981f);
cc_settextshadow(true);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_create($component0, ^iftype_graphic, $int1);
$int1 = calc($int1 + 1);
cc_setsize($int6, $int7, ^setsize_abs, ^setsize_abs);
cc_setposition($int4, $int5, ^setpos_abs_left, ^setpos_abs_top);
cc_setgraphic("tradebacking");
cc_settiling(true);
cc_create($component0, ^iftype_rectangle, $int1);
def_int $int9 = $int1;
$int1 = calc($int1 + 1);
cc_setsize($int6, $int7, ^setsize_abs, ^setsize_abs);
cc_setposition($int4, $int5, ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(false);
cc_setcolour(0x0e0e0c);
cc_create($component0, ^iftype_rectangle, $int1);
$int1 = calc($int1 + 1);
cc_setsize(calc($int6 - 2), calc($int7 - 2), ^setsize_abs, ^setsize_abs);
cc_setposition(calc($int4 + 1), calc($int5 + 1), ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(false);
cc_setcolour(0x474745);
$comsubid8 = $int1;
cc_create($component0, ^iftype_text, $int1);
$int1 = calc($int1 + 1);
cc_setsize(calc($int6 - 6), calc($int7 - 4), ^setsize_abs, ^setsize_abs);
cc_setposition(calc($int4 + 3), calc($int5 + 2), ^setpos_abs_left, ^setpos_abs_top);
cc_settext($text0);
cc_settextfont(p12_full);
cc_setcolour(0xff981f);
cc_settextshadow(true);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_create($component2, ^iftype_rectangle, $int3);
cc_setsize($int6, calc($int7 + 12), ^setsize_abs, ^setsize_abs);
cc_setposition($int4, calc($int5 - 12), ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(true);
cc_setcolour(^white);
cc_settrans(255);
cc_setop(1, "Select");
$int3 = calc($int3 + 1);
if (~on_mobile = false) {
cc_setonmouseover("cc_settrans($component0, $int1, 220, null)");
cc_setonmouseleave("cc_settrans($component0, $int1, 255, null)");
} else {
cc_setonmouseover(null);
cc_setonmouseleave(null);
}
cc_create($component0, ^iftype_rectangle, $int1);
cc_setsize($int6, $int7, ^setsize_abs, ^setsize_abs);
cc_setposition($int4, $int5, ^setpos_abs_left, ^setpos_abs_top);
cc_setfill(true);
cc_setcolour(^black);
cc_settrans(255);
$int1 = calc($int1 + 1);
return($int1, $int3, $comsubid8);