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.0.1                                               */
9 /*  Date (dd.mm.yyyy): 31.10.2022   Time (hh:mm): 14:07                        */
10 /*******************************************************************************/
11 
12 
13 #ifndef _ALL_WIDGETS_5_5_1_SPECIFICATIONS_H_
14 #define _ALL_WIDGETS_5_5_1_SPECIFICATIONS_H_
15 
16 #include "gx_api.h"
17 
18 /* Determine if C++ compiler is being used, if so use standard C.              */
19 #ifdef __cplusplus
20 extern   "C" {
21 #endif
22 
23 /* Define widget ids                                                           */
24 
25 #define ID_RADIAL_SLIDER 1
26 #define ID_ANIMATED 2
27 #define ID_SET_ANCHOR_LIST 3
28 #define IDB_NEXT 4
29 #define ID_ROTATE_SCREEN 5
30 #define ID_DIRECT_ROTATE 6
31 #define ID_SLIDER_ANGLE 7
32 #define ID_ANGLE_DISPLAY 8
33 #define ID_RADIO_FOOT 9
34 #define ID_RADIO_APPLE 10
35 #define ID_RADIO_FISH 11
36 #define ID_MENU_SCREEN 12
37 #define ID_MENU_2_1_PROMPT 13
38 #define ID_SCROLL_WHEEL_SCREEN 14
39 #define ID_DAY_WHEEL 15
40 #define ID_MONTH_WHEEL 16
41 #define ID_YEAR_WHEEL 17
42 #define ID_DAY_SELECT 18
43 #define ID_DAY_INPUT 19
44 #define ID_SPRITE_SCREEN 20
45 #define ID_ALPHA_SLIDER 21
46 #define ID_BIRD_SPRITE 22
47 #define ID_GAUGE_SCREEN 23
48 #define ID_GAUGE 24
49 #define IDB_OK 25
50 #define IDB_CANCEL 26
51 #define ID_INDICATOR_SCREEN 27
52 #define ID_SLIDER_HORIZONTAL 28
53 #define ID_SLIDER_1 29
54 #define ID_PIXELMAP_SLIDER_H 30
55 #define ID_PIXELMAP_SLIDER1 31
56 #define ID_TEXT_SCREEN 32
57 #define ID_PROMPT_1 33
58 #define ID_PROMPT_2 34
59 #define ID_PROMPT_3 35
60 #define ID_PROMPT_4 36
61 #define ID_SL_INPUT 37
62 #define ID_ML_VIEW 38
63 #define ID_ML_INPUT 39
64 #define ID_WINDOW_SCREEN 40
65 #define ID_NESTED_WINDOW_1 41
66 #define ID_NESTED_WINDOW_2 42
67 #define ID_HORIZONTAL_SCROLLBAR 43
68 #define ID_VERTICAL_SCROLLBAR 44
69 #define ID_VERTICAL_LIST 45
70 #define ID_BUTTON_1 46
71 #define ID_BUTTON_2 47
72 #define ID_BUTTON_3 48
73 #define ID_BUTTON_4 49
74 #define ID_DROP_LIST 50
75 #define ID_BUTTON_SCREEN 51
76 #define ID_BUTTON 52
77 #define ID_TEXT_BUTTON 53
78 #define ID_CHECKBOX 54
79 #define ID_RADIO_BUTTON 55
80 #define ID_PIXELMAP_BUTTON 56
81 #define ID_ICON 57
82 #define ID_ICON_BUTTON 58
83 #define ID_COUNT_PROMPT 59
84 
85 
86 /* Define animation ids                                                        */
87 
88 #define GX_NEXT_ANIMATION_ID 1
89 
90 
91 /* Define user event ids                                                       */
92 
93 #define GX_NEXT_USER_EVENT_ID GX_FIRST_USER_EVENT
94 
95 #define GX_ACTION_FLAG_DYNAMIC_TARGET 0x01
96 #define GX_ACTION_FLAG_DYNAMIC_PARENT 0x02
97 #define GX_ACTION_FLAG_POP_TARGET     0x04
98 #define GX_ACTION_FLAG_POP_PARENT     0x08
99 
100 typedef struct GX_STUDIO_ACTION_STRUCT
101 {
102     GX_UBYTE opcode;
103     GX_UBYTE flags;
104     GX_CONST VOID *parent;
105     GX_CONST VOID *target;
106     GX_CONST GX_ANIMATION_INFO  *animation;
107 } GX_STUDIO_ACTION;
108 
109 typedef struct GX_STUDIO_EVENT_ENTRY_STRUCT
110 {
111     ULONG event_type;
112     USHORT event_sender;
113     GX_CONST GX_STUDIO_ACTION *action_list;
114 } GX_STUDIO_EVENT_ENTRY;
115 
116 typedef struct GX_STUDIO_EVENT_PROCESS_STRUCT
117 {
118     GX_CONST GX_STUDIO_EVENT_ENTRY *event_table;
119     UINT (*chain_event_handler)(GX_WIDGET *, GX_EVENT *);
120 } GX_STUDIO_EVENT_PROCESS;
121 
122 /* Declare properties structures for each utilized widget type                 */
123 
124 typedef struct GX_STUDIO_WIDGET_STRUCT
125 {
126    GX_CHAR *widget_name;
127    USHORT  widget_type;
128    USHORT  widget_id;
129    #if defined(GX_WIDGET_USER_DATA)
130    INT   user_data;
131    #endif
132    ULONG style;
133    ULONG status;
134    ULONG control_block_size;
135    GX_RESOURCE_ID normal_fill_color_id;
136    GX_RESOURCE_ID selected_fill_color_id;
137    GX_RESOURCE_ID disabled_fill_color_id;
138    UINT (*create_function) (GX_CONST struct GX_STUDIO_WIDGET_STRUCT *, GX_WIDGET *, GX_WIDGET *);
139    void (*draw_function) (GX_WIDGET *);
140    UINT (*event_function) (GX_WIDGET *, GX_EVENT *);
141    GX_RECTANGLE size;
142    GX_CONST struct GX_STUDIO_WIDGET_STRUCT *next_widget;
143    GX_CONST struct GX_STUDIO_WIDGET_STRUCT *child_widget;
144    ULONG control_block_offset;
145    GX_CONST void *properties;
146 } GX_STUDIO_WIDGET;
147 
148 typedef struct
149 {
150     GX_CONST GX_STUDIO_WIDGET *widget_information;
151     GX_WIDGET        *widget;
152 } GX_STUDIO_WIDGET_ENTRY;
153 
154 typedef struct
155 {
156     GX_RESOURCE_ID string_id;
157     GX_RESOURCE_ID font_id;
158     GX_RESOURCE_ID normal_text_color_id;
159     GX_RESOURCE_ID selected_text_color_id;
160     GX_RESOURCE_ID disabled_text_color_id;
161 } GX_TEXT_BUTTON_PROPERTIES;
162 
163 typedef struct
164 {
165     GX_RESOURCE_ID string_id;
166     GX_RESOURCE_ID font_id;
167     GX_RESOURCE_ID normal_text_color_id;
168     GX_RESOURCE_ID selected_text_color_id;
169     GX_RESOURCE_ID disabled_text_color_id;
170 } GX_ML_TEXT_BUTTON_PROPERTIES;
171 
172 typedef struct
173 {
174     GX_RESOURCE_ID string_id;
175     GX_RESOURCE_ID font_id;
176     GX_RESOURCE_ID normal_text_color_id;
177     GX_RESOURCE_ID selected_text_color_id;
178     GX_RESOURCE_ID disabled_text_color_id;
179     GX_RESOURCE_ID unchecked_pixelmap_id;
180     GX_RESOURCE_ID checked_pixelmap_id;
181     GX_RESOURCE_ID unchecked_disabled_pixelmap_id;
182     GX_RESOURCE_ID checked_disabled_pixelmap_id;
183 } GX_CHECKBOX_PROPERTIES;
184 
185 typedef struct
186 {
187     GX_RESOURCE_ID string_id;
188     GX_RESOURCE_ID font_id;
189     GX_RESOURCE_ID normal_text_color_id;
190     GX_RESOURCE_ID selected_text_color_id;
191     GX_RESOURCE_ID disabled_text_color_id;
192     GX_RESOURCE_ID off_pixelmap_id;
193     GX_RESOURCE_ID on_pixelmap_id;
194     GX_RESOURCE_ID off_disabled_pixelmap_id;
195     GX_RESOURCE_ID on_disabled_pixelmap_id;
196 } GX_RADIO_BUTTON_PROPERTIES;
197 
198 typedef struct
199 {
200     GX_RESOURCE_ID pixelmap_id;
201 } GX_ICON_BUTTON_PROPERTIES;
202 
203 typedef struct
204 {
205     GX_RESOURCE_ID normal_pixelmap_id;
206     GX_RESOURCE_ID selected_pixelmap_id;
207     GX_RESOURCE_ID disabled_pixelmap_id;
208 } GX_PIXELMAP_BUTTON_PROPERTIES;
209 
210 typedef struct
211 {
212     GX_RESOURCE_ID normal_pixelmap_id;
213     GX_RESOURCE_ID selected_pixelmap_id;
214 } GX_ICON_PROPERTIES;
215 
216 typedef struct
217 {
218     int tickmark_count;
219     int minval;
220     int maxval;
221     int current_val;
222     int increment;
223     GX_VALUE min_travel;
224     GX_VALUE max_travel;
225     GX_VALUE needle_width;
226     GX_VALUE needle_height;
227     GX_VALUE needle_inset;
228     GX_VALUE needle_hotspot;
229 } GX_SLIDER_PROPERTIES;
230 
231 typedef struct
232 {
233     int min_val;
234     int max_val;
235     int current_val;
236     int increment;
237     GX_VALUE min_travel;
238     GX_VALUE max_travel;
239     GX_VALUE needle_width;
240     GX_VALUE needle_height;
241     GX_VALUE needle_inset;
242     GX_VALUE needle_hotspot;
243     GX_RESOURCE_ID lower_pixelmap;
244     GX_RESOURCE_ID upper_pixelmap;
245     GX_RESOURCE_ID needle_pixelmap;
246 } GX_PIXELMAP_SLIDER_PROPERTIES;
247 
248 typedef struct
249 {
250     GX_VALUE       xcenter;
251     GX_VALUE       ycenter;
252     USHORT         radius;
253     USHORT         track_width;
254     GX_VALUE       current_angle;
255     GX_VALUE       min_angle;
256     GX_VALUE       max_angle;
257     GX_RESOURCE_ID background_pixelmap;
258     GX_RESOURCE_ID needle_pixelmap;
259     USHORT         animation_total_steps;
260     USHORT         animation_delay;
261     USHORT         animation_style;
262     VOID         (*animation_update_callback)(struct GX_RADIAL_SLIDER_STRUCT *slider);
263 } GX_RADIAL_SLIDER_PROPERTIES;
264 
265 typedef struct
266 {
267     GX_SPRITE_FRAME *frame_list;
268     USHORT           frame_count;
269 } GX_SPRITE_PROPERTIES;
270 
271 typedef struct
272 {
273     GX_RESOURCE_ID string_id;
274     GX_RESOURCE_ID font_id;
275     GX_RESOURCE_ID normal_text_color_id;
276     GX_RESOURCE_ID selected_text_color_id;
277     GX_RESOURCE_ID disabled_text_color_id;
278 } GX_PROMPT_PROPERTIES;
279 
280 typedef struct
281 {
282     GX_RESOURCE_ID string_id;
283     GX_RESOURCE_ID font_id;
284     GX_RESOURCE_ID normal_text_color_id;
285     GX_RESOURCE_ID selected_text_color_id;
286     GX_RESOURCE_ID disabled_text_color_id;
287     VOID (*format_func)(GX_NUMERIC_PROMPT *, INT);
288     INT            numeric_prompt_value;
289 } GX_NUMERIC_PROMPT_PROPERTIES;
290 
291 typedef struct
292 {
293     GX_RESOURCE_ID string_id;
294     GX_RESOURCE_ID font_id;
295     GX_RESOURCE_ID normal_text_color_id;
296     GX_RESOURCE_ID selected_text_color_id;
297     GX_RESOURCE_ID disabled_text_color_id;
298     GX_RESOURCE_ID left_map_id;
299     GX_RESOURCE_ID fill_map_id;
300     GX_RESOURCE_ID right_map_id;
301     GX_RESOURCE_ID selected_left_map_id;
302     GX_RESOURCE_ID selected_fill_map_id;
303     GX_RESOURCE_ID selected_right_map_id;
304 } GX_PIXELMAP_PROMPT_PROPERTIES;
305 
306 typedef struct
307 {
308     GX_RESOURCE_ID string_id;
309     GX_RESOURCE_ID font_id;
310     GX_RESOURCE_ID normal_text_color_id;
311     GX_RESOURCE_ID selected_text_color_id;
312     GX_RESOURCE_ID disabled_text_color_id;
313     GX_RESOURCE_ID left_map_id;
314     GX_RESOURCE_ID fill_map_id;
315     GX_RESOURCE_ID right_map_id;
316     GX_RESOURCE_ID selected_left_map_id;
317     GX_RESOURCE_ID selected_fill_map_id;
318     GX_RESOURCE_ID selected_right_map_id;
319     VOID (*format_func)(GX_NUMERIC_PIXELMAP_PROMPT *, INT);
320     INT            numeric_prompt_value;
321 } GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES;
322 
323 typedef struct
324 {
325     GX_RESOURCE_ID wallpaper_id;
326 } GX_WINDOW_PROPERTIES;
327 
328 typedef struct
329 {
330     GX_RESOURCE_ID wallpaper_id;
331     VOID (*callback)(GX_VERTICAL_LIST *, GX_WIDGET *, INT);
332     int total_rows;
333 } GX_VERTICAL_LIST_PROPERTIES;
334 
335 typedef struct
336 {
337     GX_RESOURCE_ID wallpaper_id;
338     VOID (*callback)(GX_HORIZONTAL_LIST *, GX_WIDGET *, INT);
339     int total_rows;
340 } GX_HORIZONTAL_LIST_PROPERTIES;
341 
342 typedef struct
343 {
344     GX_RESOURCE_ID pixelmap_id;
345     GX_RESOURCE_ID wallpaper_id;
346     VOID (*callback)(GX_VERTICAL_LIST *, GX_WIDGET *, INT);
347     int total_rows;
348     int open_height;
349 } GX_DROP_LIST_PROPERTIES;
350 
351 typedef struct
352 {
353     int                 total_rows;
354     int                 selected_row;
355     GX_VALUE            row_height;
356     GX_UBYTE            start_alpha;
357     GX_UBYTE            end_alpha;
358     GX_RESOURCE_ID      normal_font;
359     GX_RESOURCE_ID      selected_font;
360     GX_RESOURCE_ID      normal_text_color;
361     GX_RESOURCE_ID      selected_text_color;
362     GX_RESOURCE_ID      disabled_text_color;
363     GX_RESOURCE_ID      wallpaper_id;
364     GX_RESOURCE_ID      selected_background;
365     GX_CONST GX_RESOURCE_ID  *string_id_list;
366     GX_CONST GX_CHAR * (*callback)(struct GX_STRING_SCROLL_WHEEL_STRUCT *, INT);
367 } GX_STRING_SCROLL_WHEEL_PROPERTIES;
368 
369 typedef struct
370 {
371     int                 total_rows;
372     int                 selected_row;
373     GX_VALUE            row_height;
374     GX_UBYTE            start_alpha;
375     GX_UBYTE            end_alpha;
376     GX_RESOURCE_ID      normal_font;
377     GX_RESOURCE_ID      selected_font;
378     GX_RESOURCE_ID      normal_text_color;
379     GX_RESOURCE_ID      selected_text_color;
380     GX_RESOURCE_ID      disabled_text_color;
381     GX_RESOURCE_ID      wallpaper_id;
382     GX_RESOURCE_ID      selected_background;
383     GX_CONST GX_CHAR * (*callback)(struct GX_NUMERIC_SCROLL_WHEEL_STRUCT *, INT);
384     int                 start_val;
385     int                 end_val;
386 } GX_NUMERIC_SCROLL_WHEEL_PROPERTIES;
387 
388 typedef struct
389 {
390     GX_RESOURCE_ID string_id;
391     GX_RESOURCE_ID font_id;
392     GX_RESOURCE_ID normal_text_color_id;
393     GX_RESOURCE_ID selected_text_color_id;
394     GX_RESOURCE_ID disabled_text_color_id;
395     GX_RESOURCE_ID readonly_fill_color_id;
396     GX_RESOURCE_ID readonly_text_color_id;
397     GX_CHAR *buffer;
398     UINT buffer_size;
399 } GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES;
400 
401 typedef struct
402 {
403     GX_RESOURCE_ID string_id;
404     GX_RESOURCE_ID font_id;
405     GX_RESOURCE_ID normal_text_color_id;
406     GX_RESOURCE_ID selected_text_color_id;
407     GX_RESOURCE_ID disabled_text_color_id;
408     GX_UBYTE       whitespace;
409     GX_BYTE        line_space;
410 } GX_ML_TEXT_VIEW_PROPERTIES;
411 
412 typedef struct
413 {
414     GX_RESOURCE_ID string_id;
415     GX_RESOURCE_ID font_id;
416     GX_RESOURCE_ID normal_text_color_id;
417     GX_RESOURCE_ID selected_text_color_id;
418     GX_RESOURCE_ID disabled_text_color_id;
419     GX_RESOURCE_ID readonly_fill_color_id;
420     GX_RESOURCE_ID readonly_text_color_id;
421     GX_UBYTE whitespace;
422     GX_BYTE  line_space;
423     GX_CHAR *buffer;
424     UINT buffer_size;
425 } GX_MULTI_LINE_TEXT_INPUT_PROPERTIES;
426 
427 typedef struct
428 {
429     GX_VALUE start_angle;
430     GX_VALUE animation_steps;
431     GX_VALUE animation_delay;
432     GX_VALUE needle_xpos;
433     GX_VALUE needle_ypos;
434     GX_VALUE needle_xcor;
435     GX_VALUE needle_ycor;
436     GX_RESOURCE_ID normal_pixelmap_id;
437     GX_RESOURCE_ID selected_pixelmap_id;
438     GX_RESOURCE_ID needle_pixelmap_id;
439 } GX_CIRCULAR_GAUGE_PROPERTIES;
440 
441 typedef struct
442 {
443     GX_RESOURCE_ID string_id;
444     GX_RESOURCE_ID font_id;
445     GX_RESOURCE_ID normal_text_color_id;
446     GX_RESOURCE_ID selected_text_color_id;
447     GX_RESOURCE_ID disabled_text_color_id;
448     GX_RESOURCE_ID left_map_id;
449     GX_RESOURCE_ID fill_map_id;
450     GX_RESOURCE_ID right_map_id;
451     GX_RESOURCE_ID selected_left_map_id;
452     GX_RESOURCE_ID selected_fill_map_id;
453     GX_RESOURCE_ID selected_right_map_id;
454     GX_VALUE       text_x_offset;
455     GX_VALUE       text_y_offset;
456     GX_VALUE       list_total_count;
457 } GX_MENU_PROPERTIES;
458 
459 typedef struct
460 {
461     GX_RESOURCE_ID expand_map_id;
462     GX_RESOURCE_ID collapse_map_id;
463     GX_RESOURCE_ID root_line_color_id;
464     GX_VALUE       indentation;
465 } GX_TREE_VIEW_PROPERTIES;
466 
467 
468 /* Declare top-level control blocks                                            */
469 
470 typedef struct RADIAL_SLIDER_SCREEN_CONTROL_BLOCK_STRUCT
471 {
472     GX_WINDOW_MEMBERS_DECLARE
473     GX_RADIAL_SLIDER radial_slider_screen_radial_slider;
474     GX_NUMERIC_PROMPT radial_slider_screen_radial_slider_value;
475     GX_PROMPT radial_slider_screen_prompt_14;
476     GX_PROMPT radial_slider_screen_prompt_14_1;
477     GX_PROMPT radial_slider_screen_prompt_14_2;
478     GX_PROMPT radial_slider_screen_prompt_14_3;
479     GX_PROMPT radial_slider_screen_prompt_14_4;
480     GX_PROMPT radial_slider_screen_prompt_14_5;
481     GX_PROMPT radial_slider_screen_prompt_14_6;
482     GX_PROMPT radial_slider_screen_prompt_14_7;
483     GX_PROMPT radial_slider_screen_prompt_14_8;
484     GX_PROMPT radial_slider_screen_prompt_14_9;
485     GX_PROMPT radial_slider_screen_prompt_14_10;
486     GX_PROMPT radial_slider_screen_prompt_14_11;
487     GX_CHECKBOX radial_slider_screen_checkbox_2;
488     GX_CHECKBOX radial_slider_screen_checkbox;
489     GX_TEXT_BUTTON radial_slider_screen_next_button;
490     GX_PROMPT radial_slider_screen_prompt_13;
491 } RADIAL_SLIDER_SCREEN_CONTROL_BLOCK;
492 
493 typedef struct ROTATE_SCREEN_CONTROL_BLOCK_STRUCT
494 {
495     GX_WINDOW_MEMBERS_DECLARE
496     GX_TEXT_BUTTON rotate_screen_next_button_8;
497     GX_CHECKBOX rotate_screen_checkbox_1;
498     GX_PROMPT rotate_screen_prompt_11;
499     GX_SLIDER rotate_screen_slider_3;
500     GX_PROMPT rotate_screen_prompt_12;
501     GX_WINDOW rotate_screen_pixelmap_window;
502     GX_RADIO_BUTTON rotate_screen_radio_button;
503     GX_RADIO_BUTTON rotate_screen_radio_button_1;
504     GX_RADIO_BUTTON rotate_screen_radio_button_2;
505 } ROTATE_SCREEN_CONTROL_BLOCK;
506 
507 typedef struct MENU_SCREEN_CONTROL_BLOCK_STRUCT
508 {
509     GX_WINDOW_MEMBERS_DECLARE
510     GX_TEXT_BUTTON menu_screen_next_button_7;
511     GX_PROMPT menu_screen_title_5;
512     GX_PROMPT menu_screen_title;
513     GX_ACCORDION_MENU menu_screen_one_level_accordion;
514     GX_MENU menu_screen_ola_menu_1;
515     GX_PROMPT menu_screen_prompt_25;
516     GX_NUMERIC_PROMPT menu_screen_prompt_26;
517     GX_MENU menu_screen_ola_menu_2;
518     GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_5;
519     GX_TEXT_BUTTON menu_screen_ola_menu_3;
520     GX_MENU menu_screen_ola_menu_4;
521     GX_MENU menu_screen_item;
522     GX_MENU menu_screen_item_1;
523     GX_ACCORDION_MENU menu_screen_one_level_accordion_2;
524     GX_MENU menu_screen_ola_2_menu_1;
525     GX_PROMPT menu_screen_prompt_7;
526     GX_ACCORDION_MENU menu_screen_ola_2_menu_2;
527     GX_MENU menu_screen_ola_2_menu_2_1;
528     GX_PIXELMAP_PROMPT menu_screen_prompt_9;
529     GX_MENU menu_screen_ola_2_menu_2_2;
530     GX_NUMERIC_PIXELMAP_PROMPT menu_screen_numeric_pixelmap_prompt_2;
531     GX_MENU menu_screen_ola_2_menu_3;
532     GX_PROMPT menu_screen_prompt_10_1;
533     GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view;
534     GX_ACCORDION_MENU menu_screen_multi_level_accordion;
535     GX_MENU menu_screen_mla_menu_1;
536     GX_ACCORDION_MENU menu_screen_mla_menu_1_accordion;
537     GX_MENU menu_screen_mla_menu_1_1;
538     GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_3;
539     GX_MENU menu_screen_mla_menu_1_2;
540     GX_PROMPT menu_screen_prompt_15_1;
541     GX_MENU menu_screen_mla_menu_2;
542     GX_ACCORDION_MENU menu_screen_mla_menu_2_accordion;
543     GX_MENU menu_screen_mla_menu_2_1;
544     GX_ACCORDION_MENU menu_screen_mla_menu_2_1_accordion;
545     GX_MENU menu_screen_mla_menu_2_1_1;
546     GX_PROMPT menu_screen_prompt_11_1;
547     GX_MENU menu_screen_mla_menu_2_1_2;
548     GX_PROMPT menu_screen_prompt_12_1;
549     GX_MENU menu_screen_mla_menu_2_2;
550     GX_ACCORDION_MENU menu_screen_mla_menu_2_2_accordion;
551     GX_MENU menu_screen_mla_menu_2_2_1;
552     GX_PROMPT menu_screen_prompt_13_1;
553     GX_MENU menu_screen_mla_menu_2_2_2;
554     GX_PROMPT menu_screen_prompt_14_1;
555     GX_MENU menu_screen_mla_menu_3;
556     GX_PROMPT menu_screen_mla_menu_3_item_1;
557     GX_PROMPT menu_screen_mla_menu_3_item_2;
558     GX_ICON menu_screen_mla_menu_3_icon;
559     GX_PROMPT menu_screen_title_2;
560     GX_TREE_VIEW menu_screen_tree_view;
561     GX_MENU menu_screen_tree_menu_1;
562     GX_PROMPT menu_screen_tree_menu_1_1;
563     GX_PROMPT menu_screen_tree_menu_1_2;
564     GX_ICON menu_screen_icon_3;
565     GX_MENU menu_screen_tree_menu_2;
566     GX_MENU menu_screen_tree_menu_2_1;
567     GX_PROMPT menu_screen_tree_menu_2_1_1;
568     GX_PROMPT menu_screen_tree_menu_2_1_2;
569     GX_ICON menu_screen_icon_6;
570     GX_MENU menu_screen_tree_menu_2_2;
571     GX_MENU menu_screen_tree_menu_2_2_1;
572     GX_PROMPT menu_screen_tree_menu_2_2_1_1;
573     GX_PROMPT menu_screen_tree_menu_2_2_1_2;
574     GX_ICON menu_screen_icon_8;
575     GX_ICON menu_screen_icon_7;
576     GX_ICON menu_screen_icon_4;
577     GX_MENU menu_screen_tree_menu_3;
578     GX_PROMPT menu_screen_tree_menu_3_1;
579     GX_ICON menu_screen_icon_5;
580     GX_SCROLLBAR menu_screen_tree_hscroll;
581     GX_SCROLLBAR menu_screen_tree_vscroll;
582     GX_PROMPT menu_screen_prompt_8;
583     GX_MENU menu_screen_menu;
584     GX_PROMPT menu_screen_prompt_10;
585     GX_ICON menu_screen_icon_9;
586     GX_PROMPT menu_screen_title_3;
587 } MENU_SCREEN_CONTROL_BLOCK;
588 
589 typedef struct SCROLL_WHEEL_SCREEN_CONTROL_BLOCK_STRUCT
590 {
591     GX_WINDOW_MEMBERS_DECLARE
592 } SCROLL_WHEEL_SCREEN_CONTROL_BLOCK;
593 
594 typedef struct SPRITE_SCREEN_CONTROL_BLOCK_STRUCT
595 {
596     GX_WINDOW_MEMBERS_DECLARE
597     GX_WINDOW sprite_screen_apple_window;
598     GX_SLIDER sprite_screen_slider_2;
599     GX_TEXT_BUTTON sprite_screen_next_button_5;
600     GX_SPRITE sprite_screen_sprite_1;
601 } SPRITE_SCREEN_CONTROL_BLOCK;
602 
603 typedef struct GAUGE_SCREEN_CONTROL_BLOCK_STRUCT
604 {
605     GX_WINDOW_MEMBERS_DECLARE
606     GX_PROMPT gauge_screen_prompt_6;
607     GX_TEXT_BUTTON gauge_screen_next_button_4;
608     GX_CIRCULAR_GAUGE gauge_screen_gauge_1;
609 } GAUGE_SCREEN_CONTROL_BLOCK;
610 
611 typedef struct POPUP_MODAL_CONTROL_BLOCK_STRUCT
612 {
613     GX_WINDOW_MEMBERS_DECLARE
614     GX_TEXT_BUTTON popup_modal_OK_button;
615     GX_TEXT_BUTTON popup_modal_cancel_button;
616     GX_MULTI_LINE_TEXT_VIEW popup_modal_text_view_2;
617     GX_WINDOW popup_modal_window_1;
618     GX_PROMPT popup_modal_prompt_5;
619 } POPUP_MODAL_CONTROL_BLOCK;
620 
621 typedef struct INDICATOR_SCREEN_CONTROL_BLOCK_STRUCT
622 {
623     GX_WINDOW_MEMBERS_DECLARE
624     GX_SLIDER indicator_screen_slider;
625     GX_SLIDER indicator_screen_slider_1;
626     GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider;
627     GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider_1;
628     GX_ICON indicator_screen_icon_1;
629     GX_ICON indicator_screen_icon_2;
630     GX_PROMPT indicator_screen_slider_title;
631     GX_TEXT_BUTTON indicator_screen_next_button_3;
632     GX_PROGRESS_BAR indicator_screen_progress_bar_1;
633     GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider_2;
634     GX_RADIAL_PROGRESS_BAR indicator_screen_radial_progress_bar;
635 } INDICATOR_SCREEN_CONTROL_BLOCK;
636 
637 typedef struct TEXT_SCREEN_CONTROL_BLOCK_STRUCT
638 {
639     GX_WINDOW_MEMBERS_DECLARE
640     GX_PROMPT text_screen_prompt_1;
641     GX_PROMPT text_screen_prompt_2;
642     GX_PROMPT text_screen_prompt_3;
643     GX_PIXELMAP_PROMPT text_screen_prompt_4;
644     GX_SINGLE_LINE_TEXT_INPUT text_screen_text_input_1;
645     GX_MULTI_LINE_TEXT_VIEW text_screen_text_view_1;
646     GX_MULTI_LINE_TEXT_INPUT text_screen_text_input_2;
647     GX_TEXT_BUTTON text_screen_next_button_2;
648     GX_NUMERIC_PROMPT text_screen_numeric_prompt;
649     GX_NUMERIC_PIXELMAP_PROMPT text_screen_numeric_pixelmap_prompt;
650 } TEXT_SCREEN_CONTROL_BLOCK;
651 
652 typedef struct WINDOW_SCREEN_CONTROL_BLOCK_STRUCT
653 {
654     GX_WINDOW_MEMBERS_DECLARE
655     GX_WINDOW window_screen_window_5;
656     GX_WINDOW window_screen_window_6;
657     GX_WINDOW window_screen_window_8;
658     GX_WINDOW window_screen_scroll_frame_1;
659     GX_WINDOW window_screen_window_4;
660     GX_SCROLLBAR window_screen_hscroll_1;
661     GX_SCROLLBAR window_screen_vertical_scroll_1;
662     GX_VERTICAL_LIST window_screen_vertical_list;
663     GX_TEXT_BUTTON window_screen_button_1;
664     GX_TEXT_BUTTON window_screen_button_2;
665     GX_TEXT_BUTTON window_screen_button_3;
666     GX_TEXT_BUTTON window_screen_button_4;
667     GX_PROMPT window_screen_nested_label_1;
668     GX_PROMPT window_screen_frame_label_1;
669     GX_PROMPT window_screen_vlist_label_1;
670     GX_HORIZONTAL_LIST window_screen_horizontal_list_1;
671     GX_ICON_BUTTON window_screen_icon_button_1;
672     GX_ICON_BUTTON window_screen_icon_button_2;
673     GX_ICON_BUTTON window_screen_icon_button_3;
674     GX_ICON_BUTTON window_screen_icon_button_4;
675     GX_ICON_BUTTON window_screen_icon_button_5;
676     GX_PROMPT window_screen_hlist_label_1;
677     GX_TEXT_BUTTON window_screen_next_button_1;
678     GX_DROP_LIST window_screen_drop_list;
679     GX_PIXELMAP_BUTTON window_screen_pixelmap_button;
680     GX_PROMPT window_screen_hlist_label;
681     GX_LINE_CHART window_screen_line_chart;
682 } WINDOW_SCREEN_CONTROL_BLOCK;
683 
684 typedef struct BUTTON_SCREEN_CONTROL_BLOCK_STRUCT
685 {
686     GX_WINDOW_MEMBERS_DECLARE
687     GX_PROMPT button_screen_title_1;
688     GX_BUTTON button_screen_base_button_1;
689     GX_TEXT_BUTTON button_screen_text_button_1;
690     GX_CHECKBOX button_screen_checkbox;
691     GX_RADIO_BUTTON button_screen_radio_button1;
692     GX_PIXELMAP_BUTTON button_screen_pixelmap_button1;
693     GX_ICON button_screen_icon;
694     GX_ICON_BUTTON button_screen_icon_button_6;
695     GX_PROMPT button_screen_button_label_1;
696     GX_PROMPT button_screen_radio_label_1;
697     GX_PROMPT button_screen_pixbutton_label_1;
698     GX_PROMPT button_screen_texbutton_label_1;
699     GX_PROMPT button_screen_checkbox_label_1;
700     GX_PROMPT button_screen_iconbutton_label_1;
701     GX_PROMPT button_screen_icon_label_1;
702     GX_TEXT_BUTTON button_screen_next_button;
703     GX_MULTI_LINE_TEXT_BUTTON button_screen_multi_line_button_1;
704     GX_PROMPT button_screen_texbutton_label_2;
705     GX_NUMERIC_PROMPT button_screen_count_prompt;
706 } BUTTON_SCREEN_CONTROL_BLOCK;
707 
708 
709 /* extern statically defined control blocks                                    */
710 
711 #ifndef GUIX_STUDIO_GENERATED_FILE
712 extern RADIAL_SLIDER_SCREEN_CONTROL_BLOCK radial_slider_screen;
713 extern ROTATE_SCREEN_CONTROL_BLOCK rotate_screen;
714 extern MENU_SCREEN_CONTROL_BLOCK menu_screen;
715 extern SPRITE_SCREEN_CONTROL_BLOCK sprite_screen;
716 extern GAUGE_SCREEN_CONTROL_BLOCK gauge_screen;
717 extern POPUP_MODAL_CONTROL_BLOCK popup_modal;
718 extern INDICATOR_SCREEN_CONTROL_BLOCK indicator_screen;
719 extern TEXT_SCREEN_CONTROL_BLOCK text_screen;
720 extern WINDOW_SCREEN_CONTROL_BLOCK window_screen;
721 extern BUTTON_SCREEN_CONTROL_BLOCK button_screen;
722 #endif
723 
724 /* Declare event process functions, draw functions, and callback functions     */
725 
726 UINT radial_slider_screen_event_process(GX_WINDOW *widget, GX_EVENT *event_ptr);
727 UINT rotate_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
728 VOID pixelmap_draw(GX_WINDOW *widget);
729 UINT scroll_wheel_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
730 GX_CONST GX_CHAR *day_wheel_value_format(GX_NUMERIC_SCROLL_WHEEL *wheel, INT row);
731 UINT sprite_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
732 VOID apple_window_draw(GX_WINDOW *widget);
733 UINT gauge_event_handle(GX_WINDOW *widget, GX_EVENT *event_ptr);
734 VOID gauge_prompt_draw(GX_PROMPT *widget);
735 UINT text_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
736 VOID format_func(GX_NUMERIC_PROMPT *, INT);
737 VOID numeric_pixelmap_format_func(GX_NUMERIC_PIXELMAP_PROMPT *, INT);
738 UINT window_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
739 VOID drop_list_row_create(GX_VERTICAL_LIST *, GX_WIDGET *, INT);
740 UINT buttons_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
741 
742 /* Declare the GX_STUDIO_DISPLAY_INFO structure                                */
743 
744 
745 typedef struct GX_STUDIO_DISPLAY_INFO_STRUCT
746 {
747     GX_CONST GX_CHAR *name;
748     GX_CONST GX_CHAR *canvas_name;
749     GX_CONST GX_THEME **theme_table;
750     GX_CONST GX_CHAR ***language_table;
751     USHORT   theme_table_size;
752     USHORT   language_table_size;
753     UINT     string_table_size;
754     UINT     x_resolution;
755     UINT     y_resolution;
756     GX_DISPLAY *display;
757     GX_CANVAS  *canvas;
758     GX_WINDOW_ROOT *root_window;
759     GX_COLOR   *canvas_memory;
760     ULONG      canvas_memory_size;
761 } GX_STUDIO_DISPLAY_INFO;
762 
763 
764 /* Declare Studio-generated functions for creating top-level widgets           */
765 
766 UINT gx_studio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
767 UINT gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
768 UINT gx_studio_multi_line_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
769 UINT gx_studio_checkbox_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
770 UINT gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
771 UINT gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
772 UINT gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
773 UINT gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
774 UINT gx_studio_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
775 UINT gx_studio_pixelmap_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
776 UINT gx_studio_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
777 UINT gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
778 UINT gx_studio_radial_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
779 UINT gx_studio_sprite_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
780 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
781 UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
782 UINT gx_studio_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
783 UINT gx_studio_numeric_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
784 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
785 UINT gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
786 UINT gx_studio_horizontal_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
787 UINT gx_studio_drop_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
788 UINT gx_studio_string_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
789 UINT gx_studio_numeric_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
790 UINT gx_studio_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
791 UINT gx_studio_multi_line_text_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
792 UINT gx_studio_multi_line_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
793 UINT gx_studio_horizontal_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
794 UINT gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
795 UINT gx_studio_circular_gauge_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
796 UINT gx_studio_line_chart_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
797 UINT gx_studio_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
798 UINT gx_studio_accordion_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
799 UINT gx_studio_tree_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
800 GX_WIDGET *gx_studio_widget_create(GX_BYTE *storage, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent);
801 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget);
802 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *), GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root);
803 UINT gx_studio_auto_event_handler(GX_WIDGET *widget, GX_EVENT *event_ptr, GX_CONST GX_STUDIO_EVENT_PROCESS *record);
804 
805 /* Determine if a C++ compiler is being used.  If so, complete the standard
806   C conditional started above.                                                 */
807 #ifdef __cplusplus
808 }
809 #endif
810 
811 #endif                                       /* sentry                         */
812