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