This repository was archived by the owner on Feb 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path[proc,friends_sortbutton_draw].cs2
25 lines (25 loc) · 1.8 KB
/
[proc,friends_sortbutton_draw].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
// 1669
[proc,friends_sortbutton_draw](component $component0, int $int1, int $int2, int $int3, string $string0, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11, component $component12)
cc_deleteall($component0);
cc_create($component0, ^iftype_graphic, 0);
cc_setsize(7, 5, ^setsize_abs, ^setsize_abs);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
if (%varcint183 = $int2) {
cc_setgraphic("sortarrows,1");
cc_settrans(0);
if_setonmouserepeat("script1528(event_com, cc_getid, 120, $component12, $string0)", $component0);
if_setonmouseleave("cc_settrans(event_com, cc_getid, 0, $component12)", $component0);
if_setonclick("friends_sortbutton_clicksort($int1, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12)", $component0);
} else if (%varcint183 = $int1) {
cc_setgraphic("sortarrows,0");
cc_settrans(0);
if_setonmouserepeat("script1528(event_com, cc_getid, 120, $component12, $string0)", $component0);
if_setonmouseleave("cc_settrans(event_com, cc_getid, 0, $component12)", $component0);
if_setonclick("friends_sortbutton_clicksort($int2, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12)", $component0);
} else {
cc_setgraphic("sortarrows,0");
cc_settrans(100);
if_setonmouserepeat("script1528(event_com, cc_getid, 200, $component12, $string0)", $component0);
if_setonmouseleave("cc_settrans(event_com, cc_getid, 100, $component12)", $component0);
if_setonclick("friends_sortbutton_clicksort($int3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12)", $component0);
}