-
Notifications
You must be signed in to change notification settings - Fork 0
/
[proc,gim_options_categorytitle].cs2
57 lines (57 loc) · 2.02 KB
/
[proc,gim_options_categorytitle].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
// 3696
[proc,gim_options_categorytitle](int $int0, int $int1, string $op0, component $component2, component $component3, int $int4, component $component5, int $count6, int $int7, boolean $boolean8, string $text1)(int, int)
cc_create($component2, ^iftype_graphic, $int0);
$int0 = calc($int0 + 1);
cc_setsize(0, 25, ^setsize_minus, ^setsize_abs);
cc_setposition(0, $int1, ^setpos_abs_centre, ^setpos_abs_top);
cc_setgraphic("tradebacking");
cc_settiling(true);
cc_create($component2, ^iftype_text, $int0);
$int0 = calc($int0 + 1);
cc_setsize(0, 25, ^setsize_minus, ^setsize_abs);
cc_setposition(0, $int1, ^setpos_abs_centre, ^setpos_abs_top);
cc_setcolour(0xff981f);
cc_settextshadow(true);
cc_settextfont(b12_full);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_settext($op0);
.cc_create($component3, ^iftype_rectangle, $int4);
$int4 = calc($int4 + 1);
.cc_setsize(0, $int7, ^setsize_minus, ^setsize_abs);
.cc_setposition(0, calc($count6 * $int7), ^setpos_abs_centre, ^setpos_abs_top);
.cc_setcolour(^white);
.cc_setfill(true);
if (calc($count6 % 2) = 0) {
.cc_settrans(230);
.cc_setonmouseleave("cc_settrans(event_com, event_comsubid, 230, null)");
} else {
.cc_settrans(215);
.cc_setonmouseleave("cc_settrans(event_com, event_comsubid, 215, null)");
}
if (~on_mobile = false) {
.cc_setonmouserepeat("cc_settrans(event_com, event_comsubid, 200, null)");
}
.cc_setop(1, $op0);
.cc_setonop("gim_options_indexop($component2, $component5, cc_getid, $int1, 16711680, 16750623)");
.cc_create($component3, ^iftype_text, $int4);
$int4 = calc($int4 + 1);
.cc_setsize(0, $int7, ^setsize_minus, ^setsize_abs);
.cc_setposition(0, calc($count6 * $int7), ^setpos_abs_centre, ^setpos_abs_top);
if ($boolean8 = true) {
.cc_setcolour(^white);
} else {
.cc_setcolour(0xff981f);
}
.cc_settextshadow(true);
if ($boolean8 = true) {
.cc_settextfont(p11_full);
} else {
.cc_settextfont(p12_full);
}
.cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
if ($boolean8 = true) {
.cc_settext($text1);
} else {
.cc_settext($op0);
}
return($int0, $int4);