-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain_window.hpp
259 lines (256 loc) · 6.92 KB
/
main_window.hpp
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
class main_window {
idd = 5;
movingEnable = true;
controls[]=
{
frame_3,
frame_1,
frame_2,
text_title,
text_parts,
text_supply,
button_body,
button_hands,
button_legs,
button_misc,
button_head,
button_bandage,
button_morphine,
button_adrenalin,
button_splint,
button_firstaid,
button_diagnose,
button_inspect,
button_treat,
text_report,
text_report_title
};
////////////////////////////////////////////////////////
// GUI EDITOR OUTPUT START (by |TG-355th| Yink, v1.063, #Pudolo)
////////////////////////////////////////////////////////
class frame_3: RscFrame
{
idc = 1801;
x = 0.6275 * safezoneW + safezoneX;
y = 0.176985 * safezoneH + safezoneY;
w = 0.111563 * safezoneW;
h = 0.64603 * safezoneH;
colorBackground[] = {0.12,0.12,0.12,0.8};
};
class frame_1: RscFrame
{
idc = 1800;
x = 0.260937 * safezoneW + safezoneX;
y = 0.176985 * safezoneH + safezoneY;
w = 0.111563 * safezoneW;
h = 0.64603 * safezoneH;
colorBackground[] = {0.12,0.12,0.12,0.8};
};
class frame_2: RscFrame
{
idc = 1802;
x = 0.3725 * safezoneW + safezoneX;
y = 0.176985 * safezoneH + safezoneY;
w = 0.255 * safezoneW;
h = 0.204009 * safezoneH;
colorBackground[] = {0.12,0.12,0.12,0.8};
};
class text_title: RscText
{
idc = 1000;
text = "MedYink Diagnostics"; //--- ToDo: Localize;
x = 0.420312 * safezoneW + safezoneX;
y = 0.0919812 * safezoneH + safezoneY;
w = 0.159375 * safezoneW;
h = 0.0850039 * safezoneH;
colorBackground[] = {0,0,0,1};
};
class text_parts: RscText
{
idc = 1001;
text = "Parts"; //--- ToDo: Localize;
x = 0.260937 * safezoneW + safezoneX;
y = 0.125983 * safezoneH + safezoneY;
w = 0.06375 * safezoneW;
h = 0.0510023 * safezoneH;
colorBackground[] = {0,0,0,1};
};
class text_supply: RscText
{
idc = 1002;
text = "Supplies"; //--- ToDo: Localize;
x = 0.675313 * safezoneW + safezoneX;
y = 0.125983 * safezoneH + safezoneY;
w = 0.06375 * safezoneW;
h = 0.0510023 * safezoneH;
colorBackground[] = {0,0,0,1};
};
class button_body: RscButton
{
idc = 1600;
text = "Body"; //--- ToDo: Localize;
x = 0.276875 * safezoneW + safezoneX;
y = 0.329992 * safezoneH + safezoneY;
w = 0.0796875 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "dialogexe = [player,""body""] spawn yink_fnc_diag_set;";
};
class button_hands: RscButton
{
idc = 1601;
text = "Hands"; //--- ToDo: Localize;
x = 0.276875 * safezoneW + safezoneX;
y = 0.448998 * safezoneH + safezoneY;
w = 0.0796875 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "dialogexe = [player,""hands""] spawn yink_fnc_diag_set;";
};
class button_legs: RscButton
{
idc = 1602;
text = "Legs"; //--- ToDo: Localize;
x = 0.276875 * safezoneW + safezoneX;
y = 0.568003 * safezoneH + safezoneY;
w = 0.0796875 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "dialogexe = [player,""legs""] spawn yink_fnc_diag_set;";
};
class button_misc: RscButton
{
idc = 1603;
text = "Misc."; //--- ToDo: Localize;
x = 0.276875 * safezoneW + safezoneX;
y = 0.687009 * safezoneH + safezoneY;
w = 0.0796875 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "dialogexe = [player,""misc""] spawn yink_fnc_diag_set;";
};
class button_head: RscButton
{
idc = 1604;
text = "Head"; //--- ToDo: Localize;
x = 0.276875 * safezoneW + safezoneX;
y = 0.210987 * safezoneH + safezoneY;
w = 0.0796875 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "dialogexe = [player,""head""] spawn yink_fnc_diag_set";
};
class button_bandage: RscButton
{
idc = 1605;
text = "Bandage"; //--- ToDo: Localize;
x = 0.643438 * safezoneW + safezoneX;
y = 0.210987 * safezoneH + safezoneY;
w = 0.0796875 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "player setvariable [""currentItem"",""bandage""];";
};
class button_morphine: RscButton
{
idc = 1606;
text = "Morphine"; //--- ToDo: Localize;
x = 0.643438 * safezoneW + safezoneX;
y = 0.329992 * safezoneH + safezoneY;
w = 0.0796875 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "player setvariable [""currentItem"",""morphine""];";
};
class button_adrenalin: RscButton
{
idc = 1607;
text = "Adrenaline"; //--- ToDo: Localize;
x = 0.643438 * safezoneW + safezoneX;
y = 0.448998 * safezoneH + safezoneY;
w = 0.0796875 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "player setvariable [""currentItem"",""adrenalin""];";
};
class button_splint: RscButton
{
idc = 1608;
text = "Splint"; //--- ToDo: Localize;
x = 0.643438 * safezoneW + safezoneX;
y = 0.568003 * safezoneH + safezoneY;
w = 0.0796875 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "player setvariable [""currentItem"",""splint""];";
};
class button_firstaid: RscButton
{
idc = 1609;
text = "Blood Bag"; //--- ToDo: Localize;
x = 0.643438 * safezoneW + safezoneX;
y = 0.687009 * safezoneH + safezoneY;
w = 0.0796875 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "player setvariable [""currentItem"",""First Aid""];";
};
class button_diagnose: RscButton
{
idc = 1610;
text = "Diagnose"; //--- ToDo: Localize;
x = 0.380469 * safezoneW + safezoneX;
y = 0.193986 * safezoneH + safezoneY;
w = 0.06375 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "dialogexe = [player] spawn yink_fnc_diag_diag;";
};
class button_inspect: RscButton
{
idc = 1611;
text = "Inspect"; //--- ToDo: Localize;
x = 0.460156 * safezoneW + safezoneX;
y = 0.193986 * safezoneH + safezoneY;
w = 0.06375 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "dialogexe = [player] spawn yink_fnc_diag_inspect";
};
class button_treat: RscButton
{
idc = 1612;
text = "Treat"; //--- ToDo: Localize;
x = 0.539844 * safezoneW + safezoneX;
y = 0.193986 * safezoneH + safezoneY;
w = 0.0717188 * safezoneW;
h = 0.0680031 * safezoneH;
colorBackground[] = {0,0,0,1};
action = "_heal = [player,player getvariable ""currentItem""] spawn yink_fnc_diag_treat;";
};
class text_report: RscText
{
idc = 1004;
text = "Report:"; //--- ToDo: Localize;
x = 0.388438 * safezoneW + safezoneX;
y = 0.329992 * safezoneH + safezoneY;
w = 0.223125 * safezoneW;
h = 0.0510023 * safezoneH;
colorBackground[] = {0,0,0,1};
size = 0.75;
};
class text_report_title: RscText
{
idc = 1003;
text = "Report"; //--- ToDo: Localize;
x = 0.43625 * safezoneW + safezoneX;
y = 0.295991 * safezoneH + safezoneY;
w = 0.1275 * safezoneW;
h = 0.0340016 * safezoneH;
colorBackground[] = {0,0,0,1};
size = 0.75;
};
////////////////////////////////////////////////////////
// GUI EDITOR OUTPUT END
////////////////////////////////////////////////////////
};