-
Notifications
You must be signed in to change notification settings - Fork 11
/
[proc,clan_permissions_categorytitle].cs2
45 lines (45 loc) · 1.82 KB
/
[proc,clan_permissions_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
// 4460
[proc,clan_permissions_categorytitle](int $int0, int $int1, string $op0, component $component2, component $component3, int $int4, component $component5, int $count6, int $int7)(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("clan_permissions_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);
.cc_setcolour(0xff981f);
.cc_settextshadow(true);
.cc_settextfont(p12_full);
.cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
.cc_settext($op0);
return($int0, $int4);