-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path[proc,telenexus_left_click].cs2
106 lines (106 loc) · 4.61 KB
/
[proc,telenexus_left_click].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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
// 2583
[proc,telenexus_left_click](component $component0, component $component1, component $component2, component $component3, component $component4)
def_graphic $graphic5 = "options_radio_buttons,0";
def_graphic $graphic6 = "options_radio_buttons,4";
def_graphic $graphic7 = "options_radio_buttons,2";
def_graphic $graphic8 = "options_radio_buttons,6";
def_graphic $graphic9 = "checkbox,0";
def_graphic $graphic10 = "checkbox,3";
def_graphic $graphic11 = "checkbox,2";
def_graphic $graphic12 = "checkbox,5";
def_string $string0 = "";
def_int $int13 = 0;
def_struct $struct14 = enum(int, struct, enum_1377, %varbit6669);
if (struct_param($struct14, param_680) ! null) {
$struct14 = struct_param($struct14, param_680);
}
if_setonop("telenexus_tick_op($component0, $component1, $component2, $component3, $component4)", $component4);
if (%varbit6669 = 0 | $struct14 = null) {
if_sethide(true, $component2);
if_sethide(false, $component1);
if_settext("None set", $component1);
if_setgraphic($graphic9, $component3);
if_setonmouseover("telenexus_tick_mouseover($component3, $component4, $graphic10)", $component4);
if_setonmouseleave("telenexus_tick_mouseleave($component3, $component4, $graphic9)", $component4);
} else if (%varbit6669 < 150 & %varbit6669 ! 1 & %varbit6669 ! 4 & %varbit6669 ! 6) {
if_sethide(true, $component2);
if_sethide(false, $component1);
if_settext(struct_param($struct14, param_660), $component1);
if_setgraphic($graphic11, $component3);
if_setonmouseover("telenexus_tick_mouseover($component3, $component4, $graphic12)", $component4);
if_setonmouseleave("telenexus_tick_mouseleave($component3, $component4, $graphic11)", $component4);
} else {
$int13, $string0 = ~script2664($struct14);
if_sethide(false, $component2);
if_sethide(true, $component1);
if_setgraphic($graphic11, $component3);
if_setonmouseover("telenexus_tick_mouseover($component3, $component4, $graphic12)", $component4);
if_setonmouseleave("telenexus_tick_mouseleave($component3, $component4, $graphic11)", $component4);
cc_create($component2, ^iftype_graphic, 0);
cc_setsize(17, 17, ^setsize_abs, ^setsize_abs);
cc_setposition(0, 3, ^setpos_abs_left, ^setpos_abs_top);
if (%varbit6669 < 150) {
cc_setgraphic($graphic7);
} else {
cc_setgraphic($graphic5);
}
cc_create($component2, ^iftype_graphic, 1);
cc_setsize(17, 17, ^setsize_abs, ^setsize_abs);
cc_setposition(0, 33, ^setpos_abs_left, ^setpos_abs_top);
if (%varbit6669 > 150) {
cc_setgraphic($graphic7);
} else {
cc_setgraphic($graphic5);
}
cc_create($component2, ^iftype_text, 2);
cc_settextfont(p12_full);
cc_settextalign(^settextalign_centre, ^settextalign_top, 0);
cc_settextshadow(true);
cc_settext(struct_param($struct14, param_660));
cc_setsize(10, 20, ^setsize_minus, ^setsize_abs);
cc_setposition(5, 5, ^setpos_abs_left, ^setpos_abs_top);
cc_setopbase("<col=ff9040><struct_param($struct14, param_660)>");
cc_setop(1, "Select");
if ($int13 = 1) {
cc_setcolour(0xff981f);
cc_setonop("telenexus_radio_click($component0, $component1, $component2, event_com, event_comsubid, $component3, $component4)");
if (%varbit6669 < 150 & %varbit6669 > 0) {
cc_setonmouseover("script2648($component2, 0, 2, $graphic8, null)");
cc_setonmouseleave("script2649($component2, 0, 2, $graphic7, null)");
} else {
cc_setonmouseover("script2648($component2, 0, 2, $graphic6, null)");
cc_setonmouseleave("script2649($component2, 0, 2, $graphic5, null)");
}
} else {
cc_setcolour(0xbbbbbb);
cc_setonop(null);
cc_setonmouseover(null);
cc_setonmouseleave(null);
}
$int13, $string0 = ~script2664(struct_param($struct14, param_679));
cc_create($component2, ^iftype_text, 3);
cc_settextfont(p12_full);
cc_settextalign(^settextalign_centre, ^settextalign_top, 0);
cc_settextshadow(true);
cc_settext(struct_param(struct_param($struct14, param_679), param_660));
cc_setsize(10, 20, ^setsize_minus, ^setsize_abs);
cc_setposition(5, 35, ^setpos_abs_left, ^setpos_abs_top);
cc_setopbase("<col=ff9040><struct_param(struct_param($struct14, param_679), param_660)>");
cc_setop(1, "Select");
if ($int13 = 1) {
cc_setcolour(0xff981f);
cc_setonop("telenexus_radio_click($component0, $component1, $component2, event_com, event_comsubid, $component3, $component4)");
if (%varbit6669 > 150) {
cc_setonmouseover("script2648($component2, 1, 3, $graphic8, null)");
cc_setonmouseleave("script2649($component2, 1, 3, $graphic7, null)");
} else {
cc_setonmouseover("script2648($component2, 1, 3, $graphic6, null)");
cc_setonmouseleave("script2649($component2, 1, 3, $graphic5, null)");
}
} else {
cc_setcolour(0xbbbbbb);
cc_setonop(null);
cc_setonmouseover(null);
cc_setonmouseleave(null);
}
}