1 /*******************************************************************************/
2 /* This file is auto-generated by Azure RTOS GUIX Studio. Do not edit this */
3 /* file by hand. Modifications to this file should only be made by running */
4 /* the Azure RTOS GUIX Studio application and re-generating the application */
5 /* specification file(s). For more information please refer to the Azure RTOS */
6 /* GUIX Studio User Guide, or visit our web site at azure.com/rtos */
7 /* */
8 /* GUIX Studio Revision 6.2.1.2 */
9 /* Date (dd.mm.yyyy): 5. 6.2023 Time (hh:mm): 15:09 */
10 /*******************************************************************************/
11
12
13 #define GUIX_STUDIO_GENERATED_FILE
14 #include <stddef.h>
15 #include "folder_output_test_MAIN_DISPLAY_resources.h"
16 #include "folder_output_test_SECONDARY_resources.h"
17 #include "folder_output_test_specifications.h"
18
19 extern GX_WINDOW_ROOT MAIN_DISPLAY_root_window;
20 extern GX_WINDOW_ROOT SECONDARY_root_window;
21 SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK SECONDARY_button_screen;
22 extern GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_define;
23 extern SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK SECONDARY_window_screen;
24 extern GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_derived_derived_define;
25 GX_WINDOW_PROPERTIES SECONDARY_button_screen_properties =
26 {
27 0 /* wallpaper pixelmap id */
28 };
29 GX_PROMPT_PROPERTIES SECONDARY_button_screen_title_1_properties =
30 {
31 GX_STRING_ID_SECONDARY_STRING_1, /* string id */
32 GX_FONT_ID_SECONDARY_CJK, /* font id */
33 GX_COLOR_ID_TEXT, /* normal text color */
34 GX_COLOR_ID_TEXT, /* selected text color */
35 GX_COLOR_ID_TEXT /* disabled text color */
36 };
37 GX_TEXT_BUTTON_PROPERTIES SECONDARY_button_screen_text_button_1_properties =
38 {
39 GX_STRING_ID_SECONDARY_STRING_4, /* string id */
40 GX_FONT_ID_BUTTON, /* font id */
41 GX_COLOR_ID_BTN_TEXT, /* normal text color */
42 GX_COLOR_ID_BTN_TEXT, /* selected text color */
43 GX_COLOR_ID_BTN_TEXT /* disabled text color */
44 };
45 GX_CHECKBOX_PROPERTIES SECONDARY_button_screen_checkbox_properties =
46 {
47 GX_STRING_ID_SECONDARY_STRING_3, /* string id */
48 GX_FONT_ID_BUTTON, /* font id */
49 GX_COLOR_ID_BTN_TEXT, /* normal text color */
50 GX_COLOR_ID_BTN_TEXT, /* selected text color */
51 GX_COLOR_ID_BTN_TEXT, /* disabled text color */
52 0, /* unchecked pixelmap id */
53 0, /* checked pixelmap id */
54 0, /* unchecked disabled pixelmap id */
55 0 /* checked disabled pixelmap id */
56 };
57 GX_RADIO_BUTTON_PROPERTIES SECONDARY_button_screen_radio_button1_properties =
58 {
59 GX_STRING_ID_SECONDARY_STRING_9, /* string id */
60 GX_FONT_ID_BUTTON, /* font id */
61 GX_COLOR_ID_BTN_TEXT, /* normal text color */
62 GX_COLOR_ID_BTN_TEXT, /* selected text color */
63 GX_COLOR_ID_BTN_TEXT, /* disabled text color */
64 0, /* off pixelmap id */
65 0, /* on pixelmap id */
66 0, /* off disabled pixelmap id */
67 0 /* on disabled pixelmap id */
68 };
69 GX_PIXELMAP_BUTTON_PROPERTIES SECONDARY_button_screen_pixelmap_button1_properties =
70 {
71 GX_PIXELMAP_ID_SECONDARY_ORANGE_BUTTON, /* normal pixelmap id */
72 GX_PIXELMAP_ID_SECONDARY_ORANGE_BUTTON_PRESSED, /* selected pixelmap id */
73 GX_PIXELMAP_ID_SECONDARY_BUTTON_DISABLED /* disabled pixelmap id */
74 };
75 GX_ICON_PROPERTIES SECONDARY_button_screen_icon_properties =
76 {
77 GX_PIXELMAP_ID_SECONDARY_I_HISTORY_LG, /* normal pixelmap id */
78 0 /* selected pixelmap id */
79 };
80 GX_ICON_BUTTON_PROPERTIES SECONDARY_button_screen_icon_button_6_properties =
81 {
82 GX_PIXELMAP_ID_SECONDARY_SAVE_ICON /* pixelmap id */
83 };
84 GX_PROMPT_PROPERTIES SECONDARY_button_screen_button_label_1_properties =
85 {
86 GX_STRING_ID_SECONDARY_STRING_10, /* string id */
87 GX_FONT_ID_PROMPT, /* font id */
88 GX_COLOR_ID_TEXT, /* normal text color */
89 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
90 GX_COLOR_ID_TEXT /* disabled text color */
91 };
92 GX_PROMPT_PROPERTIES SECONDARY_button_screen_radio_label_1_properties =
93 {
94 GX_STRING_ID_SECONDARY_STRING_13, /* string id */
95 GX_FONT_ID_PROMPT, /* font id */
96 GX_COLOR_ID_TEXT, /* normal text color */
97 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
98 GX_COLOR_ID_TEXT /* disabled text color */
99 };
100 GX_PROMPT_PROPERTIES SECONDARY_button_screen_pixbutton_label_1_properties =
101 {
102 GX_STRING_ID_SECONDARY_STRING_11, /* string id */
103 GX_FONT_ID_PROMPT, /* font id */
104 GX_COLOR_ID_TEXT, /* normal text color */
105 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
106 GX_COLOR_ID_TEXT /* disabled text color */
107 };
108 GX_PROMPT_PROPERTIES SECONDARY_button_screen_texbutton_label_1_properties =
109 {
110 GX_STRING_ID_SECONDARY_STRING_2, /* string id */
111 GX_FONT_ID_PROMPT, /* font id */
112 GX_COLOR_ID_TEXT, /* normal text color */
113 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
114 GX_COLOR_ID_TEXT /* disabled text color */
115 };
116 GX_PROMPT_PROPERTIES SECONDARY_button_screen_checkbox_label_1_properties =
117 {
118 GX_STRING_ID_SECONDARY_STRING_12, /* string id */
119 GX_FONT_ID_PROMPT, /* font id */
120 GX_COLOR_ID_TEXT, /* normal text color */
121 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
122 GX_COLOR_ID_TEXT /* disabled text color */
123 };
124 GX_PROMPT_PROPERTIES SECONDARY_button_screen_iconbutton_label_1_properties =
125 {
126 GX_STRING_ID_SECONDARY_STRING_14, /* string id */
127 GX_FONT_ID_PROMPT, /* font id */
128 GX_COLOR_ID_TEXT, /* normal text color */
129 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
130 GX_COLOR_ID_TEXT /* disabled text color */
131 };
132 GX_PROMPT_PROPERTIES SECONDARY_button_screen_icon_label_1_properties =
133 {
134 GX_STRING_ID_SECONDARY_STRING_15, /* string id */
135 GX_FONT_ID_PROMPT, /* font id */
136 GX_COLOR_ID_TEXT, /* normal text color */
137 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
138 GX_COLOR_ID_TEXT /* disabled text color */
139 };
140 GX_TEXT_BUTTON_PROPERTIES SECONDARY_button_screen_next_button_properties =
141 {
142 GX_STRING_ID_SECONDARY_STRING_36, /* string id */
143 GX_FONT_ID_BUTTON, /* font id */
144 GX_COLOR_ID_SECONDARY_WHITE, /* normal text color */
145 GX_COLOR_ID_SECONDARY_WHITE, /* selected text color */
146 GX_COLOR_ID_SECONDARY_WHITE /* disabled text color */
147 };
148 GX_ML_TEXT_BUTTON_PROPERTIES SECONDARY_button_screen_multi_line_button_1_properties =
149 {
150 GX_STRING_ID_SECONDARY_STRING_39, /* string id */
151 GX_FONT_ID_BUTTON, /* font id */
152 GX_COLOR_ID_BTN_TEXT, /* normal text color */
153 GX_COLOR_ID_BTN_TEXT, /* selected text color */
154 GX_COLOR_ID_BTN_TEXT /* disabled text color */
155 };
156 GX_PROMPT_PROPERTIES SECONDARY_button_screen_texbutton_label_2_properties =
157 {
158 GX_STRING_ID_SECONDARY_STRING_40, /* string id */
159 GX_FONT_ID_PROMPT, /* font id */
160 GX_COLOR_ID_TEXT, /* normal text color */
161 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
162 GX_COLOR_ID_TEXT /* disabled text color */
163 };
164 GX_NUMERIC_PROMPT_PROPERTIES SECONDARY_button_screen_count_prompt_properties =
165 {
166 0, /* string id */
167 GX_FONT_ID_PROMPT, /* font id */
168 GX_COLOR_ID_TEXT, /* normal text color */
169 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
170 GX_COLOR_ID_TEXT, /* disabled text color */
171 GX_NULL, /* format function */
172 0 /* numeric prompt value */
173 };
174
175 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_count_prompt_define =
176 {
177 "count_prompt",
178 GX_TYPE_NUMERIC_PROMPT, /* widget type */
179 ID_COUNT_PROMPT, /* widget id */
180 #if defined(GX_WIDGET_USER_DATA)
181 0, /* user data */
182 #endif
183 GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
184 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
185 sizeof(GX_NUMERIC_PROMPT), /* control block size */
186 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
187 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
188 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
189 gx_studio_numeric_prompt_create, /* create function */
190 GX_NULL, /* drawing function override */
191 GX_NULL, /* event function override */
192 {423, 102, 485, 125}, /* widget size */
193 GX_NULL, /* no next widget */
194 GX_NULL, /* no child widgets */
195 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_count_prompt), /* control block */
196 (void *) &SECONDARY_button_screen_count_prompt_properties /* extended properties */
197 };
198
199 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_texbutton_label_2_define =
200 {
201 "texbutton_label_2",
202 GX_TYPE_PROMPT, /* widget type */
203 GX_ID_NONE, /* widget id */
204 #if defined(GX_WIDGET_USER_DATA)
205 0, /* user data */
206 #endif
207 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */
208 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
209 sizeof(GX_PROMPT), /* control block size */
210 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
211 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
212 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
213 gx_studio_prompt_create, /* create function */
214 GX_NULL, /* drawing function override */
215 GX_NULL, /* event function override */
216 {295, 195, 541, 218}, /* widget size */
217 &SECONDARY_button_screen_count_prompt_define, /* next widget definition */
218 GX_NULL, /* no child widgets */
219 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_texbutton_label_2), /* control block */
220 (void *) &SECONDARY_button_screen_texbutton_label_2_properties /* extended properties */
221 };
222
223 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_multi_line_button_1_define =
224 {
225 "multi_line_button_1",
226 GX_TYPE_MULTI_LINE_TEXT_BUTTON, /* widget type */
227 GX_ID_NONE, /* widget id */
228 #if defined(GX_WIDGET_USER_DATA)
229 0, /* user data */
230 #endif
231 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
232 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
233 sizeof(GX_MULTI_LINE_TEXT_BUTTON), /* control block size */
234 GX_COLOR_ID_BTN_LOWER, /* normal color id */
235 GX_COLOR_ID_BTN_UPPER, /* selected color id */
236 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
237 gx_studio_multi_line_text_button_create, /* create function */
238 GX_NULL, /* drawing function override */
239 GX_NULL, /* event function override */
240 {117, 176, 252, 244}, /* widget size */
241 &SECONDARY_button_screen_texbutton_label_2_define, /* next widget definition */
242 GX_NULL, /* no child widgets */
243 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_multi_line_button_1), /* control block */
244 (void *) &SECONDARY_button_screen_multi_line_button_1_properties /* extended properties */
245 };
246
247 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_next_button_define =
248 {
249 "next_button",
250 GX_TYPE_TEXT_BUTTON, /* widget type */
251 IDB_NEXT, /* widget id */
252 #if defined(GX_WIDGET_USER_DATA)
253 0, /* user data */
254 #endif
255 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
256 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
257 sizeof(GX_TEXT_BUTTON), /* control block size */
258 GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* normal color id */
259 GX_COLOR_ID_SECONDARY_NEXT_BUTTON_UPPER, /* selected color id */
260 GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* disabled color id */
261 gx_studio_text_button_create, /* create function */
262 GX_NULL, /* drawing function override */
263 GX_NULL, /* event function override */
264 {484, 441, 563, 465}, /* widget size */
265 &SECONDARY_button_screen_multi_line_button_1_define, /* next widget definition */
266 GX_NULL, /* no child widgets */
267 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_next_button), /* control block */
268 (void *) &SECONDARY_button_screen_next_button_properties /* extended properties */
269 };
270
271 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_icon_label_1_define =
272 {
273 "icon_label_1",
274 GX_TYPE_PROMPT, /* widget type */
275 GX_ID_NONE, /* widget id */
276 #if defined(GX_WIDGET_USER_DATA)
277 0, /* user data */
278 #endif
279 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */
280 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
281 sizeof(GX_PROMPT), /* control block size */
282 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
283 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
284 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
285 gx_studio_prompt_create, /* create function */
286 GX_NULL, /* drawing function override */
287 GX_NULL, /* event function override */
288 {297, 421, 371, 444}, /* widget size */
289 &SECONDARY_button_screen_next_button_define, /* next widget definition */
290 GX_NULL, /* no child widgets */
291 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_icon_label_1), /* control block */
292 (void *) &SECONDARY_button_screen_icon_label_1_properties /* extended properties */
293 };
294
295 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_iconbutton_label_1_define =
296 {
297 "iconbutton_label_1",
298 GX_TYPE_PROMPT, /* widget type */
299 GX_ID_NONE, /* widget id */
300 #if defined(GX_WIDGET_USER_DATA)
301 0, /* user data */
302 #endif
303 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */
304 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
305 sizeof(GX_PROMPT), /* control block size */
306 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
307 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
308 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
309 gx_studio_prompt_create, /* create function */
310 GX_NULL, /* drawing function override */
311 GX_NULL, /* event function override */
312 {297, 385, 447, 408}, /* widget size */
313 &SECONDARY_button_screen_icon_label_1_define, /* next widget definition */
314 GX_NULL, /* no child widgets */
315 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_iconbutton_label_1), /* control block */
316 (void *) &SECONDARY_button_screen_iconbutton_label_1_properties /* extended properties */
317 };
318
319 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_checkbox_label_1_define =
320 {
321 "checkbox_label_1",
322 GX_TYPE_PROMPT, /* widget type */
323 GX_ID_NONE, /* widget id */
324 #if defined(GX_WIDGET_USER_DATA)
325 0, /* user data */
326 #endif
327 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */
328 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
329 sizeof(GX_PROMPT), /* control block size */
330 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
331 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
332 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
333 gx_studio_prompt_create, /* create function */
334 GX_NULL, /* drawing function override */
335 GX_NULL, /* event function override */
336 {297, 325, 417, 348}, /* widget size */
337 &SECONDARY_button_screen_iconbutton_label_1_define, /* next widget definition */
338 GX_NULL, /* no child widgets */
339 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_checkbox_label_1), /* control block */
340 (void *) &SECONDARY_button_screen_checkbox_label_1_properties /* extended properties */
341 };
342
343 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_texbutton_label_1_define =
344 {
345 "texbutton_label_1",
346 GX_TYPE_PROMPT, /* widget type */
347 GX_ID_NONE, /* widget id */
348 #if defined(GX_WIDGET_USER_DATA)
349 0, /* user data */
350 #endif
351 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */
352 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
353 sizeof(GX_PROMPT), /* control block size */
354 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
355 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
356 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
357 gx_studio_prompt_create, /* create function */
358 GX_NULL, /* drawing function override */
359 GX_NULL, /* event function override */
360 {297, 146, 444, 169}, /* widget size */
361 &SECONDARY_button_screen_checkbox_label_1_define, /* next widget definition */
362 GX_NULL, /* no child widgets */
363 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_texbutton_label_1), /* control block */
364 (void *) &SECONDARY_button_screen_texbutton_label_1_properties /* extended properties */
365 };
366
367 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_pixbutton_label_1_define =
368 {
369 "pixbutton_label_1",
370 GX_TYPE_PROMPT, /* widget type */
371 GX_ID_NONE, /* widget id */
372 #if defined(GX_WIDGET_USER_DATA)
373 0, /* user data */
374 #endif
375 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */
376 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
377 sizeof(GX_PROMPT), /* control block size */
378 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
379 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
380 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
381 gx_studio_prompt_create, /* create function */
382 GX_NULL, /* drawing function override */
383 GX_NULL, /* event function override */
384 {297, 271, 479, 294}, /* widget size */
385 &SECONDARY_button_screen_texbutton_label_1_define, /* next widget definition */
386 GX_NULL, /* no child widgets */
387 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_pixbutton_label_1), /* control block */
388 (void *) &SECONDARY_button_screen_pixbutton_label_1_properties /* extended properties */
389 };
390
391 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_radio_label_1_define =
392 {
393 "radio_label_1",
394 GX_TYPE_PROMPT, /* widget type */
395 GX_ID_NONE, /* widget id */
396 #if defined(GX_WIDGET_USER_DATA)
397 0, /* user data */
398 #endif
399 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */
400 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
401 sizeof(GX_PROMPT), /* control block size */
402 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
403 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
404 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
405 gx_studio_prompt_create, /* create function */
406 GX_NULL, /* drawing function override */
407 GX_NULL, /* event function override */
408 {297, 353, 452, 376}, /* widget size */
409 &SECONDARY_button_screen_pixbutton_label_1_define, /* next widget definition */
410 GX_NULL, /* no child widgets */
411 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_radio_label_1), /* control block */
412 (void *) &SECONDARY_button_screen_radio_label_1_properties /* extended properties */
413 };
414
415 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_button_label_1_define =
416 {
417 "button_label_1",
418 GX_TYPE_PROMPT, /* widget type */
419 GX_ID_NONE, /* widget id */
420 #if defined(GX_WIDGET_USER_DATA)
421 0, /* user data */
422 #endif
423 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */
424 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
425 sizeof(GX_PROMPT), /* control block size */
426 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
427 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
428 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
429 gx_studio_prompt_create, /* create function */
430 GX_NULL, /* drawing function override */
431 GX_NULL, /* event function override */
432 {297, 103, 396, 126}, /* widget size */
433 &SECONDARY_button_screen_radio_label_1_define, /* next widget definition */
434 GX_NULL, /* no child widgets */
435 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_button_label_1), /* control block */
436 (void *) &SECONDARY_button_screen_button_label_1_properties /* extended properties */
437 };
438
439 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_icon_button_6_define =
440 {
441 "icon_button_6",
442 GX_TYPE_ICON_BUTTON, /* widget type */
443 ID_ICON_BUTTON, /* widget id */
444 #if defined(GX_WIDGET_USER_DATA)
445 0, /* user data */
446 #endif
447 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED, /* style flags */
448 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
449 sizeof(GX_ICON_BUTTON), /* control block size */
450 GX_COLOR_ID_BTN_LOWER, /* normal color id */
451 GX_COLOR_ID_BTN_UPPER, /* selected color id */
452 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
453 gx_studio_icon_button_create, /* create function */
454 GX_NULL, /* drawing function override */
455 GX_NULL, /* event function override */
456 {229, 386, 252, 409}, /* widget size */
457 &SECONDARY_button_screen_button_label_1_define, /* next widget definition */
458 GX_NULL, /* no child widgets */
459 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_icon_button_6), /* control block */
460 (void *) &SECONDARY_button_screen_icon_button_6_properties /* extended properties */
461 };
462
463 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_icon_define =
464 {
465 "icon",
466 GX_TYPE_ICON, /* widget type */
467 ID_ICON, /* widget id */
468 #if defined(GX_WIDGET_USER_DATA)
469 0, /* user data */
470 #endif
471 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
472 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
473 sizeof(GX_ICON), /* control block size */
474 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
475 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
476 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
477 gx_studio_icon_create, /* create function */
478 GX_NULL, /* drawing function override */
479 GX_NULL, /* event function override */
480 {221, 416, 258, 453}, /* widget size */
481 &SECONDARY_button_screen_icon_button_6_define, /* next widget definition */
482 GX_NULL, /* no child widgets */
483 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_icon), /* control block */
484 (void *) &SECONDARY_button_screen_icon_properties /* extended properties */
485 };
486
487 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_pixelmap_button1_define =
488 {
489 "pixelmap_button1",
490 GX_TYPE_PIXELMAP_BUTTON, /* widget type */
491 ID_PIXELMAP_BUTTON, /* widget id */
492 #if defined(GX_WIDGET_USER_DATA)
493 0, /* user data */
494 #endif
495 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
496 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
497 sizeof(GX_PIXELMAP_BUTTON), /* control block size */
498 GX_COLOR_ID_BTN_LOWER, /* normal color id */
499 GX_COLOR_ID_BTN_UPPER, /* selected color id */
500 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
501 gx_studio_pixelmap_button_create, /* create function */
502 GX_NULL, /* drawing function override */
503 GX_NULL, /* event function override */
504 {131, 251, 252, 313}, /* widget size */
505 &SECONDARY_button_screen_icon_define, /* next widget definition */
506 GX_NULL, /* no child widgets */
507 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_pixelmap_button1), /* control block */
508 (void *) &SECONDARY_button_screen_pixelmap_button1_properties /* extended properties */
509 };
510
511 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_radio_button1_define =
512 {
513 "radio_button1",
514 GX_TYPE_RADIO_BUTTON, /* widget type */
515 ID_RADIO_BUTTON, /* widget id */
516 #if defined(GX_WIDGET_USER_DATA)
517 0, /* user data */
518 #endif
519 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */
520 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
521 sizeof(GX_RADIO_BUTTON), /* control block size */
522 GX_COLOR_ID_BTN_LOWER, /* normal color id */
523 GX_COLOR_ID_BTN_UPPER, /* selected color id */
524 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
525 gx_studio_radio_button_create, /* create function */
526 GX_NULL, /* drawing function override */
527 GX_NULL, /* event function override */
528 {125, 356, 252, 379}, /* widget size */
529 &SECONDARY_button_screen_pixelmap_button1_define, /* next widget definition */
530 GX_NULL, /* no child widgets */
531 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_radio_button1), /* control block */
532 (void *) &SECONDARY_button_screen_radio_button1_properties /* extended properties */
533 };
534
535 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_checkbox_define =
536 {
537 "checkbox",
538 GX_TYPE_CHECKBOX, /* widget type */
539 ID_CHECKBOX, /* widget id */
540 #if defined(GX_WIDGET_USER_DATA)
541 0, /* user data */
542 #endif
543 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE|GX_STYLE_TEXT_LEFT, /* style flags */
544 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
545 sizeof(GX_CHECKBOX), /* control block size */
546 GX_COLOR_ID_BTN_LOWER, /* normal color id */
547 GX_COLOR_ID_BTN_UPPER, /* selected color id */
548 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
549 gx_studio_checkbox_create, /* create function */
550 GX_NULL, /* drawing function override */
551 GX_NULL, /* event function override */
552 {150, 320, 252, 349}, /* widget size */
553 &SECONDARY_button_screen_radio_button1_define, /* next widget definition */
554 GX_NULL, /* no child widgets */
555 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_checkbox), /* control block */
556 (void *) &SECONDARY_button_screen_checkbox_properties /* extended properties */
557 };
558
559 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_text_button_1_define =
560 {
561 "text_button_1",
562 GX_TYPE_TEXT_BUTTON, /* widget type */
563 ID_TEXT_BUTTON, /* widget id */
564 #if defined(GX_WIDGET_USER_DATA)
565 0, /* user data */
566 #endif
567 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
568 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
569 sizeof(GX_TEXT_BUTTON), /* control block size */
570 GX_COLOR_ID_BTN_LOWER, /* normal color id */
571 GX_COLOR_ID_BTN_UPPER, /* selected color id */
572 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
573 gx_studio_text_button_create, /* create function */
574 GX_NULL, /* drawing function override */
575 GX_NULL, /* event function override */
576 {117, 140, 252, 169}, /* widget size */
577 &SECONDARY_button_screen_checkbox_define, /* next widget definition */
578 GX_NULL, /* no child widgets */
579 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_text_button_1), /* control block */
580 (void *) &SECONDARY_button_screen_text_button_1_properties /* extended properties */
581 };
582
583 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_base_button_1_define =
584 {
585 "base_button_1",
586 GX_TYPE_BUTTON, /* widget type */
587 ID_BUTTON, /* widget id */
588 #if defined(GX_WIDGET_USER_DATA)
589 0, /* user data */
590 #endif
591 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_BUTTON_REPEAT, /* style flags */
592 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
593 sizeof(GX_BUTTON), /* control block size */
594 GX_COLOR_ID_BTN_LOWER, /* normal color id */
595 GX_COLOR_ID_BTN_UPPER, /* selected color id */
596 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
597 gx_studio_button_create, /* create function */
598 GX_NULL, /* drawing function override */
599 GX_NULL, /* event function override */
600 {117, 100, 252, 133}, /* widget size */
601 &SECONDARY_button_screen_text_button_1_define, /* next widget definition */
602 GX_NULL, /* no child widgets */
603 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_base_button_1), /* control block */
604 (void *) GX_NULL /* no extended properties */
605 };
606
607 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_title_1_define =
608 {
609 "title_1",
610 GX_TYPE_PROMPT, /* widget type */
611 GX_ID_NONE, /* widget id */
612 #if defined(GX_WIDGET_USER_DATA)
613 0, /* user data */
614 #endif
615 GX_STYLE_BORDER_THICK|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
616 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
617 sizeof(GX_PROMPT), /* control block size */
618 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
619 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
620 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
621 gx_studio_prompt_create, /* create function */
622 GX_NULL, /* drawing function override */
623 GX_NULL, /* event function override */
624 {179, 30, 442, 71}, /* widget size */
625 &SECONDARY_button_screen_base_button_1_define, /* next widget definition */
626 GX_NULL, /* no child widgets */
627 offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_title_1), /* control block */
628 (void *) &SECONDARY_button_screen_title_1_properties /* extended properties */
629 };
630
631 GX_STUDIO_ACTION SECONDARY_button_screen__idb_next_gx_event_clicked_actions[2] = {
632 {GX_ACTION_TYPE_TOGGLE, 0, &SECONDARY_root_window, &SECONDARY_window_screen, GX_NULL},
633 {0, 0, GX_NULL, GX_NULL, GX_NULL}
634 };
635
636
637 GX_STUDIO_ACTION SECONDARY_button_screen__id_text_button_gx_event_clicked_actions[2] = {
638 {GX_ACTION_TYPE_WINDOW_EXECUTE, GX_ACTION_FLAG_DYNAMIC_TARGET, &SECONDARY_root_window, &SECONDARY_popup_modal_derived_derived_define, GX_NULL},
639 {0, 0, GX_NULL, GX_NULL, GX_NULL}
640 };
641
642 static GX_STUDIO_EVENT_ENTRY gx_studio_SECONDARY_button_screen_event_table[] = {
643 {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, SECONDARY_button_screen__idb_next_gx_event_clicked_actions},
644 {GX_SIGNAL(ID_TEXT_BUTTON, GX_EVENT_CLICKED), 0, SECONDARY_button_screen__id_text_button_gx_event_clicked_actions},
645 {0, 0, GX_NULL}
646 };
647
648 GX_STUDIO_EVENT_PROCESS SECONDARY_button_screen_event_chain = {gx_studio_SECONDARY_button_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process};
gx_studio_SECONDARY_button_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)649 static UINT gx_studio_SECONDARY_button_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
650 {
651 return (gx_studio_auto_event_handler(target, event_ptr, &SECONDARY_button_screen_event_chain));
652 }
653
654
655 GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_define =
656 {
657 "SECONDARY_button_screen",
658 GX_TYPE_WINDOW, /* widget type */
659 ID_BUTTON_SCREEN, /* widget id */
660 #if defined(GX_WIDGET_USER_DATA)
661 0, /* user data */
662 #endif
663 GX_STYLE_BORDER_THICK, /* style flags */
664 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
665 sizeof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK), /* control block size */
666 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
667 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
668 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
669 gx_studio_window_create, /* create function */
670 GX_NULL, /* drawing function override */
671 (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_SECONDARY_button_screen_event_process, /* event function override */
672 {73, 7, 575, 475}, /* widget size */
673 GX_NULL, /* next widget */
674 &SECONDARY_button_screen_title_1_define, /* child widget */
675 0, /* control block */
676 (void *) &SECONDARY_button_screen_properties /* extended properties */
677 };
678 #undef GUIX_STUDIO_GENERATED_FILE
679