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_24XRGB_ROTATED_CW_BINARY_SPECIFICATIONS_H_
14 #define _ALL_WIDGETS_24XRGB_ROTATED_CW_BINARY_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_PIXELMAP_SCREEN 1
26 #define IDB_NEXT 2
27 #define ID_RESIZE_SCREEN 3
28 #define ID_SLIDER_WIDTH 4
29 #define ID_WIDTH_DISPLAY 5
30 #define ID_RADIO_FOOT 6
31 #define ID_RADIO_FISH 7
32 #define ID_RADIO_FOOT_ALPHA 8
33 #define ID_SLIDER_HEIGHT 9
34 #define ID_HEIGHT_DISPLAY 10
35 #define ID_GAUGE_SCREEN 11
36 #define ID_GAUGE 12
37 #define ID_LINES_SCREEN 13
38 #define ID_LINE_WIDTH 14
39 #define ID_LINE_ANGLE 15
40 #define ID_ANGLE_DISPLAY 16
41 #define ID_ANTI_ALIASED 17
42 #define ID_ROUNDED 18
43 #define ID_LINE_WINDOW 19
44 #define ID_BRUSH_ALPHA_SLIDER 20
45 #define ID_BRUSH_ALPHA_PROMPT 21
46 #define ID_COLOR_BLACK 22
47 #define ID_COLOR_ORANGE 23
48 #define ID_COLOR_WHITE 24
49 #define ID_MENU_SCREEN 25
50 #define ID_SCROLL_WHEEL_SCREEN 26
51 #define ID_DAY_WHEEL 27
52 #define ID_MONTH_WHEEL 28
53 #define ID_YEAR_WHEEL 29
54 #define ID_DAY_SELECT 30
55 #define ID_DAY_INPUT 31
56 #define ID_SHAPES_SCREEN 32
57 #define ID_CIRCLE 33
58 #define ID_ELLIPSE 34
59 #define ID_ARC 35
60 #define ID_PIE 36
61 #define ID_RECTANGLE 37
62 #define ID_POLYGON 38
63 #define ID_ROUND_END 39
64 #define ID_SOLID_FILL 40
65 #define ID_PIXELMAP_FILL 41
66 #define ID_RADIUS_SLIDER 42
67 #define ID_RADIUS_PROMPT 43
68 #define ID_BRUSH_WIDTH_PROMPT 44
69 #define ID_BRUSH_WIDTH 45
70 #define ID_COMPRESS 46
71 #define ID_ALPHA 47
72 #define ID_ROTATE_SCREEN 48
73 #define ID_DIRECT_ROTATE 49
74 #define ID_SLIDER_ANGLE 50
75 #define ID_RADIO_APPLE 51
76 #define ID_INDICATOR_SCREEN 52
77 #define ID_SLIDER_HORIZONTAL 53
78 #define ID_SLIDER_1 54
79 #define ID_PIXELMAP_SLIDER_H 55
80 #define ID_PIXELMAP_SLIDER1 56
81 #define ID_TEXT_SCREEN 57
82 #define ID_PROMPT_1 58
83 #define ID_PROMPT_2 59
84 #define ID_PROMPT_3 60
85 #define ID_PROMPT_4 61
86 #define ID_WINDOW_SCREEN 62
87 #define ID_HORIZONTAL_SCROLLBAR 63
88 #define ID_VERTICAL_SCROLLBAR 64
89 #define ID_VERTICAL_LIST 65
90 #define ID_DROP_LIST 66
91 #define ID_BUTTON_SCREEN 67
92 #define ID_TEXT_BUTTON 68
93 #define ID_CHECKBOX 69
94 #define ID_RADIO_BUTTON 70
95 #define ID_PIXELMAP_BUTTON 71
96 #define ID_ICON 72
97 #define ID_ICON_BUTTON 73
98 
99 
100 /* Define animation ids                                                        */
101 
102 #define GX_NEXT_ANIMATION_ID 1
103 
104 
105 /* Define user event ids                                                       */
106 
107 #define GX_NEXT_USER_EVENT_ID GX_FIRST_USER_EVENT
108 
109 
110 /* Declare properties structures for each utilized widget type                 */
111 
112 typedef struct GX_STUDIO_WIDGET_STRUCT
113 {
114    GX_CHAR *widget_name;
115    USHORT  widget_type;
116    USHORT  widget_id;
117    #if defined(GX_WIDGET_USER_DATA)
118    INT   user_data;
119    #endif
120    ULONG style;
121    ULONG status;
122    ULONG control_block_size;
123    GX_RESOURCE_ID normal_fill_color_id;
124    GX_RESOURCE_ID selected_fill_color_id;
125    GX_RESOURCE_ID disabled_fill_color_id;
126    UINT (*create_function) (GX_CONST struct GX_STUDIO_WIDGET_STRUCT *, GX_WIDGET *, GX_WIDGET *);
127    void (*draw_function) (GX_WIDGET *);
128    UINT (*event_function) (GX_WIDGET *, GX_EVENT *);
129    GX_RECTANGLE size;
130    GX_CONST struct GX_STUDIO_WIDGET_STRUCT *next_widget;
131    GX_CONST struct GX_STUDIO_WIDGET_STRUCT *child_widget;
132    ULONG control_block_offset;
133    GX_CONST void *properties;
134 } GX_STUDIO_WIDGET;
135 
136 typedef struct
137 {
138     GX_CONST GX_STUDIO_WIDGET *widget_information;
139     GX_WIDGET        *widget;
140 } GX_STUDIO_WIDGET_ENTRY;
141 
142 typedef struct
143 {
144     GX_RESOURCE_ID string_id;
145     GX_RESOURCE_ID font_id;
146     GX_RESOURCE_ID normal_text_color_id;
147     GX_RESOURCE_ID selected_text_color_id;
148     GX_RESOURCE_ID disabled_text_color_id;
149 } GX_TEXT_BUTTON_PROPERTIES;
150 
151 typedef struct
152 {
153     GX_RESOURCE_ID string_id;
154     GX_RESOURCE_ID font_id;
155     GX_RESOURCE_ID normal_text_color_id;
156     GX_RESOURCE_ID selected_text_color_id;
157     GX_RESOURCE_ID disabled_text_color_id;
158     GX_RESOURCE_ID unchecked_pixelmap_id;
159     GX_RESOURCE_ID checked_pixelmap_id;
160     GX_RESOURCE_ID unchecked_disabled_pixelmap_id;
161     GX_RESOURCE_ID checked_disabled_pixelmap_id;
162 } GX_CHECKBOX_PROPERTIES;
163 
164 typedef struct
165 {
166     GX_RESOURCE_ID string_id;
167     GX_RESOURCE_ID font_id;
168     GX_RESOURCE_ID normal_text_color_id;
169     GX_RESOURCE_ID selected_text_color_id;
170     GX_RESOURCE_ID disabled_text_color_id;
171     GX_RESOURCE_ID off_pixelmap_id;
172     GX_RESOURCE_ID on_pixelmap_id;
173     GX_RESOURCE_ID off_disabled_pixelmap_id;
174     GX_RESOURCE_ID on_disabled_pixelmap_id;
175 } GX_RADIO_BUTTON_PROPERTIES;
176 
177 typedef struct
178 {
179     GX_RESOURCE_ID pixelmap_id;
180 } GX_ICON_BUTTON_PROPERTIES;
181 
182 typedef struct
183 {
184     GX_RESOURCE_ID normal_pixelmap_id;
185     GX_RESOURCE_ID selected_pixelmap_id;
186     GX_RESOURCE_ID disabled_pixelmap_id;
187 } GX_PIXELMAP_BUTTON_PROPERTIES;
188 
189 typedef struct
190 {
191     GX_RESOURCE_ID normal_pixelmap_id;
192     GX_RESOURCE_ID selected_pixelmap_id;
193 } GX_ICON_PROPERTIES;
194 
195 typedef struct
196 {
197     int tickmark_count;
198     int minval;
199     int maxval;
200     int current_val;
201     int increment;
202     GX_VALUE min_travel;
203     GX_VALUE max_travel;
204     GX_VALUE needle_width;
205     GX_VALUE needle_height;
206     GX_VALUE needle_inset;
207     GX_VALUE needle_hotspot;
208 } GX_SLIDER_PROPERTIES;
209 
210 typedef struct
211 {
212     int min_val;
213     int max_val;
214     int current_val;
215     int increment;
216     GX_VALUE min_travel;
217     GX_VALUE max_travel;
218     GX_VALUE needle_width;
219     GX_VALUE needle_height;
220     GX_VALUE needle_inset;
221     GX_VALUE needle_hotspot;
222     GX_RESOURCE_ID lower_pixelmap;
223     GX_RESOURCE_ID upper_pixelmap;
224     GX_RESOURCE_ID needle_pixelmap;
225 } GX_PIXELMAP_SLIDER_PROPERTIES;
226 
227 typedef struct
228 {
229     GX_RESOURCE_ID string_id;
230     GX_RESOURCE_ID font_id;
231     GX_RESOURCE_ID normal_text_color_id;
232     GX_RESOURCE_ID selected_text_color_id;
233     GX_RESOURCE_ID disabled_text_color_id;
234 } GX_PROMPT_PROPERTIES;
235 
236 typedef struct
237 {
238     GX_RESOURCE_ID string_id;
239     GX_RESOURCE_ID font_id;
240     GX_RESOURCE_ID normal_text_color_id;
241     GX_RESOURCE_ID selected_text_color_id;
242     GX_RESOURCE_ID disabled_text_color_id;
243     VOID (*format_func)(GX_NUMERIC_PROMPT *, INT);
244     INT            numeric_prompt_value;
245 } GX_NUMERIC_PROMPT_PROPERTIES;
246 
247 typedef struct
248 {
249     GX_RESOURCE_ID string_id;
250     GX_RESOURCE_ID font_id;
251     GX_RESOURCE_ID normal_text_color_id;
252     GX_RESOURCE_ID selected_text_color_id;
253     GX_RESOURCE_ID disabled_text_color_id;
254     GX_RESOURCE_ID left_map_id;
255     GX_RESOURCE_ID fill_map_id;
256     GX_RESOURCE_ID right_map_id;
257     GX_RESOURCE_ID selected_left_map_id;
258     GX_RESOURCE_ID selected_fill_map_id;
259     GX_RESOURCE_ID selected_right_map_id;
260 } GX_PIXELMAP_PROMPT_PROPERTIES;
261 
262 typedef struct
263 {
264     GX_RESOURCE_ID string_id;
265     GX_RESOURCE_ID font_id;
266     GX_RESOURCE_ID normal_text_color_id;
267     GX_RESOURCE_ID selected_text_color_id;
268     GX_RESOURCE_ID disabled_text_color_id;
269     GX_RESOURCE_ID left_map_id;
270     GX_RESOURCE_ID fill_map_id;
271     GX_RESOURCE_ID right_map_id;
272     GX_RESOURCE_ID selected_left_map_id;
273     GX_RESOURCE_ID selected_fill_map_id;
274     GX_RESOURCE_ID selected_right_map_id;
275     VOID (*format_func)(GX_NUMERIC_PIXELMAP_PROMPT *, INT);
276     INT            numeric_prompt_value;
277 } GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES;
278 
279 typedef struct
280 {
281     GX_RESOURCE_ID wallpaper_id;
282 } GX_WINDOW_PROPERTIES;
283 
284 typedef struct
285 {
286     GX_RESOURCE_ID wallpaper_id;
287     VOID (*callback)(GX_VERTICAL_LIST *, GX_WIDGET *, INT);
288     int total_rows;
289 } GX_VERTICAL_LIST_PROPERTIES;
290 
291 typedef struct
292 {
293     GX_RESOURCE_ID wallpaper_id;
294     VOID (*callback)(GX_HORIZONTAL_LIST *, GX_WIDGET *, INT);
295     int total_rows;
296 } GX_HORIZONTAL_LIST_PROPERTIES;
297 
298 typedef struct
299 {
300     GX_RESOURCE_ID pixelmap_id;
301     GX_RESOURCE_ID wallpaper_id;
302     VOID (*callback)(GX_VERTICAL_LIST *, GX_WIDGET *, INT);
303     int total_rows;
304     int open_height;
305 } GX_DROP_LIST_PROPERTIES;
306 
307 typedef struct
308 {
309     int                 total_rows;
310     int                 selected_row;
311     GX_VALUE            row_height;
312     GX_UBYTE            start_alpha;
313     GX_UBYTE            end_alpha;
314     GX_RESOURCE_ID      normal_font;
315     GX_RESOURCE_ID      selected_font;
316     GX_RESOURCE_ID      normal_text_color;
317     GX_RESOURCE_ID      selected_text_color;
318     GX_RESOURCE_ID      disabled_text_color;
319     GX_RESOURCE_ID      wallpaper_id;
320     GX_RESOURCE_ID      selected_background;
321     GX_CONST GX_RESOURCE_ID  *string_id_list;
322     UINT (*callback)(struct GX_STRING_SCROLL_WHEEL_STRUCT *, INT, GX_STRING *);
323 } GX_STRING_SCROLL_WHEEL_PROPERTIES;
324 
325 typedef struct
326 {
327     int                 total_rows;
328     int                 selected_row;
329     GX_VALUE            row_height;
330     GX_UBYTE            start_alpha;
331     GX_UBYTE            end_alpha;
332     GX_RESOURCE_ID      normal_font;
333     GX_RESOURCE_ID      selected_font;
334     GX_RESOURCE_ID      normal_text_color;
335     GX_RESOURCE_ID      selected_text_color;
336     GX_RESOURCE_ID      disabled_text_color;
337     GX_RESOURCE_ID      wallpaper_id;
338     GX_RESOURCE_ID      selected_background;
339     UINT (*callback)(struct GX_NUMERIC_SCROLL_WHEEL_STRUCT *, INT, GX_STRING *);
340     int                 start_val;
341     int                 end_val;
342 } GX_NUMERIC_SCROLL_WHEEL_PROPERTIES;
343 
344 typedef struct
345 {
346     GX_RESOURCE_ID string_id;
347     GX_RESOURCE_ID font_id;
348     GX_RESOURCE_ID normal_text_color_id;
349     GX_RESOURCE_ID selected_text_color_id;
350     GX_RESOURCE_ID disabled_text_color_id;
351     GX_RESOURCE_ID readonly_fill_color_id;
352     GX_RESOURCE_ID readonly_text_color_id;
353     GX_CHAR *buffer;
354     UINT buffer_size;
355 } GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES;
356 
357 typedef struct
358 {
359     GX_RESOURCE_ID string_id;
360     GX_RESOURCE_ID font_id;
361     GX_RESOURCE_ID normal_text_color_id;
362     GX_RESOURCE_ID selected_text_color_id;
363     GX_RESOURCE_ID disabled_text_color_id;
364     GX_UBYTE       whitespace;
365     GX_BYTE        line_space;
366 } GX_ML_TEXT_VIEW_PROPERTIES;
367 
368 typedef struct
369 {
370     GX_RESOURCE_ID string_id;
371     GX_RESOURCE_ID font_id;
372     GX_RESOURCE_ID normal_text_color_id;
373     GX_RESOURCE_ID selected_text_color_id;
374     GX_RESOURCE_ID disabled_text_color_id;
375     GX_RESOURCE_ID readonly_fill_color_id;
376     GX_RESOURCE_ID readonly_text_color_id;
377     GX_UBYTE whitespace;
378     GX_BYTE  line_space;
379     GX_CHAR *buffer;
380     UINT buffer_size;
381 } GX_MULTI_LINE_TEXT_INPUT_PROPERTIES;
382 
383 typedef struct
384 {
385     GX_VALUE start_angle;
386     GX_VALUE animation_steps;
387     GX_VALUE animation_delay;
388     GX_VALUE needle_xpos;
389     GX_VALUE needle_ypos;
390     GX_VALUE needle_xcor;
391     GX_VALUE needle_ycor;
392     GX_RESOURCE_ID normal_pixelmap_id;
393     GX_RESOURCE_ID selected_pixelmap_id;
394     GX_RESOURCE_ID needle_pixelmap_id;
395 } GX_CIRCULAR_GAUGE_PROPERTIES;
396 
397 typedef struct
398 {
399     GX_RESOURCE_ID string_id;
400     GX_RESOURCE_ID font_id;
401     GX_RESOURCE_ID normal_text_color_id;
402     GX_RESOURCE_ID selected_text_color_id;
403     GX_RESOURCE_ID disabled_text_color_id;
404     GX_RESOURCE_ID left_map_id;
405     GX_RESOURCE_ID fill_map_id;
406     GX_RESOURCE_ID right_map_id;
407     GX_RESOURCE_ID selected_left_map_id;
408     GX_RESOURCE_ID selected_fill_map_id;
409     GX_RESOURCE_ID selected_right_map_id;
410     GX_VALUE       text_x_offset;
411     GX_VALUE       text_y_offset;
412     GX_VALUE       list_total_count;
413 } GX_MENU_PROPERTIES;
414 
415 typedef struct
416 {
417     GX_RESOURCE_ID expand_map_id;
418     GX_RESOURCE_ID collapse_map_id;
419     GX_RESOURCE_ID root_line_color_id;
420     GX_VALUE       indentation;
421 } GX_TREE_VIEW_PROPERTIES;
422 
423 
424 /* Declare top-level control blocks                                            */
425 
426 typedef struct PIXELMAP_SCREEN_CONTROL_BLOCK_STRUCT
427 {
428     GX_WINDOW_MEMBERS_DECLARE
429     GX_TEXT_BUTTON pixelmap_screen_next_button_10;
430     GX_ICON pixelmap_screen_icon_24xrgb_a;
431     GX_ICON pixelmap_screen_icon_24xrgb_c;
432     GX_ICON pixelmap_screen_icon_24xrgb_c_a;
433     GX_ICON pixelmap_screen_icon_24xrgb;
434     GX_ICON pixelmap_screen_icon_32argb_a;
435     GX_ICON pixelmap_screen_icon_32argb_c_a;
436     GX_ICON pixelmap_screen_icon_4444argb_a;
437     GX_ICON pixelmap_screen_icon_4444argb_c_a;
438     GX_ICON pixelmap_screen_icon_565rgb;
439     GX_ICON pixelmap_screen_icon_565rgb_a;
440     GX_ICON pixelmap_screen_icon_565rgb_c;
441     GX_ICON pixelmap_screen_icon_565rgb_c_a;
442     GX_ICON pixelmap_screen_icon_palette;
443     GX_ICON pixelmap_screen_icon_palette_a;
444     GX_ICON pixelmap_screen_icon_palette_c;
445     GX_ICON pixelmap_screen_icon_palette_c_a;
446     GX_ICON pixelmap_screen_icon_png_a;
447     GX_ICON pixelmap_screen_icon_24xrgb_a_1;
448     GX_ICON pixelmap_screen_icon_png;
449 } PIXELMAP_SCREEN_CONTROL_BLOCK;
450 
451 typedef struct RESIZE_SCREEN_CONTROL_BLOCK_STRUCT
452 {
453     GX_WINDOW_MEMBERS_DECLARE
454     GX_PROMPT resize_screen_prompt_16;
455     GX_SLIDER resize_screen_slider_angle;
456     GX_PROMPT resize_screen_prompt_angle;
457     GX_WINDOW resize_screen_resize_window;
458     GX_RADIO_BUTTON resize_screen_radio_button_5;
459     GX_RADIO_BUTTON resize_screen_radio_button_6;
460     GX_RADIO_BUTTON resize_screen_radio_button_7;
461     GX_PROMPT resize_screen_prompt_17;
462     GX_PROMPT resize_screen_prompt_18;
463     GX_SLIDER resize_screen_slider_angle_1;
464     GX_PROMPT resize_screen_prompt_angle_1;
465     GX_TEXT_BUTTON resize_screen_next_button_9;
466 } RESIZE_SCREEN_CONTROL_BLOCK;
467 
468 typedef struct GAUGE_SCREEN_CONTROL_BLOCK_STRUCT
469 {
470     GX_WINDOW_MEMBERS_DECLARE
471     GX_PROMPT gauge_screen_prompt_6;
472     GX_TEXT_BUTTON gauge_screen_next_button_4;
473     GX_CIRCULAR_GAUGE gauge_screen_gauge_1;
474 } GAUGE_SCREEN_CONTROL_BLOCK;
475 
476 typedef struct LINES_SCREEN_CONTROL_BLOCK_STRUCT
477 {
478     GX_WINDOW_MEMBERS_DECLARE
479     GX_PROMPT lines_screen_prompt_16;
480     GX_SLIDER lines_screen_line_width_slider;
481     GX_PROMPT lines_screen_prompt_17;
482     GX_SLIDER lines_screen_line_angle_slider;
483     GX_PROMPT lines_screen_width_display;
484     GX_PROMPT lines_screen_angle_display;
485     GX_CHECKBOX lines_screen_aa_box;
486     GX_CHECKBOX lines_screen_rounded_box;
487     GX_WINDOW lines_screen_line_window;
488     GX_PROMPT lines_screen_color_label;
489     GX_PROMPT lines_screen_prompt_18;
490     GX_SLIDER lines_screen_brush_alpha_slider_1;
491     GX_PROMPT lines_screen_brush_alpha_prompt;
492     GX_TEXT_BUTTON lines_screen_next_button_8;
493     GX_PROMPT lines_screen_title_2;
494     GX_RADIO_BUTTON lines_screen_radio_button_5;
495     GX_RADIO_BUTTON lines_screen_radio_button_10;
496     GX_RADIO_BUTTON lines_screen_radio_button_11;
497 } LINES_SCREEN_CONTROL_BLOCK;
498 
499 typedef struct MENU_SCREEN_CONTROL_BLOCK_STRUCT
500 {
501     GX_WINDOW_MEMBERS_DECLARE
502     GX_TEXT_BUTTON menu_screen_next_button_6;
503     GX_PROMPT menu_screen_title_3;
504     GX_PROMPT menu_screen_text_accordio_menu;
505     GX_ACCORDION_MENU menu_screen_one_level_accordion_2;
506     GX_MENU menu_screen_ola_menu_4;
507     GX_PROMPT menu_screen_prompt_25;
508     GX_NUMERIC_PROMPT menu_screen_prompt_26;
509     GX_MENU menu_screen_ola_menu;
510     GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_3;
511     GX_TEXT_BUTTON menu_screen_ola_menu_1;
512     GX_MENU menu_screen_ola_menu_2;
513     GX_MENU menu_screen_item_1;
514     GX_MENU menu_screen_item_2;
515     GX_PROMPT menu_screen_text_tree_view;
516     GX_TREE_VIEW menu_screen_tree_view;
517     GX_MENU menu_screen_tree_menu_6;
518     GX_PROMPT menu_screen_tree_menu;
519     GX_PROMPT menu_screen_tree_menu_1;
520     GX_ICON menu_screen_icon_10_1;
521     GX_MENU menu_screen_tree_menu_7;
522     GX_MENU menu_screen_tree_menu_4;
523     GX_PROMPT menu_screen_tree_menu_2;
524     GX_PROMPT menu_screen_tree_menu_2_1;
525     GX_ICON menu_screen_icon_11_1;
526     GX_MENU menu_screen_tree_menu_2_4;
527     GX_MENU menu_screen_tree_menu_2_3;
528     GX_PROMPT menu_screen_tree_menu_2_2;
529     GX_PROMPT menu_screen_tree_menu_2_2_1;
530     GX_ICON menu_screen_icon_9;
531     GX_ICON menu_screen_icon_6;
532     GX_ICON menu_screen_icon_8;
533     GX_MENU menu_screen_tree_menu_8;
534     GX_PROMPT menu_screen_tree_menu_5;
535     GX_ICON menu_screen_icon_12_1;
536     GX_SCROLLBAR menu_screen_tree_hscroll;
537     GX_SCROLLBAR menu_screen_tree_vscroll;
538     GX_PROMPT menu_screen_prompt_16_1;
539     GX_MENU menu_screen_menu;
540     GX_PROMPT menu_screen_prompt_10_2;
541     GX_ICON menu_screen_icon_7;
542 } MENU_SCREEN_CONTROL_BLOCK;
543 
544 typedef struct SCROLL_WHEEL_SCREEN_CONTROL_BLOCK_STRUCT
545 {
546     GX_WINDOW_MEMBERS_DECLARE
547     GX_TEXT_BUTTON scroll_wheel_screen_next_button_7;
548     GX_PROMPT scroll_wheel_screen_prompt_8;
549     GX_NUMERIC_SCROLL_WHEEL scroll_wheel_screen_day_wheel_1;
550     GX_STRING_SCROLL_WHEEL scroll_wheel_screen_month_wheel_1;
551     GX_NUMERIC_SCROLL_WHEEL scroll_wheel_screen_year_wheel_1;
552     GX_TEXT_BUTTON scroll_wheel_screen_button_5;
553     GX_SINGLE_LINE_TEXT_INPUT scroll_wheel_screen_text_input_3;
554 } SCROLL_WHEEL_SCREEN_CONTROL_BLOCK;
555 
556 typedef struct SHAPES_SCREEN_CONTROL_BLOCK_STRUCT
557 {
558     GX_WINDOW_MEMBERS_DECLARE
559     GX_WINDOW shapes_screen_graphics_window;
560     GX_TEXT_BUTTON shapes_screen_next_button_5;
561     GX_WINDOW shapes_screen_window_11;
562     GX_RADIO_BUTTON shapes_screen_radio_button_6;
563     GX_RADIO_BUTTON shapes_screen_radio_button_7;
564     GX_RADIO_BUTTON shapes_screen_radio_button_8;
565     GX_RADIO_BUTTON shapes_screen_radio_button_9;
566     GX_RADIO_BUTTON shapes_screen_radio_button_3;
567     GX_RADIO_BUTTON shapes_screen_radio_button_4;
568     GX_CHECKBOX shapes_screen_checkbox_anti_alised;
569     GX_CHECKBOX shapes_screen_checkbox_round_end;
570     GX_CHECKBOX shapes_screen_checkbox_fill;
571     GX_CHECKBOX shapes_screen_checkbox_pixelmap_fill;
572     GX_PROMPT shapes_screen_prompt_14;
573     GX_PROMPT shapes_screen_prompt_13;
574     GX_SLIDER shapes_screen_radius_slider_1;
575     GX_PROMPT shapes_screen_prompt_6;
576     GX_PROMPT shapes_screen_prompt_7;
577     GX_SLIDER shapes_screen_brush_width_slider;
578     GX_PROMPT shapes_screen_prompt_11_1;
579     GX_SLIDER shapes_screen_brush_alpha_slider;
580     GX_PROMPT shapes_screen_prompt_12;
581     GX_CHECKBOX shapes_screen_checkbox_1;
582     GX_CHECKBOX shapes_screen_checkbox_2;
583 } SHAPES_SCREEN_CONTROL_BLOCK;
584 
585 typedef struct ROTATE_SCREEN_CONTROL_BLOCK_STRUCT
586 {
587     GX_WINDOW_MEMBERS_DECLARE
588     GX_TEXT_BUTTON rotate_screen_next_button_4;
589     GX_CHECKBOX rotate_screen_checkbox;
590     GX_PROMPT rotate_screen_prompt;
591     GX_SLIDER rotate_screen_slider_2;
592     GX_WINDOW rotate_screen_pixelmap_window;
593     GX_RADIO_BUTTON rotate_screen_radio_button;
594     GX_RADIO_BUTTON rotate_screen_radio_button_1;
595     GX_RADIO_BUTTON rotate_screen_radio_button_2;
596     GX_NUMERIC_PROMPT rotate_screen_angle_value;
597 } ROTATE_SCREEN_CONTROL_BLOCK;
598 
599 typedef struct INDICATOR_SCREEN_CONTROL_BLOCK_STRUCT
600 {
601     GX_WINDOW_MEMBERS_DECLARE
602     GX_SLIDER indicator_screen_slider;
603     GX_SLIDER indicator_screen_slider_1;
604     GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider;
605     GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider_1;
606     GX_ICON indicator_screen_icon_1;
607     GX_ICON indicator_screen_icon_2;
608     GX_PROMPT indicator_screen_slider_title;
609     GX_TEXT_BUTTON indicator_screen_next_button_3;
610     GX_PROGRESS_BAR indicator_screen_progress_bar_1;
611     GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider_2;
612     GX_ICON indicator_screen_icon_3;
613     GX_ICON indicator_screen_icon_4;
614     GX_RADIAL_PROGRESS_BAR indicator_screen_radial_progress_bar_1;
615 } INDICATOR_SCREEN_CONTROL_BLOCK;
616 
617 typedef struct TEXT_SCREEN_CONTROL_BLOCK_STRUCT
618 {
619     GX_WINDOW_MEMBERS_DECLARE
620     GX_PROMPT text_screen_prompt_1;
621     GX_PROMPT text_screen_prompt_2;
622     GX_PROMPT text_screen_prompt_3;
623     GX_PIXELMAP_PROMPT text_screen_prompt_4;
624     GX_SINGLE_LINE_TEXT_INPUT text_screen_text_input_1;
625     GX_MULTI_LINE_TEXT_VIEW text_screen_text_view_1;
626     GX_MULTI_LINE_TEXT_INPUT text_screen_text_input_2;
627     GX_TEXT_BUTTON text_screen_next_button_2;
628     GX_NUMERIC_PIXELMAP_PROMPT text_screen_numeric_pixelmap_prompt_2;
629     GX_NUMERIC_PROMPT text_screen_numeric_prompt_1;
630 } TEXT_SCREEN_CONTROL_BLOCK;
631 
632 typedef struct WINDOW_SCREEN_CONTROL_BLOCK_STRUCT
633 {
634     GX_WINDOW_MEMBERS_DECLARE
635     GX_WINDOW window_screen_window_5;
636     GX_WINDOW window_screen_window_6;
637     GX_WINDOW window_screen_window_8;
638     GX_WINDOW window_screen_fade_window;
639     GX_WINDOW window_screen_scroll_frame_1;
640     GX_WINDOW window_screen_window_4;
641     GX_SCROLLBAR window_screen_hscroll_1;
642     GX_SCROLLBAR window_screen_vertical_scroll_1;
643     GX_VERTICAL_LIST window_screen_vertical_list;
644     GX_TEXT_BUTTON window_screen_button_1;
645     GX_TEXT_BUTTON window_screen_button_2;
646     GX_TEXT_BUTTON window_screen_button_3;
647     GX_TEXT_BUTTON window_screen_button_4;
648     GX_PROMPT window_screen_nested_label_1;
649     GX_PROMPT window_screen_frame_label_1;
650     GX_PROMPT window_screen_vlist_label_1;
651     GX_HORIZONTAL_LIST window_screen_horizontal_list_1;
652     GX_ICON_BUTTON window_screen_icon_button_1;
653     GX_ICON_BUTTON window_screen_icon_button_2;
654     GX_ICON_BUTTON window_screen_icon_button_3;
655     GX_ICON_BUTTON window_screen_icon_button_4;
656     GX_ICON_BUTTON window_screen_icon_button_5;
657     GX_PROMPT window_screen_hlist_label_1;
658     GX_TEXT_BUTTON window_screen_next_button_1;
659     GX_DROP_LIST window_screen_drop_list;
660     GX_BUTTON window_screen_button;
661     GX_PROMPT window_screen_hlist_label;
662 } WINDOW_SCREEN_CONTROL_BLOCK;
663 
664 typedef struct BUTTON_SCREEN_CONTROL_BLOCK_STRUCT
665 {
666     GX_WINDOW_MEMBERS_DECLARE
667     GX_PROMPT button_screen_title_1;
668     GX_BUTTON button_screen_base_button_1;
669     GX_TEXT_BUTTON button_screen_text_button_1;
670     GX_CHECKBOX button_screen_checkbox1_1;
671     GX_RADIO_BUTTON button_screen_radio_button1_1;
672     GX_PIXELMAP_BUTTON button_screen_pixelmap_button1_1;
673     GX_ICON button_screen_icon;
674     GX_ICON_BUTTON button_screen_icon_button_6;
675     GX_PROMPT button_screen_button_label_1;
676     GX_PROMPT button_screen_radio_label_1;
677     GX_PROMPT button_screen_pixbutton_label_1;
678     GX_PROMPT button_screen_texbutton_label_1;
679     GX_PROMPT button_screen_checkbox_label_1;
680     GX_PROMPT button_screen_iconbutton_label_1;
681     GX_PROMPT button_screen_icon_label_1;
682     GX_TEXT_BUTTON button_screen_next_button;
683 } BUTTON_SCREEN_CONTROL_BLOCK;
684 
685 
686 /* extern statically defined control blocks                                    */
687 
688 #ifndef GUIX_STUDIO_GENERATED_FILE
689 extern PIXELMAP_SCREEN_CONTROL_BLOCK pixelmap_screen;
690 extern RESIZE_SCREEN_CONTROL_BLOCK resize_screen;
691 extern GAUGE_SCREEN_CONTROL_BLOCK gauge_screen;
692 extern LINES_SCREEN_CONTROL_BLOCK lines_screen;
693 extern MENU_SCREEN_CONTROL_BLOCK menu_screen;
694 extern SCROLL_WHEEL_SCREEN_CONTROL_BLOCK scroll_wheel_screen;
695 extern SHAPES_SCREEN_CONTROL_BLOCK shapes_screen;
696 extern ROTATE_SCREEN_CONTROL_BLOCK rotate_screen;
697 extern INDICATOR_SCREEN_CONTROL_BLOCK indicator_screen;
698 extern TEXT_SCREEN_CONTROL_BLOCK text_screen;
699 extern WINDOW_SCREEN_CONTROL_BLOCK window_screen;
700 extern BUTTON_SCREEN_CONTROL_BLOCK button_screen;
701 #endif
702 
703 /* Declare event process functions, draw functions, and callback functions     */
704 
705 UINT next_button_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
706 UINT resize_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
707 VOID resize_window_draw(GX_WINDOW *widget);
708 UINT gauge_event_handle(GX_WINDOW *widget, GX_EVENT *event_ptr);
709 UINT main_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
710 VOID line_win_draw(GX_WINDOW *widget);
711 UINT scroll_wheel_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
712 UINT day_wheel_value_format(GX_NUMERIC_SCROLL_WHEEL *wheel, INT row, GX_STRING *string);
713 UINT shapesscreen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
714 VOID graphics_draw(GX_WINDOW *widget);
715 UINT rotate_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
716 VOID pixelmap_draw(GX_WINDOW *widget);
717 VOID drop_list_row_create(GX_VERTICAL_LIST *, GX_WIDGET *, INT);
718 
719 /* Declare the GX_STUDIO_DISPLAY_INFO structure                                */
720 
721 
722 typedef struct GX_STUDIO_DISPLAY_INFO_STRUCT
723 {
724     GX_CONST GX_CHAR *name;
725     GX_CONST GX_CHAR *canvas_name;
726     GX_CONST GX_THEME **theme_table;
727     GX_CONST GX_STRING **language_table;
728     USHORT   theme_table_size;
729     USHORT   language_table_size;
730     UINT     string_table_size;
731     UINT     x_resolution;
732     UINT     y_resolution;
733     GX_DISPLAY *display;
734     GX_CANVAS  *canvas;
735     GX_WINDOW_ROOT *root_window;
736     GX_COLOR   *canvas_memory;
737     ULONG      canvas_memory_size;
738     USHORT     rotation_angle;
739 } GX_STUDIO_DISPLAY_INFO;
740 
741 
742 /* Declare Studio-generated functions for creating top-level widgets           */
743 
744 UINT gx_studio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
745 UINT gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
746 UINT gx_studio_checkbox_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
747 UINT gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
748 UINT gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
749 UINT gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
750 UINT gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
751 UINT gx_studio_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
752 UINT gx_studio_pixelmap_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
753 UINT gx_studio_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
754 UINT gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
755 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
756 UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
757 UINT gx_studio_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
758 UINT gx_studio_numeric_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
759 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
760 UINT gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
761 UINT gx_studio_horizontal_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
762 UINT gx_studio_drop_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
763 UINT gx_studio_string_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
764 UINT gx_studio_numeric_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
765 UINT gx_studio_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
766 UINT gx_studio_multi_line_text_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
767 UINT gx_studio_multi_line_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
768 UINT gx_studio_horizontal_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
769 UINT gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
770 UINT gx_studio_circular_gauge_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
771 UINT gx_studio_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
772 UINT gx_studio_accordion_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
773 UINT gx_studio_tree_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
774 GX_WIDGET *gx_studio_widget_create(GX_BYTE *storage, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent);
775 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget);
776 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *), GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root);
777 
778 /* Determine if a C++ compiler is being used.  If so, complete the standard
779   C conditional started above.                                                 */
780 #ifdef __cplusplus
781 }
782 #endif
783 
784 #endif                                       /* sentry                         */
785