-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[clientscript,script885].cs2
39 lines (39 loc) · 1.55 KB
/
[clientscript,script885].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
// 885
[clientscript,script885](component $component0, component $component1, component $component2, component $component3)
cc_deleteall($component1);
def_int $int4 = 16777215;
def_int $int5 = 0;
.cc_create($component1, ^iftype_graphic, $int5);
$int5 = calc($int5 + 1);
.cc_setsize(0, 20, ^setsize_minus, ^setsize_abs);
.cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_top);
.cc_setgraphic(tradebacking);
.cc_settiling(true);
cc_create($component1, ^iftype_rectangle, $int5);
$int5 = calc($int5 + 1);
cc_setsize(0, 20, ^setsize_minus, ^setsize_abs);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_top);
cc_setfill(false);
cc_setcolour(0x0e0e0c);
cc_create($component1, ^iftype_rectangle, $int5);
$int5 = calc($int5 + 1);
cc_setsize(2, 18, ^setsize_minus, ^setsize_abs);
cc_setposition(0, 1, ^setpos_abs_centre, ^setpos_abs_top);
cc_setfill(false);
cc_setcolour(0x474745);
cc_create($component1, ^iftype_graphic, $int5);
$int5 = calc($int5 + 1);
cc_setsize(16, 16, ^setsize_abs, ^setsize_abs);
cc_setposition(2, 2, ^setpos_abs_right, ^setpos_abs_top);
cc_create($component1, ^iftype_text, $int5);
def_int $int6 = $int5;
$int5 = calc($int5 + 1);
cc_setsize(20, 16, ^setsize_minus, ^setsize_abs);
cc_setposition(2, 2, ^setpos_abs_left, ^setpos_abs_top);
cc_settextfont(p11_full);
cc_settextshadow(true);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
~script1109($component1, 5);
if_sethide(true, $component2);
.cc_setonclick("script886($component0, $component1, $int6, $component2, $component3, $int4)");
~league_setup_display_hoveroff($component1, $int4);