-
Notifications
You must be signed in to change notification settings - Fork 0
/
[proc,collection_searchbar_create].cs2
39 lines (39 loc) · 1.65 KB
/
[proc,collection_searchbar_create].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
// 4086
[proc,collection_searchbar_create](component $component0, int $int1)
def_boolean $boolean2 = ~on_mobile;
if ($boolean2 = true) {
if_setsize(95, 35, ^setsize_minus, ^setsize_abs, interface_621:71);
if_setsize(101, 6, ^setsize_minus, ^setsize_minus, interface_621:72);
}
cc_deleteall($component0);
def_int $int3 = 0;
cc_create($component0, ^iftype_graphic, $int3);
$int3 = calc($int3 + 1);
cc_setsize(8, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_setgraphic("graphic_1124");
cc_create($component0, ^iftype_graphic, $int3);
$int3 = calc($int3 + 1);
cc_setsize(4, 0, ^setsize_abs, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_centre);
cc_setgraphic("graphic_1123");
cc_create($component0, ^iftype_graphic, $int3);
$int3 = calc($int3 + 1);
cc_setsize(4, 0, ^setsize_abs, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_right, ^setpos_abs_centre);
cc_setgraphic("graphic_1125");
$int3 = calc($int3 + 1);
if ($boolean2 = true) {
if_setsize(70, 31, ^setsize_abs, ^setsize_abs, interface_621:81);
if_setposition(38, 47, ^setpos_abs_right, ^setpos_abs_top, interface_621:81);
$int3 = ~v2_stone_button_filled(interface_621:81);
if_setop(1, "Search", interface_621:81);
if_setonop("collection_search_button_press", interface_621:81);
cc_create(interface_621:81, ^iftype_text, $int3);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_settextfont(p11_full);
cc_settext("<col=d6d6d6>Search");
}
~collection_searchbar_setup_op(1, interface_621:75, interface_621:80);