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