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.3.0.1                                               */
9 /*  Date (dd.mm.yyyy): 22.12.2023   Time (hh:mm): 16:02                        */
10 /*******************************************************************************/
11 
12 
13 #define GUIX_STUDIO_GENERATED_FILE
14 #include <stddef.h>
15 #include "all_widgets_32argb_resources.h"
16 #include "all_widgets_32argb_specifications.h"
17 
18 static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent);
19 RADIAL_SLIDER_SCREEN_CONTROL_BLOCK radial_slider_screen;
20 ROTATE_SCREEN_CONTROL_BLOCK rotate_screen;
21 MENU_SCREEN_CONTROL_BLOCK menu_screen;
22 SCROLL_WHEEL_SCREEN_CONTROL_BLOCK scroll_wheel_screen;
23 SPRITE_SCREEN_CONTROL_BLOCK sprite_screen;
24 GAUGE_SCREEN_CONTROL_BLOCK gauge_screen;
25 POPUP_MODAL_CONTROL_BLOCK popup_modal;
26 INDICATOR_SCREEN_CONTROL_BLOCK indicator_screen;
27 TEXT_SCREEN_CONTROL_BLOCK text_screen;
28 WINDOW_SCREEN_CONTROL_BLOCK window_screen;
29 BUTTON_SCREEN_CONTROL_BLOCK button_screen;
30 GX_DISPLAY Primary_control_block;
31 GX_WINDOW_ROOT Primary_root_window;
32 GX_CANVAS  Primary_canvas_control_block;
33 ULONG      Primary_canvas_memory[307200];
34 
35 extern GX_CONST GX_THEME *Primary_theme_table[];
36 extern GX_CONST GX_STRING *Primary_language_table[];
37 
38 GX_STUDIO_DISPLAY_INFO all_widgets_32argb_display_table[1] =
39 {
40     {
41     "Primary",
42     "Primary_canvas",
43     Primary_theme_table,
44     Primary_language_table,
45     PRIMARY_THEME_TABLE_SIZE,
46     PRIMARY_LANGUAGE_TABLE_SIZE,
47     PRIMARY_STRING_TABLE_SIZE,
48     640,                                     /* x resolution                   */
49     480,                                     /* y resolution                   */
50     &Primary_control_block,
51     &Primary_canvas_control_block,
52     &Primary_root_window,
53     Primary_canvas_memory,                   /* canvas memory area             */
54     1228800,                                 /* canvas memory size in bytes    */
55     0                                        /* rotation angle                 */
56     }
57 };
58 
gx_studio_action_target_get(GX_WIDGET * current,GX_CONST GX_STUDIO_ACTION * action)59 static GX_WIDGET *gx_studio_action_target_get(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action)
60 {
61     GX_WIDGET *parent = GX_NULL;
62     GX_WIDGET *target = GX_NULL;
63     INT        search_depth;
64     GX_STUDIO_WIDGET *widget_define;
65 
66     if (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET)
67     {
68                                              /* dynamically create the target widget */
69         widget_define = (GX_STUDIO_WIDGET *) action->target;
70         if(action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT)
71         {
72             gx_window_root_find(current, (GX_WINDOW_ROOT **)&parent);
73             search_depth = GX_SEARCH_DEPTH_INFINITE;
74         }
75         else
76         {
77             parent = (GX_WIDGET *)action->parent;
78             search_depth = 1;
79         }
80         gx_widget_find(parent, widget_define->widget_id, search_depth, &target);
81         if (target == GX_NULL)
82         {
83             target = gx_studio_widget_create(GX_NULL, widget_define, GX_NULL);
84         }
85         if (target)
86         {
87             target->gx_widget_status |= GX_STATUS_STUDIO_CREATED;
88         }
89     }
90     else
91     {
92         target = (GX_WIDGET *) action->target;
93     }
94     return target;
95 }
96 
gx_studio_action_target_find(GX_WIDGET * current,GX_CONST GX_STUDIO_ACTION * action)97 static GX_WIDGET *gx_studio_action_target_find(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action)
98 {
99     GX_WIDGET *parent = GX_NULL;
100     GX_WIDGET *target = GX_NULL;
101     GX_STUDIO_WIDGET *widget_define;
102 
103     if (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET)
104     {
105                                              /* Find the dynamically created target */
106         widget_define = (GX_STUDIO_WIDGET *) action->target;
107         if(action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT)
108         {
109             gx_window_root_find(current, (GX_WINDOW_ROOT **)&parent);
110         }
111         else
112         {
113             parent = (GX_WIDGET *)action->parent;
114         }
115         gx_widget_find(parent, widget_define->widget_id, GX_SEARCH_DEPTH_INFINITE, &target);
116     }
117     else
118     {
119         target = (GX_WIDGET *) action->target;
120     }
121     return target;
122 }
123 
gx_studio_action_parent_find(GX_WIDGET * current,GX_CONST GX_STUDIO_ACTION * action)124 static GX_WIDGET *gx_studio_action_parent_find(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action)
125 {
126 GX_WIDGET *parent = GX_NULL;
127 GX_STUDIO_WIDGET *widget_define;
128 
129     if (action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT)
130     {
131                                              /* Find the dynamically created target */
132         widget_define = (GX_STUDIO_WIDGET *)action->parent;
133         gx_window_root_find(current, (GX_WINDOW_ROOT **)&parent);
134         gx_widget_find(parent, widget_define->widget_id, GX_SEARCH_DEPTH_INFINITE, &parent);
135     }
136     else
137     {
138         parent = (GX_WIDGET *)action->parent;
139     }
140     return parent;
141 }
142 
gx_studio_animation_execute(GX_WIDGET * current,GX_CONST GX_STUDIO_ACTION * action)143 static VOID gx_studio_animation_execute(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action)
144 {
145     GX_ANIMATION *animation;
146     GX_ANIMATION_INFO animation_info;
147     GX_WIDGET *parent = GX_NULL;
148     GX_WIDGET *target = GX_NULL;
149     gx_system_animation_get(&animation);
150     if (animation)
151     {
152         animation_info = *action->animation;
153 
154         if((action->flags & GX_ACTION_FLAG_POP_TARGET) ||
155            (action->flags & GX_ACTION_FLAG_POP_PARENT))
156         {
157             gx_system_screen_stack_get((GX_WIDGET **)&parent, &target);
158         }
159 
160         if(action->flags & GX_ACTION_FLAG_POP_TARGET)
161         {
162             animation_info.gx_animation_target = target;
163         }
164 
165         if(action->flags & GX_ACTION_FLAG_POP_PARENT)
166         {
167             animation_info.gx_animation_parent = (GX_WIDGET *)parent;
168         }
169 
170         if ((!animation_info.gx_animation_target) &&
171             (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET))
172         {
173             target = gx_studio_action_target_get(current, action);
174             animation_info.gx_animation_target = target;
175         }
176 
177         if (!animation_info.gx_animation_parent)
178         {
179             animation_info.gx_animation_parent = gx_studio_action_parent_find(current, action);
180         }
181 
182         if (animation_info.gx_animation_target &&
183             animation_info.gx_animation_parent)
184         {
185             gx_animation_start(animation, &animation_info);
186         }
187     }
188 }
189 
gx_studio_auto_event_handler(GX_WIDGET * widget,GX_EVENT * event_ptr,GX_CONST GX_STUDIO_EVENT_PROCESS * record)190 UINT gx_studio_auto_event_handler(GX_WIDGET *widget, GX_EVENT *event_ptr, GX_CONST GX_STUDIO_EVENT_PROCESS *record)
191 {
192     UINT status = GX_SUCCESS;
193     GX_CONST GX_STUDIO_ACTION *action;
194     GX_CONST GX_WIDGET *parent = GX_NULL;
195     GX_WIDGET *target = GX_NULL;
196     GX_CONST GX_STUDIO_EVENT_ENTRY *entry = record->event_table;
197 
198     while(entry->event_type)
199     {
200         if (entry->event_type == event_ptr->gx_event_type)
201         {
202             if((entry->event_type == GX_EVENT_ANIMATION_COMPLETE) &&
203                (entry->event_sender != event_ptr->gx_event_sender))
204             {
205                 entry++;
206                 continue;
207             }
208             action = entry->action_list;
209 
210             while(action->opcode)
211             {
212                 switch(action->opcode)
213                 {
214                 case GX_ACTION_TYPE_ATTACH:
215                     if((action->flags & GX_ACTION_FLAG_POP_TARGET) ||
216                        (action->flags & GX_ACTION_FLAG_POP_PARENT))
217                     {
218                         gx_system_screen_stack_get((GX_WIDGET **)&parent, &target);
219                     }
220 
221                     if(!(action->flags & GX_ACTION_FLAG_POP_PARENT))
222                     {
223                         parent = action->parent;
224                     }
225                     if(!(action->flags & GX_ACTION_FLAG_POP_TARGET))
226                     {
227                         target = gx_studio_action_target_get(widget, action);
228                     }
229                     if (parent && target)
230                     {
231                         gx_widget_attach(parent, target);
232                     }
233                     break;
234 
235                 case GX_ACTION_TYPE_DETACH:
236                     target = gx_studio_action_target_find(widget, action);
237                     if (target)
238                     {
239                         gx_widget_detach(target);
240                         if (target->gx_widget_status & GX_STATUS_STUDIO_CREATED)
241                         {
242                             if (widget == target)
243                             {
244                                 widget = GX_NULL;
245                             }
246 
247                             gx_widget_delete(target);
248                         }
249                     }
250                     break;
251 
252                 case GX_ACTION_TYPE_TOGGLE:
253                     if(action->flags & GX_ACTION_FLAG_POP_TARGET)
254                     {
255                        gx_system_screen_stack_get(GX_NULL, &target);
256                     }
257                     else
258                     {
259                         target = gx_studio_action_target_get(widget, action);
260                     }
261                     parent = widget->gx_widget_parent;
262                     if (parent)
263                     {
264                         gx_widget_detach(widget);
265                         gx_widget_attach(parent, target);
266                         if (widget->gx_widget_status & GX_STATUS_STUDIO_CREATED)
267                         {
268                             gx_widget_delete(widget);
269                             widget = GX_NULL;
270                         }
271                     }
272                     break;
273 
274                 case GX_ACTION_TYPE_SHOW:
275                     target = gx_studio_action_target_get(widget, action);
276                     if(target)
277                     {
278                         gx_widget_show(target);
279                     }
280                     break;
281 
282                 case GX_ACTION_TYPE_HIDE:
283                     target = gx_studio_action_target_find(widget, action);
284                     if(target)
285                     {
286                         gx_widget_hide(target);
287                     }
288                     break;
289 
290                 case GX_ACTION_TYPE_ANIMATION:
291                     gx_studio_animation_execute(widget, action);
292                     break;
293 
294                 case GX_ACTION_TYPE_WINDOW_EXECUTE:
295                     if((action->flags & GX_ACTION_FLAG_POP_TARGET) ||
296                        (action->flags & GX_ACTION_FLAG_POP_PARENT))
297                     {
298                         gx_system_screen_stack_get((GX_WIDGET **)&parent, &target);
299                     }
300 
301                     if(!(action->flags & GX_ACTION_FLAG_POP_PARENT))
302                     {
303                         parent = widget->gx_widget_parent;
304                     }
305                     if(!(action->flags & GX_ACTION_FLAG_POP_TARGET))
306                     {
307                         target = gx_studio_action_target_get(widget, action);
308                     }
309                     if (parent && target)
310                     {
311                         gx_widget_attach(parent, target);
312                         gx_window_execute((GX_WINDOW *) target, GX_NULL);
313                     }
314                     break;
315 
316                 case GX_ACTION_TYPE_WINDOW_EXECUTE_STOP:
317                     return event_ptr->gx_event_sender;
318 
319                 case GX_ACTION_TYPE_SCREEN_STACK_PUSH:
320                     target = gx_studio_action_target_get(widget, action);
321                     if(target)
322                     {
323                         gx_system_screen_stack_push(target);
324                     }
325                     break;
326 
327                 case GX_ACTION_TYPE_SCREEN_STACK_POP:
328                     gx_system_screen_stack_pop();
329                     break;
330 
331                 case GX_ACTION_TYPE_SCREEN_STACK_RESET:
332                     gx_system_screen_stack_reset();
333                     break;
334 
335                 default:
336                     break;
337                 }
338                 action++;
339             }
340         }
341         entry++;
342     }
343 
344     if (widget && record->chain_event_handler)
345     {
346         status = record->chain_event_handler(widget, event_ptr);
347     }
348     return status;
349 }
350 
351 
gx_studio_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)352 UINT gx_studio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
353 {
354     UINT status;
355     GX_BUTTON *button = (GX_BUTTON *) control_block;
356     status = gx_button_create(button, info->widget_name, parent, info->style, info->widget_id, &info->size);
357     return status;
358 }
359 
gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)360 UINT gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
361 {
362     UINT status;
363     GX_TEXT_BUTTON *button = (GX_TEXT_BUTTON *) control_block;
364     GX_TEXT_BUTTON_PROPERTIES *props = (GX_TEXT_BUTTON_PROPERTIES *) info->properties;
365     status = gx_text_button_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
366     if (status == GX_SUCCESS)
367     {
368         gx_text_button_font_set(button, props->font_id);
369 #if defined(GUIX_5_4_0_COMPATIBILITY)
370         gx_text_button_text_color_set(button, props->normal_text_color_id, props->selected_text_color_id);
371 #else
372         gx_text_button_text_color_set(button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
373 #endif
374     }
375     return status;
376 }
377 
gx_studio_multi_line_text_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)378 UINT gx_studio_multi_line_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
379 {
380     UINT status;
381     GX_MULTI_LINE_TEXT_BUTTON *button = (GX_MULTI_LINE_TEXT_BUTTON *) control_block;
382     GX_ML_TEXT_BUTTON_PROPERTIES *props = (GX_ML_TEXT_BUTTON_PROPERTIES *) info->properties;
383     status = gx_multi_line_text_button_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
384     if (status == GX_SUCCESS)
385     {
386         gx_text_button_font_set((GX_TEXT_BUTTON *) button, props->font_id);
387 #if defined(GUIX_5_4_0_COMPATIBILITY)
388         gx_text_button_text_color_set((GX_TEXT_BUTTON *) button, props->normal_text_color_id, props->selected_text_color_id);
389 #else
390         gx_text_button_text_color_set((GX_TEXT_BUTTON *) button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
391 #endif
392     }
393     return status;
394 }
395 
gx_studio_checkbox_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)396 UINT gx_studio_checkbox_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
397 {
398     UINT status;
399     GX_CHECKBOX *button = (GX_CHECKBOX *) control_block;
400     GX_TEXT_BUTTON *text_button = (GX_TEXT_BUTTON *) button;
401     GX_CHECKBOX_PROPERTIES *props = (GX_CHECKBOX_PROPERTIES *) info->properties;
402     status = gx_checkbox_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
403     if (status == GX_SUCCESS)
404     {
405         gx_text_button_font_set(text_button, props->font_id);
406 #if defined(GUIX_5_4_0_COMPATIBILITY)
407         gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id);
408  #else
409         gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
410 #endif
411 
412         if (props->unchecked_pixelmap_id ||
413             props->checked_pixelmap_id ||
414             props->unchecked_disabled_pixelmap_id ||
415             props->checked_disabled_pixelmap_id)
416         {
417             gx_checkbox_pixelmap_set(button,
418                                      props->unchecked_pixelmap_id,
419                                      props->checked_pixelmap_id,
420                                      props->unchecked_disabled_pixelmap_id,
421                                      props->checked_disabled_pixelmap_id);
422         }
423     }
424     return status;
425 }
426 
gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)427 UINT gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
428 {
429     UINT status;
430     GX_RADIO_BUTTON *button = (GX_RADIO_BUTTON *) control_block;
431     GX_TEXT_BUTTON *text_button = (GX_TEXT_BUTTON *) button;
432     GX_RADIO_BUTTON_PROPERTIES *props = (GX_RADIO_BUTTON_PROPERTIES *) info->properties;
433     status = gx_radio_button_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
434     if (status == GX_SUCCESS)
435     {
436         gx_text_button_font_set(text_button, props->font_id);
437 #if defined(GUIX_5_4_0_COMPATIBILITY)
438         gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id);
439 #else
440         gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
441 #endif
442 
443         if (props->off_pixelmap_id ||
444             props->on_pixelmap_id ||
445             props->off_disabled_pixelmap_id ||
446             props->on_disabled_pixelmap_id)
447         {
448             gx_radio_button_pixelmap_set(button,
449                                      props->off_pixelmap_id,
450                                      props->on_pixelmap_id,
451                                      props->off_disabled_pixelmap_id,
452                                      props->on_disabled_pixelmap_id);
453         }
454     }
455     return status;
456 }
457 
gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)458 UINT gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
459 {
460     UINT status;
461     GX_ICON_BUTTON *button = (GX_ICON_BUTTON *) control_block;
462     GX_ICON_BUTTON_PROPERTIES *props = (GX_ICON_BUTTON_PROPERTIES *) info->properties;
463     status = gx_icon_button_create(button, info->widget_name, parent, props->pixelmap_id, info->style, info->widget_id, &info->size);
464     return status;
465 }
466 
gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)467 UINT gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
468 {
469     UINT status;
470     GX_PIXELMAP_BUTTON *button = (GX_PIXELMAP_BUTTON *) control_block;
471     GX_PIXELMAP_BUTTON_PROPERTIES *props = (GX_PIXELMAP_BUTTON_PROPERTIES *) info->properties;
472     status = gx_pixelmap_button_create(button, info->widget_name, parent,
473                props->normal_pixelmap_id,
474                props->selected_pixelmap_id,
475                props->disabled_pixelmap_id,
476                info->style, info->widget_id, &info->size);
477     return status;
478 }
479 
gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)480 UINT gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
481 {
482     UINT status;
483     GX_ICON *icon = (GX_ICON *) control_block;
484     GX_ICON_PROPERTIES *props = (GX_ICON_PROPERTIES *) info->properties;
485     status = gx_icon_create(icon, info->widget_name, parent, props->normal_pixelmap_id, info->style, info->widget_id, info->size.gx_rectangle_left, info->size.gx_rectangle_top);
486     if (props->selected_pixelmap_id)
487     {
488         gx_icon_pixelmap_set(icon, props->normal_pixelmap_id, props->selected_pixelmap_id);
489     }
490     else
491     {
492         gx_widget_resize((GX_WIDGET *)icon, (GX_RECTANGLE *)&info->size);
493     }
494     return status;
495 }
496 
gx_studio_slider_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)497 UINT gx_studio_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
498 {
499     UINT status;
500     GX_SLIDER *slider = (GX_SLIDER *) control_block;
501     GX_SLIDER_PROPERTIES *props = (GX_SLIDER_PROPERTIES *) info->properties;
502     GX_SLIDER_INFO slider_info;
503     slider_info.gx_slider_info_min_val = props->minval;
504     slider_info.gx_slider_info_max_val = props->maxval;
505     slider_info.gx_slider_info_current_val = props->current_val;
506     slider_info.gx_slider_info_increment = props->increment;
507     slider_info.gx_slider_info_min_travel = props->min_travel;
508     slider_info.gx_slider_info_max_travel = props->max_travel;
509     slider_info.gx_slider_info_needle_width = props->needle_width;
510     slider_info.gx_slider_info_needle_height = props->needle_height;
511     slider_info.gx_slider_info_needle_inset = props->needle_inset;
512     slider_info.gx_slider_info_needle_hotspot_offset = props->needle_hotspot;
513     status = gx_slider_create(slider,
514                     info->widget_name,
515                     parent,
516                     props->tickmark_count,
517                     &slider_info,
518                     info->style,
519                     info->widget_id,
520                     &info->size);
521     return status;
522 }
523 
gx_studio_pixelmap_slider_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)524 UINT gx_studio_pixelmap_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
525 {
526     UINT status;
527     GX_PIXELMAP_SLIDER *slider = (GX_PIXELMAP_SLIDER *) control_block;
528     GX_PIXELMAP_SLIDER_PROPERTIES *props = (GX_PIXELMAP_SLIDER_PROPERTIES *) info->properties;
529     GX_PIXELMAP_SLIDER_INFO pixelmap_info;
530     GX_SLIDER_INFO slider_info;
531     slider_info.gx_slider_info_min_val = props->min_val;
532     slider_info.gx_slider_info_max_val = props->max_val;
533     slider_info.gx_slider_info_current_val = props->current_val;
534     slider_info.gx_slider_info_increment = props->increment;
535     slider_info.gx_slider_info_min_travel = props->min_travel;
536     slider_info.gx_slider_info_max_travel = props->max_travel;
537     slider_info.gx_slider_info_needle_width = props->needle_width;
538     slider_info.gx_slider_info_needle_height = props->needle_height;
539     slider_info.gx_slider_info_needle_inset = props->needle_inset;
540     slider_info.gx_slider_info_needle_hotspot_offset = props->needle_hotspot;
541     pixelmap_info.gx_pixelmap_slider_info_lower_background_pixelmap = props->lower_pixelmap;
542     pixelmap_info.gx_pixelmap_slider_info_upper_background_pixelmap = props->upper_pixelmap;
543     pixelmap_info.gx_pixelmap_slider_info_needle_pixelmap = props->needle_pixelmap;
544     status = gx_pixelmap_slider_create(slider,
545                     info->widget_name,
546                     parent,
547                     &slider_info,
548                     &pixelmap_info,
549                     info->style,
550                     info->widget_id,
551                     &info->size);
552     return status;
553 }
554 
gx_studio_progress_bar_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)555 UINT gx_studio_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
556 {
557     UINT status;
558     GX_PROGRESS_BAR *bar = (GX_PROGRESS_BAR *) control_block;
559     GX_PROGRESS_BAR_INFO *bar_info = (GX_PROGRESS_BAR_INFO *) info->properties;
560     status = gx_progress_bar_create(bar,
561                     info->widget_name,
562                     parent,
563                     bar_info,
564                     info->style,
565                     info->widget_id,
566                     &info->size);
567     return status;
568 }
569 
gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)570 UINT gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
571 {
572     UINT status;
573     GX_RADIAL_PROGRESS_BAR *bar = (GX_RADIAL_PROGRESS_BAR *) control_block;
574     GX_RADIAL_PROGRESS_BAR_INFO *bar_info = (GX_RADIAL_PROGRESS_BAR_INFO *) info->properties;
575     status = gx_radial_progress_bar_create(bar,
576                     info->widget_name,
577                     parent,
578                     bar_info,
579                     info->style,
580                     info->widget_id);
581     return status;
582 }
583 
gx_studio_radial_slider_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)584 UINT gx_studio_radial_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
585 {
586     UINT status;
587     GX_RADIAL_SLIDER *slider = (GX_RADIAL_SLIDER *) control_block;
588     GX_RADIAL_SLIDER_INFO slider_info;
589     GX_RADIAL_SLIDER_PROPERTIES *props = (GX_RADIAL_SLIDER_PROPERTIES *)info->properties;
590     memset(&slider_info, 0, sizeof(GX_RADIAL_SLIDER_INFO));
591     slider_info.gx_radial_slider_info_xcenter = props->xcenter;
592     slider_info.gx_radial_slider_info_ycenter = props->ycenter;
593     slider_info.gx_radial_slider_info_radius = props->radius;
594     slider_info.gx_radial_slider_info_track_width = props->track_width;
595     slider_info.gx_radial_slider_info_current_angle = props->current_angle;
596     slider_info.gx_radial_slider_info_min_angle = props->min_angle;
597     slider_info.gx_radial_slider_info_max_angle = props->max_angle;
598     slider_info.gx_radial_slider_info_background_pixelmap = props->background_pixelmap;
599     slider_info.gx_radial_slider_info_needle_pixelmap = props->needle_pixelmap;
600     status = gx_radial_slider_create(slider,
601                     info->widget_name,
602                     parent,
603                     &slider_info,
604                     info->style,
605                     info->widget_id,
606                     &info->size);
607     gx_radial_slider_animation_set(slider, props->animation_total_steps, props->animation_delay, props->animation_style, props->animation_update_callback);
608     return status;
609 }
610 
gx_studio_sprite_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)611 UINT gx_studio_sprite_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
612 {
613     UINT status;
614     GX_SPRITE *sprite = (GX_SPRITE *) control_block;
615     GX_SPRITE_PROPERTIES *props = (GX_SPRITE_PROPERTIES *) info->properties;
616     status = gx_sprite_create(sprite, info->widget_name, parent,
617                props->frame_list, props->frame_count,
618                info->style, info->widget_id, &info->size);
619     return status;
620 }
621 
gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)622 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
623 {
624     UINT status;
625     GX_PROMPT *prompt = (GX_PROMPT *) control_block;
626     GX_PROMPT_PROPERTIES *props = (GX_PROMPT_PROPERTIES *) info->properties;
627     status = gx_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
628     if (status == GX_SUCCESS)
629     {
630         gx_prompt_font_set(prompt, props->font_id);
631 #if defined(GUIX_5_4_0_COMPATIBILITY)
632         gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id);
633 #else
634         gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
635 #endif
636     }
637     return status;
638 }
639 
gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)640 UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
641 {
642     UINT status;
643     GX_NUMERIC_PROMPT *prompt = (GX_NUMERIC_PROMPT *) control_block;
644     GX_NUMERIC_PROMPT_PROPERTIES *props = (GX_NUMERIC_PROMPT_PROPERTIES *) info->properties;
645     status = gx_numeric_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
646     if (status == GX_SUCCESS)
647     {
648         gx_prompt_font_set((GX_PROMPT *)prompt, props->font_id);
649 #if defined(GUIX_5_4_0_COMPATIBILITY)
650         gx_prompt_text_color_set((GX_PROMPT *)prompt, props->normal_text_color_id, props->selected_text_color_id);
651 #else
652         gx_prompt_text_color_set((GX_PROMPT *)prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
653 #endif
654         if(!props->string_id)
655         {
656             gx_numeric_prompt_value_set(prompt, props->numeric_prompt_value);
657         }
658         if(props->format_func)
659         {
660             gx_numeric_prompt_format_function_set(prompt, props->format_func);
661         }
662     }
663     return status;
664 }
665 
gx_studio_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)666 UINT gx_studio_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
667 {
668     UINT status;
669     GX_PIXELMAP_PROMPT *pix_prompt = (GX_PIXELMAP_PROMPT *) control_block;
670     GX_PROMPT *prompt = (GX_PROMPT *) pix_prompt;
671     GX_PIXELMAP_PROMPT_PROPERTIES *props = (GX_PIXELMAP_PROMPT_PROPERTIES *) info->properties;
672     status = gx_pixelmap_prompt_create(pix_prompt, info->widget_name, parent,
673                props->string_id,
674                props->fill_map_id,
675                info->style, info->widget_id, &info->size);
676 
677     if (status == GX_SUCCESS)
678     {
679         gx_pixelmap_prompt_pixelmap_set(pix_prompt,
680                                         props->left_map_id,
681                                         props->fill_map_id,
682                                         props->right_map_id,
683                                         props->selected_left_map_id,
684                                         props->selected_fill_map_id,
685                                         props->selected_right_map_id);
686         gx_prompt_font_set(prompt, props->font_id);
687 #if defined(GUIX_5_4_0_COMPATIBILITY)
688         gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id);
689 #else
690         gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
691 #endif
692     }
693     return status;
694 }
695 
gx_studio_numeric_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)696 UINT gx_studio_numeric_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
697 {
698     UINT status;
699     GX_NUMERIC_PIXELMAP_PROMPT *pix_prompt = (GX_NUMERIC_PIXELMAP_PROMPT *) control_block;
700     GX_PROMPT *prompt = (GX_PROMPT *) pix_prompt;
701     GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES *props = (GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES *) info->properties;
702     status = gx_numeric_pixelmap_prompt_create(pix_prompt, info->widget_name, parent,
703                props->string_id,
704                props->fill_map_id,
705                info->style, info->widget_id, &info->size);
706 
707     if (status == GX_SUCCESS)
708     {
709         if(!props->string_id)
710         {
711             gx_numeric_pixelmap_prompt_value_set(pix_prompt, props->numeric_prompt_value);
712         }
713         if(props->format_func)
714         {
715             gx_numeric_pixelmap_prompt_format_function_set(pix_prompt, props->format_func);
716         }
717         gx_pixelmap_prompt_pixelmap_set((GX_PIXELMAP_PROMPT *)pix_prompt,
718                                         props->left_map_id,
719                                         props->fill_map_id,
720                                         props->right_map_id,
721                                         props->selected_left_map_id,
722                                         props->selected_fill_map_id,
723                                         props->selected_right_map_id);
724         gx_prompt_font_set(prompt, props->font_id);
725 #if defined(GUIX_5_4_0_COMPATIBILITY)
726         gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id);
727 #else
728         gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
729 #endif
730     }
731     return status;
732 }
733 
gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)734 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
735 {
736     UINT status;
737     GX_WINDOW *window = (GX_WINDOW *) control_block;
738     GX_WINDOW_PROPERTIES *props = (GX_WINDOW_PROPERTIES *) info->properties;
739     status = gx_window_create(window, info->widget_name, parent, info->style, info->widget_id, &info->size);
740     if (status == GX_SUCCESS)
741     {
742         if (props->wallpaper_id)
743         {
744             gx_window_wallpaper_set(window, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
745         }
746     }
747     return status;
748 }
749 
gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)750 UINT gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
751 {
752     UINT status;
753     GX_VERTICAL_LIST *list = (GX_VERTICAL_LIST *) control_block;
754     GX_VERTICAL_LIST_PROPERTIES *props = (GX_VERTICAL_LIST_PROPERTIES *) info->properties;
755     status = gx_vertical_list_create(list, info->widget_name, parent, props->total_rows,
756                                      props->callback, info->style, info->widget_id, &info->size);
757     if (status == GX_SUCCESS)
758     {
759         if (props->wallpaper_id)
760         {
761             gx_window_wallpaper_set((GX_WINDOW *) list, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
762         }
763     }
764     return status;
765 }
766 
gx_studio_horizontal_list_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)767 UINT gx_studio_horizontal_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
768 {
769     UINT status;
770     GX_HORIZONTAL_LIST *list = (GX_HORIZONTAL_LIST *) control_block;
771     GX_HORIZONTAL_LIST_PROPERTIES *props = (GX_HORIZONTAL_LIST_PROPERTIES *) info->properties;
772     status = gx_horizontal_list_create(list, info->widget_name, parent, props->total_rows,
773                                      props->callback, info->style, info->widget_id, &info->size);
774     if (status == GX_SUCCESS)
775     {
776         if (props->wallpaper_id)
777         {
778             gx_window_wallpaper_set((GX_WINDOW *) list, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
779         }
780     }
781     return status;
782 }
783 
gx_studio_drop_list_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)784 UINT gx_studio_drop_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
785 {
786     UINT status;
787     GX_DROP_LIST *list = (GX_DROP_LIST *) control_block;
788     GX_DROP_LIST_PROPERTIES *props = (GX_DROP_LIST_PROPERTIES *) info->properties;
789     status = gx_drop_list_create(list, info->widget_name, parent,
790                                  props->total_rows, props->open_height,
791                                  props->callback, info->style, info->widget_id, &info->size);
792     if (status == GX_SUCCESS)
793     {
794         if (props->pixelmap_id)
795         {
796             gx_drop_list_pixelmap_set(list, props->pixelmap_id);
797         }
798         if (props->wallpaper_id)
799         {
800             gx_window_wallpaper_set((GX_WINDOW *)&list->gx_drop_list_popup.gx_popup_list_list, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
801         }
802     }
803     return status;
804 }
805 
gx_studio_string_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)806 UINT gx_studio_string_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
807 {
808     UINT status;
809     GX_STRING_SCROLL_WHEEL *wheel = (GX_STRING_SCROLL_WHEEL *) control_block;
810     GX_STRING_SCROLL_WHEEL_PROPERTIES *props = (GX_STRING_SCROLL_WHEEL_PROPERTIES *) info->properties;
811     status = gx_string_scroll_wheel_create_ext(wheel, info->widget_name, parent, props->total_rows, GX_NULL,
812                                                info->style, info->widget_id, &info->size);
813     if (status == GX_SUCCESS)
814     {
815         if(props->string_id_list)
816         {
817             gx_string_scroll_wheel_string_id_list_set(wheel, props->string_id_list, props->total_rows);
818         }
819         if (props->wallpaper_id)
820         {
821             gx_window_wallpaper_set((GX_WINDOW *) wheel, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
822         }
823         if(props->selected_background)
824         {
825             gx_scroll_wheel_selected_background_set((GX_SCROLL_WHEEL *)wheel, props->selected_background);
826         }
827         gx_scroll_wheel_selected_set((GX_SCROLL_WHEEL *)wheel, props->selected_row);
828         gx_scroll_wheel_gradient_alpha_set((GX_SCROLL_WHEEL *)wheel, props->start_alpha, props->end_alpha);
829         gx_scroll_wheel_row_height_set((GX_SCROLL_WHEEL *)wheel, props->row_height);
830         gx_text_scroll_wheel_font_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_font, props->selected_font);
831 #if defined(GUIX_5_4_0_COMPATIBILITY)
832         gx_text_scroll_wheel_text_color_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_text_color, props->selected_text_color);
833 #else
834         gx_text_scroll_wheel_text_color_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_text_color, props->selected_text_color, props->disabled_text_color);
835 #endif
836         if(props->callback)
837         {
838             gx_text_scroll_wheel_callback_set_ext((GX_TEXT_SCROLL_WHEEL *)wheel, (UINT (*)(GX_TEXT_SCROLL_WHEEL*, INT, GX_STRING *))props->callback);
839         }
840     }
841     return status;
842 }
843 
gx_studio_numeric_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)844 UINT gx_studio_numeric_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
845 {
846     UINT status;
847     GX_NUMERIC_SCROLL_WHEEL *wheel = (GX_NUMERIC_SCROLL_WHEEL *) control_block;
848     GX_NUMERIC_SCROLL_WHEEL_PROPERTIES *props = (GX_NUMERIC_SCROLL_WHEEL_PROPERTIES *) info->properties;
849     status = gx_numeric_scroll_wheel_create(wheel, info->widget_name, parent, props->start_val, props->end_val,
850                                     info->style, info->widget_id, &info->size);
851     if (status == GX_SUCCESS)
852     {
853         if (props->wallpaper_id)
854         {
855             gx_window_wallpaper_set((GX_WINDOW *) wheel, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
856         }
857         if(props->selected_background)
858         {
859             gx_scroll_wheel_selected_background_set((GX_SCROLL_WHEEL *)wheel, props->selected_background);
860         }
861 
862         if (props->total_rows)
863         {
864             gx_scroll_wheel_total_rows_set((GX_SCROLL_WHEEL *)wheel, props->total_rows);
865         }
866 
867         gx_scroll_wheel_selected_set((GX_SCROLL_WHEEL *)wheel, props->selected_row);
868         gx_scroll_wheel_gradient_alpha_set((GX_SCROLL_WHEEL *)wheel, props->start_alpha, props->end_alpha);
869         gx_scroll_wheel_row_height_set((GX_SCROLL_WHEEL *)wheel, props->row_height);
870         gx_text_scroll_wheel_font_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_font, props->selected_font);
871 #if defined(GUIX_5_4_0_COMPATIBILITY)
872         gx_text_scroll_wheel_text_color_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_text_color, props->selected_text_color);
873 #else
874         gx_text_scroll_wheel_text_color_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_text_color, props->selected_text_color, props->disabled_text_color);
875 #endif
876         if(props->callback)
877         {
878             gx_text_scroll_wheel_callback_set_ext((GX_TEXT_SCROLL_WHEEL *)wheel, (UINT (*)(GX_TEXT_SCROLL_WHEEL*, INT, GX_STRING *))props->callback);
879         }
880     }
881     return status;
882 }
883 
gx_studio_text_input_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)884 UINT gx_studio_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
885 {
886     UINT status;
887     GX_STRING text;
888     GX_SINGLE_LINE_TEXT_INPUT *input = (GX_SINGLE_LINE_TEXT_INPUT *) control_block;
889     GX_PROMPT *prompt = (GX_PROMPT *) input;
890     GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES *props = (GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES *) info->properties;
891     status = gx_single_line_text_input_create(input, info->widget_name, parent, props->buffer, props->buffer_size, info->style, info->widget_id, &info->size);
892     if (status == GX_SUCCESS)
893     {
894         gx_prompt_font_set(prompt, props->font_id);
895         gx_single_line_text_input_text_color_set(input, props->normal_text_color_id, props->selected_text_color_id,
896                                                  props->disabled_text_color_id, props->readonly_text_color_id);
897         gx_single_line_text_input_fill_color_set(input, input->gx_widget_normal_fill_color, input->gx_widget_selected_fill_color,
898                                                  input->gx_widget_disabled_fill_color, props->readonly_fill_color_id);
899         if (props->buffer && props->buffer_size > 0 && props->string_id)
900         {
901              gx_display_string_get_ext(all_widgets_32argb_display_table[0].display, props->string_id, &text);
902 
903              if (text.gx_string_ptr)
904              {
905                  gx_single_line_text_input_text_set_ext(input, &text);
906              }
907         }
908     }
909     return status;
910 }
911 
gx_studio_multi_line_text_view_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)912 UINT gx_studio_multi_line_text_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
913 {
914     UINT status;
915     GX_MULTI_LINE_TEXT_VIEW *view = (GX_MULTI_LINE_TEXT_VIEW *) control_block;
916     GX_ML_TEXT_VIEW_PROPERTIES *props = (GX_ML_TEXT_VIEW_PROPERTIES *) info->properties;
917     status = gx_multi_line_text_view_create(view, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
918     if (status == GX_SUCCESS)
919     {
920         gx_multi_line_text_view_font_set(view, props->font_id);
921 #if defined(GUIX_5_4_0_COMPATIBILITY)
922         gx_multi_line_text_view_text_color_set(view, props->normal_text_color_id, props->selected_text_color_id);
923 #else
924         gx_multi_line_text_view_text_color_set(view, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
925 #endif
926         gx_multi_line_text_view_whitespace_set(view, props->whitespace);
927         gx_multi_line_text_view_line_space_set(view, props->line_space);
928     }
929     return status;
930 }
931 
gx_studio_multi_line_text_input_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)932 UINT gx_studio_multi_line_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
933 {
934     UINT status;
935     GX_STRING text;
936     GX_MULTI_LINE_TEXT_INPUT *input = (GX_MULTI_LINE_TEXT_INPUT *) control_block;
937     GX_MULTI_LINE_TEXT_INPUT_PROPERTIES *props = (GX_MULTI_LINE_TEXT_INPUT_PROPERTIES *) info->properties;
938     status = gx_multi_line_text_input_create(input, info->widget_name, parent, props->buffer, props->buffer_size, info->style, info->widget_id, &info->size);
939     if (status == GX_SUCCESS)
940     {
941         gx_multi_line_text_view_font_set((GX_MULTI_LINE_TEXT_VIEW *) input, props->font_id);
942         gx_multi_line_text_input_fill_color_set(input, info->normal_fill_color_id, info->selected_fill_color_id,
943                                                 info->disabled_fill_color_id, props->readonly_fill_color_id);
944         gx_multi_line_text_input_text_color_set(input, props->normal_text_color_id, props->selected_text_color_id,
945                                                 props->disabled_text_color_id, props->readonly_text_color_id);
946         gx_multi_line_text_view_whitespace_set((GX_MULTI_LINE_TEXT_VIEW *) input, props->whitespace);
947         gx_multi_line_text_view_line_space_set((GX_MULTI_LINE_TEXT_VIEW *) input, props->line_space);
948         if(props->buffer && (props->buffer_size > 0) && props->string_id)
949         {
950             gx_display_string_get_ext(all_widgets_32argb_display_table[0].display, props->string_id, &text);
951             if(text.gx_string_ptr)
952             {
953                 gx_multi_line_text_input_text_set_ext(input, &text);
954             }
955         }
956     }
957     return status;
958 }
959 
gx_studio_horizontal_scrollbar_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)960 UINT gx_studio_horizontal_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
961 {
962     UINT status;
963     GX_SCROLLBAR *scroll = (GX_SCROLLBAR *) control_block;
964     GX_SCROLLBAR_APPEARANCE *appearance = (GX_SCROLLBAR_APPEARANCE *) info->properties;
965     status = gx_horizontal_scrollbar_create(scroll, info->widget_name, parent, appearance, info->style);
966     return status;
967 }
968 
gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)969 UINT gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
970 {
971     UINT status;
972     GX_SCROLLBAR *scroll = (GX_SCROLLBAR *) control_block;
973     GX_SCROLLBAR_APPEARANCE *appearance = (GX_SCROLLBAR_APPEARANCE *) info->properties;
974     status = gx_vertical_scrollbar_create(scroll, info->widget_name, parent, appearance, info->style);
975     return status;
976 }
977 
gx_studio_circular_gauge_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)978 UINT gx_studio_circular_gauge_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
979 {
980     UINT status;
981     GX_CIRCULAR_GAUGE *gauge = (GX_CIRCULAR_GAUGE *) control_block;
982     GX_CIRCULAR_GAUGE_PROPERTIES *props = (GX_CIRCULAR_GAUGE_PROPERTIES *) info->properties;
983     GX_CIRCULAR_GAUGE_INFO gauge_info;
984     gauge_info.gx_circular_gauge_info_needle_pixelmap = props->needle_pixelmap_id;
985     gauge_info.gx_circular_gauge_info_needle_xpos = props->needle_xpos;
986     gauge_info.gx_circular_gauge_info_needle_ypos = props->needle_ypos;
987     gauge_info.gx_circular_gauge_info_needle_xcor = props->needle_xcor;
988     gauge_info.gx_circular_gauge_info_needle_ycor = props->needle_ycor;
989     gauge_info.gx_circular_gauge_info_animation_steps = props->animation_steps;
990     gauge_info.gx_circular_gauge_info_animation_delay = props->animation_delay;
991     gauge->gx_icon_normal_pixelmap = props->normal_pixelmap_id;
992     gauge->gx_icon_selected_pixelmap = props->selected_pixelmap_id;
993     status = gx_circular_gauge_create(gauge,
994                     info->widget_name,
995                     parent,
996                     &gauge_info,
997                     props->normal_pixelmap_id,
998                     info->style,
999                     info->widget_id,
1000                     info->size.gx_rectangle_left,
1001                     info->size.gx_rectangle_top);
1002     return status;
1003 }
1004 
gx_studio_line_chart_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)1005 UINT gx_studio_line_chart_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
1006 {
1007     UINT status;
1008     GX_LINE_CHART *chart = (GX_LINE_CHART *) control_block;
1009     GX_LINE_CHART_INFO *chart_info = (GX_LINE_CHART_INFO *) info->properties;
1010 
1011     status = gx_line_chart_create(chart, info->widget_name, parent, chart_info, info->style, info->widget_id, &info->size);
1012     return status;
1013 }
1014 
gx_studio_menu_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)1015 UINT gx_studio_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
1016 {
1017     UINT status;
1018     GX_MENU *menu = (GX_MENU *) control_block;
1019     GX_MENU_PROPERTIES *props = (GX_MENU_PROPERTIES *) info->properties;
1020     status = gx_menu_create(menu, info->widget_name, parent,
1021                props->string_id,
1022                props->fill_map_id,
1023                info->style, info->widget_id, &info->size);
1024 
1025     if (status == GX_SUCCESS)
1026     {
1027         menu->gx_menu_list_total_count = props->list_total_count;
1028         gx_menu_text_offset_set(menu, props->text_x_offset, props->text_y_offset);
1029         gx_pixelmap_prompt_pixelmap_set((GX_PIXELMAP_PROMPT *)menu,
1030                                         props->left_map_id,
1031                                         props->fill_map_id,
1032                                         props->right_map_id,
1033                                         props->selected_left_map_id,
1034                                         props->selected_fill_map_id,
1035                                         props->selected_right_map_id);
1036         gx_prompt_font_set((GX_PROMPT *)menu, props->font_id);
1037 #if defined(GUIX_5_4_0_COMPATIBILITY)
1038         gx_prompt_text_color_set((GX_PROMPT *)menu, props->normal_text_color_id, props->selected_text_color_id);
1039 #else
1040         gx_prompt_text_color_set((GX_PROMPT *)menu, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
1041 #endif
1042     }
1043     return status;
1044 }
1045 
gx_studio_accordion_menu_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)1046 UINT gx_studio_accordion_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
1047 {
1048     UINT status;
1049     GX_ACCORDION_MENU *accordion = (GX_ACCORDION_MENU *) control_block;
1050     status = gx_accordion_menu_create(accordion, info->widget_name,
1051                                       parent, info->style, info->widget_id, &info->size);
1052     return status;
1053 }
1054 
gx_studio_tree_view_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)1055 UINT gx_studio_tree_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
1056 {
1057     UINT status;
1058     GX_TREE_VIEW *tree = (GX_TREE_VIEW *) control_block;
1059     GX_TREE_VIEW_PROPERTIES *props = (GX_TREE_VIEW_PROPERTIES *) info->properties;
1060     status = gx_tree_view_create(tree, info->widget_name, parent,
1061                                  info->style, info->widget_id, &info->size);
1062     if (status == GX_SUCCESS)
1063     {
1064         if (props->expand_map_id || props->collapse_map_id)
1065         {
1066             gx_tree_view_root_pixelmap_set(tree, props->expand_map_id, props->collapse_map_id);
1067         }
1068         gx_tree_view_indentation_set(tree, props->indentation);
1069         gx_tree_view_root_line_color_set(tree, props->root_line_color_id);
1070     }
1071     return status;
1072 }
1073 GX_WINDOW_PROPERTIES radial_slider_screen_properties =
1074 {
1075     0                                        /* wallpaper pixelmap id          */
1076 };
1077 GX_RADIAL_SLIDER_PROPERTIES radial_slider_screen_radial_slider_properties =
1078 {
1079     187,                                     /* xcenter                        */
1080     131,                                     /* ycenter                        */
1081     108,                                     /* radius                         */
1082     44,                                      /* track width                    */
1083     -63,                                     /* current angle                  */
1084     -63,                                     /* min angle                      */
1085     242,                                     /* max angle                      */
1086     GX_PIXELMAP_ID_BG_WASHER_ON,             /* background pixelmap            */
1087     GX_PIXELMAP_ID_WHEEL_DOT_GREEN,          /* needle pixelmap                */
1088     15,                                      /* animation total steps          */
1089     2,                                       /* animation delay                */
1090     GX_ANIMATION_CIRC_EASE_IN_OUT,           /* animation style                */
1091     GX_NULL,                                 /* animation update callback func */
1092 };
1093 GX_NUMERIC_PROMPT_PROPERTIES radial_slider_screen_radial_slider_value_properties =
1094 {
1095     0,                                       /* string id                      */
1096     GX_FONT_ID_NORMAL_FONT,                  /* font id                        */
1097     GX_COLOR_ID_TEXT,                        /* normal text color              */
1098     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1099     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
1100     GX_NULL,                                 /* format function                */
1101     0                                        /* numeric prompt value           */
1102 };
1103 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_properties =
1104 {
1105     GX_STRING_ID_STRING_109,                 /* string id                      */
1106     GX_FONT_ID_PROMPT,                       /* font id                        */
1107     GX_COLOR_ID_TEXT,                        /* normal text color              */
1108     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1109     GX_COLOR_ID_TEXT                         /* disabled text color            */
1110 };
1111 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_1_properties =
1112 {
1113     GX_STRING_ID_STRING_98,                  /* string id                      */
1114     GX_FONT_ID_PROMPT,                       /* font id                        */
1115     GX_COLOR_ID_TEXT,                        /* normal text color              */
1116     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1117     GX_COLOR_ID_TEXT                         /* disabled text color            */
1118 };
1119 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_2_properties =
1120 {
1121     GX_STRING_ID_STRING_99,                  /* string id                      */
1122     GX_FONT_ID_PROMPT,                       /* font id                        */
1123     GX_COLOR_ID_TEXT,                        /* normal text color              */
1124     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1125     GX_COLOR_ID_TEXT                         /* disabled text color            */
1126 };
1127 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_3_properties =
1128 {
1129     GX_STRING_ID_STRING_100,                 /* string id                      */
1130     GX_FONT_ID_PROMPT,                       /* font id                        */
1131     GX_COLOR_ID_TEXT,                        /* normal text color              */
1132     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1133     GX_COLOR_ID_TEXT                         /* disabled text color            */
1134 };
1135 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_4_properties =
1136 {
1137     GX_STRING_ID_STRING_101,                 /* string id                      */
1138     GX_FONT_ID_PROMPT,                       /* font id                        */
1139     GX_COLOR_ID_TEXT,                        /* normal text color              */
1140     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1141     GX_COLOR_ID_TEXT                         /* disabled text color            */
1142 };
1143 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_5_properties =
1144 {
1145     GX_STRING_ID_STRING_102,                 /* string id                      */
1146     GX_FONT_ID_PROMPT,                       /* font id                        */
1147     GX_COLOR_ID_TEXT,                        /* normal text color              */
1148     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1149     GX_COLOR_ID_TEXT                         /* disabled text color            */
1150 };
1151 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_6_properties =
1152 {
1153     GX_STRING_ID_STRING_103,                 /* string id                      */
1154     GX_FONT_ID_PROMPT,                       /* font id                        */
1155     GX_COLOR_ID_TEXT,                        /* normal text color              */
1156     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1157     GX_COLOR_ID_TEXT                         /* disabled text color            */
1158 };
1159 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_7_properties =
1160 {
1161     GX_STRING_ID_STRING_104,                 /* string id                      */
1162     GX_FONT_ID_PROMPT,                       /* font id                        */
1163     GX_COLOR_ID_TEXT,                        /* normal text color              */
1164     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1165     GX_COLOR_ID_TEXT                         /* disabled text color            */
1166 };
1167 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_8_properties =
1168 {
1169     GX_STRING_ID_STRING_105,                 /* string id                      */
1170     GX_FONT_ID_PROMPT,                       /* font id                        */
1171     GX_COLOR_ID_TEXT,                        /* normal text color              */
1172     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1173     GX_COLOR_ID_TEXT                         /* disabled text color            */
1174 };
1175 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_9_properties =
1176 {
1177     GX_STRING_ID_STRING_106,                 /* string id                      */
1178     GX_FONT_ID_PROMPT,                       /* font id                        */
1179     GX_COLOR_ID_TEXT,                        /* normal text color              */
1180     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1181     GX_COLOR_ID_TEXT                         /* disabled text color            */
1182 };
1183 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_10_properties =
1184 {
1185     GX_STRING_ID_STRING_107,                 /* string id                      */
1186     GX_FONT_ID_PROMPT,                       /* font id                        */
1187     GX_COLOR_ID_TEXT,                        /* normal text color              */
1188     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1189     GX_COLOR_ID_TEXT                         /* disabled text color            */
1190 };
1191 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_14_11_properties =
1192 {
1193     GX_STRING_ID_STRING_111,                 /* string id                      */
1194     GX_FONT_ID_PROMPT,                       /* font id                        */
1195     GX_COLOR_ID_TEXT,                        /* normal text color              */
1196     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1197     GX_COLOR_ID_TEXT                         /* disabled text color            */
1198 };
1199 GX_CHECKBOX_PROPERTIES radial_slider_screen_checkbox_2_properties =
1200 {
1201     GX_STRING_ID_STRING_96,                  /* string id                      */
1202     GX_FONT_ID_BUTTON,                       /* font id                        */
1203     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
1204     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
1205     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
1206     0,                                       /* unchecked pixelmap id          */
1207     0,                                       /* checked pixelmap id            */
1208     0,                                       /* unchecked disabled pixelmap id */
1209     0                                        /* checked disabled pixelmap id   */
1210 };
1211 GX_CHECKBOX_PROPERTIES radial_slider_screen_checkbox_properties =
1212 {
1213     GX_STRING_ID_STRING_114,                 /* string id                      */
1214     GX_FONT_ID_BUTTON,                       /* font id                        */
1215     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
1216     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
1217     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
1218     0,                                       /* unchecked pixelmap id          */
1219     0,                                       /* checked pixelmap id            */
1220     0,                                       /* unchecked disabled pixelmap id */
1221     0                                        /* checked disabled pixelmap id   */
1222 };
1223 GX_TEXT_BUTTON_PROPERTIES radial_slider_screen_next_button_properties =
1224 {
1225     GX_STRING_ID_STRING_36,                  /* string id                      */
1226     GX_FONT_ID_BUTTON,                       /* font id                        */
1227     GX_COLOR_ID_WHITE,                       /* normal text color              */
1228     GX_COLOR_ID_WHITE,                       /* selected text color            */
1229     GX_COLOR_ID_WHITE                        /* disabled text color            */
1230 };
1231 GX_PROMPT_PROPERTIES radial_slider_screen_prompt_13_properties =
1232 {
1233     GX_STRING_ID_STRING_94,                  /* string id                      */
1234     GX_FONT_ID_PROMPT,                       /* font id                        */
1235     GX_COLOR_ID_TEXT,                        /* normal text color              */
1236     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1237     GX_COLOR_ID_TEXT                         /* disabled text color            */
1238 };
1239 
1240 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_radial_slider_value_define =
1241 {
1242     "radial_slider_value",
1243     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
1244     GX_ID_NONE,                              /* widget id                      */
1245     #if defined(GX_WIDGET_USER_DATA)
1246     0,                                       /* user data                      */
1247     #endif
1248     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1249     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1250     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
1251     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1252     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1253     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1254     gx_studio_numeric_prompt_create,         /* create function                */
1255     GX_NULL,                                 /* drawing function override      */
1256     GX_NULL,                                 /* event function override        */
1257     {269, 220, 348, 257},                    /* widget size                    */
1258     GX_NULL,                                 /* no next widget                 */
1259     GX_NULL,                                 /* no child widgets               */
1260     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_radial_slider_value), /* control block */
1261     (void *) &radial_slider_screen_radial_slider_value_properties /* extended properties */
1262 };
1263 
1264 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_13_define =
1265 {
1266     "prompt_13",
1267     GX_TYPE_PROMPT,                          /* widget type                    */
1268     GX_ID_NONE,                              /* widget id                      */
1269     #if defined(GX_WIDGET_USER_DATA)
1270     0,                                       /* user data                      */
1271     #endif
1272     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1273     0,                                       /* status flags                   */
1274     sizeof(GX_PROMPT),                       /* control block size             */
1275     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1276     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1277     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1278     gx_studio_prompt_create,                 /* create function                */
1279     GX_NULL,                                 /* drawing function override      */
1280     GX_NULL,                                 /* event function override        */
1281     {271, 29, 365, 46},                      /* widget size                    */
1282     GX_NULL,                                 /* no next widget                 */
1283     GX_NULL,                                 /* no child widgets               */
1284     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_13), /* control block */
1285     (void *) &radial_slider_screen_prompt_13_properties /* extended properties */
1286 };
1287 
1288 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_next_button_define =
1289 {
1290     "next_button",
1291     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
1292     IDB_NEXT,                                /* widget id                      */
1293     #if defined(GX_WIDGET_USER_DATA)
1294     0,                                       /* user data                      */
1295     #endif
1296     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1297     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1298     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
1299     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* normal color id                */
1300     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
1301     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* disabled color id              */
1302     gx_studio_text_button_create,            /* create function                */
1303     GX_NULL,                                 /* drawing function override      */
1304     GX_NULL,                                 /* event function override        */
1305     {543, 441, 622, 465},                    /* widget size                    */
1306     &radial_slider_screen_prompt_13_define,  /* next widget definition         */
1307     GX_NULL,                                 /* no child widgets               */
1308     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_next_button), /* control block */
1309     (void *) &radial_slider_screen_next_button_properties /* extended properties */
1310 };
1311 
1312 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_checkbox_define =
1313 {
1314     "checkbox",
1315     GX_TYPE_CHECKBOX,                        /* widget type                    */
1316     ID_SET_ANCHOR_LIST,                      /* widget id                      */
1317     #if defined(GX_WIDGET_USER_DATA)
1318     0,                                       /* user data                      */
1319     #endif
1320     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE|GX_STYLE_TEXT_LEFT,   /* style flags */
1321     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1322     sizeof(GX_CHECKBOX),                     /* control block size             */
1323     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1324     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1325     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1326     gx_studio_checkbox_create,               /* create function                */
1327     GX_NULL,                                 /* drawing function override      */
1328     GX_NULL,                                 /* event function override        */
1329     {96, 432, 240, 455},                     /* widget size                    */
1330     &radial_slider_screen_next_button_define, /* next widget definition        */
1331     GX_NULL,                                 /* no child widgets               */
1332     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_checkbox), /* control block */
1333     (void *) &radial_slider_screen_checkbox_properties /* extended properties  */
1334 };
1335 
1336 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_checkbox_2_define =
1337 {
1338     "checkbox_2",
1339     GX_TYPE_CHECKBOX,                        /* widget type                    */
1340     ID_ANIMATED,                             /* widget id                      */
1341     #if defined(GX_WIDGET_USER_DATA)
1342     0,                                       /* user data                      */
1343     #endif
1344     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_PUSHED|GX_STYLE_BUTTON_TOGGLE|GX_STYLE_TEXT_LEFT,   /* style flags */
1345     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1346     sizeof(GX_CHECKBOX),                     /* control block size             */
1347     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1348     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1349     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1350     gx_studio_checkbox_create,               /* create function                */
1351     GX_NULL,                                 /* drawing function override      */
1352     GX_NULL,                                 /* event function override        */
1353     {97, 401, 204, 424},                     /* widget size                    */
1354     &radial_slider_screen_checkbox_define,   /* next widget definition         */
1355     GX_NULL,                                 /* no child widgets               */
1356     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_checkbox_2), /* control block */
1357     (void *) &radial_slider_screen_checkbox_2_properties /* extended properties */
1358 };
1359 
1360 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_11_define =
1361 {
1362     "prompt_14_11",
1363     GX_TYPE_PROMPT,                          /* widget type                    */
1364     GX_ID_NONE,                              /* widget id                      */
1365     #if defined(GX_WIDGET_USER_DATA)
1366     0,                                       /* user data                      */
1367     #endif
1368     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1369     0,                                       /* status flags                   */
1370     sizeof(GX_PROMPT),                       /* control block size             */
1371     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1372     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1373     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1374     gx_studio_prompt_create,                 /* create function                */
1375     GX_NULL,                                 /* drawing function override      */
1376     GX_NULL,                                 /* event function override        */
1377     {47, 350, 161, 367},                     /* widget size                    */
1378     &radial_slider_screen_checkbox_2_define, /* next widget definition         */
1379     GX_NULL,                                 /* no child widgets               */
1380     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14_11), /* control block */
1381     (void *) &radial_slider_screen_prompt_14_11_properties /* extended properties */
1382 };
1383 
1384 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_10_define =
1385 {
1386     "prompt_14_10",
1387     GX_TYPE_PROMPT,                          /* widget type                    */
1388     GX_ID_NONE,                              /* widget id                      */
1389     #if defined(GX_WIDGET_USER_DATA)
1390     0,                                       /* user data                      */
1391     #endif
1392     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1393     0,                                       /* status flags                   */
1394     sizeof(GX_PROMPT),                       /* control block size             */
1395     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1396     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1397     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1398     gx_studio_prompt_create,                 /* create function                */
1399     GX_NULL,                                 /* drawing function override      */
1400     GX_NULL,                                 /* event function override        */
1401     {93, 299, 119, 316},                     /* widget size                    */
1402     &radial_slider_screen_prompt_14_11_define, /* next widget definition       */
1403     GX_NULL,                                 /* no child widgets               */
1404     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14_10), /* control block */
1405     (void *) &radial_slider_screen_prompt_14_10_properties /* extended properties */
1406 };
1407 
1408 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_9_define =
1409 {
1410     "prompt_14_9",
1411     GX_TYPE_PROMPT,                          /* widget type                    */
1412     GX_ID_NONE,                              /* widget id                      */
1413     #if defined(GX_WIDGET_USER_DATA)
1414     0,                                       /* user data                      */
1415     #endif
1416     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1417     0,                                       /* status flags                   */
1418     sizeof(GX_PROMPT),                       /* control block size             */
1419     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1420     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1421     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1422     gx_studio_prompt_create,                 /* create function                */
1423     GX_NULL,                                 /* drawing function override      */
1424     GX_NULL,                                 /* event function override        */
1425     {119, 251, 145, 268},                    /* widget size                    */
1426     &radial_slider_screen_prompt_14_10_define, /* next widget definition       */
1427     GX_NULL,                                 /* no child widgets               */
1428     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14_9), /* control block */
1429     (void *) &radial_slider_screen_prompt_14_9_properties /* extended properties */
1430 };
1431 
1432 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_8_define =
1433 {
1434     "prompt_14_8",
1435     GX_TYPE_PROMPT,                          /* widget type                    */
1436     GX_ID_NONE,                              /* widget id                      */
1437     #if defined(GX_WIDGET_USER_DATA)
1438     0,                                       /* user data                      */
1439     #endif
1440     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1441     0,                                       /* status flags                   */
1442     sizeof(GX_PROMPT),                       /* control block size             */
1443     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1444     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1445     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1446     gx_studio_prompt_create,                 /* create function                */
1447     GX_NULL,                                 /* drawing function override      */
1448     GX_NULL,                                 /* event function override        */
1449     {112, 200, 138, 217},                    /* widget size                    */
1450     &radial_slider_screen_prompt_14_9_define, /* next widget definition        */
1451     GX_NULL,                                 /* no child widgets               */
1452     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14_8), /* control block */
1453     (void *) &radial_slider_screen_prompt_14_8_properties /* extended properties */
1454 };
1455 
1456 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_7_define =
1457 {
1458     "prompt_14_7",
1459     GX_TYPE_PROMPT,                          /* widget type                    */
1460     GX_ID_NONE,                              /* widget id                      */
1461     #if defined(GX_WIDGET_USER_DATA)
1462     0,                                       /* user data                      */
1463     #endif
1464     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1465     0,                                       /* status flags                   */
1466     sizeof(GX_PROMPT),                       /* control block size             */
1467     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1468     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1469     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1470     gx_studio_prompt_create,                 /* create function                */
1471     GX_NULL,                                 /* drawing function override      */
1472     GX_NULL,                                 /* event function override        */
1473     {87, 150, 113, 167},                     /* widget size                    */
1474     &radial_slider_screen_prompt_14_8_define, /* next widget definition        */
1475     GX_NULL,                                 /* no child widgets               */
1476     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14_7), /* control block */
1477     (void *) &radial_slider_screen_prompt_14_7_properties /* extended properties */
1478 };
1479 
1480 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_6_define =
1481 {
1482     "prompt_14_6",
1483     GX_TYPE_PROMPT,                          /* widget type                    */
1484     GX_ID_NONE,                              /* widget id                      */
1485     #if defined(GX_WIDGET_USER_DATA)
1486     0,                                       /* user data                      */
1487     #endif
1488     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1489     0,                                       /* status flags                   */
1490     sizeof(GX_PROMPT),                       /* control block size             */
1491     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1492     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1493     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1494     gx_studio_prompt_create,                 /* create function                */
1495     GX_NULL,                                 /* drawing function override      */
1496     GX_NULL,                                 /* event function override        */
1497     {127, 101, 153, 118},                    /* widget size                    */
1498     &radial_slider_screen_prompt_14_7_define, /* next widget definition        */
1499     GX_NULL,                                 /* no child widgets               */
1500     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14_6), /* control block */
1501     (void *) &radial_slider_screen_prompt_14_6_properties /* extended properties */
1502 };
1503 
1504 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_5_define =
1505 {
1506     "prompt_14_5",
1507     GX_TYPE_PROMPT,                          /* widget type                    */
1508     GX_ID_NONE,                              /* widget id                      */
1509     #if defined(GX_WIDGET_USER_DATA)
1510     0,                                       /* user data                      */
1511     #endif
1512     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1513     0,                                       /* status flags                   */
1514     sizeof(GX_PROMPT),                       /* control block size             */
1515     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1516     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1517     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1518     gx_studio_prompt_create,                 /* create function                */
1519     GX_NULL,                                 /* drawing function override      */
1520     GX_NULL,                                 /* event function override        */
1521     {439, 100, 463, 117},                    /* widget size                    */
1522     &radial_slider_screen_prompt_14_6_define, /* next widget definition        */
1523     GX_NULL,                                 /* no child widgets               */
1524     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14_5), /* control block */
1525     (void *) &radial_slider_screen_prompt_14_5_properties /* extended properties */
1526 };
1527 
1528 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_4_define =
1529 {
1530     "prompt_14_4",
1531     GX_TYPE_PROMPT,                          /* widget type                    */
1532     GX_ID_NONE,                              /* widget id                      */
1533     #if defined(GX_WIDGET_USER_DATA)
1534     0,                                       /* user data                      */
1535     #endif
1536     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1537     0,                                       /* status flags                   */
1538     sizeof(GX_PROMPT),                       /* control block size             */
1539     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1540     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1541     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1542     gx_studio_prompt_create,                 /* create function                */
1543     GX_NULL,                                 /* drawing function override      */
1544     GX_NULL,                                 /* event function override        */
1545     {435, 150, 459, 167},                    /* widget size                    */
1546     &radial_slider_screen_prompt_14_5_define, /* next widget definition        */
1547     GX_NULL,                                 /* no child widgets               */
1548     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14_4), /* control block */
1549     (void *) &radial_slider_screen_prompt_14_4_properties /* extended properties */
1550 };
1551 
1552 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_3_define =
1553 {
1554     "prompt_14_3",
1555     GX_TYPE_PROMPT,                          /* widget type                    */
1556     GX_ID_NONE,                              /* widget id                      */
1557     #if defined(GX_WIDGET_USER_DATA)
1558     0,                                       /* user data                      */
1559     #endif
1560     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1561     0,                                       /* status flags                   */
1562     sizeof(GX_PROMPT),                       /* control block size             */
1563     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1564     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1565     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1566     gx_studio_prompt_create,                 /* create function                */
1567     GX_NULL,                                 /* drawing function override      */
1568     GX_NULL,                                 /* event function override        */
1569     {494, 200, 518, 217},                    /* widget size                    */
1570     &radial_slider_screen_prompt_14_4_define, /* next widget definition        */
1571     GX_NULL,                                 /* no child widgets               */
1572     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14_3), /* control block */
1573     (void *) &radial_slider_screen_prompt_14_3_properties /* extended properties */
1574 };
1575 
1576 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_2_define =
1577 {
1578     "prompt_14_2",
1579     GX_TYPE_PROMPT,                          /* widget type                    */
1580     GX_ID_NONE,                              /* widget id                      */
1581     #if defined(GX_WIDGET_USER_DATA)
1582     0,                                       /* user data                      */
1583     #endif
1584     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1585     0,                                       /* status flags                   */
1586     sizeof(GX_PROMPT),                       /* control block size             */
1587     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1588     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1589     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1590     gx_studio_prompt_create,                 /* create function                */
1591     GX_NULL,                                 /* drawing function override      */
1592     GX_NULL,                                 /* event function override        */
1593     {498, 251, 522, 268},                    /* widget size                    */
1594     &radial_slider_screen_prompt_14_3_define, /* next widget definition        */
1595     GX_NULL,                                 /* no child widgets               */
1596     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14_2), /* control block */
1597     (void *) &radial_slider_screen_prompt_14_2_properties /* extended properties */
1598 };
1599 
1600 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_1_define =
1601 {
1602     "prompt_14_1",
1603     GX_TYPE_PROMPT,                          /* widget type                    */
1604     GX_ID_NONE,                              /* widget id                      */
1605     #if defined(GX_WIDGET_USER_DATA)
1606     0,                                       /* user data                      */
1607     #endif
1608     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1609     0,                                       /* status flags                   */
1610     sizeof(GX_PROMPT),                       /* control block size             */
1611     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1612     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1613     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1614     gx_studio_prompt_create,                 /* create function                */
1615     GX_NULL,                                 /* drawing function override      */
1616     GX_NULL,                                 /* event function override        */
1617     {470, 299, 494, 316},                    /* widget size                    */
1618     &radial_slider_screen_prompt_14_2_define, /* next widget definition        */
1619     GX_NULL,                                 /* no child widgets               */
1620     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14_1), /* control block */
1621     (void *) &radial_slider_screen_prompt_14_1_properties /* extended properties */
1622 };
1623 
1624 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_prompt_14_define =
1625 {
1626     "prompt_14",
1627     GX_TYPE_PROMPT,                          /* widget type                    */
1628     GX_ID_NONE,                              /* widget id                      */
1629     #if defined(GX_WIDGET_USER_DATA)
1630     0,                                       /* user data                      */
1631     #endif
1632     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1633     0,                                       /* status flags                   */
1634     sizeof(GX_PROMPT),                       /* control block size             */
1635     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1636     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1637     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1638     gx_studio_prompt_create,                 /* create function                */
1639     GX_NULL,                                 /* drawing function override      */
1640     GX_NULL,                                 /* event function override        */
1641     {433, 350, 541, 367},                    /* widget size                    */
1642     &radial_slider_screen_prompt_14_1_define, /* next widget definition        */
1643     GX_NULL,                                 /* no child widgets               */
1644     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_prompt_14), /* control block */
1645     (void *) &radial_slider_screen_prompt_14_properties /* extended properties */
1646 };
1647 
1648 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_radial_slider_define =
1649 {
1650     "radial_slider",
1651     GX_TYPE_RADIAL_SLIDER,                   /* widget type                    */
1652     ID_RADIAL_SLIDER,                        /* widget id                      */
1653     #if defined(GX_WIDGET_USER_DATA)
1654     0,                                       /* user data                      */
1655     #endif
1656     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
1657     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1658     sizeof(GX_RADIAL_SLIDER),                /* control block size             */
1659     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1660     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1661     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1662     gx_studio_radial_slider_create,          /* create function                */
1663     GX_NULL,                                 /* drawing function override      */
1664     GX_NULL,                                 /* event function override        */
1665     {119, 104, 492, 365},                    /* widget size                    */
1666     &radial_slider_screen_prompt_14_define,  /* next widget definition         */
1667     &radial_slider_screen_radial_slider_value_define, /* child widget definition */
1668     offsetof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK, radial_slider_screen_radial_slider), /* control block */
1669     (void *) &radial_slider_screen_radial_slider_properties /* extended properties */
1670 };
1671 
1672 GX_STUDIO_ACTION radial_slider_screen__idb_next_gx_event_clicked_actions[2] = {
1673     {GX_ACTION_TYPE_TOGGLE, 0, &Primary_root_window, &button_screen, GX_NULL},
1674     {0, 0, GX_NULL, GX_NULL, GX_NULL}
1675 };
1676 
1677 static GX_STUDIO_EVENT_ENTRY gx_studio_radial_slider_screen_event_table[] = {
1678     {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, radial_slider_screen__idb_next_gx_event_clicked_actions},
1679     {0, 0, GX_NULL}
1680 };
1681 
1682 GX_STUDIO_EVENT_PROCESS radial_slider_screen_event_chain = {gx_studio_radial_slider_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))radial_slider_screen_event_process};
gx_studio_radial_slider_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)1683 static UINT gx_studio_radial_slider_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
1684 {
1685     return (gx_studio_auto_event_handler(target, event_ptr, &radial_slider_screen_event_chain));
1686 }
1687 
1688 
1689 GX_CONST GX_STUDIO_WIDGET radial_slider_screen_define =
1690 {
1691     "radial_slider_screen",
1692     GX_TYPE_WINDOW,                          /* widget type                    */
1693     GX_ID_NONE,                              /* widget id                      */
1694     #if defined(GX_WIDGET_USER_DATA)
1695     0,                                       /* user data                      */
1696     #endif
1697     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED,   /* style flags                    */
1698     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1699     sizeof(RADIAL_SLIDER_SCREEN_CONTROL_BLOCK), /* control block size          */
1700     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
1701     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
1702     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1703     gx_studio_window_create,                 /* create function                */
1704     GX_NULL,                                 /* drawing function override      */
1705     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_radial_slider_screen_event_process, /* event function override */
1706     {0, 0, 639, 479},                        /* widget size                    */
1707     GX_NULL,                                 /* next widget                    */
1708     &radial_slider_screen_radial_slider_define, /* child widget                */
1709     0,                                       /* control block                  */
1710     (void *) &radial_slider_screen_properties /* extended properties           */
1711 };
1712 GX_WINDOW_PROPERTIES rotate_screen_properties =
1713 {
1714     0                                        /* wallpaper pixelmap id          */
1715 };
1716 GX_TEXT_BUTTON_PROPERTIES rotate_screen_next_button_8_properties =
1717 {
1718     GX_STRING_ID_STRING_36,                  /* string id                      */
1719     GX_FONT_ID_BUTTON,                       /* font id                        */
1720     GX_COLOR_ID_WHITE,                       /* normal text color              */
1721     GX_COLOR_ID_WHITE,                       /* selected text color            */
1722     GX_COLOR_ID_WHITE                        /* disabled text color            */
1723 };
1724 GX_CHECKBOX_PROPERTIES rotate_screen_checkbox_1_properties =
1725 {
1726     GX_STRING_ID_STRING_39_1,                /* string id                      */
1727     GX_FONT_ID_BUTTON,                       /* font id                        */
1728     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
1729     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
1730     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
1731     0,                                       /* unchecked pixelmap id          */
1732     0,                                       /* checked pixelmap id            */
1733     0,                                       /* unchecked disabled pixelmap id */
1734     0                                        /* checked disabled pixelmap id   */
1735 };
1736 GX_PROMPT_PROPERTIES rotate_screen_prompt_11_properties =
1737 {
1738     GX_STRING_ID_STRING_40_1,                /* string id                      */
1739     GX_FONT_ID_PROMPT,                       /* font id                        */
1740     GX_COLOR_ID_TEXT,                        /* normal text color              */
1741     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1742     GX_COLOR_ID_TEXT                         /* disabled text color            */
1743 };
1744 GX_SLIDER_PROPERTIES rotate_screen_slider_3_properties =
1745 {
1746     10,                                      /* tickmark count                 */
1747     0,                                       /* mimimun value                  */
1748     359,                                     /* maximum value                  */
1749     30,                                      /* current value                  */
1750     10,                                      /* increment                      */
1751     10,                                      /* minimum travel                 */
1752     10,                                      /* maximum travel                 */
1753     5,                                       /* needle width                   */
1754     10,                                      /* needle height                  */
1755     5,                                       /* needle inset                   */
1756     2                                        /* needle hotspot                 */
1757 };
1758 GX_PROMPT_PROPERTIES rotate_screen_prompt_12_properties =
1759 {
1760     GX_STRING_ID_STRING_41_1,                /* string id                      */
1761     GX_FONT_ID_PROMPT,                       /* font id                        */
1762     GX_COLOR_ID_TEXT,                        /* normal text color              */
1763     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
1764     GX_COLOR_ID_TEXT                         /* disabled text color            */
1765 };
1766 GX_WINDOW_PROPERTIES rotate_screen_pixelmap_window_properties =
1767 {
1768     0                                        /* wallpaper pixelmap id          */
1769 };
1770 GX_RADIO_BUTTON_PROPERTIES rotate_screen_radio_button_properties =
1771 {
1772     GX_STRING_ID_STRING_42_1,                /* string id                      */
1773     GX_FONT_ID_BUTTON,                       /* font id                        */
1774     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
1775     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
1776     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
1777     0,                                       /* off pixelmap id                */
1778     0,                                       /* on pixelmap id                 */
1779     0,                                       /* off disabled pixelmap id       */
1780     0                                        /* on disabled pixelmap id        */
1781 };
1782 GX_RADIO_BUTTON_PROPERTIES rotate_screen_radio_button_1_properties =
1783 {
1784     GX_STRING_ID_STRING_43_1,                /* string id                      */
1785     GX_FONT_ID_BUTTON,                       /* font id                        */
1786     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
1787     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
1788     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
1789     0,                                       /* off pixelmap id                */
1790     0,                                       /* on pixelmap id                 */
1791     0,                                       /* off disabled pixelmap id       */
1792     0                                        /* on disabled pixelmap id        */
1793 };
1794 GX_RADIO_BUTTON_PROPERTIES rotate_screen_radio_button_2_properties =
1795 {
1796     GX_STRING_ID_STRING_44_1,                /* string id                      */
1797     GX_FONT_ID_BUTTON,                       /* font id                        */
1798     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
1799     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
1800     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
1801     0,                                       /* off pixelmap id                */
1802     0,                                       /* on pixelmap id                 */
1803     0,                                       /* off disabled pixelmap id       */
1804     0                                        /* on disabled pixelmap id        */
1805 };
1806 
1807 GX_CONST GX_STUDIO_WIDGET rotate_screen_radio_button_2_define =
1808 {
1809     "radio_button_2",
1810     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1811     ID_RADIO_FISH,                           /* widget id                      */
1812     #if defined(GX_WIDGET_USER_DATA)
1813     0,                                       /* user data                      */
1814     #endif
1815     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1816     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1817     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1818     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1819     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1820     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1821     gx_studio_radio_button_create,           /* create function                */
1822     GX_NULL,                                 /* drawing function override      */
1823     GX_NULL,                                 /* event function override        */
1824     {388, 425, 467, 448},                    /* widget size                    */
1825     GX_NULL,                                 /* no next widget                 */
1826     GX_NULL,                                 /* no child widgets               */
1827     offsetof(ROTATE_SCREEN_CONTROL_BLOCK, rotate_screen_radio_button_2), /* control block */
1828     (void *) &rotate_screen_radio_button_2_properties /* extended properties   */
1829 };
1830 
1831 GX_CONST GX_STUDIO_WIDGET rotate_screen_radio_button_1_define =
1832 {
1833     "radio_button_1",
1834     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1835     ID_RADIO_APPLE,                          /* widget id                      */
1836     #if defined(GX_WIDGET_USER_DATA)
1837     0,                                       /* user data                      */
1838     #endif
1839     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1840     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1841     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1842     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1843     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1844     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1845     gx_studio_radio_button_create,           /* create function                */
1846     GX_NULL,                                 /* drawing function override      */
1847     GX_NULL,                                 /* event function override        */
1848     {236, 425, 315, 448},                    /* widget size                    */
1849     &rotate_screen_radio_button_2_define,    /* next widget definition         */
1850     GX_NULL,                                 /* no child widgets               */
1851     offsetof(ROTATE_SCREEN_CONTROL_BLOCK, rotate_screen_radio_button_1), /* control block */
1852     (void *) &rotate_screen_radio_button_1_properties /* extended properties   */
1853 };
1854 
1855 GX_CONST GX_STUDIO_WIDGET rotate_screen_radio_button_define =
1856 {
1857     "radio_button",
1858     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1859     ID_RADIO_FOOT,                           /* widget id                      */
1860     #if defined(GX_WIDGET_USER_DATA)
1861     0,                                       /* user data                      */
1862     #endif
1863     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_PUSHED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1864     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1865     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1866     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1867     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1868     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1869     gx_studio_radio_button_create,           /* create function                */
1870     GX_NULL,                                 /* drawing function override      */
1871     GX_NULL,                                 /* event function override        */
1872     {84, 425, 163, 448},                     /* widget size                    */
1873     &rotate_screen_radio_button_1_define,    /* next widget definition         */
1874     GX_NULL,                                 /* no child widgets               */
1875     offsetof(ROTATE_SCREEN_CONTROL_BLOCK, rotate_screen_radio_button), /* control block */
1876     (void *) &rotate_screen_radio_button_properties /* extended properties     */
1877 };
1878 
1879 GX_CONST GX_STUDIO_WIDGET rotate_screen_pixelmap_window_define =
1880 {
1881     "pixelmap_window",
1882     GX_TYPE_WINDOW,                          /* widget type                    */
1883     GX_ID_NONE,                              /* widget id                      */
1884     #if defined(GX_WIDGET_USER_DATA)
1885     0,                                       /* user data                      */
1886     #endif
1887     GX_STYLE_BORDER_THIN,                    /* style flags                    */
1888     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1889     sizeof(GX_WINDOW),                       /* control block size             */
1890     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* normal color id                */
1891     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
1892     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* disabled color id              */
1893     gx_studio_window_create,                 /* create function                */
1894     (VOID (*)(GX_WIDGET *)) pixelmap_draw,   /* drawing function override      */
1895     GX_NULL,                                 /* event function override        */
1896     {31, 69, 613, 400},                      /* widget size                    */
1897     &rotate_screen_radio_button_define,      /* next widget definition         */
1898     GX_NULL,                                 /* no child widgets               */
1899     offsetof(ROTATE_SCREEN_CONTROL_BLOCK, rotate_screen_pixelmap_window), /* control block */
1900     (void *) &rotate_screen_pixelmap_window_properties /* extended properties  */
1901 };
1902 
1903 GX_CONST GX_STUDIO_WIDGET rotate_screen_prompt_12_define =
1904 {
1905     "prompt_12",
1906     GX_TYPE_PROMPT,                          /* widget type                    */
1907     ID_ANGLE_DISPLAY,                        /* widget id                      */
1908     #if defined(GX_WIDGET_USER_DATA)
1909     0,                                       /* user data                      */
1910     #endif
1911     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1912     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1913     sizeof(GX_PROMPT),                       /* control block size             */
1914     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1915     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1916     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
1917     gx_studio_prompt_create,                 /* create function                */
1918     GX_NULL,                                 /* drawing function override      */
1919     GX_NULL,                                 /* event function override        */
1920     {574, 26, 617, 49},                      /* widget size                    */
1921     &rotate_screen_pixelmap_window_define,   /* next widget definition         */
1922     GX_NULL,                                 /* no child widgets               */
1923     offsetof(ROTATE_SCREEN_CONTROL_BLOCK, rotate_screen_prompt_12), /* control block */
1924     (void *) &rotate_screen_prompt_12_properties /* extended properties        */
1925 };
1926 
1927 GX_CONST GX_STUDIO_WIDGET rotate_screen_slider_3_define =
1928 {
1929     "slider_3",
1930     GX_TYPE_SLIDER,                          /* widget type                    */
1931     ID_SLIDER_ANGLE,                         /* widget id                      */
1932     #if defined(GX_WIDGET_USER_DATA)
1933     0,                                       /* user data                      */
1934     #endif
1935     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_SHOW_NEEDLE|GX_STYLE_SHOW_TICKMARKS,   /* style flags */
1936     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1937     sizeof(GX_SLIDER),                       /* control block size             */
1938     GX_COLOR_ID_BTN_UPPER,                   /* normal color id                */
1939     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1940     GX_COLOR_ID_BTN_UPPER,                   /* disabled color id              */
1941     gx_studio_slider_create,                 /* create function                */
1942     GX_NULL,                                 /* drawing function override      */
1943     GX_NULL,                                 /* event function override        */
1944     {388, 26, 553, 49},                      /* widget size                    */
1945     &rotate_screen_prompt_12_define,         /* next widget definition         */
1946     GX_NULL,                                 /* no child widgets               */
1947     offsetof(ROTATE_SCREEN_CONTROL_BLOCK, rotate_screen_slider_3), /* control block */
1948     (void *) &rotate_screen_slider_3_properties /* extended properties         */
1949 };
1950 
1951 GX_CONST GX_STUDIO_WIDGET rotate_screen_prompt_11_define =
1952 {
1953     "prompt_11",
1954     GX_TYPE_PROMPT,                          /* widget type                    */
1955     GX_ID_NONE,                              /* widget id                      */
1956     #if defined(GX_WIDGET_USER_DATA)
1957     0,                                       /* user data                      */
1958     #endif
1959     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1960     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1961     sizeof(GX_PROMPT),                       /* control block size             */
1962     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1963     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1964     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
1965     gx_studio_prompt_create,                 /* create function                */
1966     GX_NULL,                                 /* drawing function override      */
1967     GX_NULL,                                 /* event function override        */
1968     {248, 26, 367, 49},                      /* widget size                    */
1969     &rotate_screen_slider_3_define,          /* next widget definition         */
1970     GX_NULL,                                 /* no child widgets               */
1971     offsetof(ROTATE_SCREEN_CONTROL_BLOCK, rotate_screen_prompt_11), /* control block */
1972     (void *) &rotate_screen_prompt_11_properties /* extended properties        */
1973 };
1974 
1975 GX_CONST GX_STUDIO_WIDGET rotate_screen_checkbox_1_define =
1976 {
1977     "checkbox_1",
1978     GX_TYPE_CHECKBOX,                        /* widget type                    */
1979     ID_DIRECT_ROTATE,                        /* widget id                      */
1980     #if defined(GX_WIDGET_USER_DATA)
1981     0,                                       /* user data                      */
1982     #endif
1983     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE|GX_STYLE_TEXT_LEFT,   /* style flags */
1984     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1985     sizeof(GX_CHECKBOX),                     /* control block size             */
1986     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1987     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1988     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1989     gx_studio_checkbox_create,               /* create function                */
1990     GX_NULL,                                 /* drawing function override      */
1991     GX_NULL,                                 /* event function override        */
1992     {49, 26, 198, 49},                       /* widget size                    */
1993     &rotate_screen_prompt_11_define,         /* next widget definition         */
1994     GX_NULL,                                 /* no child widgets               */
1995     offsetof(ROTATE_SCREEN_CONTROL_BLOCK, rotate_screen_checkbox_1), /* control block */
1996     (void *) &rotate_screen_checkbox_1_properties /* extended properties       */
1997 };
1998 
1999 GX_CONST GX_STUDIO_WIDGET rotate_screen_next_button_8_define =
2000 {
2001     "next_button_8",
2002     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
2003     IDB_NEXT,                                /* widget id                      */
2004     #if defined(GX_WIDGET_USER_DATA)
2005     0,                                       /* user data                      */
2006     #endif
2007     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2008     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2009     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
2010     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* normal color id                */
2011     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
2012     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* disabled color id              */
2013     gx_studio_text_button_create,            /* create function                */
2014     GX_NULL,                                 /* drawing function override      */
2015     GX_NULL,                                 /* event function override        */
2016     {532, 426, 611, 450},                    /* widget size                    */
2017     &rotate_screen_checkbox_1_define,        /* next widget definition         */
2018     GX_NULL,                                 /* no child widgets               */
2019     offsetof(ROTATE_SCREEN_CONTROL_BLOCK, rotate_screen_next_button_8), /* control block */
2020     (void *) &rotate_screen_next_button_8_properties /* extended properties    */
2021 };
2022 
2023 GX_STUDIO_ACTION rotate_screen__idb_next_gx_event_clicked_actions[2] = {
2024     {GX_ACTION_TYPE_TOGGLE, 0, &Primary_root_window, &radial_slider_screen, GX_NULL},
2025     {0, 0, GX_NULL, GX_NULL, GX_NULL}
2026 };
2027 
2028 static GX_STUDIO_EVENT_ENTRY gx_studio_rotate_screen_event_table[] = {
2029     {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, rotate_screen__idb_next_gx_event_clicked_actions},
2030     {0, 0, GX_NULL}
2031 };
2032 
2033 GX_STUDIO_EVENT_PROCESS rotate_screen_event_chain = {gx_studio_rotate_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))rotate_event_handler};
gx_studio_rotate_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)2034 static UINT gx_studio_rotate_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
2035 {
2036     return (gx_studio_auto_event_handler(target, event_ptr, &rotate_screen_event_chain));
2037 }
2038 
2039 
2040 GX_CONST GX_STUDIO_WIDGET rotate_screen_define =
2041 {
2042     "rotate_screen",
2043     GX_TYPE_WINDOW,                          /* widget type                    */
2044     ID_ROTATE_SCREEN,                        /* widget id                      */
2045     #if defined(GX_WIDGET_USER_DATA)
2046     0,                                       /* user data                      */
2047     #endif
2048     GX_STYLE_BORDER_THIN,                    /* style flags                    */
2049     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2050     sizeof(ROTATE_SCREEN_CONTROL_BLOCK),     /* control block size             */
2051     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
2052     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
2053     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
2054     gx_studio_window_create,                 /* create function                */
2055     GX_NULL,                                 /* drawing function override      */
2056     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_rotate_screen_event_process, /* event function override */
2057     {0, 0, 639, 479},                        /* widget size                    */
2058     GX_NULL,                                 /* next widget                    */
2059     &rotate_screen_next_button_8_define,     /* child widget                   */
2060     0,                                       /* control block                  */
2061     (void *) &rotate_screen_properties       /* extended properties            */
2062 };
2063 GX_WINDOW_PROPERTIES menu_screen_properties =
2064 {
2065     0                                        /* wallpaper pixelmap id          */
2066 };
2067 GX_TEXT_BUTTON_PROPERTIES menu_screen_next_button_7_properties =
2068 {
2069     GX_STRING_ID_STRING_36,                  /* string id                      */
2070     GX_FONT_ID_BUTTON,                       /* font id                        */
2071     GX_COLOR_ID_WHITE,                       /* normal text color              */
2072     GX_COLOR_ID_WHITE,                       /* selected text color            */
2073     GX_COLOR_ID_WHITE                        /* disabled text color            */
2074 };
2075 GX_PROMPT_PROPERTIES menu_screen_title_5_properties =
2076 {
2077     GX_STRING_ID_STRING_47,                  /* string id                      */
2078     GX_FONT_ID_PROMPT,                       /* font id                        */
2079     GX_COLOR_ID_TEXT,                        /* normal text color              */
2080     GX_COLOR_ID_TEXT,                        /* selected text color            */
2081     GX_COLOR_ID_TEXT                         /* disabled text color            */
2082 };
2083 GX_PROMPT_PROPERTIES menu_screen_title_properties =
2084 {
2085     GX_STRING_ID_STRING_53,                  /* string id                      */
2086     GX_FONT_ID_PROMPT,                       /* font id                        */
2087     GX_COLOR_ID_TEXT,                        /* normal text color              */
2088     GX_COLOR_ID_TEXT,                        /* selected text color            */
2089     GX_COLOR_ID_TEXT                         /* disabled text color            */
2090 };
2091 GX_MENU_PROPERTIES menu_screen_ola_menu_1_properties =
2092 {
2093     GX_STRING_ID_MENU_1,                     /* string id                      */
2094     GX_FONT_ID_PROMPT,                       /* font id                        */
2095     GX_COLOR_ID_TEXT,                        /* normal text color              */
2096     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2097     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2098     0,                                       /* left pixelmap id               */
2099     GX_PIXELMAP_ID_FILL,                     /* fill pixelmap id               */
2100     0,                                       /* right pixelmap id              */
2101     0,                                       /* selected left pixelmap id      */
2102     0,                                       /* selected fill pixelmap id      */
2103     0,                                       /* selected right pixelmap id     */
2104     10,                                      /* text display x offset          */
2105     0,                                       /* text display y offset          */
2106     2,                                       /* list_total_count               */
2107 };
2108 GX_PROMPT_PROPERTIES menu_screen_prompt_25_properties =
2109 {
2110     GX_STRING_ID_ITEM_1,                     /* string id                      */
2111     GX_FONT_ID_PROMPT,                       /* font id                        */
2112     GX_COLOR_ID_TEXT,                        /* normal text color              */
2113     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2114     GX_COLOR_ID_TEXT                         /* disabled text color            */
2115 };
2116 GX_NUMERIC_PROMPT_PROPERTIES menu_screen_prompt_26_properties =
2117 {
2118     0,                                       /* string id                      */
2119     GX_FONT_ID_PROMPT,                       /* font id                        */
2120     GX_COLOR_ID_TEXT,                        /* normal text color              */
2121     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2122     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2123     GX_NULL,                                 /* format function                */
2124     0                                        /* numeric prompt value           */
2125 };
2126 GX_MENU_PROPERTIES menu_screen_ola_menu_2_properties =
2127 {
2128     GX_STRING_ID_STRING_6,                   /* string id                      */
2129     GX_FONT_ID_PROMPT,                       /* font id                        */
2130     GX_COLOR_ID_TEXT,                        /* normal text color              */
2131     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2132     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2133     0,                                       /* left pixelmap id               */
2134     GX_PIXELMAP_ID_FILL,                     /* fill pixelmap id               */
2135     0,                                       /* right pixelmap id              */
2136     0,                                       /* selected left pixelmap id      */
2137     0,                                       /* selected fill pixelmap id      */
2138     0,                                       /* selected right pixelmap id     */
2139     10,                                      /* text display x offset          */
2140     0,                                       /* text display y offset          */
2141     1,                                       /* list_total_count               */
2142 };
2143 GX_ML_TEXT_VIEW_PROPERTIES menu_screen_text_view_5_properties =
2144 {
2145     GX_STRING_ID_MULTI_LEVEL_ACCORDION_DESCRITION, /* string id                */
2146     GX_FONT_ID_TEXT_INPUT,                   /* font id                        */
2147     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* normal text color              */
2148     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* selected text color            */
2149     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* disabled text color            */
2150     0,                                       /* whitespace                     */
2151     0                                        /* line_space                     */
2152 };
2153 GX_TEXT_BUTTON_PROPERTIES menu_screen_ola_menu_3_properties =
2154 {
2155     GX_STRING_ID_MENU_3,                     /* string id                      */
2156     GX_FONT_ID_BUTTON,                       /* font id                        */
2157     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
2158     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
2159     GX_COLOR_ID_BTN_TEXT                     /* disabled text color            */
2160 };
2161 GX_MENU_PROPERTIES menu_screen_ola_menu_4_properties =
2162 {
2163     GX_STRING_ID_STRING_54,                  /* string id                      */
2164     GX_FONT_ID_PROMPT,                       /* font id                        */
2165     GX_COLOR_ID_TEXT,                        /* normal text color              */
2166     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2167     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2168     0,                                       /* left pixelmap id               */
2169     GX_PIXELMAP_ID_FILL,                     /* fill pixelmap id               */
2170     0,                                       /* right pixelmap id              */
2171     0,                                       /* selected left pixelmap id      */
2172     0,                                       /* selected fill pixelmap id      */
2173     0,                                       /* selected right pixelmap id     */
2174     10,                                      /* text display x offset          */
2175     0,                                       /* text display y offset          */
2176     2,                                       /* list_total_count               */
2177 };
2178 GX_MENU_PROPERTIES menu_screen_item_properties =
2179 {
2180     GX_STRING_ID_ITEM_1,                     /* string id                      */
2181     GX_FONT_ID_PROMPT,                       /* font id                        */
2182     GX_COLOR_ID_TEXT,                        /* normal text color              */
2183     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2184     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2185     0,                                       /* left pixelmap id               */
2186     0,                                       /* fill pixelmap id               */
2187     0,                                       /* right pixelmap id              */
2188     0,                                       /* selected left pixelmap id      */
2189     0,                                       /* selected fill pixelmap id      */
2190     0,                                       /* selected right pixelmap id     */
2191     20,                                      /* text display x offset          */
2192     0,                                       /* text display y offset          */
2193     0,                                       /* list_total_count               */
2194 };
2195 GX_MENU_PROPERTIES menu_screen_item_1_properties =
2196 {
2197     GX_STRING_ID_ITEM_2,                     /* string id                      */
2198     GX_FONT_ID_PROMPT,                       /* font id                        */
2199     GX_COLOR_ID_TEXT,                        /* normal text color              */
2200     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2201     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2202     0,                                       /* left pixelmap id               */
2203     0,                                       /* fill pixelmap id               */
2204     0,                                       /* right pixelmap id              */
2205     0,                                       /* selected left pixelmap id      */
2206     0,                                       /* selected fill pixelmap id      */
2207     0,                                       /* selected right pixelmap id     */
2208     20,                                      /* text display x offset          */
2209     0,                                       /* text display y offset          */
2210     0,                                       /* list_total_count               */
2211 };
2212 GX_MENU_PROPERTIES menu_screen_ola_2_menu_1_properties =
2213 {
2214     GX_STRING_ID_MENU_1,                     /* string id                      */
2215     GX_FONT_ID_PROMPT,                       /* font id                        */
2216     GX_COLOR_ID_TEXT,                        /* normal text color              */
2217     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2218     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2219     0,                                       /* left pixelmap id               */
2220     0,                                       /* fill pixelmap id               */
2221     0,                                       /* right pixelmap id              */
2222     0,                                       /* selected left pixelmap id      */
2223     0,                                       /* selected fill pixelmap id      */
2224     0,                                       /* selected right pixelmap id     */
2225     10,                                      /* text display x offset          */
2226     0,                                       /* text display y offset          */
2227     1,                                       /* list_total_count               */
2228 };
2229 GX_PROMPT_PROPERTIES menu_screen_prompt_7_properties =
2230 {
2231     GX_STRING_ID_ITEM_1,                     /* string id                      */
2232     GX_FONT_ID_PROMPT,                       /* font id                        */
2233     GX_COLOR_ID_TEXT,                        /* normal text color              */
2234     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2235     GX_COLOR_ID_TEXT                         /* disabled text color            */
2236 };
2237 GX_MENU_PROPERTIES menu_screen_ola_2_menu_2_1_properties =
2238 {
2239     GX_STRING_ID_STRING_8,                   /* string id                      */
2240     GX_FONT_ID_PROMPT,                       /* font id                        */
2241     GX_COLOR_ID_TEXT,                        /* normal text color              */
2242     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2243     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2244     0,                                       /* left pixelmap id               */
2245     0,                                       /* fill pixelmap id               */
2246     0,                                       /* right pixelmap id              */
2247     0,                                       /* selected left pixelmap id      */
2248     0,                                       /* selected fill pixelmap id      */
2249     0,                                       /* selected right pixelmap id     */
2250     10,                                      /* text display x offset          */
2251     0,                                       /* text display y offset          */
2252     1,                                       /* list_total_count               */
2253 };
2254 GX_PIXELMAP_PROMPT_PROPERTIES menu_screen_prompt_9_properties =
2255 {
2256     GX_STRING_ID_STRING_5,                   /* string id                      */
2257     GX_FONT_ID_PROMPT,                       /* font id                        */
2258     GX_COLOR_ID_TEXT,                        /* normal text color              */
2259     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2260     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2261     0,                                       /* left pixelmap id               */
2262     0,                                       /* fill pixelmap id               */
2263     0,                                       /* right pixelmap id              */
2264     0,                                       /* selected left pixelmap id      */
2265     0,                                       /* selected fill pixelmap id      */
2266     0                                        /* selected right pixelmap id     */
2267 };
2268 GX_MENU_PROPERTIES menu_screen_ola_2_menu_2_2_properties =
2269 {
2270     GX_STRING_ID_STRING_25,                  /* string id                      */
2271     GX_FONT_ID_PROMPT,                       /* font id                        */
2272     GX_COLOR_ID_TEXT,                        /* normal text color              */
2273     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2274     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2275     0,                                       /* left pixelmap id               */
2276     0,                                       /* fill pixelmap id               */
2277     0,                                       /* right pixelmap id              */
2278     0,                                       /* selected left pixelmap id      */
2279     0,                                       /* selected fill pixelmap id      */
2280     0,                                       /* selected right pixelmap id     */
2281     10,                                      /* text display x offset          */
2282     0,                                       /* text display y offset          */
2283     1,                                       /* list_total_count               */
2284 };
2285 GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES menu_screen_numeric_pixelmap_prompt_2_properties =
2286 {
2287     0,                                       /* string id                      */
2288     GX_FONT_ID_PROMPT,                       /* font id                        */
2289     GX_COLOR_ID_TEXT,                        /* normal text color              */
2290     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2291     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2292     0,                                       /* left pixelmap id               */
2293     0,                                       /* fill pixelmap id               */
2294     0,                                       /* right pixelmap id              */
2295     0,                                       /* selected left pixelmap id      */
2296     0,                                       /* selected fill pixelmap id      */
2297     0,                                       /* selected right pixelmap id     */
2298     GX_NULL,                                 /* format function                */
2299     0                                        /* numeric prompt value           */
2300 };
2301 GX_MENU_PROPERTIES menu_screen_ola_2_menu_3_properties =
2302 {
2303     GX_STRING_ID_MENU_3,                     /* string id                      */
2304     GX_FONT_ID_PROMPT,                       /* font id                        */
2305     GX_COLOR_ID_TEXT,                        /* normal text color              */
2306     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2307     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2308     0,                                       /* left pixelmap id               */
2309     0,                                       /* fill pixelmap id               */
2310     0,                                       /* right pixelmap id              */
2311     0,                                       /* selected left pixelmap id      */
2312     0,                                       /* selected fill pixelmap id      */
2313     0,                                       /* selected right pixelmap id     */
2314     10,                                      /* text display x offset          */
2315     0,                                       /* text display y offset          */
2316     1,                                       /* list_total_count               */
2317 };
2318 GX_PROMPT_PROPERTIES menu_screen_prompt_10_1_properties =
2319 {
2320     GX_STRING_ID_STRING_5,                   /* string id                      */
2321     GX_FONT_ID_PROMPT,                       /* font id                        */
2322     GX_COLOR_ID_TEXT,                        /* normal text color              */
2323     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2324     GX_COLOR_ID_TEXT                         /* disabled text color            */
2325 };
2326 GX_ML_TEXT_VIEW_PROPERTIES menu_screen_text_view_properties =
2327 {
2328     GX_STRING_ID_MULTI_LEVEL_ACCORDION_DESCRITION, /* string id                */
2329     GX_FONT_ID_TEXT_INPUT,                   /* font id                        */
2330     GX_COLOR_ID_TEXT,                        /* normal text color              */
2331     GX_COLOR_ID_TEXT,                        /* selected text color            */
2332     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2333     2,                                       /* whitespace                     */
2334     0                                        /* line_space                     */
2335 };
2336 GX_MENU_PROPERTIES menu_screen_mla_menu_1_properties =
2337 {
2338     GX_STRING_ID_MENU_1,                     /* string id                      */
2339     GX_FONT_ID_PROMPT,                       /* font id                        */
2340     GX_COLOR_ID_TEXT,                        /* normal text color              */
2341     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2342     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2343     0,                                       /* left pixelmap id               */
2344     GX_PIXELMAP_ID_FILL,                     /* fill pixelmap id               */
2345     0,                                       /* right pixelmap id              */
2346     0,                                       /* selected left pixelmap id      */
2347     0,                                       /* selected fill pixelmap id      */
2348     0,                                       /* selected right pixelmap id     */
2349     10,                                      /* text display x offset          */
2350     0,                                       /* text display y offset          */
2351     1,                                       /* list_total_count               */
2352 };
2353 GX_MENU_PROPERTIES menu_screen_mla_menu_1_1_properties =
2354 {
2355     GX_STRING_ID_STRING_26,                  /* string id                      */
2356     GX_FONT_ID_PROMPT,                       /* font id                        */
2357     GX_COLOR_ID_TEXT,                        /* normal text color              */
2358     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2359     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2360     0,                                       /* left pixelmap id               */
2361     0,                                       /* fill pixelmap id               */
2362     0,                                       /* right pixelmap id              */
2363     0,                                       /* selected left pixelmap id      */
2364     0,                                       /* selected fill pixelmap id      */
2365     0,                                       /* selected right pixelmap id     */
2366     10,                                      /* text display x offset          */
2367     0,                                       /* text display y offset          */
2368     1,                                       /* list_total_count               */
2369 };
2370 GX_ML_TEXT_VIEW_PROPERTIES menu_screen_text_view_3_properties =
2371 {
2372     GX_STRING_ID_STRING_39,                  /* string id                      */
2373     GX_FONT_ID_TEXT_INPUT,                   /* font id                        */
2374     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* normal text color              */
2375     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* selected text color            */
2376     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* disabled text color            */
2377     0,                                       /* whitespace                     */
2378     0                                        /* line_space                     */
2379 };
2380 GX_MENU_PROPERTIES menu_screen_mla_menu_1_2_properties =
2381 {
2382     GX_STRING_ID_STRING_28,                  /* string id                      */
2383     GX_FONT_ID_PROMPT,                       /* font id                        */
2384     GX_COLOR_ID_TEXT,                        /* normal text color              */
2385     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2386     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2387     0,                                       /* left pixelmap id               */
2388     0,                                       /* fill pixelmap id               */
2389     0,                                       /* right pixelmap id              */
2390     0,                                       /* selected left pixelmap id      */
2391     0,                                       /* selected fill pixelmap id      */
2392     0,                                       /* selected right pixelmap id     */
2393     10,                                      /* text display x offset          */
2394     0,                                       /* text display y offset          */
2395     1,                                       /* list_total_count               */
2396 };
2397 GX_PROMPT_PROPERTIES menu_screen_prompt_15_1_properties =
2398 {
2399     GX_STRING_ID_STRING_5,                   /* string id                      */
2400     GX_FONT_ID_PROMPT,                       /* font id                        */
2401     GX_COLOR_ID_TEXT,                        /* normal text color              */
2402     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2403     GX_COLOR_ID_TEXT                         /* disabled text color            */
2404 };
2405 GX_MENU_PROPERTIES menu_screen_mla_menu_2_properties =
2406 {
2407     GX_STRING_ID_STRING_6,                   /* string id                      */
2408     GX_FONT_ID_PROMPT,                       /* font id                        */
2409     GX_COLOR_ID_TEXT,                        /* normal text color              */
2410     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2411     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2412     0,                                       /* left pixelmap id               */
2413     GX_PIXELMAP_ID_FILL,                     /* fill pixelmap id               */
2414     0,                                       /* right pixelmap id              */
2415     0,                                       /* selected left pixelmap id      */
2416     0,                                       /* selected fill pixelmap id      */
2417     0,                                       /* selected right pixelmap id     */
2418     10,                                      /* text display x offset          */
2419     0,                                       /* text display y offset          */
2420     1,                                       /* list_total_count               */
2421 };
2422 GX_MENU_PROPERTIES menu_screen_mla_menu_2_1_properties =
2423 {
2424     GX_STRING_ID_STRING_8,                   /* string id                      */
2425     GX_FONT_ID_PROMPT,                       /* font id                        */
2426     GX_COLOR_ID_TEXT,                        /* normal text color              */
2427     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2428     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2429     0,                                       /* left pixelmap id               */
2430     0,                                       /* fill pixelmap id               */
2431     0,                                       /* right pixelmap id              */
2432     0,                                       /* selected left pixelmap id      */
2433     0,                                       /* selected fill pixelmap id      */
2434     0,                                       /* selected right pixelmap id     */
2435     10,                                      /* text display x offset          */
2436     0,                                       /* text display y offset          */
2437     1,                                       /* list_total_count               */
2438 };
2439 GX_MENU_PROPERTIES menu_screen_mla_menu_2_1_1_properties =
2440 {
2441     GX_STRING_ID_STRING_32,                  /* string id                      */
2442     GX_FONT_ID_PROMPT,                       /* font id                        */
2443     GX_COLOR_ID_TEXT,                        /* normal text color              */
2444     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2445     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2446     0,                                       /* left pixelmap id               */
2447     0,                                       /* fill pixelmap id               */
2448     0,                                       /* right pixelmap id              */
2449     0,                                       /* selected left pixelmap id      */
2450     0,                                       /* selected fill pixelmap id      */
2451     0,                                       /* selected right pixelmap id     */
2452     10,                                      /* text display x offset          */
2453     0,                                       /* text display y offset          */
2454     1,                                       /* list_total_count               */
2455 };
2456 GX_PROMPT_PROPERTIES menu_screen_prompt_11_1_properties =
2457 {
2458     GX_STRING_ID_ITEM_1,                     /* string id                      */
2459     GX_FONT_ID_PROMPT,                       /* font id                        */
2460     GX_COLOR_ID_TEXT,                        /* normal text color              */
2461     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2462     GX_COLOR_ID_TEXT                         /* disabled text color            */
2463 };
2464 GX_MENU_PROPERTIES menu_screen_mla_menu_2_1_2_properties =
2465 {
2466     GX_STRING_ID_STRING_35,                  /* string id                      */
2467     GX_FONT_ID_PROMPT,                       /* font id                        */
2468     GX_COLOR_ID_TEXT,                        /* normal text color              */
2469     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2470     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2471     0,                                       /* left pixelmap id               */
2472     0,                                       /* fill pixelmap id               */
2473     0,                                       /* right pixelmap id              */
2474     0,                                       /* selected left pixelmap id      */
2475     0,                                       /* selected fill pixelmap id      */
2476     0,                                       /* selected right pixelmap id     */
2477     10,                                      /* text display x offset          */
2478     0,                                       /* text display y offset          */
2479     1,                                       /* list_total_count               */
2480 };
2481 GX_PROMPT_PROPERTIES menu_screen_prompt_12_1_properties =
2482 {
2483     GX_STRING_ID_ITEM_1,                     /* string id                      */
2484     GX_FONT_ID_PROMPT,                       /* font id                        */
2485     GX_COLOR_ID_TEXT,                        /* normal text color              */
2486     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2487     GX_COLOR_ID_TEXT                         /* disabled text color            */
2488 };
2489 GX_MENU_PROPERTIES menu_screen_mla_menu_2_2_properties =
2490 {
2491     GX_STRING_ID_STRING_25,                  /* string id                      */
2492     GX_FONT_ID_PROMPT,                       /* font id                        */
2493     GX_COLOR_ID_TEXT,                        /* normal text color              */
2494     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2495     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2496     0,                                       /* left pixelmap id               */
2497     0,                                       /* fill pixelmap id               */
2498     0,                                       /* right pixelmap id              */
2499     0,                                       /* selected left pixelmap id      */
2500     0,                                       /* selected fill pixelmap id      */
2501     0,                                       /* selected right pixelmap id     */
2502     10,                                      /* text display x offset          */
2503     0,                                       /* text display y offset          */
2504     1,                                       /* list_total_count               */
2505 };
2506 GX_MENU_PROPERTIES menu_screen_mla_menu_2_2_1_properties =
2507 {
2508     GX_STRING_ID_STRING_52,                  /* string id                      */
2509     GX_FONT_ID_PROMPT,                       /* font id                        */
2510     GX_COLOR_ID_TEXT,                        /* normal text color              */
2511     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2512     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2513     0,                                       /* left pixelmap id               */
2514     0,                                       /* fill pixelmap id               */
2515     0,                                       /* right pixelmap id              */
2516     0,                                       /* selected left pixelmap id      */
2517     0,                                       /* selected fill pixelmap id      */
2518     0,                                       /* selected right pixelmap id     */
2519     10,                                      /* text display x offset          */
2520     0,                                       /* text display y offset          */
2521     1,                                       /* list_total_count               */
2522 };
2523 GX_PROMPT_PROPERTIES menu_screen_prompt_13_1_properties =
2524 {
2525     GX_STRING_ID_STRING_5,                   /* string id                      */
2526     GX_FONT_ID_PROMPT,                       /* font id                        */
2527     GX_COLOR_ID_TEXT,                        /* normal text color              */
2528     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2529     GX_COLOR_ID_TEXT                         /* disabled text color            */
2530 };
2531 GX_MENU_PROPERTIES menu_screen_mla_menu_2_2_2_properties =
2532 {
2533     GX_STRING_ID_STRING_58,                  /* string id                      */
2534     GX_FONT_ID_PROMPT,                       /* font id                        */
2535     GX_COLOR_ID_TEXT,                        /* normal text color              */
2536     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2537     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2538     0,                                       /* left pixelmap id               */
2539     0,                                       /* fill pixelmap id               */
2540     0,                                       /* right pixelmap id              */
2541     0,                                       /* selected left pixelmap id      */
2542     0,                                       /* selected fill pixelmap id      */
2543     0,                                       /* selected right pixelmap id     */
2544     10,                                      /* text display x offset          */
2545     0,                                       /* text display y offset          */
2546     1,                                       /* list_total_count               */
2547 };
2548 GX_PROMPT_PROPERTIES menu_screen_prompt_14_1_properties =
2549 {
2550     GX_STRING_ID_ITEM_1,                     /* string id                      */
2551     GX_FONT_ID_PROMPT,                       /* font id                        */
2552     GX_COLOR_ID_TEXT,                        /* normal text color              */
2553     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2554     GX_COLOR_ID_TEXT                         /* disabled text color            */
2555 };
2556 GX_MENU_PROPERTIES menu_screen_mla_menu_3_properties =
2557 {
2558     GX_STRING_ID_MENU_3,                     /* string id                      */
2559     GX_FONT_ID_PROMPT,                       /* font id                        */
2560     GX_COLOR_ID_TEXT,                        /* normal text color              */
2561     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2562     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2563     0,                                       /* left pixelmap id               */
2564     GX_PIXELMAP_ID_FILL,                     /* fill pixelmap id               */
2565     0,                                       /* right pixelmap id              */
2566     0,                                       /* selected left pixelmap id      */
2567     0,                                       /* selected fill pixelmap id      */
2568     0,                                       /* selected right pixelmap id     */
2569     10,                                      /* text display x offset          */
2570     0,                                       /* text display y offset          */
2571     2,                                       /* list_total_count               */
2572 };
2573 GX_PROMPT_PROPERTIES menu_screen_mla_menu_3_item_1_properties =
2574 {
2575     GX_STRING_ID_ITEM_1,                     /* string id                      */
2576     GX_FONT_ID_PROMPT,                       /* font id                        */
2577     GX_COLOR_ID_TEXT,                        /* normal text color              */
2578     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2579     GX_COLOR_ID_TEXT                         /* disabled text color            */
2580 };
2581 GX_PROMPT_PROPERTIES menu_screen_mla_menu_3_item_2_properties =
2582 {
2583     GX_STRING_ID_ITEM_2,                     /* string id                      */
2584     GX_FONT_ID_PROMPT,                       /* font id                        */
2585     GX_COLOR_ID_TEXT,                        /* normal text color              */
2586     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2587     GX_COLOR_ID_TEXT                         /* disabled text color            */
2588 };
2589 GX_ICON_PROPERTIES menu_screen_mla_menu_3_icon_properties =
2590 {
2591     GX_PIXELMAP_ID_I_PATIENTLIST_LG,         /* normal pixelmap id             */
2592     0                                        /* selected pixelmap id           */
2593 };
2594 GX_PROMPT_PROPERTIES menu_screen_title_2_properties =
2595 {
2596     GX_STRING_ID_STRING_57,                  /* string id                      */
2597     GX_FONT_ID_PROMPT,                       /* font id                        */
2598     GX_COLOR_ID_TEXT,                        /* normal text color              */
2599     GX_COLOR_ID_TEXT,                        /* selected text color            */
2600     GX_COLOR_ID_TEXT                         /* disabled text color            */
2601 };
2602 GX_TREE_VIEW_PROPERTIES menu_screen_tree_view_properties =
2603 {
2604     GX_PIXELMAP_ID_EXPAND,                   /* expand map id                  */
2605     GX_PIXELMAP_ID_COLLAPSE,                 /* collapse map id                */
2606     GX_COLOR_ID_SHADOW,                      /* root line color id             */
2607     22                                       /* indentation                    */
2608 };
2609 GX_MENU_PROPERTIES menu_screen_tree_menu_1_properties =
2610 {
2611     GX_STRING_ID_MENU_1,                     /* string id                      */
2612     GX_FONT_ID_PROMPT,                       /* font id                        */
2613     GX_COLOR_ID_TEXT,                        /* normal text color              */
2614     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2615     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2616     0,                                       /* left pixelmap id               */
2617     0,                                       /* fill pixelmap id               */
2618     0,                                       /* right pixelmap id              */
2619     0,                                       /* selected left pixelmap id      */
2620     0,                                       /* selected fill pixelmap id      */
2621     0,                                       /* selected right pixelmap id     */
2622     22,                                      /* text display x offset          */
2623     0,                                       /* text display y offset          */
2624     2,                                       /* list_total_count               */
2625 };
2626 GX_PROMPT_PROPERTIES menu_screen_tree_menu_1_1_properties =
2627 {
2628     GX_STRING_ID_ITEM_1,                     /* string id                      */
2629     GX_FONT_ID_PROMPT,                       /* font id                        */
2630     GX_COLOR_ID_TEXT,                        /* normal text color              */
2631     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2632     GX_COLOR_ID_TEXT                         /* disabled text color            */
2633 };
2634 GX_PROMPT_PROPERTIES menu_screen_tree_menu_1_2_properties =
2635 {
2636     GX_STRING_ID_ITEM_2,                     /* string id                      */
2637     GX_FONT_ID_PROMPT,                       /* font id                        */
2638     GX_COLOR_ID_TEXT,                        /* normal text color              */
2639     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2640     GX_COLOR_ID_TEXT                         /* disabled text color            */
2641 };
2642 GX_ICON_PROPERTIES menu_screen_icon_3_properties =
2643 {
2644     GX_PIXELMAP_ID_SAVE_ICON,                /* normal pixelmap id             */
2645     0                                        /* selected pixelmap id           */
2646 };
2647 GX_MENU_PROPERTIES menu_screen_tree_menu_2_properties =
2648 {
2649     GX_STRING_ID_STRING_6,                   /* string id                      */
2650     GX_FONT_ID_PROMPT,                       /* font id                        */
2651     GX_COLOR_ID_TEXT,                        /* normal text color              */
2652     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2653     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2654     0,                                       /* left pixelmap id               */
2655     0,                                       /* fill pixelmap id               */
2656     0,                                       /* right pixelmap id              */
2657     0,                                       /* selected left pixelmap id      */
2658     0,                                       /* selected fill pixelmap id      */
2659     0,                                       /* selected right pixelmap id     */
2660     22,                                      /* text display x offset          */
2661     0,                                       /* text display y offset          */
2662     2,                                       /* list_total_count               */
2663 };
2664 GX_MENU_PROPERTIES menu_screen_tree_menu_2_1_properties =
2665 {
2666     GX_STRING_ID_STRING_8,                   /* string id                      */
2667     GX_FONT_ID_PROMPT,                       /* font id                        */
2668     GX_COLOR_ID_TEXT,                        /* normal text color              */
2669     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2670     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2671     0,                                       /* left pixelmap id               */
2672     0,                                       /* fill pixelmap id               */
2673     0,                                       /* right pixelmap id              */
2674     0,                                       /* selected left pixelmap id      */
2675     0,                                       /* selected fill pixelmap id      */
2676     0,                                       /* selected right pixelmap id     */
2677     22,                                      /* text display x offset          */
2678     0,                                       /* text display y offset          */
2679     2,                                       /* list_total_count               */
2680 };
2681 GX_PROMPT_PROPERTIES menu_screen_tree_menu_2_1_1_properties =
2682 {
2683     GX_STRING_ID_ITEM_1,                     /* string id                      */
2684     GX_FONT_ID_PROMPT,                       /* font id                        */
2685     GX_COLOR_ID_TEXT,                        /* normal text color              */
2686     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2687     GX_COLOR_ID_TEXT                         /* disabled text color            */
2688 };
2689 GX_PROMPT_PROPERTIES menu_screen_tree_menu_2_1_2_properties =
2690 {
2691     GX_STRING_ID_ITEM_2,                     /* string id                      */
2692     GX_FONT_ID_PROMPT,                       /* font id                        */
2693     GX_COLOR_ID_TEXT,                        /* normal text color              */
2694     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2695     GX_COLOR_ID_TEXT                         /* disabled text color            */
2696 };
2697 GX_ICON_PROPERTIES menu_screen_icon_6_properties =
2698 {
2699     GX_PIXELMAP_ID_SAVE_ICON,                /* normal pixelmap id             */
2700     0                                        /* selected pixelmap id           */
2701 };
2702 GX_MENU_PROPERTIES menu_screen_tree_menu_2_2_properties =
2703 {
2704     GX_STRING_ID_STRING_25,                  /* string id                      */
2705     GX_FONT_ID_PROMPT,                       /* font id                        */
2706     GX_COLOR_ID_TEXT,                        /* normal text color              */
2707     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2708     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2709     0,                                       /* left pixelmap id               */
2710     0,                                       /* fill pixelmap id               */
2711     0,                                       /* right pixelmap id              */
2712     0,                                       /* selected left pixelmap id      */
2713     0,                                       /* selected fill pixelmap id      */
2714     0,                                       /* selected right pixelmap id     */
2715     22,                                      /* text display x offset          */
2716     0,                                       /* text display y offset          */
2717     1,                                       /* list_total_count               */
2718 };
2719 GX_MENU_PROPERTIES menu_screen_tree_menu_2_2_1_properties =
2720 {
2721     GX_STRING_ID_STRING_66,                  /* string id                      */
2722     GX_FONT_ID_PROMPT,                       /* font id                        */
2723     GX_COLOR_ID_TEXT,                        /* normal text color              */
2724     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2725     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2726     0,                                       /* left pixelmap id               */
2727     0,                                       /* fill pixelmap id               */
2728     0,                                       /* right pixelmap id              */
2729     0,                                       /* selected left pixelmap id      */
2730     0,                                       /* selected fill pixelmap id      */
2731     0,                                       /* selected right pixelmap id     */
2732     22,                                      /* text display x offset          */
2733     0,                                       /* text display y offset          */
2734     2,                                       /* list_total_count               */
2735 };
2736 GX_PROMPT_PROPERTIES menu_screen_tree_menu_2_2_1_1_properties =
2737 {
2738     GX_STRING_ID_STRING_67,                  /* string id                      */
2739     GX_FONT_ID_PROMPT,                       /* font id                        */
2740     GX_COLOR_ID_TEXT,                        /* normal text color              */
2741     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2742     GX_COLOR_ID_TEXT                         /* disabled text color            */
2743 };
2744 GX_PROMPT_PROPERTIES menu_screen_tree_menu_2_2_1_2_properties =
2745 {
2746     GX_STRING_ID_STRING_68,                  /* string id                      */
2747     GX_FONT_ID_PROMPT,                       /* font id                        */
2748     GX_COLOR_ID_TEXT,                        /* normal text color              */
2749     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2750     GX_COLOR_ID_TEXT                         /* disabled text color            */
2751 };
2752 GX_ICON_PROPERTIES menu_screen_icon_8_properties =
2753 {
2754     GX_PIXELMAP_ID_SAVE_ICON,                /* normal pixelmap id             */
2755     0                                        /* selected pixelmap id           */
2756 };
2757 GX_ICON_PROPERTIES menu_screen_icon_7_properties =
2758 {
2759     GX_PIXELMAP_ID_SAVE_ICON,                /* normal pixelmap id             */
2760     0                                        /* selected pixelmap id           */
2761 };
2762 GX_ICON_PROPERTIES menu_screen_icon_4_properties =
2763 {
2764     GX_PIXELMAP_ID_SAVE_ICON,                /* normal pixelmap id             */
2765     0                                        /* selected pixelmap id           */
2766 };
2767 GX_MENU_PROPERTIES menu_screen_tree_menu_3_properties =
2768 {
2769     GX_STRING_ID_MENU_3,                     /* string id                      */
2770     GX_FONT_ID_PROMPT,                       /* font id                        */
2771     GX_COLOR_ID_TEXT,                        /* normal text color              */
2772     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2773     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2774     0,                                       /* left pixelmap id               */
2775     0,                                       /* fill pixelmap id               */
2776     0,                                       /* right pixelmap id              */
2777     0,                                       /* selected left pixelmap id      */
2778     0,                                       /* selected fill pixelmap id      */
2779     0,                                       /* selected right pixelmap id     */
2780     22,                                      /* text display x offset          */
2781     0,                                       /* text display y offset          */
2782     1,                                       /* list_total_count               */
2783 };
2784 GX_PROMPT_PROPERTIES menu_screen_tree_menu_3_1_properties =
2785 {
2786     GX_STRING_ID_STRING_65,                  /* string id                      */
2787     GX_FONT_ID_PROMPT,                       /* font id                        */
2788     GX_COLOR_ID_TEXT,                        /* normal text color              */
2789     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2790     GX_COLOR_ID_TEXT                         /* disabled text color            */
2791 };
2792 GX_ICON_PROPERTIES menu_screen_icon_5_properties =
2793 {
2794     GX_PIXELMAP_ID_SAVE_ICON,                /* normal pixelmap id             */
2795     0                                        /* selected pixelmap id           */
2796 };
2797 GX_SCROLLBAR_APPEARANCE  menu_screen_tree_hscroll_properties =
2798 {
2799     20,                                      /* scroll width                   */
2800     18,                                      /* thumb width                    */
2801     20,                                      /* thumb travel min               */
2802     20,                                      /* thumb travel max               */
2803     4,                                       /* thumb border style             */
2804     0,                                       /* scroll fill pixelmap           */
2805     0,                                       /* scroll thumb pixelmap          */
2806     0,                                       /* scroll up pixelmap             */
2807     0,                                       /* scroll down pixelmap           */
2808     GX_COLOR_ID_SCROLL_BUTTON,               /* scroll thumb color             */
2809     GX_COLOR_ID_SCROLL_BUTTON,               /* scroll thumb border color      */
2810     GX_COLOR_ID_SCROLL_BUTTON,               /* scroll button color            */
2811 };
2812 GX_SCROLLBAR_APPEARANCE  menu_screen_tree_vscroll_properties =
2813 {
2814     20,                                      /* scroll width                   */
2815     18,                                      /* thumb width                    */
2816     20,                                      /* thumb travel min               */
2817     20,                                      /* thumb travel max               */
2818     4,                                       /* thumb border style             */
2819     0,                                       /* scroll fill pixelmap           */
2820     0,                                       /* scroll thumb pixelmap          */
2821     0,                                       /* scroll up pixelmap             */
2822     0,                                       /* scroll down pixelmap           */
2823     GX_COLOR_ID_SCROLL_BUTTON,               /* scroll thumb color             */
2824     GX_COLOR_ID_SCROLL_BUTTON,               /* scroll thumb border color      */
2825     GX_COLOR_ID_SCROLL_BUTTON,               /* scroll button color            */
2826 };
2827 GX_PROMPT_PROPERTIES menu_screen_prompt_8_properties =
2828 {
2829     GX_STRING_ID_STRING_54,                  /* string id                      */
2830     GX_FONT_ID_PROMPT,                       /* font id                        */
2831     GX_COLOR_ID_TEXT,                        /* normal text color              */
2832     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2833     GX_COLOR_ID_TEXT                         /* disabled text color            */
2834 };
2835 GX_MENU_PROPERTIES menu_screen_menu_properties =
2836 {
2837     GX_STRING_ID_STRING_59,                  /* string id                      */
2838     GX_FONT_ID_PROMPT,                       /* font id                        */
2839     GX_COLOR_ID_TEXT,                        /* normal text color              */
2840     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2841     GX_COLOR_ID_TEXT,                        /* disabled text color            */
2842     0,                                       /* left pixelmap id               */
2843     0,                                       /* fill pixelmap id               */
2844     0,                                       /* right pixelmap id              */
2845     0,                                       /* selected left pixelmap id      */
2846     0,                                       /* selected fill pixelmap id      */
2847     0,                                       /* selected right pixelmap id     */
2848     22,                                      /* text display x offset          */
2849     0,                                       /* text display y offset          */
2850     1,                                       /* list_total_count               */
2851 };
2852 GX_PROMPT_PROPERTIES menu_screen_prompt_10_properties =
2853 {
2854     GX_STRING_ID_STRING_5,                   /* string id                      */
2855     GX_FONT_ID_PROMPT,                       /* font id                        */
2856     GX_COLOR_ID_TEXT,                        /* normal text color              */
2857     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2858     GX_COLOR_ID_TEXT                         /* disabled text color            */
2859 };
2860 GX_ICON_PROPERTIES menu_screen_icon_9_properties =
2861 {
2862     GX_PIXELMAP_ID_SAVE_ICON,                /* normal pixelmap id             */
2863     0                                        /* selected pixelmap id           */
2864 };
2865 GX_PROMPT_PROPERTIES menu_screen_title_3_properties =
2866 {
2867     GX_STRING_ID_STRING_64,                  /* string id                      */
2868     GX_FONT_ID_PROMPT,                       /* font id                        */
2869     GX_COLOR_ID_TEXT,                        /* normal text color              */
2870     GX_COLOR_ID_TEXT,                        /* selected text color            */
2871     GX_COLOR_ID_TEXT                         /* disabled text color            */
2872 };
2873 
2874 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_26_define =
2875 {
2876     "prompt_26",
2877     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
2878     GX_ID_NONE,                              /* widget id                      */
2879     #if defined(GX_WIDGET_USER_DATA)
2880     0,                                       /* user data                      */
2881     #endif
2882     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2883     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2884     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
2885     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2886     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2887     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
2888     gx_studio_numeric_prompt_create,         /* create function                */
2889     GX_NULL,                                 /* drawing function override      */
2890     GX_NULL,                                 /* event function override        */
2891     {20, 179, 149, 202},                     /* widget size                    */
2892     GX_NULL,                                 /* no next widget                 */
2893     GX_NULL,                                 /* no child widgets               */
2894     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_26), /* control block */
2895     (void *) &menu_screen_prompt_26_properties /* extended properties          */
2896 };
2897 
2898 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_25_define =
2899 {
2900     "prompt_25",
2901     GX_TYPE_PROMPT,                          /* widget type                    */
2902     GX_ID_NONE,                              /* widget id                      */
2903     #if defined(GX_WIDGET_USER_DATA)
2904     0,                                       /* user data                      */
2905     #endif
2906     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2907     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2908     sizeof(GX_PROMPT),                       /* control block size             */
2909     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2910     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2911     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
2912     gx_studio_prompt_create,                 /* create function                */
2913     GX_NULL,                                 /* drawing function override      */
2914     GX_NULL,                                 /* event function override        */
2915     {20, 155, 149, 178},                     /* widget size                    */
2916     &menu_screen_prompt_26_define,           /* next widget definition         */
2917     GX_NULL,                                 /* no child widgets               */
2918     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_25), /* control block */
2919     (void *) &menu_screen_prompt_25_properties /* extended properties          */
2920 };
2921 
2922 GX_CONST GX_STUDIO_WIDGET menu_screen_text_view_5_define =
2923 {
2924     "text_view_5",
2925     GX_TYPE_MULTI_LINE_TEXT_VIEW,            /* widget type                    */
2926     GX_ID_NONE,                              /* widget id                      */
2927     #if defined(GX_WIDGET_USER_DATA)
2928     0,                                       /* user data                      */
2929     #endif
2930     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2931     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2932     sizeof(GX_MULTI_LINE_TEXT_VIEW),         /* control block size             */
2933     GX_COLOR_ID_TEXT_INPUT_FILL,             /* normal color id                */
2934     GX_COLOR_ID_TEXT_INPUT_FILL,             /* selected color id              */
2935     GX_COLOR_ID_TEXT_INPUT_FILL,             /* disabled color id              */
2936     gx_studio_multi_line_text_view_create,     /* create function              */
2937     GX_NULL,                                 /* drawing function override      */
2938     GX_NULL,                                 /* event function override        */
2939     {20, 250, 148, 397},                     /* widget size                    */
2940     GX_NULL,                                 /* no next widget                 */
2941     GX_NULL,                                 /* no child widgets               */
2942     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_text_view_5), /* control block */
2943     (void *) &menu_screen_text_view_5_properties /* extended properties        */
2944 };
2945 
2946 GX_CONST GX_STUDIO_WIDGET menu_screen_item_1_define =
2947 {
2948     "item_1",
2949     GX_TYPE_MENU,                            /* widget type                    */
2950     GX_ID_NONE,                              /* widget id                      */
2951     #if defined(GX_WIDGET_USER_DATA)
2952     0,                                       /* user data                      */
2953     #endif
2954     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
2955     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2956     sizeof(GX_MENU),                         /* control block size             */
2957     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2958     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2959     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
2960     gx_studio_menu_create,                   /* create function                */
2961     GX_NULL,                                 /* drawing function override      */
2962     GX_NULL,                                 /* event function override        */
2963     {20, 372, 148, 395},                     /* widget size                    */
2964     GX_NULL,                                 /* no next widget                 */
2965     GX_NULL,                                 /* no child widgets               */
2966     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_item_1), /* control block  */
2967     (void *) &menu_screen_item_1_properties  /* extended properties            */
2968 };
2969 
2970 GX_CONST GX_STUDIO_WIDGET menu_screen_item_define =
2971 {
2972     "item",
2973     GX_TYPE_MENU,                            /* widget type                    */
2974     GX_ID_NONE,                              /* widget id                      */
2975     #if defined(GX_WIDGET_USER_DATA)
2976     0,                                       /* user data                      */
2977     #endif
2978     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
2979     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2980     sizeof(GX_MENU),                         /* control block size             */
2981     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2982     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2983     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
2984     gx_studio_menu_create,                   /* create function                */
2985     GX_NULL,                                 /* drawing function override      */
2986     GX_NULL,                                 /* event function override        */
2987     {20, 348, 148, 371},                     /* widget size                    */
2988     &menu_screen_item_1_define,              /* next widget definition         */
2989     GX_NULL,                                 /* no child widgets               */
2990     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_item), /* control block    */
2991     (void *) &menu_screen_item_properties    /* extended properties            */
2992 };
2993 
2994 GX_CONST GX_STUDIO_WIDGET menu_screen_ola_menu_4_define =
2995 {
2996     "ola_menu_4",
2997     GX_TYPE_MENU,                            /* widget type                    */
2998     GX_ID_NONE,                              /* widget id                      */
2999     #if defined(GX_WIDGET_USER_DATA)
3000     0,                                       /* user data                      */
3001     #endif
3002     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3003     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3004     sizeof(GX_MENU),                         /* control block size             */
3005     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3006     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3007     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3008     gx_studio_menu_create,                   /* create function                */
3009     GX_NULL,                                 /* drawing function override      */
3010     GX_NULL,                                 /* event function override        */
3011     {20, 301, 148, 347},                     /* widget size                    */
3012     GX_NULL,                                 /* no next widget                 */
3013     &menu_screen_item_define,                /* child widget definition        */
3014     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_ola_menu_4), /* control block */
3015     (void *) &menu_screen_ola_menu_4_properties /* extended properties         */
3016 };
3017 
3018 GX_CONST GX_STUDIO_WIDGET menu_screen_ola_menu_3_define =
3019 {
3020     "ola_menu_3",
3021     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
3022     GX_ID_NONE,                              /* widget id                      */
3023     #if defined(GX_WIDGET_USER_DATA)
3024     0,                                       /* user data                      */
3025     #endif
3026     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3027     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3028     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
3029     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
3030     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
3031     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
3032     gx_studio_text_button_create,            /* create function                */
3033     GX_NULL,                                 /* drawing function override      */
3034     GX_NULL,                                 /* event function override        */
3035     {20, 250, 148, 300},                     /* widget size                    */
3036     &menu_screen_ola_menu_4_define,          /* next widget definition         */
3037     GX_NULL,                                 /* no child widgets               */
3038     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_ola_menu_3), /* control block */
3039     (void *) &menu_screen_ola_menu_3_properties /* extended properties         */
3040 };
3041 
3042 GX_CONST GX_STUDIO_WIDGET menu_screen_ola_menu_2_define =
3043 {
3044     "ola_menu_2",
3045     GX_TYPE_MENU,                            /* widget type                    */
3046     GX_ID_NONE,                              /* widget id                      */
3047     #if defined(GX_WIDGET_USER_DATA)
3048     0,                                       /* user data                      */
3049     #endif
3050     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3051     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3052     sizeof(GX_MENU),                         /* control block size             */
3053     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3054     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3055     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3056     gx_studio_menu_create,                   /* create function                */
3057     GX_NULL,                                 /* drawing function override      */
3058     GX_NULL,                                 /* event function override        */
3059     {20, 203, 148, 249},                     /* widget size                    */
3060     &menu_screen_ola_menu_3_define,          /* next widget definition         */
3061     &menu_screen_text_view_5_define,         /* child widget definition        */
3062     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_ola_menu_2), /* control block */
3063     (void *) &menu_screen_ola_menu_2_properties /* extended properties         */
3064 };
3065 
3066 GX_CONST GX_STUDIO_WIDGET menu_screen_ola_menu_1_define =
3067 {
3068     "ola_menu_1",
3069     GX_TYPE_MENU,                            /* widget type                    */
3070     GX_ID_NONE,                              /* widget id                      */
3071     #if defined(GX_WIDGET_USER_DATA)
3072     0,                                       /* user data                      */
3073     #endif
3074     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3075     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3076     sizeof(GX_MENU),                         /* control block size             */
3077     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3078     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3079     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3080     gx_studio_menu_create,                   /* create function                */
3081     GX_NULL,                                 /* drawing function override      */
3082     GX_NULL,                                 /* event function override        */
3083     {20, 108, 148, 154},                     /* widget size                    */
3084     &menu_screen_ola_menu_2_define,          /* next widget definition         */
3085     &menu_screen_prompt_25_define,           /* child widget definition        */
3086     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_ola_menu_1), /* control block */
3087     (void *) &menu_screen_ola_menu_1_properties /* extended properties         */
3088 };
3089 
3090 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_7_define =
3091 {
3092     "prompt_7",
3093     GX_TYPE_PROMPT,                          /* widget type                    */
3094     GX_ID_NONE,                              /* widget id                      */
3095     #if defined(GX_WIDGET_USER_DATA)
3096     0,                                       /* user data                      */
3097     #endif
3098     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3099     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3100     sizeof(GX_PROMPT),                       /* control block size             */
3101     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3102     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3103     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3104     gx_studio_prompt_create,                 /* create function                */
3105     GX_NULL,                                 /* drawing function override      */
3106     GX_NULL,                                 /* event function override        */
3107     {167, 135, 305, 158},                    /* widget size                    */
3108     GX_NULL,                                 /* no next widget                 */
3109     GX_NULL,                                 /* no child widgets               */
3110     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_7), /* control block */
3111     (void *) &menu_screen_prompt_7_properties /* extended properties           */
3112 };
3113 
3114 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_9_define =
3115 {
3116     "prompt_9",
3117     GX_TYPE_PIXELMAP_PROMPT,                 /* widget type                    */
3118     ID_MENU_2_1_PROMPT,                      /* widget id                      */
3119     #if defined(GX_WIDGET_USER_DATA)
3120     0,                                       /* user data                      */
3121     #endif
3122     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3123     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3124     sizeof(GX_PIXELMAP_PROMPT),              /* control block size             */
3125     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3126     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3127     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3128     gx_studio_pixelmap_prompt_create,        /* create function                */
3129     GX_NULL,                                 /* drawing function override      */
3130     GX_NULL,                                 /* event function override        */
3131     {168, 160, 304, 186},                    /* widget size                    */
3132     GX_NULL,                                 /* no next widget                 */
3133     GX_NULL,                                 /* no child widgets               */
3134     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_9), /* control block */
3135     (void *) &menu_screen_prompt_9_properties /* extended properties           */
3136 };
3137 
3138 GX_CONST GX_STUDIO_WIDGET menu_screen_numeric_pixelmap_prompt_2_define =
3139 {
3140     "numeric_pixelmap_prompt_2",
3141     GX_TYPE_NUMERIC_PIXELMAP_PROMPT,         /* widget type                    */
3142     GX_ID_NONE,                              /* widget id                      */
3143     #if defined(GX_WIDGET_USER_DATA)
3144     0,                                       /* user data                      */
3145     #endif
3146     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3147     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3148     sizeof(GX_NUMERIC_PIXELMAP_PROMPT),      /* control block size             */
3149     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3150     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3151     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3152     gx_studio_numeric_pixelmap_prompt_create,     /* create function           */
3153     GX_NULL,                                 /* drawing function override      */
3154     GX_NULL,                                 /* event function override        */
3155     {168, 211, 304, 233},                    /* widget size                    */
3156     GX_NULL,                                 /* no next widget                 */
3157     GX_NULL,                                 /* no child widgets               */
3158     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_numeric_pixelmap_prompt_2), /* control block */
3159     (void *) &menu_screen_numeric_pixelmap_prompt_2_properties /* extended properties */
3160 };
3161 
3162 GX_CONST GX_STUDIO_WIDGET menu_screen_ola_2_menu_2_2_define =
3163 {
3164     "ola_2_menu_2_2",
3165     GX_TYPE_MENU,                            /* widget type                    */
3166     GX_ID_NONE,                              /* widget id                      */
3167     #if defined(GX_WIDGET_USER_DATA)
3168     0,                                       /* user data                      */
3169     #endif
3170     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3171     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3172     sizeof(GX_MENU),                         /* control block size             */
3173     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3174     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3175     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3176     gx_studio_menu_create,                   /* create function                */
3177     GX_NULL,                                 /* drawing function override      */
3178     GX_NULL,                                 /* event function override        */
3179     {168, 187, 304, 210},                    /* widget size                    */
3180     GX_NULL,                                 /* no next widget                 */
3181     &menu_screen_numeric_pixelmap_prompt_2_define, /* child widget definition  */
3182     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_ola_2_menu_2_2), /* control block */
3183     (void *) &menu_screen_ola_2_menu_2_2_properties /* extended properties     */
3184 };
3185 
3186 GX_CONST GX_STUDIO_WIDGET menu_screen_ola_2_menu_2_1_define =
3187 {
3188     "ola_2_menu_2_1",
3189     GX_TYPE_MENU,                            /* widget type                    */
3190     GX_ID_NONE,                              /* widget id                      */
3191     #if defined(GX_WIDGET_USER_DATA)
3192     0,                                       /* user data                      */
3193     #endif
3194     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3195     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3196     sizeof(GX_MENU),                         /* control block size             */
3197     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3198     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3199     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3200     gx_studio_menu_create,                   /* create function                */
3201     GX_NULL,                                 /* drawing function override      */
3202     GX_NULL,                                 /* event function override        */
3203     {168, 136, 304, 159},                    /* widget size                    */
3204     &menu_screen_ola_2_menu_2_2_define,      /* next widget definition         */
3205     &menu_screen_prompt_9_define,            /* child widget definition        */
3206     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_ola_2_menu_2_1), /* control block */
3207     (void *) &menu_screen_ola_2_menu_2_1_properties /* extended properties     */
3208 };
3209 
3210 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_10_1_define =
3211 {
3212     "prompt_10_1",
3213     GX_TYPE_PROMPT,                          /* widget type                    */
3214     GX_ID_NONE,                              /* widget id                      */
3215     #if defined(GX_WIDGET_USER_DATA)
3216     0,                                       /* user data                      */
3217     #endif
3218     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3219     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3220     sizeof(GX_PROMPT),                       /* control block size             */
3221     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3222     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3223     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3224     gx_studio_prompt_create,                 /* create function                */
3225     GX_NULL,                                 /* drawing function override      */
3226     GX_NULL,                                 /* event function override        */
3227     {167, 234, 305, 260},                    /* widget size                    */
3228     GX_NULL,                                 /* no next widget                 */
3229     GX_NULL,                                 /* no child widgets               */
3230     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_10_1), /* control block */
3231     (void *) &menu_screen_prompt_10_1_properties /* extended properties        */
3232 };
3233 
3234 GX_CONST GX_STUDIO_WIDGET menu_screen_ola_2_menu_3_define =
3235 {
3236     "ola_2_menu_3",
3237     GX_TYPE_MENU,                            /* widget type                    */
3238     GX_ID_NONE,                              /* widget id                      */
3239     #if defined(GX_WIDGET_USER_DATA)
3240     0,                                       /* user data                      */
3241     #endif
3242     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3243     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3244     sizeof(GX_MENU),                         /* control block size             */
3245     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3246     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3247     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3248     gx_studio_menu_create,                   /* create function                */
3249     GX_NULL,                                 /* drawing function override      */
3250     GX_NULL,                                 /* event function override        */
3251     {167, 212, 305, 233},                    /* widget size                    */
3252     GX_NULL,                                 /* no next widget                 */
3253     &menu_screen_prompt_10_1_define,         /* child widget definition        */
3254     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_ola_2_menu_3), /* control block */
3255     (void *) &menu_screen_ola_2_menu_3_properties /* extended properties       */
3256 };
3257 
3258 GX_CONST GX_STUDIO_WIDGET menu_screen_ola_2_menu_2_define =
3259 {
3260     "ola_2_menu_2",
3261     GX_TYPE_ACCORDION_MENU,                  /* widget type                    */
3262     GX_ID_NONE,                              /* widget id                      */
3263     #if defined(GX_WIDGET_USER_DATA)
3264     0,                                       /* user data                      */
3265     #endif
3266     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED,   /* style flags                    */
3267     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3268     sizeof(GX_ACCORDION_MENU),               /* control block size             */
3269     GX_COLOR_ID_ORANGE,                      /* normal color id                */
3270     GX_COLOR_ID_ORANGE,                      /* selected color id              */
3271     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
3272     gx_studio_accordion_menu_create,         /* create function                */
3273     GX_NULL,                                 /* drawing function override      */
3274     GX_NULL,                                 /* event function override        */
3275     {167, 135, 305, 211},                    /* widget size                    */
3276     &menu_screen_ola_2_menu_3_define,        /* next widget definition         */
3277     &menu_screen_ola_2_menu_2_1_define,      /* child widget definition        */
3278     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_ola_2_menu_2), /* control block */
3279     (void *) GX_NULL                         /* no extended properties         */
3280 };
3281 
3282 GX_CONST GX_STUDIO_WIDGET menu_screen_ola_2_menu_1_define =
3283 {
3284     "ola_2_menu_1",
3285     GX_TYPE_MENU,                            /* widget type                    */
3286     GX_ID_NONE,                              /* widget id                      */
3287     #if defined(GX_WIDGET_USER_DATA)
3288     0,                                       /* user data                      */
3289     #endif
3290     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3291     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3292     sizeof(GX_MENU),                         /* control block size             */
3293     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3294     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3295     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3296     gx_studio_menu_create,                   /* create function                */
3297     GX_NULL,                                 /* drawing function override      */
3298     GX_NULL,                                 /* event function override        */
3299     {167, 109, 305, 134},                    /* widget size                    */
3300     &menu_screen_ola_2_menu_2_define,        /* next widget definition         */
3301     &menu_screen_prompt_7_define,            /* child widget definition        */
3302     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_ola_2_menu_1), /* control block */
3303     (void *) &menu_screen_ola_2_menu_1_properties /* extended properties       */
3304 };
3305 
3306 GX_CONST GX_STUDIO_WIDGET menu_screen_text_view_3_define =
3307 {
3308     "text_view_3",
3309     GX_TYPE_MULTI_LINE_TEXT_VIEW,            /* widget type                    */
3310     GX_ID_NONE,                              /* widget id                      */
3311     #if defined(GX_WIDGET_USER_DATA)
3312     0,                                       /* user data                      */
3313     #endif
3314     GX_STYLE_BORDER_THIN|GX_STYLE_DRAW_SELECTED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3315     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3316     sizeof(GX_MULTI_LINE_TEXT_VIEW),         /* control block size             */
3317     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* normal color id                */
3318     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
3319     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* disabled color id              */
3320     gx_studio_multi_line_text_view_create,     /* create function              */
3321     GX_NULL,                                 /* drawing function override      */
3322     GX_NULL,                                 /* event function override        */
3323     {318, 180, 445, 240},                    /* widget size                    */
3324     GX_NULL,                                 /* no next widget                 */
3325     GX_NULL,                                 /* no child widgets               */
3326     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_text_view_3), /* control block */
3327     (void *) &menu_screen_text_view_3_properties /* extended properties        */
3328 };
3329 
3330 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_15_1_define =
3331 {
3332     "prompt_15_1",
3333     GX_TYPE_PROMPT,                          /* widget type                    */
3334     GX_ID_NONE,                              /* widget id                      */
3335     #if defined(GX_WIDGET_USER_DATA)
3336     0,                                       /* user data                      */
3337     #endif
3338     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3339     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3340     sizeof(GX_PROMPT),                       /* control block size             */
3341     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* normal color id                */
3342     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
3343     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* disabled color id              */
3344     gx_studio_prompt_create,                 /* create function                */
3345     GX_NULL,                                 /* drawing function override      */
3346     GX_NULL,                                 /* event function override        */
3347     {318, 204, 445, 227},                    /* widget size                    */
3348     GX_NULL,                                 /* no next widget                 */
3349     GX_NULL,                                 /* no child widgets               */
3350     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_15_1), /* control block */
3351     (void *) &menu_screen_prompt_15_1_properties /* extended properties        */
3352 };
3353 
3354 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_1_2_define =
3355 {
3356     "mla_menu_1_2",
3357     GX_TYPE_MENU,                            /* widget type                    */
3358     GX_ID_NONE,                              /* widget id                      */
3359     #if defined(GX_WIDGET_USER_DATA)
3360     0,                                       /* user data                      */
3361     #endif
3362     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3363     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3364     sizeof(GX_MENU),                         /* control block size             */
3365     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* normal color id                */
3366     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
3367     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* disabled color id              */
3368     gx_studio_menu_create,                   /* create function                */
3369     GX_NULL,                                 /* drawing function override      */
3370     GX_NULL,                                 /* event function override        */
3371     {318, 180, 445, 203},                    /* widget size                    */
3372     GX_NULL,                                 /* no next widget                 */
3373     &menu_screen_prompt_15_1_define,         /* child widget definition        */
3374     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_1_2), /* control block */
3375     (void *) &menu_screen_mla_menu_1_2_properties /* extended properties       */
3376 };
3377 
3378 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_1_1_define =
3379 {
3380     "mla_menu_1_1",
3381     GX_TYPE_MENU,                            /* widget type                    */
3382     GX_ID_NONE,                              /* widget id                      */
3383     #if defined(GX_WIDGET_USER_DATA)
3384     0,                                       /* user data                      */
3385     #endif
3386     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3387     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3388     sizeof(GX_MENU),                         /* control block size             */
3389     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* normal color id                */
3390     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
3391     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* disabled color id              */
3392     gx_studio_menu_create,                   /* create function                */
3393     GX_NULL,                                 /* drawing function override      */
3394     GX_NULL,                                 /* event function override        */
3395     {318, 156, 445, 179},                    /* widget size                    */
3396     &menu_screen_mla_menu_1_2_define,        /* next widget definition         */
3397     &menu_screen_text_view_3_define,         /* child widget definition        */
3398     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_1_1), /* control block */
3399     (void *) &menu_screen_mla_menu_1_1_properties /* extended properties       */
3400 };
3401 
3402 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_1_accordion_define =
3403 {
3404     "mla_menu_1_accordion",
3405     GX_TYPE_ACCORDION_MENU,                  /* widget type                    */
3406     GX_ID_NONE,                              /* widget id                      */
3407     #if defined(GX_WIDGET_USER_DATA)
3408     0,                                       /* user data                      */
3409     #endif
3410     GX_STYLE_BORDER_NONE,                    /* style flags                    */
3411     0,                                       /* status flags                   */
3412     sizeof(GX_ACCORDION_MENU),               /* control block size             */
3413     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* normal color id                */
3414     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3415     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* disabled color id              */
3416     gx_studio_accordion_menu_create,         /* create function                */
3417     GX_NULL,                                 /* drawing function override      */
3418     GX_NULL,                                 /* event function override        */
3419     {318, 156, 445, 227},                    /* widget size                    */
3420     GX_NULL,                                 /* no next widget                 */
3421     &menu_screen_mla_menu_1_1_define,        /* child widget definition        */
3422     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_1_accordion), /* control block */
3423     (void *) GX_NULL                         /* no extended properties         */
3424 };
3425 
3426 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_11_1_define =
3427 {
3428     "prompt_11_1",
3429     GX_TYPE_PROMPT,                          /* widget type                    */
3430     GX_ID_NONE,                              /* widget id                      */
3431     #if defined(GX_WIDGET_USER_DATA)
3432     0,                                       /* user data                      */
3433     #endif
3434     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3435     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3436     sizeof(GX_PROMPT),                       /* control block size             */
3437     GX_COLOR_ID_ORANGE,                      /* normal color id                */
3438     GX_COLOR_ID_ORANGE,                      /* selected color id              */
3439     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
3440     gx_studio_prompt_create,                 /* create function                */
3441     GX_NULL,                                 /* drawing function override      */
3442     GX_NULL,                                 /* event function override        */
3443     {319, 252, 445, 275},                    /* widget size                    */
3444     GX_NULL,                                 /* no next widget                 */
3445     GX_NULL,                                 /* no child widgets               */
3446     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_11_1), /* control block */
3447     (void *) &menu_screen_prompt_11_1_properties /* extended properties        */
3448 };
3449 
3450 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_12_1_define =
3451 {
3452     "prompt_12_1",
3453     GX_TYPE_PROMPT,                          /* widget type                    */
3454     GX_ID_NONE,                              /* widget id                      */
3455     #if defined(GX_WIDGET_USER_DATA)
3456     0,                                       /* user data                      */
3457     #endif
3458     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3459     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3460     sizeof(GX_PROMPT),                       /* control block size             */
3461     GX_COLOR_ID_ORANGE,                      /* normal color id                */
3462     GX_COLOR_ID_ORANGE,                      /* selected color id              */
3463     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
3464     gx_studio_prompt_create,                 /* create function                */
3465     GX_NULL,                                 /* drawing function override      */
3466     GX_NULL,                                 /* event function override        */
3467     {319, 276, 445, 299},                    /* widget size                    */
3468     GX_NULL,                                 /* no next widget                 */
3469     GX_NULL,                                 /* no child widgets               */
3470     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_12_1), /* control block */
3471     (void *) &menu_screen_prompt_12_1_properties /* extended properties        */
3472 };
3473 
3474 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_2_1_2_define =
3475 {
3476     "mla_menu_2_1_2",
3477     GX_TYPE_MENU,                            /* widget type                    */
3478     GX_ID_NONE,                              /* widget id                      */
3479     #if defined(GX_WIDGET_USER_DATA)
3480     0,                                       /* user data                      */
3481     #endif
3482     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3483     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3484     sizeof(GX_MENU),                         /* control block size             */
3485     GX_COLOR_ID_ORANGE,                      /* normal color id                */
3486     GX_COLOR_ID_ORANGE,                      /* selected color id              */
3487     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
3488     gx_studio_menu_create,                   /* create function                */
3489     GX_NULL,                                 /* drawing function override      */
3490     GX_NULL,                                 /* event function override        */
3491     {319, 252, 445, 275},                    /* widget size                    */
3492     GX_NULL,                                 /* no next widget                 */
3493     &menu_screen_prompt_12_1_define,         /* child widget definition        */
3494     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_2_1_2), /* control block */
3495     (void *) &menu_screen_mla_menu_2_1_2_properties /* extended properties     */
3496 };
3497 
3498 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_2_1_1_define =
3499 {
3500     "mla_menu_2_1_1",
3501     GX_TYPE_MENU,                            /* widget type                    */
3502     GX_ID_NONE,                              /* widget id                      */
3503     #if defined(GX_WIDGET_USER_DATA)
3504     0,                                       /* user data                      */
3505     #endif
3506     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3507     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3508     sizeof(GX_MENU),                         /* control block size             */
3509     GX_COLOR_ID_ORANGE,                      /* normal color id                */
3510     GX_COLOR_ID_ORANGE,                      /* selected color id              */
3511     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
3512     gx_studio_menu_create,                   /* create function                */
3513     GX_NULL,                                 /* drawing function override      */
3514     GX_NULL,                                 /* event function override        */
3515     {319, 228, 445, 251},                    /* widget size                    */
3516     &menu_screen_mla_menu_2_1_2_define,      /* next widget definition         */
3517     &menu_screen_prompt_11_1_define,         /* child widget definition        */
3518     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_2_1_1), /* control block */
3519     (void *) &menu_screen_mla_menu_2_1_1_properties /* extended properties     */
3520 };
3521 
3522 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_2_1_accordion_define =
3523 {
3524     "mla_menu_2_1_accordion",
3525     GX_TYPE_ACCORDION_MENU,                  /* widget type                    */
3526     GX_ID_NONE,                              /* widget id                      */
3527     #if defined(GX_WIDGET_USER_DATA)
3528     0,                                       /* user data                      */
3529     #endif
3530     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED,   /* style flags                    */
3531     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3532     sizeof(GX_ACCORDION_MENU),               /* control block size             */
3533     GX_COLOR_ID_ORANGE,                      /* normal color id                */
3534     GX_COLOR_ID_ORANGE,                      /* selected color id              */
3535     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
3536     gx_studio_accordion_menu_create,         /* create function                */
3537     GX_NULL,                                 /* drawing function override      */
3538     GX_NULL,                                 /* event function override        */
3539     {318, 227, 446, 300},                    /* widget size                    */
3540     GX_NULL,                                 /* no next widget                 */
3541     &menu_screen_mla_menu_2_1_1_define,      /* child widget definition        */
3542     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_2_1_accordion), /* control block */
3543     (void *) GX_NULL                         /* no extended properties         */
3544 };
3545 
3546 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_13_1_define =
3547 {
3548     "prompt_13_1",
3549     GX_TYPE_PROMPT,                          /* widget type                    */
3550     GX_ID_NONE,                              /* widget id                      */
3551     #if defined(GX_WIDGET_USER_DATA)
3552     0,                                       /* user data                      */
3553     #endif
3554     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3555     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3556     sizeof(GX_PROMPT),                       /* control block size             */
3557     GX_COLOR_ID_ORANGE,                      /* normal color id                */
3558     GX_COLOR_ID_ORANGE,                      /* selected color id              */
3559     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
3560     gx_studio_prompt_create,                 /* create function                */
3561     GX_NULL,                                 /* drawing function override      */
3562     GX_NULL,                                 /* event function override        */
3563     {319, 276, 444, 299},                    /* widget size                    */
3564     GX_NULL,                                 /* no next widget                 */
3565     GX_NULL,                                 /* no child widgets               */
3566     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_13_1), /* control block */
3567     (void *) &menu_screen_prompt_13_1_properties /* extended properties        */
3568 };
3569 
3570 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_14_1_define =
3571 {
3572     "prompt_14_1",
3573     GX_TYPE_PROMPT,                          /* widget type                    */
3574     GX_ID_NONE,                              /* widget id                      */
3575     #if defined(GX_WIDGET_USER_DATA)
3576     0,                                       /* user data                      */
3577     #endif
3578     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3579     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3580     sizeof(GX_PROMPT),                       /* control block size             */
3581     GX_COLOR_ID_ORANGE,                      /* normal color id                */
3582     GX_COLOR_ID_ORANGE,                      /* selected color id              */
3583     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
3584     gx_studio_prompt_create,                 /* create function                */
3585     GX_NULL,                                 /* drawing function override      */
3586     GX_NULL,                                 /* event function override        */
3587     {319, 324, 444, 347},                    /* widget size                    */
3588     GX_NULL,                                 /* no next widget                 */
3589     GX_NULL,                                 /* no child widgets               */
3590     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_14_1), /* control block */
3591     (void *) &menu_screen_prompt_14_1_properties /* extended properties        */
3592 };
3593 
3594 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_2_2_2_define =
3595 {
3596     "mla_menu_2_2_2",
3597     GX_TYPE_MENU,                            /* widget type                    */
3598     GX_ID_NONE,                              /* widget id                      */
3599     #if defined(GX_WIDGET_USER_DATA)
3600     0,                                       /* user data                      */
3601     #endif
3602     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3603     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3604     sizeof(GX_MENU),                         /* control block size             */
3605     GX_COLOR_ID_ORANGE,                      /* normal color id                */
3606     GX_COLOR_ID_ORANGE,                      /* selected color id              */
3607     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
3608     gx_studio_menu_create,                   /* create function                */
3609     GX_NULL,                                 /* drawing function override      */
3610     GX_NULL,                                 /* event function override        */
3611     {319, 300, 444, 323},                    /* widget size                    */
3612     GX_NULL,                                 /* no next widget                 */
3613     &menu_screen_prompt_14_1_define,         /* child widget definition        */
3614     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_2_2_2), /* control block */
3615     (void *) &menu_screen_mla_menu_2_2_2_properties /* extended properties     */
3616 };
3617 
3618 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_2_2_1_define =
3619 {
3620     "mla_menu_2_2_1",
3621     GX_TYPE_MENU,                            /* widget type                    */
3622     GX_ID_NONE,                              /* widget id                      */
3623     #if defined(GX_WIDGET_USER_DATA)
3624     0,                                       /* user data                      */
3625     #endif
3626     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3627     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3628     sizeof(GX_MENU),                         /* control block size             */
3629     GX_COLOR_ID_ORANGE,                      /* normal color id                */
3630     GX_COLOR_ID_ORANGE,                      /* selected color id              */
3631     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
3632     gx_studio_menu_create,                   /* create function                */
3633     GX_NULL,                                 /* drawing function override      */
3634     GX_NULL,                                 /* event function override        */
3635     {319, 252, 444, 275},                    /* widget size                    */
3636     &menu_screen_mla_menu_2_2_2_define,      /* next widget definition         */
3637     &menu_screen_prompt_13_1_define,         /* child widget definition        */
3638     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_2_2_1), /* control block */
3639     (void *) &menu_screen_mla_menu_2_2_1_properties /* extended properties     */
3640 };
3641 
3642 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_2_2_accordion_define =
3643 {
3644     "mla_menu_2_2_accordion",
3645     GX_TYPE_ACCORDION_MENU,                  /* widget type                    */
3646     GX_ID_NONE,                              /* widget id                      */
3647     #if defined(GX_WIDGET_USER_DATA)
3648     0,                                       /* user data                      */
3649     #endif
3650     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED,   /* style flags                    */
3651     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3652     sizeof(GX_ACCORDION_MENU),               /* control block size             */
3653     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3654     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3655     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3656     gx_studio_accordion_menu_create,         /* create function                */
3657     GX_NULL,                                 /* drawing function override      */
3658     GX_NULL,                                 /* event function override        */
3659     {318, 251, 445, 324},                    /* widget size                    */
3660     GX_NULL,                                 /* no next widget                 */
3661     &menu_screen_mla_menu_2_2_1_define,      /* child widget definition        */
3662     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_2_2_accordion), /* control block */
3663     (void *) GX_NULL                         /* no extended properties         */
3664 };
3665 
3666 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_2_2_define =
3667 {
3668     "mla_menu_2_2",
3669     GX_TYPE_MENU,                            /* widget type                    */
3670     GX_ID_NONE,                              /* widget id                      */
3671     #if defined(GX_WIDGET_USER_DATA)
3672     0,                                       /* user data                      */
3673     #endif
3674     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3675     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3676     sizeof(GX_MENU),                         /* control block size             */
3677     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* normal color id                */
3678     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
3679     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* disabled color id              */
3680     gx_studio_menu_create,                   /* create function                */
3681     GX_NULL,                                 /* drawing function override      */
3682     GX_NULL,                                 /* event function override        */
3683     {318, 227, 446, 250},                    /* widget size                    */
3684     GX_NULL,                                 /* no next widget                 */
3685     &menu_screen_mla_menu_2_2_accordion_define, /* child widget definition     */
3686     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_2_2), /* control block */
3687     (void *) &menu_screen_mla_menu_2_2_properties /* extended properties       */
3688 };
3689 
3690 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_2_1_define =
3691 {
3692     "mla_menu_2_1",
3693     GX_TYPE_MENU,                            /* widget type                    */
3694     GX_ID_NONE,                              /* widget id                      */
3695     #if defined(GX_WIDGET_USER_DATA)
3696     0,                                       /* user data                      */
3697     #endif
3698     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3699     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3700     sizeof(GX_MENU),                         /* control block size             */
3701     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* normal color id                */
3702     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
3703     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* disabled color id              */
3704     gx_studio_menu_create,                   /* create function                */
3705     GX_NULL,                                 /* drawing function override      */
3706     GX_NULL,                                 /* event function override        */
3707     {318, 203, 446, 226},                    /* widget size                    */
3708     &menu_screen_mla_menu_2_2_define,        /* next widget definition         */
3709     &menu_screen_mla_menu_2_1_accordion_define, /* child widget definition     */
3710     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_2_1), /* control block */
3711     (void *) &menu_screen_mla_menu_2_1_properties /* extended properties       */
3712 };
3713 
3714 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_2_accordion_define =
3715 {
3716     "mla_menu_2_accordion",
3717     GX_TYPE_ACCORDION_MENU,                  /* widget type                    */
3718     GX_ID_NONE,                              /* widget id                      */
3719     #if defined(GX_WIDGET_USER_DATA)
3720     0,                                       /* user data                      */
3721     #endif
3722     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
3723     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3724     sizeof(GX_ACCORDION_MENU),               /* control block size             */
3725     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* normal color id                */
3726     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
3727     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* disabled color id              */
3728     gx_studio_accordion_menu_create,         /* create function                */
3729     GX_NULL,                                 /* drawing function override      */
3730     GX_NULL,                                 /* event function override        */
3731     {318, 203, 446, 324},                    /* widget size                    */
3732     GX_NULL,                                 /* no next widget                 */
3733     &menu_screen_mla_menu_2_1_define,        /* child widget definition        */
3734     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_2_accordion), /* control block */
3735     (void *) GX_NULL                         /* no extended properties         */
3736 };
3737 
3738 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_3_icon_define =
3739 {
3740     "mla_menu_3_icon",
3741     GX_TYPE_ICON,                            /* widget type                    */
3742     GX_ID_NONE,                              /* widget id                      */
3743     #if defined(GX_WIDGET_USER_DATA)
3744     0,                                       /* user data                      */
3745     #endif
3746     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3747     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3748     sizeof(GX_ICON),                         /* control block size             */
3749     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3750     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3751     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3752     gx_studio_icon_create,                   /* create function                */
3753     GX_NULL,                                 /* drawing function override      */
3754     GX_NULL,                                 /* event function override        */
3755     {403, 329, 440, 366},                    /* widget size                    */
3756     GX_NULL,                                 /* no next widget                 */
3757     GX_NULL,                                 /* no child widgets               */
3758     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_3_icon), /* control block */
3759     (void *) &menu_screen_mla_menu_3_icon_properties /* extended properties    */
3760 };
3761 
3762 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_3_item_2_define =
3763 {
3764     "mla_menu_3_item_2",
3765     GX_TYPE_PROMPT,                          /* widget type                    */
3766     GX_ID_NONE,                              /* widget id                      */
3767     #if defined(GX_WIDGET_USER_DATA)
3768     0,                                       /* user data                      */
3769     #endif
3770     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3771     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3772     sizeof(GX_PROMPT),                       /* control block size             */
3773     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3774     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3775     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3776     gx_studio_prompt_create,                 /* create function                */
3777     GX_NULL,                                 /* drawing function override      */
3778     GX_NULL,                                 /* event function override        */
3779     {318, 396, 445, 419},                    /* widget size                    */
3780     &menu_screen_mla_menu_3_icon_define,     /* next widget definition         */
3781     GX_NULL,                                 /* no child widgets               */
3782     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_3_item_2), /* control block */
3783     (void *) &menu_screen_mla_menu_3_item_2_properties /* extended properties  */
3784 };
3785 
3786 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_3_item_1_define =
3787 {
3788     "mla_menu_3_item_1",
3789     GX_TYPE_PROMPT,                          /* widget type                    */
3790     GX_ID_NONE,                              /* widget id                      */
3791     #if defined(GX_WIDGET_USER_DATA)
3792     0,                                       /* user data                      */
3793     #endif
3794     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3795     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3796     sizeof(GX_PROMPT),                       /* control block size             */
3797     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3798     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3799     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3800     gx_studio_prompt_create,                 /* create function                */
3801     GX_NULL,                                 /* drawing function override      */
3802     GX_NULL,                                 /* event function override        */
3803     {318, 372, 445, 395},                    /* widget size                    */
3804     &menu_screen_mla_menu_3_item_2_define,   /* next widget definition         */
3805     GX_NULL,                                 /* no child widgets               */
3806     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_3_item_1), /* control block */
3807     (void *) &menu_screen_mla_menu_3_item_1_properties /* extended properties  */
3808 };
3809 
3810 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_3_define =
3811 {
3812     "mla_menu_3",
3813     GX_TYPE_MENU,                            /* widget type                    */
3814     GX_ID_NONE,                              /* widget id                      */
3815     #if defined(GX_WIDGET_USER_DATA)
3816     0,                                       /* user data                      */
3817     #endif
3818     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3819     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3820     sizeof(GX_MENU),                         /* control block size             */
3821     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3822     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3823     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3824     gx_studio_menu_create,                   /* create function                */
3825     GX_NULL,                                 /* drawing function override      */
3826     GX_NULL,                                 /* event function override        */
3827     {318, 325, 446, 371},                    /* widget size                    */
3828     GX_NULL,                                 /* no next widget                 */
3829     &menu_screen_mla_menu_3_item_1_define,   /* child widget definition        */
3830     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_3), /* control block */
3831     (void *) &menu_screen_mla_menu_3_properties /* extended properties         */
3832 };
3833 
3834 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_2_define =
3835 {
3836     "mla_menu_2",
3837     GX_TYPE_MENU,                            /* widget type                    */
3838     GX_ID_NONE,                              /* widget id                      */
3839     #if defined(GX_WIDGET_USER_DATA)
3840     0,                                       /* user data                      */
3841     #endif
3842     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3843     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3844     sizeof(GX_MENU),                         /* control block size             */
3845     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3846     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3847     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3848     gx_studio_menu_create,                   /* create function                */
3849     GX_NULL,                                 /* drawing function override      */
3850     GX_NULL,                                 /* event function override        */
3851     {318, 156, 446, 202},                    /* widget size                    */
3852     &menu_screen_mla_menu_3_define,          /* next widget definition         */
3853     &menu_screen_mla_menu_2_accordion_define, /* child widget definition       */
3854     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_2), /* control block */
3855     (void *) &menu_screen_mla_menu_2_properties /* extended properties         */
3856 };
3857 
3858 GX_CONST GX_STUDIO_WIDGET menu_screen_mla_menu_1_define =
3859 {
3860     "mla_menu_1",
3861     GX_TYPE_MENU,                            /* widget type                    */
3862     GX_ID_NONE,                              /* widget id                      */
3863     #if defined(GX_WIDGET_USER_DATA)
3864     0,                                       /* user data                      */
3865     #endif
3866     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3867     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3868     sizeof(GX_MENU),                         /* control block size             */
3869     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3870     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3871     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3872     gx_studio_menu_create,                   /* create function                */
3873     GX_NULL,                                 /* drawing function override      */
3874     GX_NULL,                                 /* event function override        */
3875     {318, 109, 446, 155},                    /* widget size                    */
3876     &menu_screen_mla_menu_2_define,          /* next widget definition         */
3877     &menu_screen_mla_menu_1_accordion_define, /* child widget definition       */
3878     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_mla_menu_1), /* control block */
3879     (void *) &menu_screen_mla_menu_1_properties /* extended properties         */
3880 };
3881 
3882 GX_CONST GX_STUDIO_WIDGET menu_screen_icon_3_define =
3883 {
3884     "icon_3",
3885     GX_TYPE_ICON,                            /* widget type                    */
3886     GX_ID_NONE,                              /* widget id                      */
3887     #if defined(GX_WIDGET_USER_DATA)
3888     0,                                       /* user data                      */
3889     #endif
3890     GX_STYLE_BORDER_NONE|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3891     0,                                       /* status flags                   */
3892     sizeof(GX_ICON),                         /* control block size             */
3893     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3894     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3895     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3896     gx_studio_icon_create,                   /* create function                */
3897     GX_NULL,                                 /* drawing function override      */
3898     GX_NULL,                                 /* event function override        */
3899     {488, 106, 505, 123},                    /* widget size                    */
3900     GX_NULL,                                 /* no next widget                 */
3901     GX_NULL,                                 /* no child widgets               */
3902     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_icon_3), /* control block  */
3903     (void *) &menu_screen_icon_3_properties  /* extended properties            */
3904 };
3905 
3906 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_1_2_define =
3907 {
3908     "tree_menu_1_2",
3909     GX_TYPE_PROMPT,                          /* widget type                    */
3910     GX_ID_NONE,                              /* widget id                      */
3911     #if defined(GX_WIDGET_USER_DATA)
3912     0,                                       /* user data                      */
3913     #endif
3914     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3915     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3916     sizeof(GX_PROMPT),                       /* control block size             */
3917     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3918     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3919     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3920     gx_studio_prompt_create,                 /* create function                */
3921     GX_NULL,                                 /* drawing function override      */
3922     GX_NULL,                                 /* event function override        */
3923     {508, 151, 587, 174},                    /* widget size                    */
3924     &menu_screen_icon_3_define,              /* next widget definition         */
3925     GX_NULL,                                 /* no child widgets               */
3926     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_1_2), /* control block */
3927     (void *) &menu_screen_tree_menu_1_2_properties /* extended properties      */
3928 };
3929 
3930 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_1_1_define =
3931 {
3932     "tree_menu_1_1",
3933     GX_TYPE_PROMPT,                          /* widget type                    */
3934     GX_ID_NONE,                              /* widget id                      */
3935     #if defined(GX_WIDGET_USER_DATA)
3936     0,                                       /* user data                      */
3937     #endif
3938     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3939     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3940     sizeof(GX_PROMPT),                       /* control block size             */
3941     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3942     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3943     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3944     gx_studio_prompt_create,                 /* create function                */
3945     GX_NULL,                                 /* drawing function override      */
3946     GX_NULL,                                 /* event function override        */
3947     {508, 127, 587, 150},                    /* widget size                    */
3948     &menu_screen_tree_menu_1_2_define,       /* next widget definition         */
3949     GX_NULL,                                 /* no child widgets               */
3950     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_1_1), /* control block */
3951     (void *) &menu_screen_tree_menu_1_1_properties /* extended properties      */
3952 };
3953 
3954 GX_CONST GX_STUDIO_WIDGET menu_screen_icon_6_define =
3955 {
3956     "icon_6",
3957     GX_TYPE_ICON,                            /* widget type                    */
3958     GX_ID_NONE,                              /* widget id                      */
3959     #if defined(GX_WIDGET_USER_DATA)
3960     0,                                       /* user data                      */
3961     #endif
3962     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3963     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3964     sizeof(GX_ICON),                         /* control block size             */
3965     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3966     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3967     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3968     gx_studio_icon_create,                   /* create function                */
3969     GX_NULL,                                 /* drawing function override      */
3970     GX_NULL,                                 /* event function override        */
3971     {510, 202, 527, 219},                    /* widget size                    */
3972     GX_NULL,                                 /* no next widget                 */
3973     GX_NULL,                                 /* no child widgets               */
3974     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_icon_6), /* control block  */
3975     (void *) &menu_screen_icon_6_properties  /* extended properties            */
3976 };
3977 
3978 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_2_1_2_define =
3979 {
3980     "tree_menu_2_1_2",
3981     GX_TYPE_PROMPT,                          /* widget type                    */
3982     GX_ID_NONE,                              /* widget id                      */
3983     #if defined(GX_WIDGET_USER_DATA)
3984     0,                                       /* user data                      */
3985     #endif
3986     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
3987     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3988     sizeof(GX_PROMPT),                       /* control block size             */
3989     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3990     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3991     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
3992     gx_studio_prompt_create,                 /* create function                */
3993     GX_NULL,                                 /* drawing function override      */
3994     GX_NULL,                                 /* event function override        */
3995     {530, 247, 609, 270},                    /* widget size                    */
3996     &menu_screen_icon_6_define,              /* next widget definition         */
3997     GX_NULL,                                 /* no child widgets               */
3998     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_2_1_2), /* control block */
3999     (void *) &menu_screen_tree_menu_2_1_2_properties /* extended properties    */
4000 };
4001 
4002 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_2_1_1_define =
4003 {
4004     "tree_menu_2_1_1",
4005     GX_TYPE_PROMPT,                          /* widget type                    */
4006     GX_ID_NONE,                              /* widget id                      */
4007     #if defined(GX_WIDGET_USER_DATA)
4008     0,                                       /* user data                      */
4009     #endif
4010     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
4011     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4012     sizeof(GX_PROMPT),                       /* control block size             */
4013     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4014     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4015     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4016     gx_studio_prompt_create,                 /* create function                */
4017     GX_NULL,                                 /* drawing function override      */
4018     GX_NULL,                                 /* event function override        */
4019     {530, 223, 609, 246},                    /* widget size                    */
4020     &menu_screen_tree_menu_2_1_2_define,     /* next widget definition         */
4021     GX_NULL,                                 /* no child widgets               */
4022     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_2_1_1), /* control block */
4023     (void *) &menu_screen_tree_menu_2_1_1_properties /* extended properties    */
4024 };
4025 
4026 GX_CONST GX_STUDIO_WIDGET menu_screen_icon_8_define =
4027 {
4028     "icon_8",
4029     GX_TYPE_ICON,                            /* widget type                    */
4030     GX_ID_NONE,                              /* widget id                      */
4031     #if defined(GX_WIDGET_USER_DATA)
4032     0,                                       /* user data                      */
4033     #endif
4034     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
4035     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4036     sizeof(GX_ICON),                         /* control block size             */
4037     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4038     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4039     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4040     gx_studio_icon_create,                   /* create function                */
4041     GX_NULL,                                 /* drawing function override      */
4042     GX_NULL,                                 /* event function override        */
4043     {533, 250, 550, 267},                    /* widget size                    */
4044     GX_NULL,                                 /* no next widget                 */
4045     GX_NULL,                                 /* no child widgets               */
4046     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_icon_8), /* control block  */
4047     (void *) &menu_screen_icon_8_properties  /* extended properties            */
4048 };
4049 
4050 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_2_2_1_2_define =
4051 {
4052     "tree_menu_2_2_1_2",
4053     GX_TYPE_PROMPT,                          /* widget type                    */
4054     GX_ID_NONE,                              /* widget id                      */
4055     #if defined(GX_WIDGET_USER_DATA)
4056     0,                                       /* user data                      */
4057     #endif
4058     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
4059     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4060     sizeof(GX_PROMPT),                       /* control block size             */
4061     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4062     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4063     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4064     gx_studio_prompt_create,                 /* create function                */
4065     GX_NULL,                                 /* drawing function override      */
4066     GX_NULL,                                 /* event function override        */
4067     {552, 295, 804, 318},                    /* widget size                    */
4068     &menu_screen_icon_8_define,              /* next widget definition         */
4069     GX_NULL,                                 /* no child widgets               */
4070     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_2_2_1_2), /* control block */
4071     (void *) &menu_screen_tree_menu_2_2_1_2_properties /* extended properties  */
4072 };
4073 
4074 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_2_2_1_1_define =
4075 {
4076     "tree_menu_2_2_1_1",
4077     GX_TYPE_PROMPT,                          /* widget type                    */
4078     GX_ID_NONE,                              /* widget id                      */
4079     #if defined(GX_WIDGET_USER_DATA)
4080     0,                                       /* user data                      */
4081     #endif
4082     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
4083     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4084     sizeof(GX_PROMPT),                       /* control block size             */
4085     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4086     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4087     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4088     gx_studio_prompt_create,                 /* create function                */
4089     GX_NULL,                                 /* drawing function override      */
4090     GX_NULL,                                 /* event function override        */
4091     {552, 271, 785, 294},                    /* widget size                    */
4092     &menu_screen_tree_menu_2_2_1_2_define,   /* next widget definition         */
4093     GX_NULL,                                 /* no child widgets               */
4094     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_2_2_1_1), /* control block */
4095     (void *) &menu_screen_tree_menu_2_2_1_1_properties /* extended properties  */
4096 };
4097 
4098 GX_CONST GX_STUDIO_WIDGET menu_screen_icon_7_define =
4099 {
4100     "icon_7",
4101     GX_TYPE_ICON,                            /* widget type                    */
4102     GX_ID_NONE,                              /* widget id                      */
4103     #if defined(GX_WIDGET_USER_DATA)
4104     0,                                       /* user data                      */
4105     #endif
4106     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
4107     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4108     sizeof(GX_ICON),                         /* control block size             */
4109     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4110     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4111     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4112     gx_studio_icon_create,                   /* create function                */
4113     GX_NULL,                                 /* drawing function override      */
4114     GX_NULL,                                 /* event function override        */
4115     {511, 226, 528, 243},                    /* widget size                    */
4116     GX_NULL,                                 /* no next widget                 */
4117     GX_NULL,                                 /* no child widgets               */
4118     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_icon_7), /* control block  */
4119     (void *) &menu_screen_icon_7_properties  /* extended properties            */
4120 };
4121 
4122 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_2_2_1_define =
4123 {
4124     "tree_menu_2_2_1",
4125     GX_TYPE_MENU,                            /* widget type                    */
4126     GX_ID_NONE,                              /* widget id                      */
4127     #if defined(GX_WIDGET_USER_DATA)
4128     0,                                       /* user data                      */
4129     #endif
4130     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
4131     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4132     sizeof(GX_MENU),                         /* control block size             */
4133     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4134     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4135     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4136     gx_studio_menu_create,                   /* create function                */
4137     GX_NULL,                                 /* drawing function override      */
4138     GX_NULL,                                 /* event function override        */
4139     {530, 247, 629, 270},                    /* widget size                    */
4140     &menu_screen_icon_7_define,              /* next widget definition         */
4141     &menu_screen_tree_menu_2_2_1_1_define,   /* child widget definition        */
4142     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_2_2_1), /* control block */
4143     (void *) &menu_screen_tree_menu_2_2_1_properties /* extended properties    */
4144 };
4145 
4146 GX_CONST GX_STUDIO_WIDGET menu_screen_icon_4_define =
4147 {
4148     "icon_4",
4149     GX_TYPE_ICON,                            /* widget type                    */
4150     GX_ID_NONE,                              /* widget id                      */
4151     #if defined(GX_WIDGET_USER_DATA)
4152     0,                                       /* user data                      */
4153     #endif
4154     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
4155     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4156     sizeof(GX_ICON),                         /* control block size             */
4157     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4158     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4159     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4160     gx_studio_icon_create,                   /* create function                */
4161     GX_NULL,                                 /* drawing function override      */
4162     GX_NULL,                                 /* event function override        */
4163     {488, 178, 505, 195},                    /* widget size                    */
4164     GX_NULL,                                 /* no next widget                 */
4165     GX_NULL,                                 /* no child widgets               */
4166     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_icon_4), /* control block  */
4167     (void *) &menu_screen_icon_4_properties  /* extended properties            */
4168 };
4169 
4170 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_2_2_define =
4171 {
4172     "tree_menu_2_2",
4173     GX_TYPE_MENU,                            /* widget type                    */
4174     GX_ID_NONE,                              /* widget id                      */
4175     #if defined(GX_WIDGET_USER_DATA)
4176     0,                                       /* user data                      */
4177     #endif
4178     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
4179     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4180     sizeof(GX_MENU),                         /* control block size             */
4181     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4182     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4183     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4184     gx_studio_menu_create,                   /* create function                */
4185     GX_NULL,                                 /* drawing function override      */
4186     GX_NULL,                                 /* event function override        */
4187     {508, 223, 607, 246},                    /* widget size                    */
4188     &menu_screen_icon_4_define,              /* next widget definition         */
4189     &menu_screen_tree_menu_2_2_1_define,     /* child widget definition        */
4190     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_2_2), /* control block */
4191     (void *) &menu_screen_tree_menu_2_2_properties /* extended properties      */
4192 };
4193 
4194 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_2_1_define =
4195 {
4196     "tree_menu_2_1",
4197     GX_TYPE_MENU,                            /* widget type                    */
4198     GX_ID_NONE,                              /* widget id                      */
4199     #if defined(GX_WIDGET_USER_DATA)
4200     0,                                       /* user data                      */
4201     #endif
4202     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
4203     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4204     sizeof(GX_MENU),                         /* control block size             */
4205     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4206     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4207     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4208     gx_studio_menu_create,                   /* create function                */
4209     GX_NULL,                                 /* drawing function override      */
4210     GX_NULL,                                 /* event function override        */
4211     {508, 199, 607, 222},                    /* widget size                    */
4212     &menu_screen_tree_menu_2_2_define,       /* next widget definition         */
4213     &menu_screen_tree_menu_2_1_1_define,     /* child widget definition        */
4214     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_2_1), /* control block */
4215     (void *) &menu_screen_tree_menu_2_1_properties /* extended properties      */
4216 };
4217 
4218 GX_CONST GX_STUDIO_WIDGET menu_screen_icon_5_define =
4219 {
4220     "icon_5",
4221     GX_TYPE_ICON,                            /* widget type                    */
4222     GX_ID_NONE,                              /* widget id                      */
4223     #if defined(GX_WIDGET_USER_DATA)
4224     0,                                       /* user data                      */
4225     #endif
4226     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
4227     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4228     sizeof(GX_ICON),                         /* control block size             */
4229     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4230     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4231     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4232     gx_studio_icon_create,                   /* create function                */
4233     GX_NULL,                                 /* drawing function override      */
4234     GX_NULL,                                 /* event function override        */
4235     {488, 202, 505, 219},                    /* widget size                    */
4236     GX_NULL,                                 /* no next widget                 */
4237     GX_NULL,                                 /* no child widgets               */
4238     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_icon_5), /* control block  */
4239     (void *) &menu_screen_icon_5_properties  /* extended properties            */
4240 };
4241 
4242 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_3_1_define =
4243 {
4244     "tree_menu_3_1",
4245     GX_TYPE_PROMPT,                          /* widget type                    */
4246     GX_ID_NONE,                              /* widget id                      */
4247     #if defined(GX_WIDGET_USER_DATA)
4248     0,                                       /* user data                      */
4249     #endif
4250     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
4251     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4252     sizeof(GX_PROMPT),                       /* control block size             */
4253     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4254     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4255     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4256     gx_studio_prompt_create,                 /* create function                */
4257     GX_NULL,                                 /* drawing function override      */
4258     GX_NULL,                                 /* event function override        */
4259     {508, 223, 740, 246},                    /* widget size                    */
4260     &menu_screen_icon_5_define,              /* next widget definition         */
4261     GX_NULL,                                 /* no child widgets               */
4262     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_3_1), /* control block */
4263     (void *) &menu_screen_tree_menu_3_1_properties /* extended properties      */
4264 };
4265 
4266 GX_CONST GX_STUDIO_WIDGET menu_screen_icon_9_define =
4267 {
4268     "icon_9",
4269     GX_TYPE_ICON,                            /* widget type                    */
4270     GX_ID_NONE,                              /* widget id                      */
4271     #if defined(GX_WIDGET_USER_DATA)
4272     0,                                       /* user data                      */
4273     #endif
4274     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
4275     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4276     sizeof(GX_ICON),                         /* control block size             */
4277     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4278     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4279     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4280     gx_studio_icon_create,                   /* create function                */
4281     GX_NULL,                                 /* drawing function override      */
4282     GX_NULL,                                 /* event function override        */
4283     {489, 274, 506, 291},                    /* widget size                    */
4284     GX_NULL,                                 /* no next widget                 */
4285     GX_NULL,                                 /* no child widgets               */
4286     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_icon_9), /* control block  */
4287     (void *) &menu_screen_icon_9_properties  /* extended properties            */
4288 };
4289 
4290 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_10_define =
4291 {
4292     "prompt_10",
4293     GX_TYPE_PROMPT,                          /* widget type                    */
4294     GX_ID_NONE,                              /* widget id                      */
4295     #if defined(GX_WIDGET_USER_DATA)
4296     0,                                       /* user data                      */
4297     #endif
4298     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4299     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4300     sizeof(GX_PROMPT),                       /* control block size             */
4301     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4302     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4303     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4304     gx_studio_prompt_create,                 /* create function                */
4305     GX_NULL,                                 /* drawing function override      */
4306     GX_NULL,                                 /* event function override        */
4307     {508, 295, 587, 318},                    /* widget size                    */
4308     &menu_screen_icon_9_define,              /* next widget definition         */
4309     GX_NULL,                                 /* no child widgets               */
4310     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_10), /* control block */
4311     (void *) &menu_screen_prompt_10_properties /* extended properties          */
4312 };
4313 
4314 GX_CONST GX_STUDIO_WIDGET menu_screen_menu_define =
4315 {
4316     "menu",
4317     GX_TYPE_MENU,                            /* widget type                    */
4318     GX_ID_NONE,                              /* widget id                      */
4319     #if defined(GX_WIDGET_USER_DATA)
4320     0,                                       /* user data                      */
4321     #endif
4322     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
4323     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4324     sizeof(GX_MENU),                         /* control block size             */
4325     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4326     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4327     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4328     gx_studio_menu_create,                   /* create function                */
4329     GX_NULL,                                 /* drawing function override      */
4330     GX_NULL,                                 /* event function override        */
4331     {486, 271, 585, 294},                    /* widget size                    */
4332     GX_NULL,                                 /* no next widget                 */
4333     &menu_screen_prompt_10_define,           /* child widget definition        */
4334     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_menu), /* control block    */
4335     (void *) &menu_screen_menu_properties    /* extended properties            */
4336 };
4337 
4338 GX_CONST GX_STUDIO_WIDGET menu_screen_prompt_8_define =
4339 {
4340     "prompt_8",
4341     GX_TYPE_PROMPT,                          /* widget type                    */
4342     GX_ID_NONE,                              /* widget id                      */
4343     #if defined(GX_WIDGET_USER_DATA)
4344     0,                                       /* user data                      */
4345     #endif
4346     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4347     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4348     sizeof(GX_PROMPT),                       /* control block size             */
4349     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4350     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4351     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4352     gx_studio_prompt_create,                 /* create function                */
4353     GX_NULL,                                 /* drawing function override      */
4354     GX_NULL,                                 /* event function override        */
4355     {486, 247, 565, 270},                    /* widget size                    */
4356     &menu_screen_menu_define,                /* next widget definition         */
4357     GX_NULL,                                 /* no child widgets               */
4358     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_prompt_8), /* control block */
4359     (void *) &menu_screen_prompt_8_properties /* extended properties           */
4360 };
4361 
4362 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_vscroll_define =
4363 {
4364     "tree_vscroll",
4365     GX_TYPE_VERTICAL_SCROLL,                 /* widget type                    */
4366     GX_ID_NONE,                              /* widget id                      */
4367     #if defined(GX_WIDGET_USER_DATA)
4368     0,                                       /* user data                      */
4369     #endif
4370     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_END_BUTTONS|GX_SCROLLBAR_VERTICAL,   /* style flags */
4371     0,                                       /* status flags                   */
4372     sizeof(GX_SCROLLBAR),                    /* control block size             */
4373     GX_COLOR_ID_SCROLL_FILL,                 /* normal color id                */
4374     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4375     GX_COLOR_ID_SCROLL_FILL,                 /* disabled color id              */
4376     gx_studio_vertical_scrollbar_create,     /* create function                */
4377     GX_NULL,                                 /* drawing function override      */
4378     GX_NULL,                                 /* event function override        */
4379     {606, 103, 625, 332},                    /* widget size                    */
4380     &menu_screen_prompt_8_define,            /* next widget definition         */
4381     GX_NULL,                                 /* no child widgets               */
4382     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_vscroll), /* control block */
4383     (void *) &menu_screen_tree_vscroll_properties /* extended properties       */
4384 };
4385 
4386 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_hscroll_define =
4387 {
4388     "tree_hscroll",
4389     GX_TYPE_HORIZONTAL_SCROLL,               /* widget type                    */
4390     GX_ID_NONE,                              /* widget id                      */
4391     #if defined(GX_WIDGET_USER_DATA)
4392     0,                                       /* user data                      */
4393     #endif
4394     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_END_BUTTONS|GX_SCROLLBAR_HORIZONTAL,   /* style flags */
4395     0,                                       /* status flags                   */
4396     sizeof(GX_SCROLLBAR),                    /* control block size             */
4397     GX_COLOR_ID_SCROLL_FILL,                 /* normal color id                */
4398     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4399     GX_COLOR_ID_SCROLL_FILL,                 /* disabled color id              */
4400     gx_studio_horizontal_scrollbar_create,     /* create function              */
4401     GX_NULL,                                 /* drawing function override      */
4402     GX_NULL,                                 /* event function override        */
4403     {464, 333, 625, 352},                    /* widget size                    */
4404     &menu_screen_tree_vscroll_define,        /* next widget definition         */
4405     GX_NULL,                                 /* no child widgets               */
4406     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_hscroll), /* control block */
4407     (void *) &menu_screen_tree_hscroll_properties /* extended properties       */
4408 };
4409 
4410 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_3_define =
4411 {
4412     "tree_menu_3",
4413     GX_TYPE_MENU,                            /* widget type                    */
4414     GX_ID_NONE,                              /* widget id                      */
4415     #if defined(GX_WIDGET_USER_DATA)
4416     0,                                       /* user data                      */
4417     #endif
4418     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
4419     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4420     sizeof(GX_MENU),                         /* control block size             */
4421     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4422     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4423     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4424     gx_studio_menu_create,                   /* create function                */
4425     GX_NULL,                                 /* drawing function override      */
4426     GX_NULL,                                 /* event function override        */
4427     {486, 199, 585, 222},                    /* widget size                    */
4428     &menu_screen_tree_hscroll_define,        /* next widget definition         */
4429     &menu_screen_tree_menu_3_1_define,       /* child widget definition        */
4430     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_3), /* control block */
4431     (void *) &menu_screen_tree_menu_3_properties /* extended properties        */
4432 };
4433 
4434 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_2_define =
4435 {
4436     "tree_menu_2",
4437     GX_TYPE_MENU,                            /* widget type                    */
4438     GX_ID_NONE,                              /* widget id                      */
4439     #if defined(GX_WIDGET_USER_DATA)
4440     0,                                       /* user data                      */
4441     #endif
4442     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
4443     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4444     sizeof(GX_MENU),                         /* control block size             */
4445     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4446     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4447     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4448     gx_studio_menu_create,                   /* create function                */
4449     GX_NULL,                                 /* drawing function override      */
4450     GX_NULL,                                 /* event function override        */
4451     {486, 175, 585, 198},                    /* widget size                    */
4452     &menu_screen_tree_menu_3_define,         /* next widget definition         */
4453     &menu_screen_tree_menu_2_1_define,       /* child widget definition        */
4454     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_2), /* control block */
4455     (void *) &menu_screen_tree_menu_2_properties /* extended properties        */
4456 };
4457 
4458 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_menu_1_define =
4459 {
4460     "tree_menu_1",
4461     GX_TYPE_MENU,                            /* widget type                    */
4462     GX_ID_NONE,                              /* widget id                      */
4463     #if defined(GX_WIDGET_USER_DATA)
4464     0,                                       /* user data                      */
4465     #endif
4466     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
4467     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4468     sizeof(GX_MENU),                         /* control block size             */
4469     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4470     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4471     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4472     gx_studio_menu_create,                   /* create function                */
4473     GX_NULL,                                 /* drawing function override      */
4474     GX_NULL,                                 /* event function override        */
4475     {486, 103, 591, 126},                    /* widget size                    */
4476     &menu_screen_tree_menu_2_define,         /* next widget definition         */
4477     &menu_screen_tree_menu_1_1_define,       /* child widget definition        */
4478     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_menu_1), /* control block */
4479     (void *) &menu_screen_tree_menu_1_properties /* extended properties        */
4480 };
4481 
4482 GX_CONST GX_STUDIO_WIDGET menu_screen_title_3_define =
4483 {
4484     "title_3",
4485     GX_TYPE_PROMPT,                          /* widget type                    */
4486     GX_ID_NONE,                              /* widget id                      */
4487     #if defined(GX_WIDGET_USER_DATA)
4488     0,                                       /* user data                      */
4489     #endif
4490     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
4491     0,                                       /* status flags                   */
4492     sizeof(GX_PROMPT),                       /* control block size             */
4493     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4494     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4495     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4496     gx_studio_prompt_create,                 /* create function                */
4497     GX_NULL,                                 /* drawing function override      */
4498     GX_NULL,                                 /* event function override        */
4499     {512, 364, 618, 387},                    /* widget size                    */
4500     GX_NULL,                                 /* no next widget                 */
4501     GX_NULL,                                 /* no child widgets               */
4502     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_title_3), /* control block */
4503     (void *) &menu_screen_title_3_properties /* extended properties            */
4504 };
4505 
4506 GX_CONST GX_STUDIO_WIDGET menu_screen_tree_view_define =
4507 {
4508     "tree_view",
4509     GX_TYPE_TREE_VIEW,                       /* widget type                    */
4510     GX_ID_NONE,                              /* widget id                      */
4511     #if defined(GX_WIDGET_USER_DATA)
4512     0,                                       /* user data                      */
4513     #endif
4514     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TREE_VIEW_SHOW_ROOT_LINES,   /* style flags */
4515     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4516     sizeof(GX_TREE_VIEW),                    /* control block size             */
4517     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
4518     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
4519     GX_COLOR_ID_SHADOW,                      /* disabled color id              */
4520     gx_studio_tree_view_create,              /* create function                */
4521     GX_NULL,                                 /* drawing function override      */
4522     GX_NULL,                                 /* event function override        */
4523     {463, 102, 626, 353},                    /* widget size                    */
4524     &menu_screen_title_3_define,             /* next widget definition         */
4525     &menu_screen_tree_menu_1_define,         /* child widget definition        */
4526     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_tree_view), /* control block */
4527     (void *) &menu_screen_tree_view_properties /* extended properties          */
4528 };
4529 
4530 GX_CONST GX_STUDIO_WIDGET menu_screen_title_2_define =
4531 {
4532     "title_2",
4533     GX_TYPE_PROMPT,                          /* widget type                    */
4534     GX_ID_NONE,                              /* widget id                      */
4535     #if defined(GX_WIDGET_USER_DATA)
4536     0,                                       /* user data                      */
4537     #endif
4538     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
4539     0,                                       /* status flags                   */
4540     sizeof(GX_PROMPT),                       /* control block size             */
4541     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4542     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4543     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4544     gx_studio_prompt_create,                 /* create function                */
4545     GX_NULL,                                 /* drawing function override      */
4546     GX_NULL,                                 /* event function override        */
4547     {275, 67, 490, 90},                      /* widget size                    */
4548     &menu_screen_tree_view_define,           /* next widget definition         */
4549     GX_NULL,                                 /* no child widgets               */
4550     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_title_2), /* control block */
4551     (void *) &menu_screen_title_2_properties /* extended properties            */
4552 };
4553 
4554 GX_CONST GX_STUDIO_WIDGET menu_screen_multi_level_accordion_define =
4555 {
4556     "multi_level_accordion",
4557     GX_TYPE_ACCORDION_MENU,                  /* widget type                    */
4558     GX_ID_NONE,                              /* widget id                      */
4559     #if defined(GX_WIDGET_USER_DATA)
4560     0,                                       /* user data                      */
4561     #endif
4562     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED,   /* style flags                    */
4563     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4564     sizeof(GX_ACCORDION_MENU),               /* control block size             */
4565     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4566     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4567     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4568     gx_studio_accordion_menu_create,         /* create function                */
4569     GX_NULL,                                 /* drawing function override      */
4570     GX_NULL,                                 /* event function override        */
4571     {317, 108, 447, 298},                    /* widget size                    */
4572     &menu_screen_title_2_define,             /* next widget definition         */
4573     &menu_screen_mla_menu_1_define,          /* child widget definition        */
4574     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_multi_level_accordion), /* control block */
4575     (void *) GX_NULL                         /* no extended properties         */
4576 };
4577 
4578 GX_CONST GX_STUDIO_WIDGET menu_screen_text_view_define =
4579 {
4580     "text_view",
4581     GX_TYPE_MULTI_LINE_TEXT_VIEW,            /* widget type                    */
4582     GX_ID_NONE,                              /* widget id                      */
4583     #if defined(GX_WIDGET_USER_DATA)
4584     0,                                       /* user data                      */
4585     #endif
4586     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT,   /* style flags */
4587     0,                                       /* status flags                   */
4588     sizeof(GX_MULTI_LINE_TEXT_VIEW),         /* control block size             */
4589     GX_COLOR_ID_TEXT_INPUT_FILL,             /* normal color id                */
4590     GX_COLOR_ID_TEXT_INPUT_FILL,             /* selected color id              */
4591     GX_COLOR_ID_TEXT_INPUT_FILL,             /* disabled color id              */
4592     gx_studio_multi_line_text_view_create,     /* create function              */
4593     GX_NULL,                                 /* drawing function override      */
4594     GX_NULL,                                 /* event function override        */
4595     {168, 269, 304, 395},                    /* widget size                    */
4596     &menu_screen_multi_level_accordion_define, /* next widget definition       */
4597     GX_NULL,                                 /* no child widgets               */
4598     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_text_view), /* control block */
4599     (void *) &menu_screen_text_view_properties /* extended properties          */
4600 };
4601 
4602 GX_CONST GX_STUDIO_WIDGET menu_screen_one_level_accordion_2_define =
4603 {
4604     "one_level_accordion_2",
4605     GX_TYPE_ACCORDION_MENU,                  /* widget type                    */
4606     GX_ID_NONE,                              /* widget id                      */
4607     #if defined(GX_WIDGET_USER_DATA)
4608     0,                                       /* user data                      */
4609     #endif
4610     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED,   /* style flags                    */
4611     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4612     sizeof(GX_ACCORDION_MENU),               /* control block size             */
4613     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4614     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4615     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4616     gx_studio_accordion_menu_create,         /* create function                */
4617     GX_NULL,                                 /* drawing function override      */
4618     GX_NULL,                                 /* event function override        */
4619     {166, 108, 306, 257},                    /* widget size                    */
4620     &menu_screen_text_view_define,           /* next widget definition         */
4621     &menu_screen_ola_2_menu_1_define,        /* child widget definition        */
4622     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_one_level_accordion_2), /* control block */
4623     (void *) GX_NULL                         /* no extended properties         */
4624 };
4625 
4626 GX_CONST GX_STUDIO_WIDGET menu_screen_one_level_accordion_define =
4627 {
4628     "one_level_accordion",
4629     GX_TYPE_ACCORDION_MENU,                  /* widget type                    */
4630     GX_ID_NONE,                              /* widget id                      */
4631     #if defined(GX_WIDGET_USER_DATA)
4632     0,                                       /* user data                      */
4633     #endif
4634     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_DRAW_SELECTED|GX_STYLE_ENABLED,   /* style flags */
4635     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4636     sizeof(GX_ACCORDION_MENU),               /* control block size             */
4637     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4638     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4639     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4640     gx_studio_accordion_menu_create,         /* create function                */
4641     GX_NULL,                                 /* drawing function override      */
4642     GX_NULL,                                 /* event function override        */
4643     {19, 107, 149, 348},                     /* widget size                    */
4644     &menu_screen_one_level_accordion_2_define, /* next widget definition       */
4645     &menu_screen_ola_menu_1_define,          /* child widget definition        */
4646     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_one_level_accordion), /* control block */
4647     (void *) GX_NULL                         /* no extended properties         */
4648 };
4649 
4650 GX_CONST GX_STUDIO_WIDGET menu_screen_title_define =
4651 {
4652     "title",
4653     GX_TYPE_PROMPT,                          /* widget type                    */
4654     GX_ID_NONE,                              /* widget id                      */
4655     #if defined(GX_WIDGET_USER_DATA)
4656     0,                                       /* user data                      */
4657     #endif
4658     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
4659     0,                                       /* status flags                   */
4660     sizeof(GX_PROMPT),                       /* control block size             */
4661     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4662     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4663     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4664     gx_studio_prompt_create,                 /* create function                */
4665     GX_NULL,                                 /* drawing function override      */
4666     GX_NULL,                                 /* event function override        */
4667     {17, 67, 219, 90},                       /* widget size                    */
4668     &menu_screen_one_level_accordion_define, /* next widget definition         */
4669     GX_NULL,                                 /* no child widgets               */
4670     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_title), /* control block   */
4671     (void *) &menu_screen_title_properties   /* extended properties            */
4672 };
4673 
4674 GX_CONST GX_STUDIO_WIDGET menu_screen_title_5_define =
4675 {
4676     "title_5",
4677     GX_TYPE_PROMPT,                          /* widget type                    */
4678     GX_ID_NONE,                              /* widget id                      */
4679     #if defined(GX_WIDGET_USER_DATA)
4680     0,                                       /* user data                      */
4681     #endif
4682     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
4683     0,                                       /* status flags                   */
4684     sizeof(GX_PROMPT),                       /* control block size             */
4685     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4686     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4687     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
4688     gx_studio_prompt_create,                 /* create function                */
4689     GX_NULL,                                 /* drawing function override      */
4690     GX_NULL,                                 /* event function override        */
4691     {235, 21, 372, 44},                      /* widget size                    */
4692     &menu_screen_title_define,               /* next widget definition         */
4693     GX_NULL,                                 /* no child widgets               */
4694     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_title_5), /* control block */
4695     (void *) &menu_screen_title_5_properties /* extended properties            */
4696 };
4697 
4698 GX_CONST GX_STUDIO_WIDGET menu_screen_next_button_7_define =
4699 {
4700     "next_button_7",
4701     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
4702     IDB_NEXT,                                /* widget id                      */
4703     #if defined(GX_WIDGET_USER_DATA)
4704     0,                                       /* user data                      */
4705     #endif
4706     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4707     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4708     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
4709     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* normal color id                */
4710     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
4711     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* disabled color id              */
4712     gx_studio_text_button_create,            /* create function                */
4713     GX_NULL,                                 /* drawing function override      */
4714     GX_NULL,                                 /* event function override        */
4715     {527, 427, 606, 451},                    /* widget size                    */
4716     &menu_screen_title_5_define,             /* next widget definition         */
4717     GX_NULL,                                 /* no child widgets               */
4718     offsetof(MENU_SCREEN_CONTROL_BLOCK, menu_screen_next_button_7), /* control block */
4719     (void *) &menu_screen_next_button_7_properties /* extended properties      */
4720 };
4721 
4722 GX_STUDIO_ACTION menu_screen__idb_next_gx_event_clicked_actions[2] = {
4723     {GX_ACTION_TYPE_TOGGLE, 0, &Primary_root_window, &rotate_screen, GX_NULL},
4724     {0, 0, GX_NULL, GX_NULL, GX_NULL}
4725 };
4726 
4727 static GX_STUDIO_EVENT_ENTRY gx_studio_menu_screen_event_table[] = {
4728     {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, menu_screen__idb_next_gx_event_clicked_actions},
4729     {0, 0, GX_NULL}
4730 };
4731 
4732 GX_STUDIO_EVENT_PROCESS menu_screen_event_chain = {gx_studio_menu_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process};
gx_studio_menu_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)4733 static UINT gx_studio_menu_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
4734 {
4735     return (gx_studio_auto_event_handler(target, event_ptr, &menu_screen_event_chain));
4736 }
4737 
4738 
4739 GX_CONST GX_STUDIO_WIDGET menu_screen_define =
4740 {
4741     "menu_screen",
4742     GX_TYPE_WINDOW,                          /* widget type                    */
4743     ID_MENU_SCREEN,                          /* widget id                      */
4744     #if defined(GX_WIDGET_USER_DATA)
4745     0,                                       /* user data                      */
4746     #endif
4747     GX_STYLE_BORDER_THIN,                    /* style flags                    */
4748     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4749     sizeof(MENU_SCREEN_CONTROL_BLOCK),       /* control block size             */
4750     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
4751     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
4752     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
4753     gx_studio_window_create,                 /* create function                */
4754     GX_NULL,                                 /* drawing function override      */
4755     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_menu_screen_event_process, /* event function override */
4756     {4, 4, 633, 473},                        /* widget size                    */
4757     GX_NULL,                                 /* next widget                    */
4758     &menu_screen_next_button_7_define,       /* child widget                   */
4759     0,                                       /* control block                  */
4760     (void *) &menu_screen_properties         /* extended properties            */
4761 };
4762 GX_WINDOW_PROPERTIES scroll_wheel_screen_properties =
4763 {
4764     0                                        /* wallpaper pixelmap id          */
4765 };
4766 GX_TEXT_BUTTON_PROPERTIES scroll_wheel_screen_next_button_6_properties =
4767 {
4768     GX_STRING_ID_STRING_36,                  /* string id                      */
4769     GX_FONT_ID_BUTTON,                       /* font id                        */
4770     GX_COLOR_ID_WHITE,                       /* normal text color              */
4771     GX_COLOR_ID_WHITE,                       /* selected text color            */
4772     GX_COLOR_ID_WHITE                        /* disabled text color            */
4773 };
4774 GX_PROMPT_PROPERTIES scroll_wheel_screen_prompt_properties =
4775 {
4776     GX_STRING_ID_STRING_48,                  /* string id                      */
4777     GX_FONT_ID_PROMPT,                       /* font id                        */
4778     GX_COLOR_ID_TEXT,                        /* normal text color              */
4779     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
4780     GX_COLOR_ID_TEXT                         /* disabled text color            */
4781 };
4782 GX_NUMERIC_SCROLL_WHEEL_PROPERTIES scroll_wheel_screen_day_wheel_properties =
4783 {
4784     31,                                      /* total rows                     */
4785     0,                                       /* selected row                   */
4786     45,                                      /* row height                     */
4787     240,                                     /* start alpha                    */
4788     0,                                       /* end alpha                      */
4789     GX_FONT_ID_NORMAL_FONT,                  /* normal font id                 */
4790     GX_FONT_ID_SELECTED_FONT,                /* selected font id               */
4791     GX_COLOR_ID_BLACK,                       /* normal text color id           */
4792     GX_COLOR_ID_ORANGE,                      /* selected text color id         */
4793     GX_COLOR_ID_BLACK,                       /* disabled text color id         */
4794     0,                                       /* wallpaper id                   */
4795     GX_PIXELMAP_ID_FILL,                     /* selected background            */
4796     GX_NULL,                                 /* format callback                */
4797     1,                                       /* start val                      */
4798     31,                                      /* end val                        */
4799 };
4800 GX_CONST GX_RESOURCE_ID scroll_wheel_screen_month_wheel_string_id_list[]={
4801     GX_STRING_ID_STRING_63,
4802     GX_STRING_ID_STRING_69,
4803     GX_STRING_ID_STRING_70,
4804     GX_STRING_ID_STRING_71,
4805     GX_STRING_ID_STRING_72,
4806     GX_STRING_ID_STRING_73,
4807     GX_STRING_ID_STRING_74,
4808     GX_STRING_ID_STRING_75,
4809     GX_STRING_ID_STRING_76,
4810     GX_STRING_ID_STRING_77,
4811     GX_STRING_ID_STRING_78,
4812     GX_STRING_ID_STRING_79
4813 };
4814 GX_STRING_SCROLL_WHEEL_PROPERTIES scroll_wheel_screen_month_wheel_properties =
4815 {
4816     12,                                      /* total rows                     */
4817     4,                                       /* selected row                   */
4818     45,                                      /* row height                     */
4819     240,                                     /* start alpha                    */
4820     0,                                       /* end alpha                      */
4821     GX_FONT_ID_NORMAL_FONT,                  /* normal font id                 */
4822     GX_FONT_ID_SELECTED_FONT,                /* selected font id               */
4823     GX_COLOR_ID_BLACK,                       /* normal text color id           */
4824     GX_COLOR_ID_ORANGE,                      /* selected text color id         */
4825     GX_COLOR_ID_BLACK,                       /* disabled text color id         */
4826     0,                                       /* wallpaper id                   */
4827     GX_PIXELMAP_ID_FILL,                     /* selected background            */
4828     scroll_wheel_screen_month_wheel_string_id_list, /* string list             */
4829     GX_NULL                                  /* callback                       */
4830 
4831 };
4832 GX_NUMERIC_SCROLL_WHEEL_PROPERTIES scroll_wheel_screen_year_wheel_properties =
4833 {
4834     9,                                       /* total rows                     */
4835     7,                                       /* selected row                   */
4836     45,                                      /* row height                     */
4837     240,                                     /* start alpha                    */
4838     0,                                       /* end alpha                      */
4839     GX_FONT_ID_NORMAL_FONT,                  /* normal font id                 */
4840     GX_FONT_ID_SELECTED_FONT,                /* selected font id               */
4841     GX_COLOR_ID_BLACK,                       /* normal text color id           */
4842     GX_COLOR_ID_ORANGE,                      /* selected text color id         */
4843     GX_COLOR_ID_BLACK,                       /* disabled text color id         */
4844     0,                                       /* wallpaper id                   */
4845     GX_PIXELMAP_ID_FILL,                     /* selected background            */
4846     GX_NULL,                                 /* format callback                */
4847     1980,                                    /* start val                      */
4848     2020,                                    /* end val                        */
4849 };
4850 GX_TEXT_BUTTON_PROPERTIES scroll_wheel_screen_button_properties =
4851 {
4852     GX_STRING_ID_STRING_50,                  /* string id                      */
4853     GX_FONT_ID_BUTTON,                       /* font id                        */
4854     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
4855     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
4856     GX_COLOR_ID_BTN_TEXT                     /* disabled text color            */
4857 };
4858 GX_CHAR scroll_wheel_screen_text_input_buffer[3];
4859 GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES scroll_wheel_screen_text_input_properties =
4860 {
4861     GX_STRING_ID_STRING_51,                  /* string id                      */
4862     GX_FONT_ID_BUTTON,                       /* font id                        */
4863     GX_COLOR_ID_BLACK,                       /* normal text color              */
4864     GX_COLOR_ID_BLACK,                       /* selected text color            */
4865     GX_COLOR_ID_BLACK,                       /* disabled text color            */
4866     GX_COLOR_ID_READONLY_FILL,               /* readonly fill color            */
4867     GX_COLOR_ID_READONLY_TEXT,               /* readonly text color            */
4868     scroll_wheel_screen_text_input_buffer,   /* buffer                         */
4869     3,                                       /* buffer size                    */
4870 };
4871 
4872 GX_CONST GX_STUDIO_WIDGET scroll_wheel_screen_text_input_define =
4873 {
4874     "text_input",
4875     GX_TYPE_SINGLE_LINE_TEXT_INPUT,          /* widget type                    */
4876     ID_DAY_INPUT,                            /* widget id                      */
4877     #if defined(GX_WIDGET_USER_DATA)
4878     0,                                       /* user data                      */
4879     #endif
4880     GX_STYLE_BORDER_RECESSED|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
4881     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4882     sizeof(GX_SINGLE_LINE_TEXT_INPUT),       /* control block size             */
4883     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
4884     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
4885     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
4886     gx_studio_text_input_create,             /* create function                */
4887     GX_NULL,                                 /* drawing function override      */
4888     GX_NULL,                                 /* event function override        */
4889     {47, 399, 84, 432},                      /* widget size                    */
4890     GX_NULL,                                 /* no next widget                 */
4891     GX_NULL,                                 /* no child widgets               */
4892     offsetof(SCROLL_WHEEL_SCREEN_CONTROL_BLOCK, scroll_wheel_screen_text_input), /* control block */
4893     (void *) &scroll_wheel_screen_text_input_properties /* extended properties */
4894 };
4895 
4896 GX_CONST GX_STUDIO_WIDGET scroll_wheel_screen_button_define =
4897 {
4898     "button",
4899     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
4900     ID_DAY_SELECT,                           /* widget id                      */
4901     #if defined(GX_WIDGET_USER_DATA)
4902     0,                                       /* user data                      */
4903     #endif
4904     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4905     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4906     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
4907     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
4908     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
4909     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
4910     gx_studio_text_button_create,            /* create function                */
4911     GX_NULL,                                 /* drawing function override      */
4912     GX_NULL,                                 /* event function override        */
4913     {93, 400, 174, 433},                     /* widget size                    */
4914     &scroll_wheel_screen_text_input_define,  /* next widget definition         */
4915     GX_NULL,                                 /* no child widgets               */
4916     offsetof(SCROLL_WHEEL_SCREEN_CONTROL_BLOCK, scroll_wheel_screen_button), /* control block */
4917     (void *) &scroll_wheel_screen_button_properties /* extended properties     */
4918 };
4919 
4920 GX_CONST GX_STUDIO_WIDGET scroll_wheel_screen_year_wheel_define =
4921 {
4922     "year_wheel",
4923     GX_TYPE_NUMERIC_SCROLL_WHEEL,            /* widget type                    */
4924     ID_YEAR_WHEEL,                           /* widget id                      */
4925     #if defined(GX_WIDGET_USER_DATA)
4926     0,                                       /* user data                      */
4927     #endif
4928     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_WRAP|GX_STYLE_TEXT_SCROLL_WHEEL_ROUND|GX_STYLE_TEXT_CENTER,   /* style flags */
4929     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4930     sizeof(GX_NUMERIC_SCROLL_WHEEL),         /* control block size             */
4931     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
4932     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
4933     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
4934     gx_studio_numeric_scroll_wheel_create,     /* create function              */
4935     GX_NULL,                                 /* drawing function override      */
4936     GX_NULL,                                 /* event function override        */
4937     {380, 117, 524, 352},                    /* widget size                    */
4938     &scroll_wheel_screen_button_define,      /* next widget definition         */
4939     GX_NULL,                                 /* no child widgets               */
4940     offsetof(SCROLL_WHEEL_SCREEN_CONTROL_BLOCK, scroll_wheel_screen_year_wheel), /* control block */
4941     (void *) &scroll_wheel_screen_year_wheel_properties /* extended properties */
4942 };
4943 
4944 GX_CONST GX_STUDIO_WIDGET scroll_wheel_screen_month_wheel_define =
4945 {
4946     "month_wheel",
4947     GX_TYPE_STRING_SCROLL_WHEEL,             /* widget type                    */
4948     ID_MONTH_WHEEL,                          /* widget id                      */
4949     #if defined(GX_WIDGET_USER_DATA)
4950     0,                                       /* user data                      */
4951     #endif
4952     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_TEXT_SCROLL_WHEEL_ROUND|GX_STYLE_TEXT_CENTER,   /* style flags */
4953     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4954     sizeof(GX_STRING_SCROLL_WHEEL),          /* control block size             */
4955     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
4956     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
4957     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
4958     gx_studio_string_scroll_wheel_create,     /* create function               */
4959     GX_NULL,                                 /* drawing function override      */
4960     GX_NULL,                                 /* event function override        */
4961     {210, 117, 379, 352},                    /* widget size                    */
4962     &scroll_wheel_screen_year_wheel_define,  /* next widget definition         */
4963     GX_NULL,                                 /* no child widgets               */
4964     offsetof(SCROLL_WHEEL_SCREEN_CONTROL_BLOCK, scroll_wheel_screen_month_wheel), /* control block */
4965     (void *) &scroll_wheel_screen_month_wheel_properties /* extended properties */
4966 };
4967 
4968 GX_CONST GX_STUDIO_WIDGET scroll_wheel_screen_day_wheel_define =
4969 {
4970     "day_wheel",
4971     GX_TYPE_NUMERIC_SCROLL_WHEEL,            /* widget type                    */
4972     ID_DAY_WHEEL,                            /* widget id                      */
4973     #if defined(GX_WIDGET_USER_DATA)
4974     0,                                       /* user data                      */
4975     #endif
4976     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_WRAP|GX_STYLE_TEXT_SCROLL_WHEEL_ROUND|GX_STYLE_TEXT_CENTER,   /* style flags */
4977     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4978     sizeof(GX_NUMERIC_SCROLL_WHEEL),         /* control block size             */
4979     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
4980     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
4981     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
4982     gx_studio_numeric_scroll_wheel_create,     /* create function              */
4983     GX_NULL,                                 /* drawing function override      */
4984     GX_NULL,                                 /* event function override        */
4985     {100, 117, 209, 352},                    /* widget size                    */
4986     &scroll_wheel_screen_month_wheel_define, /* next widget definition         */
4987     GX_NULL,                                 /* no child widgets               */
4988     offsetof(SCROLL_WHEEL_SCREEN_CONTROL_BLOCK, scroll_wheel_screen_day_wheel), /* control block */
4989     (void *) &scroll_wheel_screen_day_wheel_properties /* extended properties  */
4990 };
4991 
4992 GX_CONST GX_STUDIO_WIDGET scroll_wheel_screen_prompt_define =
4993 {
4994     "prompt",
4995     GX_TYPE_PROMPT,                          /* widget type                    */
4996     GX_ID_NONE,                              /* widget id                      */
4997     #if defined(GX_WIDGET_USER_DATA)
4998     0,                                       /* user data                      */
4999     #endif
5000     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
5001     0,                                       /* status flags                   */
5002     sizeof(GX_PROMPT),                       /* control block size             */
5003     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5004     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5005     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
5006     gx_studio_prompt_create,                 /* create function                */
5007     GX_NULL,                                 /* drawing function override      */
5008     GX_NULL,                                 /* event function override        */
5009     {223, 53, 384, 70},                      /* widget size                    */
5010     &scroll_wheel_screen_day_wheel_define,   /* next widget definition         */
5011     GX_NULL,                                 /* no child widgets               */
5012     offsetof(SCROLL_WHEEL_SCREEN_CONTROL_BLOCK, scroll_wheel_screen_prompt), /* control block */
5013     (void *) &scroll_wheel_screen_prompt_properties /* extended properties     */
5014 };
5015 
5016 GX_CONST GX_STUDIO_WIDGET scroll_wheel_screen_next_button_6_define =
5017 {
5018     "next_button_6",
5019     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
5020     IDB_NEXT,                                /* widget id                      */
5021     #if defined(GX_WIDGET_USER_DATA)
5022     0,                                       /* user data                      */
5023     #endif
5024     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5025     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5026     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
5027     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* normal color id                */
5028     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
5029     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* disabled color id              */
5030     gx_studio_text_button_create,            /* create function                */
5031     GX_NULL,                                 /* drawing function override      */
5032     GX_NULL,                                 /* event function override        */
5033     {493, 405, 572, 429},                    /* widget size                    */
5034     &scroll_wheel_screen_prompt_define,      /* next widget definition         */
5035     GX_NULL,                                 /* no child widgets               */
5036     offsetof(SCROLL_WHEEL_SCREEN_CONTROL_BLOCK, scroll_wheel_screen_next_button_6), /* control block */
5037     (void *) &scroll_wheel_screen_next_button_6_properties /* extended properties */
5038 };
5039 
5040 GX_STUDIO_ACTION scroll_wheel_screen__idb_next_gx_event_clicked_actions[2] = {
5041     {GX_ACTION_TYPE_TOGGLE, 0, &Primary_root_window, &menu_screen, GX_NULL},
5042     {0, 0, GX_NULL, GX_NULL, GX_NULL}
5043 };
5044 
5045 static GX_STUDIO_EVENT_ENTRY gx_studio_scroll_wheel_screen_event_table[] = {
5046     {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, scroll_wheel_screen__idb_next_gx_event_clicked_actions},
5047     {0, 0, GX_NULL}
5048 };
5049 
5050 GX_STUDIO_EVENT_PROCESS scroll_wheel_screen_event_chain = {gx_studio_scroll_wheel_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))scroll_wheel_screen_event_handler};
gx_studio_scroll_wheel_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)5051 static UINT gx_studio_scroll_wheel_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
5052 {
5053     return (gx_studio_auto_event_handler(target, event_ptr, &scroll_wheel_screen_event_chain));
5054 }
5055 
5056 
5057 GX_CONST GX_STUDIO_WIDGET scroll_wheel_screen_define =
5058 {
5059     "scroll_wheel_screen",
5060     GX_TYPE_WINDOW,                          /* widget type                    */
5061     ID_SCROLL_WHEEL_SCREEN,                  /* widget id                      */
5062     #if defined(GX_WIDGET_USER_DATA)
5063     0,                                       /* user data                      */
5064     #endif
5065     GX_STYLE_BORDER_THICK,                   /* style flags                    */
5066     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5067     sizeof(SCROLL_WHEEL_SCREEN_CONTROL_BLOCK), /* control block size           */
5068     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
5069     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
5070     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
5071     gx_studio_window_create,                 /* create function                */
5072     GX_NULL,                                 /* drawing function override      */
5073     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_scroll_wheel_screen_event_process, /* event function override */
5074     {30, 30, 609, 449},                      /* widget size                    */
5075     GX_NULL,                                 /* next widget                    */
5076     &scroll_wheel_screen_next_button_6_define, /* child widget                 */
5077     0,                                       /* control block                  */
5078     (void *) &scroll_wheel_screen_properties /* extended properties            */
5079 };
5080 GX_WINDOW_PROPERTIES sprite_screen_properties =
5081 {
5082     0                                        /* wallpaper pixelmap id          */
5083 };
5084 GX_WINDOW_PROPERTIES sprite_screen_apple_window_properties =
5085 {
5086     GX_PIXELMAP_ID_RED_APPLE                 /* wallpaper pixelmap id          */
5087 };
5088 GX_SLIDER_PROPERTIES sprite_screen_slider_2_properties =
5089 {
5090     10,                                      /* tickmark count                 */
5091     0,                                       /* mimimun value                  */
5092     255,                                     /* maximum value                  */
5093     255,                                     /* current value                  */
5094     10,                                      /* increment                      */
5095     10,                                      /* minimum travel                 */
5096     10,                                      /* maximum travel                 */
5097     5,                                       /* needle width                   */
5098     20,                                      /* needle height                  */
5099     4,                                       /* needle inset                   */
5100     2                                        /* needle hotspot                 */
5101 };
5102 GX_TEXT_BUTTON_PROPERTIES sprite_screen_next_button_5_properties =
5103 {
5104     GX_STRING_ID_STRING_36,                  /* string id                      */
5105     GX_FONT_ID_BUTTON,                       /* font id                        */
5106     GX_COLOR_ID_WHITE,                       /* normal text color              */
5107     GX_COLOR_ID_WHITE,                       /* selected text color            */
5108     GX_COLOR_ID_WHITE                        /* disabled text color            */
5109 };
5110 GX_SPRITE_FRAME sprite_screen_sprite_1_frame_list[18] =
5111 {
5112     {
5113         GX_PIXELMAP_ID_FRAME_000,            /* pixelmap id                    */
5114         0,                                   /* x offset                       */
5115         0,                                   /* y offset                       */
5116         5,                                   /* frame delay                    */
5117         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5118         255                                  /* alpha value                    */
5119     },
5120     {
5121         GX_PIXELMAP_ID_FRAME_001,            /* pixelmap id                    */
5122         0,                                   /* x offset                       */
5123         0,                                   /* y offset                       */
5124         5,                                   /* frame delay                    */
5125         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5126         255                                  /* alpha value                    */
5127     },
5128     {
5129         GX_PIXELMAP_ID_FRAME_002,            /* pixelmap id                    */
5130         0,                                   /* x offset                       */
5131         0,                                   /* y offset                       */
5132         5,                                   /* frame delay                    */
5133         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5134         255                                  /* alpha value                    */
5135     },
5136     {
5137         GX_PIXELMAP_ID_FRAME_003,            /* pixelmap id                    */
5138         0,                                   /* x offset                       */
5139         0,                                   /* y offset                       */
5140         5,                                   /* frame delay                    */
5141         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5142         255                                  /* alpha value                    */
5143     },
5144     {
5145         GX_PIXELMAP_ID_FRAME_004,            /* pixelmap id                    */
5146         0,                                   /* x offset                       */
5147         0,                                   /* y offset                       */
5148         2,                                   /* frame delay                    */
5149         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5150         255                                  /* alpha value                    */
5151     },
5152     {
5153         GX_PIXELMAP_ID_FRAME_005,            /* pixelmap id                    */
5154         0,                                   /* x offset                       */
5155         0,                                   /* y offset                       */
5156         5,                                   /* frame delay                    */
5157         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5158         255                                  /* alpha value                    */
5159     },
5160     {
5161         GX_PIXELMAP_ID_FRAME_000,            /* pixelmap id                    */
5162         0,                                   /* x offset                       */
5163         0,                                   /* y offset                       */
5164         5,                                   /* frame delay                    */
5165         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5166         255                                  /* alpha value                    */
5167     },
5168     {
5169         GX_PIXELMAP_ID_FRAME_001,            /* pixelmap id                    */
5170         0,                                   /* x offset                       */
5171         0,                                   /* y offset                       */
5172         5,                                   /* frame delay                    */
5173         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5174         255                                  /* alpha value                    */
5175     },
5176     {
5177         GX_PIXELMAP_ID_FRAME_002,            /* pixelmap id                    */
5178         0,                                   /* x offset                       */
5179         0,                                   /* y offset                       */
5180         5,                                   /* frame delay                    */
5181         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5182         255                                  /* alpha value                    */
5183     },
5184     {
5185         GX_PIXELMAP_ID_FRAME_003,            /* pixelmap id                    */
5186         0,                                   /* x offset                       */
5187         0,                                   /* y offset                       */
5188         5,                                   /* frame delay                    */
5189         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5190         255                                  /* alpha value                    */
5191     },
5192     {
5193         GX_PIXELMAP_ID_FRAME_004,            /* pixelmap id                    */
5194         0,                                   /* x offset                       */
5195         0,                                   /* y offset                       */
5196         5,                                   /* frame delay                    */
5197         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5198         255                                  /* alpha value                    */
5199     },
5200     {
5201         GX_PIXELMAP_ID_FRAME_005,            /* pixelmap id                    */
5202         0,                                   /* x offset                       */
5203         0,                                   /* y offset                       */
5204         5,                                   /* frame delay                    */
5205         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5206         255                                  /* alpha value                    */
5207     },
5208     {
5209         GX_PIXELMAP_ID_FRAME_000,            /* pixelmap id                    */
5210         0,                                   /* x offset                       */
5211         0,                                   /* y offset                       */
5212         5,                                   /* frame delay                    */
5213         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5214         255                                  /* alpha value                    */
5215     },
5216     {
5217         GX_PIXELMAP_ID_FRAME_001,            /* pixelmap id                    */
5218         0,                                   /* x offset                       */
5219         0,                                   /* y offset                       */
5220         5,                                   /* frame delay                    */
5221         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5222         255                                  /* alpha value                    */
5223     },
5224     {
5225         GX_PIXELMAP_ID_FRAME_002,            /* pixelmap id                    */
5226         0,                                   /* x offset                       */
5227         0,                                   /* y offset                       */
5228         5,                                   /* frame delay                    */
5229         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5230         255                                  /* alpha value                    */
5231     },
5232     {
5233         GX_PIXELMAP_ID_FRAME_003,            /* pixelmap id                    */
5234         0,                                   /* x offset                       */
5235         0,                                   /* y offset                       */
5236         5,                                   /* frame delay                    */
5237         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5238         255                                  /* alpha value                    */
5239     },
5240     {
5241         GX_PIXELMAP_ID_FRAME_003,            /* pixelmap id                    */
5242         0,                                   /* x offset                       */
5243         0,                                   /* y offset                       */
5244         5,                                   /* frame delay                    */
5245         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5246         255                                  /* alpha value                    */
5247     },
5248     {
5249         GX_PIXELMAP_ID_FRAME_005,            /* pixelmap id                    */
5250         0,                                   /* x offset                       */
5251         0,                                   /* y offset                       */
5252         5,                                   /* frame delay                    */
5253         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
5254         255                                  /* alpha value                    */
5255     }
5256 };
5257 
5258 GX_SPRITE_PROPERTIES sprite_screen_sprite_1_properties =
5259 {
5260     sprite_screen_sprite_1_frame_list,       /* address of frame list          */
5261     18,                                      /* frame count                    */
5262 };
5263 
5264 GX_CONST GX_STUDIO_WIDGET sprite_screen_sprite_1_define =
5265 {
5266     "sprite_1",
5267     GX_TYPE_SPRITE,                          /* widget type                    */
5268     ID_BIRD_SPRITE,                          /* widget id                      */
5269     #if defined(GX_WIDGET_USER_DATA)
5270     0,                                       /* user data                      */
5271     #endif
5272     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_SPRITE_AUTO,   /* style flags */
5273     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5274     sizeof(GX_SPRITE),                       /* control block size             */
5275     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5276     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5277     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
5278     gx_studio_sprite_create,                 /* create function                */
5279     GX_NULL,                                 /* drawing function override      */
5280     GX_NULL,                                 /* event function override        */
5281     {98, 76, 214, 176},                      /* widget size                    */
5282     GX_NULL,                                 /* no next widget                 */
5283     GX_NULL,                                 /* no child widgets               */
5284     offsetof(SPRITE_SCREEN_CONTROL_BLOCK, sprite_screen_sprite_1), /* control block */
5285     (void *) &sprite_screen_sprite_1_properties /* extended properties         */
5286 };
5287 
5288 GX_CONST GX_STUDIO_WIDGET sprite_screen_next_button_5_define =
5289 {
5290     "next_button_5",
5291     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
5292     IDB_NEXT,                                /* widget id                      */
5293     #if defined(GX_WIDGET_USER_DATA)
5294     0,                                       /* user data                      */
5295     #endif
5296     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5297     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5298     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
5299     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* normal color id                */
5300     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
5301     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* disabled color id              */
5302     gx_studio_text_button_create,            /* create function                */
5303     GX_NULL,                                 /* drawing function override      */
5304     GX_NULL,                                 /* event function override        */
5305     {501, 397, 580, 421},                    /* widget size                    */
5306     &sprite_screen_sprite_1_define,          /* next widget definition         */
5307     GX_NULL,                                 /* no child widgets               */
5308     offsetof(SPRITE_SCREEN_CONTROL_BLOCK, sprite_screen_next_button_5), /* control block */
5309     (void *) &sprite_screen_next_button_5_properties /* extended properties    */
5310 };
5311 
5312 GX_CONST GX_STUDIO_WIDGET sprite_screen_slider_2_define =
5313 {
5314     "slider_2",
5315     GX_TYPE_SLIDER,                          /* widget type                    */
5316     ID_ALPHA_SLIDER,                         /* widget id                      */
5317     #if defined(GX_WIDGET_USER_DATA)
5318     0,                                       /* user data                      */
5319     #endif
5320     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_SHOW_NEEDLE|GX_STYLE_SHOW_TICKMARKS,   /* style flags */
5321     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5322     sizeof(GX_SLIDER),                       /* control block size             */
5323     GX_COLOR_ID_BTN_UPPER,                   /* normal color id                */
5324     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
5325     GX_COLOR_ID_BTN_UPPER,                   /* disabled color id              */
5326     gx_studio_slider_create,                 /* create function                */
5327     GX_NULL,                                 /* drawing function override      */
5328     GX_NULL,                                 /* event function override        */
5329     {214, 353, 410, 390},                    /* widget size                    */
5330     &sprite_screen_next_button_5_define,     /* next widget definition         */
5331     GX_NULL,                                 /* no child widgets               */
5332     offsetof(SPRITE_SCREEN_CONTROL_BLOCK, sprite_screen_slider_2), /* control block */
5333     (void *) &sprite_screen_slider_2_properties /* extended properties         */
5334 };
5335 
5336 GX_CONST GX_STUDIO_WIDGET sprite_screen_apple_window_define =
5337 {
5338     "apple_window",
5339     GX_TYPE_WINDOW,                          /* widget type                    */
5340     GX_ID_NONE,                              /* widget id                      */
5341     #if defined(GX_WIDGET_USER_DATA)
5342     0,                                       /* user data                      */
5343     #endif
5344     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT,   /* style flags                */
5345     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5346     sizeof(GX_WINDOW),                       /* control block size             */
5347     GX_COLOR_ID_WHITE,                       /* normal color id                */
5348     GX_COLOR_ID_WHITE,                       /* selected color id              */
5349     GX_COLOR_ID_WHITE,                       /* disabled color id              */
5350     gx_studio_window_create,                 /* create function                */
5351     (VOID (*)(GX_WIDGET *)) apple_window_draw, /* drawing function override    */
5352     GX_NULL,                                 /* event function override        */
5353     {213, 80, 411, 348},                     /* widget size                    */
5354     &sprite_screen_slider_2_define,          /* next widget definition         */
5355     GX_NULL,                                 /* no child widgets               */
5356     offsetof(SPRITE_SCREEN_CONTROL_BLOCK, sprite_screen_apple_window), /* control block */
5357     (void *) &sprite_screen_apple_window_properties /* extended properties     */
5358 };
5359 
5360 GX_STUDIO_ACTION sprite_screen__idb_next_gx_event_clicked_actions[2] = {
5361     {GX_ACTION_TYPE_TOGGLE, 0, &Primary_root_window, &scroll_wheel_screen, GX_NULL},
5362     {0, 0, GX_NULL, GX_NULL, GX_NULL}
5363 };
5364 
5365 static GX_STUDIO_EVENT_ENTRY gx_studio_sprite_screen_event_table[] = {
5366     {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, sprite_screen__idb_next_gx_event_clicked_actions},
5367     {0, 0, GX_NULL}
5368 };
5369 
5370 GX_STUDIO_EVENT_PROCESS sprite_screen_event_chain = {gx_studio_sprite_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))sprite_event_handler};
gx_studio_sprite_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)5371 static UINT gx_studio_sprite_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
5372 {
5373     return (gx_studio_auto_event_handler(target, event_ptr, &sprite_screen_event_chain));
5374 }
5375 
5376 
5377 GX_CONST GX_STUDIO_WIDGET sprite_screen_define =
5378 {
5379     "sprite_screen",
5380     GX_TYPE_WINDOW,                          /* widget type                    */
5381     ID_SPRITE_SCREEN,                        /* widget id                      */
5382     #if defined(GX_WIDGET_USER_DATA)
5383     0,                                       /* user data                      */
5384     #endif
5385     GX_STYLE_BORDER_THICK,                   /* style flags                    */
5386     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5387     sizeof(SPRITE_SCREEN_CONTROL_BLOCK),     /* control block size             */
5388     GX_COLOR_ID_WHITE,                       /* normal color id                */
5389     GX_COLOR_ID_WHITE,                       /* selected color id              */
5390     GX_COLOR_ID_WHITE,                       /* disabled color id              */
5391     gx_studio_window_create,                 /* create function                */
5392     GX_NULL,                                 /* drawing function override      */
5393     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_sprite_screen_event_process, /* event function override */
5394     {41, 31, 597, 441},                      /* widget size                    */
5395     GX_NULL,                                 /* next widget                    */
5396     &sprite_screen_apple_window_define,      /* child widget                   */
5397     0,                                       /* control block                  */
5398     (void *) &sprite_screen_properties       /* extended properties            */
5399 };
5400 GX_WINDOW_PROPERTIES gauge_screen_properties =
5401 {
5402     0                                        /* wallpaper pixelmap id          */
5403 };
5404 GX_PROMPT_PROPERTIES gauge_screen_prompt_6_properties =
5405 {
5406     GX_STRING_ID_STRING_44,                  /* string id                      */
5407     GX_FONT_ID_PROMPT,                       /* font id                        */
5408     GX_COLOR_ID_TEXT,                        /* normal text color              */
5409     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
5410     GX_COLOR_ID_TEXT                         /* disabled text color            */
5411 };
5412 GX_TEXT_BUTTON_PROPERTIES gauge_screen_next_button_4_properties =
5413 {
5414     GX_STRING_ID_STRING_36,                  /* string id                      */
5415     GX_FONT_ID_BUTTON,                       /* font id                        */
5416     GX_COLOR_ID_WHITE,                       /* normal text color              */
5417     GX_COLOR_ID_WHITE,                       /* selected text color            */
5418     GX_COLOR_ID_WHITE                        /* disabled text color            */
5419 };
5420 GX_CIRCULAR_GAUGE_PROPERTIES gauge_screen_gauge_1_properties =
5421 {
5422     0,                                       /* start angle                    */
5423     30,                                      /* animation steps                */
5424     1,                                       /* animation delay                */
5425     140,                                     /* needle xpos                    */
5426     140,                                     /* needle yos                     */
5427     20,                                      /* needle xcor                    */
5428     88,                                      /* needle ycor                    */
5429     GX_PIXELMAP_ID_GUAGEMETER,               /* normal pixelmap id             */
5430     0,                                       /* selected pixelmap id           */
5431     GX_PIXELMAP_ID_NEEDLE                    /* needle pixelmap id             */
5432 };
5433 
5434 GX_CONST GX_STUDIO_WIDGET gauge_screen_gauge_1_define =
5435 {
5436     "gauge_1",
5437     GX_TYPE_CIRCULAR_GAUGE,                  /* widget type                    */
5438     ID_GAUGE,                                /* widget id                      */
5439     #if defined(GX_WIDGET_USER_DATA)
5440     0,                                       /* user data                      */
5441     #endif
5442     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
5443     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5444     sizeof(GX_CIRCULAR_GAUGE),               /* control block size             */
5445     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5446     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5447     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
5448     gx_studio_circular_gauge_create,         /* create function                */
5449     GX_NULL,                                 /* drawing function override      */
5450     GX_NULL,                                 /* event function override        */
5451     {167, 80, 446, 359},                     /* widget size                    */
5452     GX_NULL,                                 /* no next widget                 */
5453     GX_NULL,                                 /* no child widgets               */
5454     offsetof(GAUGE_SCREEN_CONTROL_BLOCK, gauge_screen_gauge_1), /* control block */
5455     (void *) &gauge_screen_gauge_1_properties /* extended properties           */
5456 };
5457 
5458 GX_CONST GX_STUDIO_WIDGET gauge_screen_next_button_4_define =
5459 {
5460     "next_button_4",
5461     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
5462     IDB_NEXT,                                /* widget id                      */
5463     #if defined(GX_WIDGET_USER_DATA)
5464     0,                                       /* user data                      */
5465     #endif
5466     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5467     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5468     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
5469     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* normal color id                */
5470     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
5471     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* disabled color id              */
5472     gx_studio_text_button_create,            /* create function                */
5473     GX_NULL,                                 /* drawing function override      */
5474     GX_NULL,                                 /* event function override        */
5475     {515, 411, 594, 435},                    /* widget size                    */
5476     &gauge_screen_gauge_1_define,            /* next widget definition         */
5477     GX_NULL,                                 /* no child widgets               */
5478     offsetof(GAUGE_SCREEN_CONTROL_BLOCK, gauge_screen_next_button_4), /* control block */
5479     (void *) &gauge_screen_next_button_4_properties /* extended properties     */
5480 };
5481 
5482 GX_CONST GX_STUDIO_WIDGET gauge_screen_prompt_6_define =
5483 {
5484     "prompt_6",
5485     GX_TYPE_PROMPT,                          /* widget type                    */
5486     GX_ID_NONE,                              /* widget id                      */
5487     #if defined(GX_WIDGET_USER_DATA)
5488     0,                                       /* user data                      */
5489     #endif
5490     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
5491     0,                                       /* status flags                   */
5492     sizeof(GX_PROMPT),                       /* control block size             */
5493     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5494     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5495     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
5496     gx_studio_prompt_create,                 /* create function                */
5497     (VOID (*)(GX_WIDGET *)) gauge_prompt_draw, /* drawing function override    */
5498     GX_NULL,                                 /* event function override        */
5499     {256, 380, 365, 397},                    /* widget size                    */
5500     &gauge_screen_next_button_4_define,      /* next widget definition         */
5501     GX_NULL,                                 /* no child widgets               */
5502     offsetof(GAUGE_SCREEN_CONTROL_BLOCK, gauge_screen_prompt_6), /* control block */
5503     (void *) &gauge_screen_prompt_6_properties /* extended properties          */
5504 };
5505 
5506 GX_STUDIO_ACTION gauge_screen__idb_next_gx_event_clicked_actions[2] = {
5507     {GX_ACTION_TYPE_TOGGLE, 0, &Primary_root_window, &sprite_screen, GX_NULL},
5508     {0, 0, GX_NULL, GX_NULL, GX_NULL}
5509 };
5510 
5511 static GX_STUDIO_EVENT_ENTRY gx_studio_gauge_screen_event_table[] = {
5512     {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, gauge_screen__idb_next_gx_event_clicked_actions},
5513     {0, 0, GX_NULL}
5514 };
5515 
5516 GX_STUDIO_EVENT_PROCESS gauge_screen_event_chain = {gx_studio_gauge_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gauge_event_handle};
gx_studio_gauge_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)5517 static UINT gx_studio_gauge_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
5518 {
5519     return (gx_studio_auto_event_handler(target, event_ptr, &gauge_screen_event_chain));
5520 }
5521 
5522 
5523 GX_CONST GX_STUDIO_WIDGET gauge_screen_define =
5524 {
5525     "gauge_screen",
5526     GX_TYPE_WINDOW,                          /* widget type                    */
5527     ID_GAUGE_SCREEN,                         /* widget id                      */
5528     #if defined(GX_WIDGET_USER_DATA)
5529     0,                                       /* user data                      */
5530     #endif
5531     GX_STYLE_BORDER_THICK,                   /* style flags                    */
5532     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5533     sizeof(GAUGE_SCREEN_CONTROL_BLOCK),      /* control block size             */
5534     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
5535     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
5536     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
5537     gx_studio_window_create,                 /* create function                */
5538     GX_NULL,                                 /* drawing function override      */
5539     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_gauge_screen_event_process, /* event function override */
5540     {33, 28, 608, 448},                      /* widget size                    */
5541     GX_NULL,                                 /* next widget                    */
5542     &gauge_screen_prompt_6_define,           /* child widget                   */
5543     0,                                       /* control block                  */
5544     (void *) &gauge_screen_properties        /* extended properties            */
5545 };
5546 GX_WINDOW_PROPERTIES popup_modal_properties =
5547 {
5548     0                                        /* wallpaper pixelmap id          */
5549 };
5550 GX_TEXT_BUTTON_PROPERTIES popup_modal_OK_button_properties =
5551 {
5552     GX_STRING_ID_STRING_41,                  /* string id                      */
5553     GX_FONT_ID_BUTTON,                       /* font id                        */
5554     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
5555     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
5556     GX_COLOR_ID_BTN_TEXT                     /* disabled text color            */
5557 };
5558 GX_TEXT_BUTTON_PROPERTIES popup_modal_cancel_button_properties =
5559 {
5560     GX_STRING_ID_STRING_42,                  /* string id                      */
5561     GX_FONT_ID_BUTTON,                       /* font id                        */
5562     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
5563     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
5564     GX_COLOR_ID_BTN_TEXT                     /* disabled text color            */
5565 };
5566 GX_ML_TEXT_VIEW_PROPERTIES popup_modal_text_view_2_properties =
5567 {
5568     GX_STRING_ID_STRING_43,                  /* string id                      */
5569     GX_FONT_ID_TEXT_INPUT,                   /* font id                        */
5570     GX_COLOR_ID_BLACK,                       /* normal text color              */
5571     GX_COLOR_ID_BLACK,                       /* selected text color            */
5572     GX_COLOR_ID_BLACK,                       /* disabled text color            */
5573     0,                                       /* whitespace                     */
5574     0                                        /* line_space                     */
5575 };
5576 GX_WINDOW_PROPERTIES popup_modal_window_1_properties =
5577 {
5578     GX_PIXELMAP_ID_TOP_BAR_BACKGROUND        /* wallpaper pixelmap id          */
5579 };
5580 GX_PROMPT_PROPERTIES popup_modal_prompt_5_properties =
5581 {
5582     GX_STRING_ID_STRING_45,                  /* string id                      */
5583     GX_FONT_ID_PROMPT,                       /* font id                        */
5584     GX_COLOR_ID_WHITE,                       /* normal text color              */
5585     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
5586     GX_COLOR_ID_WHITE                        /* disabled text color            */
5587 };
5588 
5589 GX_CONST GX_STUDIO_WIDGET popup_modal_prompt_5_define =
5590 {
5591     "prompt_5",
5592     GX_TYPE_PROMPT,                          /* widget type                    */
5593     GX_ID_NONE,                              /* widget id                      */
5594     #if defined(GX_WIDGET_USER_DATA)
5595     0,                                       /* user data                      */
5596     #endif
5597     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5598     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5599     sizeof(GX_PROMPT),                       /* control block size             */
5600     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5601     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5602     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
5603     gx_studio_prompt_create,                 /* create function                */
5604     GX_NULL,                                 /* drawing function override      */
5605     GX_NULL,                                 /* event function override        */
5606     {277, 125, 356, 148},                    /* widget size                    */
5607     GX_NULL,                                 /* no next widget                 */
5608     GX_NULL,                                 /* no child widgets               */
5609     offsetof(POPUP_MODAL_CONTROL_BLOCK, popup_modal_prompt_5), /* control block */
5610     (void *) &popup_modal_prompt_5_properties /* extended properties           */
5611 };
5612 
5613 GX_CONST GX_STUDIO_WIDGET popup_modal_window_1_define =
5614 {
5615     "window_1",
5616     GX_TYPE_WINDOW,                          /* widget type                    */
5617     GX_ID_NONE,                              /* widget id                      */
5618     #if defined(GX_WIDGET_USER_DATA)
5619     0,                                       /* user data                      */
5620     #endif
5621     GX_STYLE_BORDER_THIN|GX_STYLE_TILE_WALLPAPER,   /* style flags             */
5622     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5623     sizeof(GX_WINDOW),                       /* control block size             */
5624     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
5625     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
5626     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
5627     gx_studio_window_create,                 /* create function                */
5628     GX_NULL,                                 /* drawing function override      */
5629     GX_NULL,                                 /* event function override        */
5630     {157, 121, 476, 153},                    /* widget size                    */
5631     GX_NULL,                                 /* no next widget                 */
5632     &popup_modal_prompt_5_define,            /* child widget definition        */
5633     offsetof(POPUP_MODAL_CONTROL_BLOCK, popup_modal_window_1), /* control block */
5634     (void *) &popup_modal_window_1_properties /* extended properties           */
5635 };
5636 
5637 GX_CONST GX_STUDIO_WIDGET popup_modal_text_view_2_define =
5638 {
5639     "text_view_2",
5640     GX_TYPE_MULTI_LINE_TEXT_VIEW,            /* widget type                    */
5641     GX_ID_NONE,                              /* widget id                      */
5642     #if defined(GX_WIDGET_USER_DATA)
5643     0,                                       /* user data                      */
5644     #endif
5645     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_DRAW_SELECTED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5646     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5647     sizeof(GX_MULTI_LINE_TEXT_VIEW),         /* control block size             */
5648     GX_COLOR_ID_CANVAS,                      /* normal color id                */
5649     GX_COLOR_ID_CANVAS,                      /* selected color id              */
5650     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
5651     gx_studio_multi_line_text_view_create,     /* create function              */
5652     GX_NULL,                                 /* drawing function override      */
5653     GX_NULL,                                 /* event function override        */
5654     {172, 176, 464, 293},                    /* widget size                    */
5655     &popup_modal_window_1_define,            /* next widget definition         */
5656     GX_NULL,                                 /* no child widgets               */
5657     offsetof(POPUP_MODAL_CONTROL_BLOCK, popup_modal_text_view_2), /* control block */
5658     (void *) &popup_modal_text_view_2_properties /* extended properties        */
5659 };
5660 
5661 GX_CONST GX_STUDIO_WIDGET popup_modal_cancel_button_define =
5662 {
5663     "cancel_button",
5664     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
5665     IDB_CANCEL,                              /* widget id                      */
5666     #if defined(GX_WIDGET_USER_DATA)
5667     20,                                      /* user data                      */
5668     #endif
5669     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5670     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5671     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
5672     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
5673     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
5674     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
5675     gx_studio_text_button_create,            /* create function                */
5676     GX_NULL,                                 /* drawing function override      */
5677     GX_NULL,                                 /* event function override        */
5678     {200, 309, 279, 343},                    /* widget size                    */
5679     &popup_modal_text_view_2_define,         /* next widget definition         */
5680     GX_NULL,                                 /* no child widgets               */
5681     offsetof(POPUP_MODAL_CONTROL_BLOCK, popup_modal_cancel_button), /* control block */
5682     (void *) &popup_modal_cancel_button_properties /* extended properties      */
5683 };
5684 
5685 GX_CONST GX_STUDIO_WIDGET popup_modal_OK_button_define =
5686 {
5687     "OK_button",
5688     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
5689     IDB_OK,                                  /* widget id                      */
5690     #if defined(GX_WIDGET_USER_DATA)
5691     0,                                       /* user data                      */
5692     #endif
5693     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5694     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5695     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
5696     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
5697     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
5698     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
5699     gx_studio_text_button_create,            /* create function                */
5700     GX_NULL,                                 /* drawing function override      */
5701     GX_NULL,                                 /* event function override        */
5702     {364, 309, 443, 343},                    /* widget size                    */
5703     &popup_modal_cancel_button_define,       /* next widget definition         */
5704     GX_NULL,                                 /* no child widgets               */
5705     offsetof(POPUP_MODAL_CONTROL_BLOCK, popup_modal_OK_button), /* control block */
5706     (void *) &popup_modal_OK_button_properties /* extended properties          */
5707 };
5708 
5709 GX_STUDIO_ACTION popup_modal__idb_ok_gx_event_clicked_actions[2] = {
5710     {GX_ACTION_TYPE_WINDOW_EXECUTE_STOP, 0, &Primary_root_window, &popup_modal, GX_NULL},
5711     {0, 0, GX_NULL, GX_NULL, GX_NULL}
5712 };
5713 
5714 
5715 GX_STUDIO_ACTION popup_modal__idb_cancel_gx_event_clicked_actions[2] = {
5716     {GX_ACTION_TYPE_WINDOW_EXECUTE_STOP, 0, &Primary_root_window, &popup_modal, GX_NULL},
5717     {0, 0, GX_NULL, GX_NULL, GX_NULL}
5718 };
5719 
5720 static GX_STUDIO_EVENT_ENTRY gx_studio_popup_modal_event_table[] = {
5721     {GX_SIGNAL(IDB_OK, GX_EVENT_CLICKED), 0, popup_modal__idb_ok_gx_event_clicked_actions},
5722     {GX_SIGNAL(IDB_CANCEL, GX_EVENT_CLICKED), 0, popup_modal__idb_cancel_gx_event_clicked_actions},
5723     {0, 0, GX_NULL}
5724 };
5725 
5726 GX_STUDIO_EVENT_PROCESS popup_modal_event_chain = {gx_studio_popup_modal_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process};
gx_studio_popup_modal_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)5727 static UINT gx_studio_popup_modal_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
5728 {
5729     return (gx_studio_auto_event_handler(target, event_ptr, &popup_modal_event_chain));
5730 }
5731 
5732 
5733 GX_CONST GX_STUDIO_WIDGET popup_modal_define =
5734 {
5735     "popup_modal",
5736     GX_TYPE_WINDOW,                          /* widget type                    */
5737     GX_ID_NONE,                              /* widget id                      */
5738     #if defined(GX_WIDGET_USER_DATA)
5739     0,                                       /* user data                      */
5740     #endif
5741     GX_STYLE_BORDER_RAISED,                  /* style flags                    */
5742     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5743     sizeof(POPUP_MODAL_CONTROL_BLOCK),       /* control block size             */
5744     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
5745     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
5746     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
5747     gx_studio_window_create,                 /* create function                */
5748     GX_NULL,                                 /* drawing function override      */
5749     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_popup_modal_event_process, /* event function override */
5750     {160, 120, 479, 359},                    /* widget size                    */
5751     GX_NULL,                                 /* next widget                    */
5752     &popup_modal_OK_button_define,           /* child widget                   */
5753     0,                                       /* control block                  */
5754     (void *) &popup_modal_properties         /* extended properties            */
5755 };
5756 GX_WINDOW_PROPERTIES indicator_screen_properties =
5757 {
5758     0                                        /* wallpaper pixelmap id          */
5759 };
5760 GX_SLIDER_PROPERTIES indicator_screen_slider_properties =
5761 {
5762     9,                                       /* tickmark count                 */
5763     0,                                       /* mimimun value                  */
5764     100,                                     /* maximum value                  */
5765     50,                                      /* current value                  */
5766     10,                                      /* increment                      */
5767     10,                                      /* minimum travel                 */
5768     10,                                      /* maximum travel                 */
5769     5,                                       /* needle width                   */
5770     20,                                      /* needle height                  */
5771     5,                                       /* needle inset                   */
5772     2                                        /* needle hotspot                 */
5773 };
5774 GX_SLIDER_PROPERTIES indicator_screen_slider_1_properties =
5775 {
5776     9,                                       /* tickmark count                 */
5777     0,                                       /* mimimun value                  */
5778     100,                                     /* maximum value                  */
5779     50,                                      /* current value                  */
5780     10,                                      /* increment                      */
5781     10,                                      /* minimum travel                 */
5782     10,                                      /* maximum travel                 */
5783     20,                                      /* needle width                   */
5784     5,                                       /* needle height                  */
5785     5,                                       /* needle inset                   */
5786     2                                        /* needle hotspot                 */
5787 };
5788 GX_PIXELMAP_SLIDER_PROPERTIES indicator_screen_pixelmap_slider_properties =
5789 {
5790     0,                                       /* minimum value                  */
5791     100,                                     /* maximum value                  */
5792     50,                                      /* current value                  */
5793     10,                                      /* increment                      */
5794     10,                                      /* minimum travel                 */
5795     10,                                      /* maximum travel                 */
5796     20,                                      /* needle width                   */
5797     5,                                       /* needle height                  */
5798     0,                                       /* needle inset                   */
5799     10,                                      /* needle hotspot                 */
5800     GX_PIXELMAP_ID_HORIZONTAL_FILL_BKGND,    /* lower pixelmap id              */
5801     0,                                       /* upper pixelmap id              */
5802     GX_PIXELMAP_ID_I_INDICATOR_HORIZONTAL    /* needle pixelmap id             */
5803 };
5804 GX_PIXELMAP_SLIDER_PROPERTIES indicator_screen_pixelmap_slider_1_properties =
5805 {
5806     0,                                       /* minimum value                  */
5807     100,                                     /* maximum value                  */
5808     50,                                      /* current value                  */
5809     10,                                      /* increment                      */
5810     10,                                      /* minimum travel                 */
5811     10,                                      /* maximum travel                 */
5812     0,                                       /* needle width                   */
5813     0,                                       /* needle height                  */
5814     -2,                                      /* needle inset                   */
5815     10,                                      /* needle hotspot                 */
5816     GX_PIXELMAP_ID_I_ORANGEFILL_MIDDLE,      /* lower pixelmap id              */
5817     GX_PIXELMAP_ID_I_EMPTYFILL_MIDDLE,       /* upper pixelmap id              */
5818     GX_PIXELMAP_ID_I_INDICATOR               /* needle pixelmap id             */
5819 };
5820 GX_ICON_PROPERTIES indicator_screen_icon_1_properties =
5821 {
5822     GX_PIXELMAP_ID_I_EMPTYFILL_TOP,          /* normal pixelmap id             */
5823     0                                        /* selected pixelmap id           */
5824 };
5825 GX_ICON_PROPERTIES indicator_screen_icon_2_properties =
5826 {
5827     GX_PIXELMAP_ID_I_ORANGEFILL_BOTTOM,      /* normal pixelmap id             */
5828     0                                        /* selected pixelmap id           */
5829 };
5830 GX_PROMPT_PROPERTIES indicator_screen_slider_title_properties =
5831 {
5832     GX_STRING_ID_STRING_38,                  /* string id                      */
5833     GX_FONT_ID_PROMPT,                       /* font id                        */
5834     GX_COLOR_ID_TEXT,                        /* normal text color              */
5835     GX_COLOR_ID_TEXT,                        /* selected text color            */
5836     GX_COLOR_ID_TEXT                         /* disabled text color            */
5837 };
5838 GX_TEXT_BUTTON_PROPERTIES indicator_screen_next_button_3_properties =
5839 {
5840     GX_STRING_ID_STRING_36,                  /* string id                      */
5841     GX_FONT_ID_BUTTON,                       /* font id                        */
5842     GX_COLOR_ID_WHITE,                       /* normal text color              */
5843     GX_COLOR_ID_WHITE,                       /* selected text color            */
5844     GX_COLOR_ID_WHITE                        /* disabled text color            */
5845 };
5846 GX_PROGRESS_BAR_INFO indicator_screen_progress_bar_1_properties =
5847 {
5848     0,                                       /* mimimun value                  */
5849     100,                                     /* maximum value                  */
5850     50,                                      /* current value                  */
5851     GX_FONT_ID_SYSTEM,                       /* font_id                        */
5852     GX_COLOR_ID_SHINE,                       /* normal text color              */
5853     GX_COLOR_ID_SHINE,                       /* selected text color            */
5854     GX_COLOR_ID_SHINE,                       /* disabled text color            */
5855     0                                        /* fill pixelmap                  */
5856 };
5857 GX_PIXELMAP_SLIDER_PROPERTIES indicator_screen_pixelmap_slider_2_properties =
5858 {
5859     0,                                       /* minimum value                  */
5860     100,                                     /* maximum value                  */
5861     80,                                      /* current value                  */
5862     10,                                      /* increment                      */
5863     10,                                      /* minimum travel                 */
5864     10,                                      /* maximum travel                 */
5865     0,                                       /* needle width                   */
5866     20,                                      /* needle height                  */
5867     4,                                       /* needle inset                   */
5868     10,                                      /* needle hotspot                 */
5869     GX_PIXELMAP_ID_I_ORANGEFILL_MIDDLE_HORIZONTAL, /* lower pixelmap id        */
5870     GX_PIXELMAP_ID_I_EMPTYFILL_MIDDLE_HORIZONTAL, /* upper pixelmap id         */
5871     GX_PIXELMAP_ID_I_INDICATOR_HORIZONTAL    /* needle pixelmap id             */
5872 };
5873 GX_RADIAL_PROGRESS_BAR_INFO indicator_screen_radial_progress_bar_properties =
5874 {
5875     414,                                     /* xcenter                        */
5876     311,                                     /* ycenter                        */
5877     23,                                      /* radius                         */
5878     -80,                                     /* current val                    */
5879     90,                                      /* anchor val                     */
5880     GX_FONT_ID_SYSTEM,                       /* font_id                        */
5881     GX_COLOR_ID_TEXT,                        /* normal text color              */
5882     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
5883     GX_COLOR_ID_TEXT,                        /* disabled text color            */
5884     8,                                       /* normal brush width             */
5885     8,                                       /* selected brush width           */
5886     GX_COLOR_ID_SLIDER_NEEDLE_FILL,          /* normal brush color             */
5887     GX_COLOR_ID_SELECTED_FILL,               /* selected brush color           */
5888 };
5889 
5890 GX_CONST GX_STUDIO_WIDGET indicator_screen_radial_progress_bar_define =
5891 {
5892     "radial_progress_bar",
5893     GX_TYPE_RADIAL_PROGRESS_BAR,             /* widget type                    */
5894     GX_ID_NONE,                              /* widget id                      */
5895     #if defined(GX_WIDGET_USER_DATA)
5896     0,                                       /* user data                      */
5897     #endif
5898     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_PROGRESS_PERCENT|GX_STYLE_PROGRESS_TEXT_DRAW|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND,   /* style flags */
5899     0,                                       /* status flags                   */
5900     sizeof(GX_RADIAL_PROGRESS_BAR),          /* control block size             */
5901     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5902     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5903     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
5904     gx_studio_radial_progress_bar_create,     /* create function               */
5905     GX_NULL,                                 /* drawing function override      */
5906     GX_NULL,                                 /* event function override        */
5907     {387, 284, 441, 338},                    /* widget size                    */
5908     GX_NULL,                                 /* no next widget                 */
5909     GX_NULL,                                 /* no child widgets               */
5910     offsetof(INDICATOR_SCREEN_CONTROL_BLOCK, indicator_screen_radial_progress_bar), /* control block */
5911     (void *) &indicator_screen_radial_progress_bar_properties /* extended properties */
5912 };
5913 
5914 GX_CONST GX_STUDIO_WIDGET indicator_screen_pixelmap_slider_2_define =
5915 {
5916     "pixelmap_slider_2",
5917     GX_TYPE_PIXELMAP_SLIDER,                 /* widget type                    */
5918     ID_PIXELMAP_SLIDER1,                     /* widget id                      */
5919     #if defined(GX_WIDGET_USER_DATA)
5920     0,                                       /* user data                      */
5921     #endif
5922     GX_STYLE_BORDER_RAISED|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TILE_BACKGROUND,   /* style flags */
5923     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5924     sizeof(GX_PIXELMAP_SLIDER),              /* control block size             */
5925     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5926     GX_COLOR_ID_WIDGET_FILL,                 /* selected color id              */
5927     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
5928     gx_studio_pixelmap_slider_create,        /* create function                */
5929     GX_NULL,                                 /* drawing function override      */
5930     GX_NULL,                                 /* event function override        */
5931     {171, 289, 331, 326},                    /* widget size                    */
5932     &indicator_screen_radial_progress_bar_define, /* next widget definition    */
5933     GX_NULL,                                 /* no child widgets               */
5934     offsetof(INDICATOR_SCREEN_CONTROL_BLOCK, indicator_screen_pixelmap_slider_2), /* control block */
5935     (void *) &indicator_screen_pixelmap_slider_2_properties /* extended properties */
5936 };
5937 
5938 GX_CONST GX_STUDIO_WIDGET indicator_screen_progress_bar_1_define =
5939 {
5940     "progress_bar_1",
5941     GX_TYPE_PROGRESS_BAR,                    /* widget type                    */
5942     GX_ID_NONE,                              /* widget id                      */
5943     #if defined(GX_WIDGET_USER_DATA)
5944     0,                                       /* user data                      */
5945     #endif
5946     GX_STYLE_BORDER_RAISED|GX_STYLE_PROGRESS_PERCENT|GX_STYLE_PROGRESS_TEXT_DRAW,   /* style flags */
5947     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5948     sizeof(GX_PROGRESS_BAR),                 /* control block size             */
5949     GX_COLOR_ID_SHADOW,                      /* normal color id                */
5950     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5951     GX_COLOR_ID_SHADOW,                      /* disabled color id              */
5952     gx_studio_progress_bar_create,           /* create function                */
5953     GX_NULL,                                 /* drawing function override      */
5954     GX_NULL,                                 /* event function override        */
5955     {276, 225, 441, 263},                    /* widget size                    */
5956     &indicator_screen_pixelmap_slider_2_define, /* next widget definition      */
5957     GX_NULL,                                 /* no child widgets               */
5958     offsetof(INDICATOR_SCREEN_CONTROL_BLOCK, indicator_screen_progress_bar_1), /* control block */
5959     (void *) &indicator_screen_progress_bar_1_properties /* extended properties */
5960 };
5961 
5962 GX_CONST GX_STUDIO_WIDGET indicator_screen_next_button_3_define =
5963 {
5964     "next_button_3",
5965     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
5966     IDB_NEXT,                                /* widget id                      */
5967     #if defined(GX_WIDGET_USER_DATA)
5968     0,                                       /* user data                      */
5969     #endif
5970     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5971     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5972     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
5973     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* normal color id                */
5974     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
5975     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* disabled color id              */
5976     gx_studio_text_button_create,            /* create function                */
5977     GX_NULL,                                 /* drawing function override      */
5978     GX_NULL,                                 /* event function override        */
5979     {375, 351, 454, 378},                    /* widget size                    */
5980     &indicator_screen_progress_bar_1_define, /* next widget definition         */
5981     GX_NULL,                                 /* no child widgets               */
5982     offsetof(INDICATOR_SCREEN_CONTROL_BLOCK, indicator_screen_next_button_3), /* control block */
5983     (void *) &indicator_screen_next_button_3_properties /* extended properties */
5984 };
5985 
5986 GX_CONST GX_STUDIO_WIDGET indicator_screen_slider_title_define =
5987 {
5988     "slider_title",
5989     GX_TYPE_PROMPT,                          /* widget type                    */
5990     GX_ID_NONE,                              /* widget id                      */
5991     #if defined(GX_WIDGET_USER_DATA)
5992     0,                                       /* user data                      */
5993     #endif
5994     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5995     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5996     sizeof(GX_PROMPT),                       /* control block size             */
5997     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5998     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5999     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
6000     gx_studio_prompt_create,                 /* create function                */
6001     GX_NULL,                                 /* drawing function override      */
6002     GX_NULL,                                 /* event function override        */
6003     {235, 68, 372, 91},                      /* widget size                    */
6004     &indicator_screen_next_button_3_define,  /* next widget definition         */
6005     GX_NULL,                                 /* no child widgets               */
6006     offsetof(INDICATOR_SCREEN_CONTROL_BLOCK, indicator_screen_slider_title), /* control block */
6007     (void *) &indicator_screen_slider_title_properties /* extended properties  */
6008 };
6009 
6010 GX_CONST GX_STUDIO_WIDGET indicator_screen_icon_2_define =
6011 {
6012     "icon_2",
6013     GX_TYPE_ICON,                            /* widget type                    */
6014     GX_ID_NONE,                              /* widget id                      */
6015     #if defined(GX_WIDGET_USER_DATA)
6016     0,                                       /* user data                      */
6017     #endif
6018     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
6019     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6020     sizeof(GX_ICON),                         /* control block size             */
6021     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6022     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6023     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
6024     gx_studio_icon_create,                   /* create function                */
6025     GX_NULL,                                 /* drawing function override      */
6026     GX_NULL,                                 /* event function override        */
6027     {163, 262, 184, 271},                    /* widget size                    */
6028     &indicator_screen_slider_title_define,   /* next widget definition         */
6029     GX_NULL,                                 /* no child widgets               */
6030     offsetof(INDICATOR_SCREEN_CONTROL_BLOCK, indicator_screen_icon_2), /* control block */
6031     (void *) &indicator_screen_icon_2_properties /* extended properties        */
6032 };
6033 
6034 GX_CONST GX_STUDIO_WIDGET indicator_screen_icon_1_define =
6035 {
6036     "icon_1",
6037     GX_TYPE_ICON,                            /* widget type                    */
6038     GX_ID_NONE,                              /* widget id                      */
6039     #if defined(GX_WIDGET_USER_DATA)
6040     0,                                       /* user data                      */
6041     #endif
6042     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
6043     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6044     sizeof(GX_ICON),                         /* control block size             */
6045     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6046     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6047     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
6048     gx_studio_icon_create,                   /* create function                */
6049     GX_NULL,                                 /* drawing function override      */
6050     GX_NULL,                                 /* event function override        */
6051     {163, 134, 184, 143},                    /* widget size                    */
6052     &indicator_screen_icon_2_define,         /* next widget definition         */
6053     GX_NULL,                                 /* no child widgets               */
6054     offsetof(INDICATOR_SCREEN_CONTROL_BLOCK, indicator_screen_icon_1), /* control block */
6055     (void *) &indicator_screen_icon_1_properties /* extended properties        */
6056 };
6057 
6058 GX_CONST GX_STUDIO_WIDGET indicator_screen_pixelmap_slider_1_define =
6059 {
6060     "pixelmap_slider_1",
6061     GX_TYPE_PIXELMAP_SLIDER,                 /* widget type                    */
6062     ID_PIXELMAP_SLIDER1,                     /* widget id                      */
6063     #if defined(GX_WIDGET_USER_DATA)
6064     0,                                       /* user data                      */
6065     #endif
6066     GX_STYLE_BORDER_RAISED|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_SLIDER_VERTICAL|GX_STYLE_TILE_BACKGROUND,   /* style flags */
6067     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6068     sizeof(GX_PIXELMAP_SLIDER),              /* control block size             */
6069     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6070     GX_COLOR_ID_WIDGET_FILL,                 /* selected color id              */
6071     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
6072     gx_studio_pixelmap_slider_create,        /* create function                */
6073     GX_NULL,                                 /* drawing function override      */
6074     GX_NULL,                                 /* event function override        */
6075     {160, 144, 188, 264},                    /* widget size                    */
6076     &indicator_screen_icon_1_define,         /* next widget definition         */
6077     GX_NULL,                                 /* no child widgets               */
6078     offsetof(INDICATOR_SCREEN_CONTROL_BLOCK, indicator_screen_pixelmap_slider_1), /* control block */
6079     (void *) &indicator_screen_pixelmap_slider_1_properties /* extended properties */
6080 };
6081 
6082 GX_CONST GX_STUDIO_WIDGET indicator_screen_pixelmap_slider_define =
6083 {
6084     "pixelmap_slider",
6085     GX_TYPE_PIXELMAP_SLIDER,                 /* widget type                    */
6086     ID_PIXELMAP_SLIDER_H,                    /* widget id                      */
6087     #if defined(GX_WIDGET_USER_DATA)
6088     0,                                       /* user data                      */
6089     #endif
6090     GX_STYLE_BORDER_RAISED|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
6091     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6092     sizeof(GX_PIXELMAP_SLIDER),              /* control block size             */
6093     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
6094     GX_COLOR_ID_BTN_LOWER,                   /* selected color id              */
6095     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
6096     gx_studio_pixelmap_slider_create,        /* create function                */
6097     GX_NULL,                                 /* drawing function override      */
6098     GX_NULL,                                 /* event function override        */
6099     {283, 185, 426, 206},                    /* widget size                    */
6100     &indicator_screen_pixelmap_slider_1_define, /* next widget definition      */
6101     GX_NULL,                                 /* no child widgets               */
6102     offsetof(INDICATOR_SCREEN_CONTROL_BLOCK, indicator_screen_pixelmap_slider), /* control block */
6103     (void *) &indicator_screen_pixelmap_slider_properties /* extended properties */
6104 };
6105 
6106 GX_CONST GX_STUDIO_WIDGET indicator_screen_slider_1_define =
6107 {
6108     "slider_1",
6109     GX_TYPE_SLIDER,                          /* widget type                    */
6110     ID_SLIDER_1,                             /* widget id                      */
6111     #if defined(GX_WIDGET_USER_DATA)
6112     0,                                       /* user data                      */
6113     #endif
6114     GX_STYLE_BORDER_RECESSED|GX_STYLE_ENABLED|GX_STYLE_SHOW_NEEDLE|GX_STYLE_SHOW_TICKMARKS|GX_STYLE_SLIDER_VERTICAL,   /* style flags */
6115     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6116     sizeof(GX_SLIDER),                       /* control block size             */
6117     GX_COLOR_ID_BTN_UPPER,                   /* normal color id                */
6118     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
6119     GX_COLOR_ID_BTN_UPPER,                   /* disabled color id              */
6120     gx_studio_slider_create,                 /* create function                */
6121     GX_NULL,                                 /* drawing function override      */
6122     GX_NULL,                                 /* event function override        */
6123     {207, 133, 240, 272},                    /* widget size                    */
6124     &indicator_screen_pixelmap_slider_define, /* next widget definition        */
6125     GX_NULL,                                 /* no child widgets               */
6126     offsetof(INDICATOR_SCREEN_CONTROL_BLOCK, indicator_screen_slider_1), /* control block */
6127     (void *) &indicator_screen_slider_1_properties /* extended properties      */
6128 };
6129 
6130 GX_CONST GX_STUDIO_WIDGET indicator_screen_slider_define =
6131 {
6132     "slider",
6133     GX_TYPE_SLIDER,                          /* widget type                    */
6134     ID_SLIDER_HORIZONTAL,                    /* widget id                      */
6135     #if defined(GX_WIDGET_USER_DATA)
6136     0,                                       /* user data                      */
6137     #endif
6138     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_SHOW_NEEDLE|GX_STYLE_SHOW_TICKMARKS,   /* style flags */
6139     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6140     sizeof(GX_SLIDER),                       /* control block size             */
6141     GX_COLOR_ID_ORANGE,                      /* normal color id                */
6142     GX_COLOR_ID_ORANGE,                      /* selected color id              */
6143     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
6144     gx_studio_slider_create,                 /* create function                */
6145     GX_NULL,                                 /* drawing function override      */
6146     GX_NULL,                                 /* event function override        */
6147     {263, 130, 446, 166},                    /* widget size                    */
6148     &indicator_screen_slider_1_define,       /* next widget definition         */
6149     GX_NULL,                                 /* no child widgets               */
6150     offsetof(INDICATOR_SCREEN_CONTROL_BLOCK, indicator_screen_slider), /* control block */
6151     (void *) &indicator_screen_slider_properties /* extended properties        */
6152 };
6153 
6154 GX_STUDIO_ACTION indicator_screen__idb_next_gx_event_clicked_actions[2] = {
6155     {GX_ACTION_TYPE_TOGGLE, 0, &Primary_root_window, &text_screen, GX_NULL},
6156     {0, 0, GX_NULL, GX_NULL, GX_NULL}
6157 };
6158 
6159 static GX_STUDIO_EVENT_ENTRY gx_studio_indicator_screen_event_table[] = {
6160     {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, indicator_screen__idb_next_gx_event_clicked_actions},
6161     {0, 0, GX_NULL}
6162 };
6163 
6164 GX_STUDIO_EVENT_PROCESS indicator_screen_event_chain = {gx_studio_indicator_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process};
gx_studio_indicator_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)6165 static UINT gx_studio_indicator_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
6166 {
6167     return (gx_studio_auto_event_handler(target, event_ptr, &indicator_screen_event_chain));
6168 }
6169 
6170 
6171 GX_CONST GX_STUDIO_WIDGET indicator_screen_define =
6172 {
6173     "indicator_screen",
6174     GX_TYPE_WINDOW,                          /* widget type                    */
6175     ID_INDICATOR_SCREEN,                     /* widget id                      */
6176     #if defined(GX_WIDGET_USER_DATA)
6177     0,                                       /* user data                      */
6178     #endif
6179     GX_STYLE_BORDER_THIN,                    /* style flags                    */
6180     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6181     sizeof(INDICATOR_SCREEN_CONTROL_BLOCK),  /* control block size             */
6182     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
6183     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
6184     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
6185     gx_studio_window_create,                 /* create function                */
6186     GX_NULL,                                 /* drawing function override      */
6187     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_indicator_screen_event_process, /* event function override */
6188     {146, 53, 465, 386},                     /* widget size                    */
6189     GX_NULL,                                 /* next widget                    */
6190     &indicator_screen_slider_define,         /* child widget                   */
6191     0,                                       /* control block                  */
6192     (void *) &indicator_screen_properties    /* extended properties            */
6193 };
6194 GX_WINDOW_PROPERTIES text_screen_properties =
6195 {
6196     0                                        /* wallpaper pixelmap id          */
6197 };
6198 GX_PROMPT_PROPERTIES text_screen_prompt_1_properties =
6199 {
6200     GX_STRING_ID_STRING_24,                  /* string id                      */
6201     GX_FONT_ID_PROMPT,                       /* font id                        */
6202     GX_COLOR_ID_TEXT,                        /* normal text color              */
6203     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6204     GX_COLOR_ID_TEXT                         /* disabled text color            */
6205 };
6206 GX_PROMPT_PROPERTIES text_screen_prompt_2_properties =
6207 {
6208     GX_STRING_ID_STRING_29,                  /* string id                      */
6209     GX_FONT_ID_PROMPT,                       /* font id                        */
6210     GX_COLOR_ID_WHITE,                       /* normal text color              */
6211     GX_COLOR_ID_WHITE,                       /* selected text color            */
6212     GX_COLOR_ID_WHITE                        /* disabled text color            */
6213 };
6214 GX_PROMPT_PROPERTIES text_screen_prompt_3_properties =
6215 {
6216     GX_STRING_ID_STRING_27,                  /* string id                      */
6217     GX_FONT_ID_PROMPT,                       /* font id                        */
6218     GX_COLOR_ID_TEXT,                        /* normal text color              */
6219     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6220     GX_COLOR_ID_TEXT                         /* disabled text color            */
6221 };
6222 GX_PIXELMAP_PROMPT_PROPERTIES text_screen_prompt_4_properties =
6223 {
6224     GX_STRING_ID_STRING_30,                  /* string id                      */
6225     GX_FONT_ID_PROMPT,                       /* font id                        */
6226     GX_COLOR_ID_TEXT,                        /* normal text color              */
6227     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6228     GX_COLOR_ID_TEXT,                        /* disabled text color            */
6229     GX_PIXELMAP_ID_TFIELD_LEFT_SMALL,        /* left pixelmap id               */
6230     GX_PIXELMAP_ID_TFIELD_FILL_SMALL,        /* fill pixelmap id               */
6231     GX_PIXELMAP_ID_TFIELD_RIGHT_SMALL,       /* right pixelmap id              */
6232     0,                                       /* selected left pixelmap id      */
6233     0,                                       /* selected fill pixelmap id      */
6234     0                                        /* selected right pixelmap id     */
6235 };
6236 GX_CHAR text_screen_text_input_1_buffer[100];
6237 GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES text_screen_text_input_1_properties =
6238 {
6239     0,                                       /* string id                      */
6240     GX_FONT_ID_TEXT_INPUT,                   /* font id                        */
6241     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* normal text color              */
6242     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6243     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* disabled text color            */
6244     GX_COLOR_ID_READONLY_FILL,               /* readonly fill color            */
6245     GX_COLOR_ID_READONLY_TEXT,               /* readonly text color            */
6246     text_screen_text_input_1_buffer,         /* buffer                         */
6247     100,                                     /* buffer size                    */
6248 };
6249 GX_ML_TEXT_VIEW_PROPERTIES text_screen_text_view_1_properties =
6250 {
6251     GX_STRING_ID_STRING_31,                  /* string id                      */
6252     GX_FONT_ID_TEXT_INPUT,                   /* font id                        */
6253     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* normal text color              */
6254     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* selected text color            */
6255     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* disabled text color            */
6256     0,                                       /* whitespace                     */
6257     0                                        /* line_space                     */
6258 };
6259 GX_CHAR text_screen_text_input_2_buffer[200];
6260 GX_MULTI_LINE_TEXT_INPUT_PROPERTIES text_screen_text_input_2_properties =
6261 {
6262     0,                                       /* string id                      */
6263     GX_FONT_ID_TEXT_INPUT,                   /* font id                        */
6264     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* normal text color              */
6265     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6266     GX_COLOR_ID_TEXT_INPUT_TEXT,             /* disabled text color            */
6267     GX_COLOR_ID_READONLY_FILL,               /* readonly fill color            */
6268     GX_COLOR_ID_READONLY_TEXT,               /* readonly text color            */
6269     0,                                       /* whitespace                     */
6270     0,                                       /* line_space                     */
6271     text_screen_text_input_2_buffer,         /* buffer                         */
6272     200                                      /* buffer size                    */
6273 };
6274 GX_TEXT_BUTTON_PROPERTIES text_screen_next_button_2_properties =
6275 {
6276     GX_STRING_ID_STRING_36,                  /* string id                      */
6277     GX_FONT_ID_BUTTON,                       /* font id                        */
6278     GX_COLOR_ID_WHITE,                       /* normal text color              */
6279     GX_COLOR_ID_WHITE,                       /* selected text color            */
6280     GX_COLOR_ID_WHITE                        /* disabled text color            */
6281 };
6282 GX_NUMERIC_PROMPT_PROPERTIES text_screen_numeric_prompt_properties =
6283 {
6284     0,                                       /* string id                      */
6285     GX_FONT_ID_PROMPT,                       /* font id                        */
6286     GX_COLOR_ID_BLUE,                        /* normal text color              */
6287     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6288     GX_COLOR_ID_BLUE,                        /* disabled text color            */
6289     format_func,                             /* format function                */
6290     0                                        /* numeric prompt value           */
6291 };
6292 GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES text_screen_numeric_pixelmap_prompt_properties =
6293 {
6294     0,                                       /* string id                      */
6295     GX_FONT_ID_PROMPT,                       /* font id                        */
6296     GX_COLOR_ID_TEXT,                        /* normal text color              */
6297     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6298     GX_COLOR_ID_TEXT,                        /* disabled text color            */
6299     GX_PIXELMAP_ID_BUTTON_DISABLED,          /* left pixelmap id               */
6300     0,                                       /* fill pixelmap id               */
6301     0,                                       /* right pixelmap id              */
6302     0,                                       /* selected left pixelmap id      */
6303     0,                                       /* selected fill pixelmap id      */
6304     0,                                       /* selected right pixelmap id     */
6305     numeric_pixelmap_format_func,            /* format function                */
6306     0                                        /* numeric prompt value           */
6307 };
6308 
6309 GX_CONST GX_STUDIO_WIDGET text_screen_numeric_pixelmap_prompt_define =
6310 {
6311     "numeric_pixelmap_prompt",
6312     GX_TYPE_NUMERIC_PIXELMAP_PROMPT,         /* widget type                    */
6313     GX_ID_NONE,                              /* widget id                      */
6314     #if defined(GX_WIDGET_USER_DATA)
6315     0,                                       /* user data                      */
6316     #endif
6317     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
6318     0,                                       /* status flags                   */
6319     sizeof(GX_NUMERIC_PIXELMAP_PROMPT),      /* control block size             */
6320     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6321     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6322     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
6323     gx_studio_numeric_pixelmap_prompt_create,     /* create function           */
6324     GX_NULL,                                 /* drawing function override      */
6325     GX_NULL,                                 /* event function override        */
6326     {403, 131, 540, 209},                    /* widget size                    */
6327     GX_NULL,                                 /* no next widget                 */
6328     GX_NULL,                                 /* no child widgets               */
6329     offsetof(TEXT_SCREEN_CONTROL_BLOCK, text_screen_numeric_pixelmap_prompt), /* control block */
6330     (void *) &text_screen_numeric_pixelmap_prompt_properties /* extended properties */
6331 };
6332 
6333 GX_CONST GX_STUDIO_WIDGET text_screen_numeric_prompt_define =
6334 {
6335     "numeric_prompt",
6336     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
6337     GX_ID_NONE,                              /* widget id                      */
6338     #if defined(GX_WIDGET_USER_DATA)
6339     0,                                       /* user data                      */
6340     #endif
6341     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_RIGHT,   /* style flags */
6342     0,                                       /* status flags                   */
6343     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
6344     GX_COLOR_ID_ORANGE,                      /* normal color id                */
6345     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6346     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
6347     gx_studio_numeric_prompt_create,         /* create function                */
6348     GX_NULL,                                 /* drawing function override      */
6349     GX_NULL,                                 /* event function override        */
6350     {448, 32, 567, 55},                      /* widget size                    */
6351     &text_screen_numeric_pixelmap_prompt_define, /* next widget definition     */
6352     GX_NULL,                                 /* no child widgets               */
6353     offsetof(TEXT_SCREEN_CONTROL_BLOCK, text_screen_numeric_prompt), /* control block */
6354     (void *) &text_screen_numeric_prompt_properties /* extended properties     */
6355 };
6356 
6357 GX_CONST GX_STUDIO_WIDGET text_screen_next_button_2_define =
6358 {
6359     "next_button_2",
6360     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
6361     IDB_NEXT,                                /* widget id                      */
6362     #if defined(GX_WIDGET_USER_DATA)
6363     0,                                       /* user data                      */
6364     #endif
6365     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6366     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6367     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
6368     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* normal color id                */
6369     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
6370     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* disabled color id              */
6371     gx_studio_text_button_create,            /* create function                */
6372     GX_NULL,                                 /* drawing function override      */
6373     GX_NULL,                                 /* event function override        */
6374     {496, 414, 575, 438},                    /* widget size                    */
6375     &text_screen_numeric_prompt_define,      /* next widget definition         */
6376     GX_NULL,                                 /* no child widgets               */
6377     offsetof(TEXT_SCREEN_CONTROL_BLOCK, text_screen_next_button_2), /* control block */
6378     (void *) &text_screen_next_button_2_properties /* extended properties      */
6379 };
6380 
6381 GX_CONST GX_STUDIO_WIDGET text_screen_text_input_2_define =
6382 {
6383     "text_input_2",
6384     GX_TYPE_MULTI_LINE_TEXT_INPUT,           /* widget type                    */
6385     ID_ML_INPUT,                             /* widget id                      */
6386     #if defined(GX_WIDGET_USER_DATA)
6387     0,                                       /* user data                      */
6388     #endif
6389     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
6390     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6391     sizeof(GX_MULTI_LINE_TEXT_INPUT),        /* control block size             */
6392     GX_COLOR_ID_TEXT_INPUT_FILL,             /* normal color id                */
6393     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6394     GX_COLOR_ID_TEXT_INPUT_FILL,             /* disabled color id              */
6395     gx_studio_multi_line_text_input_create,     /* create function             */
6396     GX_NULL,                                 /* drawing function override      */
6397     GX_NULL,                                 /* event function override        */
6398     {321, 242, 572, 394},                    /* widget size                    */
6399     &text_screen_next_button_2_define,       /* next widget definition         */
6400     GX_NULL,                                 /* no child widgets               */
6401     offsetof(TEXT_SCREEN_CONTROL_BLOCK, text_screen_text_input_2), /* control block */
6402     (void *) &text_screen_text_input_2_properties /* extended properties       */
6403 };
6404 
6405 GX_CONST GX_STUDIO_WIDGET text_screen_text_view_1_define =
6406 {
6407     "text_view_1",
6408     GX_TYPE_MULTI_LINE_TEXT_VIEW,            /* widget type                    */
6409     ID_ML_VIEW,                              /* widget id                      */
6410     #if defined(GX_WIDGET_USER_DATA)
6411     0,                                       /* user data                      */
6412     #endif
6413     GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
6414     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6415     sizeof(GX_MULTI_LINE_TEXT_VIEW),         /* control block size             */
6416     GX_COLOR_ID_TEXT_INPUT_FILL,             /* normal color id                */
6417     GX_COLOR_ID_TEXT_INPUT_FILL,             /* selected color id              */
6418     GX_COLOR_ID_TEXT_INPUT_FILL,             /* disabled color id              */
6419     gx_studio_multi_line_text_view_create,     /* create function              */
6420     GX_NULL,                                 /* drawing function override      */
6421     GX_NULL,                                 /* event function override        */
6422     {56, 242, 306, 394},                     /* widget size                    */
6423     &text_screen_text_input_2_define,        /* next widget definition         */
6424     GX_NULL,                                 /* no child widgets               */
6425     offsetof(TEXT_SCREEN_CONTROL_BLOCK, text_screen_text_view_1), /* control block */
6426     (void *) &text_screen_text_view_1_properties /* extended properties        */
6427 };
6428 
6429 GX_CONST GX_STUDIO_WIDGET text_screen_text_input_1_define =
6430 {
6431     "text_input_1",
6432     GX_TYPE_SINGLE_LINE_TEXT_INPUT,          /* widget type                    */
6433     ID_SL_INPUT,                             /* widget id                      */
6434     #if defined(GX_WIDGET_USER_DATA)
6435     0,                                       /* user data                      */
6436     #endif
6437     GX_STYLE_BORDER_RECESSED|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
6438     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6439     sizeof(GX_SINGLE_LINE_TEXT_INPUT),       /* control block size             */
6440     GX_COLOR_ID_TEXT_INPUT_FILL,             /* normal color id                */
6441     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6442     GX_COLOR_ID_TEXT_INPUT_FILL,             /* disabled color id              */
6443     gx_studio_text_input_create,             /* create function                */
6444     GX_NULL,                                 /* drawing function override      */
6445     GX_NULL,                                 /* event function override        */
6446     {56, 196, 363, 231},                     /* widget size                    */
6447     &text_screen_text_view_1_define,         /* next widget definition         */
6448     GX_NULL,                                 /* no child widgets               */
6449     offsetof(TEXT_SCREEN_CONTROL_BLOCK, text_screen_text_input_1), /* control block */
6450     (void *) &text_screen_text_input_1_properties /* extended properties       */
6451 };
6452 
6453 GX_CONST GX_STUDIO_WIDGET text_screen_prompt_4_define =
6454 {
6455     "prompt_4",
6456     GX_TYPE_PIXELMAP_PROMPT,                 /* widget type                    */
6457     ID_PROMPT_4,                             /* widget id                      */
6458     #if defined(GX_WIDGET_USER_DATA)
6459     0,                                       /* user data                      */
6460     #endif
6461     GX_STYLE_BORDER_NONE|GX_STYLE_TEXT_CENTER,   /* style flags                */
6462     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6463     sizeof(GX_PIXELMAP_PROMPT),              /* control block size             */
6464     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6465     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6466     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
6467     gx_studio_pixelmap_prompt_create,        /* create function                */
6468     GX_NULL,                                 /* drawing function override      */
6469     GX_NULL,                                 /* event function override        */
6470     {56, 151, 363, 186},                     /* widget size                    */
6471     &text_screen_text_input_1_define,        /* next widget definition         */
6472     GX_NULL,                                 /* no child widgets               */
6473     offsetof(TEXT_SCREEN_CONTROL_BLOCK, text_screen_prompt_4), /* control block */
6474     (void *) &text_screen_prompt_4_properties /* extended properties           */
6475 };
6476 
6477 GX_CONST GX_STUDIO_WIDGET text_screen_prompt_3_define =
6478 {
6479     "prompt_3",
6480     GX_TYPE_PROMPT,                          /* widget type                    */
6481     ID_PROMPT_3,                             /* widget id                      */
6482     #if defined(GX_WIDGET_USER_DATA)
6483     0,                                       /* user data                      */
6484     #endif
6485     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
6486     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6487     sizeof(GX_PROMPT),                       /* control block size             */
6488     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6489     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6490     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
6491     gx_studio_prompt_create,                 /* create function                */
6492     GX_NULL,                                 /* drawing function override      */
6493     GX_NULL,                                 /* event function override        */
6494     {56, 64, 363, 88},                       /* widget size                    */
6495     &text_screen_prompt_4_define,            /* next widget definition         */
6496     GX_NULL,                                 /* no child widgets               */
6497     offsetof(TEXT_SCREEN_CONTROL_BLOCK, text_screen_prompt_3), /* control block */
6498     (void *) &text_screen_prompt_3_properties /* extended properties           */
6499 };
6500 
6501 GX_CONST GX_STUDIO_WIDGET text_screen_prompt_2_define =
6502 {
6503     "prompt_2",
6504     GX_TYPE_PROMPT,                          /* widget type                    */
6505     ID_PROMPT_2,                             /* widget id                      */
6506     #if defined(GX_WIDGET_USER_DATA)
6507     0,                                       /* user data                      */
6508     #endif
6509     GX_STYLE_BORDER_THICK|GX_STYLE_TEXT_CENTER,   /* style flags               */
6510     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6511     sizeof(GX_PROMPT),                       /* control block size             */
6512     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6513     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6514     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
6515     gx_studio_prompt_create,                 /* create function                */
6516     GX_NULL,                                 /* drawing function override      */
6517     GX_NULL,                                 /* event function override        */
6518     {56, 98, 363, 141},                      /* widget size                    */
6519     &text_screen_prompt_3_define,            /* next widget definition         */
6520     GX_NULL,                                 /* no child widgets               */
6521     offsetof(TEXT_SCREEN_CONTROL_BLOCK, text_screen_prompt_2), /* control block */
6522     (void *) &text_screen_prompt_2_properties /* extended properties           */
6523 };
6524 
6525 GX_CONST GX_STUDIO_WIDGET text_screen_prompt_1_define =
6526 {
6527     "prompt_1",
6528     GX_TYPE_PROMPT,                          /* widget type                    */
6529     ID_PROMPT_1,                             /* widget id                      */
6530     #if defined(GX_WIDGET_USER_DATA)
6531     0,                                       /* user data                      */
6532     #endif
6533     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
6534     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6535     sizeof(GX_PROMPT),                       /* control block size             */
6536     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6537     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6538     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
6539     gx_studio_prompt_create,                 /* create function                */
6540     GX_NULL,                                 /* drawing function override      */
6541     GX_NULL,                                 /* event function override        */
6542     {56, 31, 363, 54},                       /* widget size                    */
6543     &text_screen_prompt_2_define,            /* next widget definition         */
6544     GX_NULL,                                 /* no child widgets               */
6545     offsetof(TEXT_SCREEN_CONTROL_BLOCK, text_screen_prompt_1), /* control block */
6546     (void *) &text_screen_prompt_1_properties /* extended properties           */
6547 };
6548 
6549 GX_STUDIO_ACTION text_screen__idb_next_gx_event_clicked_actions[2] = {
6550     {GX_ACTION_TYPE_TOGGLE, 0, &Primary_root_window, &gauge_screen, GX_NULL},
6551     {0, 0, GX_NULL, GX_NULL, GX_NULL}
6552 };
6553 
6554 static GX_STUDIO_EVENT_ENTRY gx_studio_text_screen_event_table[] = {
6555     {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, text_screen__idb_next_gx_event_clicked_actions},
6556     {0, 0, GX_NULL}
6557 };
6558 
6559 GX_STUDIO_EVENT_PROCESS text_screen_event_chain = {gx_studio_text_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))text_screen_event_handler};
gx_studio_text_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)6560 static UINT gx_studio_text_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
6561 {
6562     return (gx_studio_auto_event_handler(target, event_ptr, &text_screen_event_chain));
6563 }
6564 
6565 
6566 GX_CONST GX_STUDIO_WIDGET text_screen_define =
6567 {
6568     "text_screen",
6569     GX_TYPE_WINDOW,                          /* widget type                    */
6570     ID_TEXT_SCREEN,                          /* widget id                      */
6571     #if defined(GX_WIDGET_USER_DATA)
6572     0,                                       /* user data                      */
6573     #endif
6574     GX_STYLE_BORDER_THIN,                    /* style flags                    */
6575     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6576     sizeof(TEXT_SCREEN_CONTROL_BLOCK),       /* control block size             */
6577     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
6578     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
6579     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
6580     gx_studio_window_create,                 /* create function                */
6581     GX_NULL,                                 /* drawing function override      */
6582     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_text_screen_event_process, /* event function override */
6583     {39, 25, 582, 443},                      /* widget size                    */
6584     GX_NULL,                                 /* next widget                    */
6585     &text_screen_prompt_1_define,            /* child widget                   */
6586     0,                                       /* control block                  */
6587     (void *) &text_screen_properties         /* extended properties            */
6588 };
6589 GX_WINDOW_PROPERTIES window_screen_properties =
6590 {
6591     0                                        /* wallpaper pixelmap id          */
6592 };
6593 GX_WINDOW_PROPERTIES window_screen_window_5_properties =
6594 {
6595     0                                        /* wallpaper pixelmap id          */
6596 };
6597 GX_WINDOW_PROPERTIES window_screen_window_6_properties =
6598 {
6599     0                                        /* wallpaper pixelmap id          */
6600 };
6601 GX_WINDOW_PROPERTIES window_screen_window_8_properties =
6602 {
6603     0                                        /* wallpaper pixelmap id          */
6604 };
6605 GX_WINDOW_PROPERTIES window_screen_scroll_frame_1_properties =
6606 {
6607     0                                        /* wallpaper pixelmap id          */
6608 };
6609 GX_WINDOW_PROPERTIES window_screen_window_4_properties =
6610 {
6611     GX_PIXELMAP_ID_FISH                      /* wallpaper pixelmap id          */
6612 };
6613 GX_SCROLLBAR_APPEARANCE  window_screen_hscroll_1_properties =
6614 {
6615     20,                                      /* scroll width                   */
6616     10,                                      /* thumb width                    */
6617     2,                                       /* thumb travel min               */
6618     2,                                       /* thumb travel max               */
6619     4,                                       /* thumb border style             */
6620     GX_PIXELMAP_ID_I_ORANGEFILL_MIDDLE_HORIZONTAL, /* scroll fill pixelmap     */
6621     0,                                       /* scroll thumb pixelmap          */
6622     0,                                       /* scroll up pixelmap             */
6623     0,                                       /* scroll down pixelmap           */
6624     GX_COLOR_ID_SCROLL_BUTTON,               /* scroll thumb color             */
6625     GX_COLOR_ID_SCROLL_BUTTON,               /* scroll thumb border color      */
6626     GX_COLOR_ID_BTN_UPPER,                   /* scroll button color            */
6627 };
6628 GX_SCROLLBAR_APPEARANCE  window_screen_vertical_scroll_1_properties =
6629 {
6630     20,                                      /* scroll width                   */
6631     12,                                      /* thumb width                    */
6632     20,                                      /* thumb travel min               */
6633     20,                                      /* thumb travel max               */
6634     4,                                       /* thumb border style             */
6635     0,                                       /* scroll fill pixelmap           */
6636     0,                                       /* scroll thumb pixelmap          */
6637     0,                                       /* scroll up pixelmap             */
6638     0,                                       /* scroll down pixelmap           */
6639     GX_COLOR_ID_SCROLL_BUTTON,               /* scroll thumb color             */
6640     GX_COLOR_ID_SCROLL_BUTTON,               /* scroll thumb border color      */
6641     GX_COLOR_ID_ORANGE,                      /* scroll button color            */
6642 };
6643 GX_VERTICAL_LIST_PROPERTIES window_screen_vertical_list_properties =
6644 {
6645     0,                                       /* wallpaper id                   */
6646     GX_NULL,                                 /* callback function              */
6647     4                                        /* total rows                     */
6648 };
6649 GX_TEXT_BUTTON_PROPERTIES window_screen_button_1_properties =
6650 {
6651     GX_STRING_ID_STRING_19,                  /* string id                      */
6652     GX_FONT_ID_BUTTON,                       /* font id                        */
6653     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
6654     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
6655     GX_COLOR_ID_BTN_TEXT                     /* disabled text color            */
6656 };
6657 GX_TEXT_BUTTON_PROPERTIES window_screen_button_2_properties =
6658 {
6659     GX_STRING_ID_STRING_20,                  /* string id                      */
6660     GX_FONT_ID_BUTTON,                       /* font id                        */
6661     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
6662     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
6663     GX_COLOR_ID_BTN_TEXT                     /* disabled text color            */
6664 };
6665 GX_TEXT_BUTTON_PROPERTIES window_screen_button_3_properties =
6666 {
6667     GX_STRING_ID_STRING_21,                  /* string id                      */
6668     GX_FONT_ID_BUTTON,                       /* font id                        */
6669     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
6670     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
6671     GX_COLOR_ID_BTN_TEXT                     /* disabled text color            */
6672 };
6673 GX_TEXT_BUTTON_PROPERTIES window_screen_button_4_properties =
6674 {
6675     GX_STRING_ID_STRING_22,                  /* string id                      */
6676     GX_FONT_ID_BUTTON,                       /* font id                        */
6677     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
6678     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
6679     GX_COLOR_ID_BTN_TEXT                     /* disabled text color            */
6680 };
6681 GX_PROMPT_PROPERTIES window_screen_nested_label_1_properties =
6682 {
6683     GX_STRING_ID_STRING_16,                  /* string id                      */
6684     GX_FONT_ID_PROMPT,                       /* font id                        */
6685     GX_COLOR_ID_TEXT,                        /* normal text color              */
6686     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6687     GX_COLOR_ID_TEXT                         /* disabled text color            */
6688 };
6689 GX_PROMPT_PROPERTIES window_screen_frame_label_1_properties =
6690 {
6691     GX_STRING_ID_STRING_17,                  /* string id                      */
6692     GX_FONT_ID_PROMPT,                       /* font id                        */
6693     GX_COLOR_ID_TEXT,                        /* normal text color              */
6694     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6695     GX_COLOR_ID_TEXT                         /* disabled text color            */
6696 };
6697 GX_PROMPT_PROPERTIES window_screen_vlist_label_1_properties =
6698 {
6699     GX_STRING_ID_STRING_18,                  /* string id                      */
6700     GX_FONT_ID_PROMPT,                       /* font id                        */
6701     GX_COLOR_ID_TEXT,                        /* normal text color              */
6702     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6703     GX_COLOR_ID_TEXT                         /* disabled text color            */
6704 };
6705 GX_HORIZONTAL_LIST_PROPERTIES window_screen_horizontal_list_1_properties =
6706 {
6707     0,                                       /* wallpaper id                   */
6708     GX_NULL,                                 /* callback function              */
6709     5                                        /* total columns                  */
6710 };
6711 GX_ICON_BUTTON_PROPERTIES window_screen_icon_button_1_properties =
6712 {
6713     GX_PIXELMAP_ID_I_HISTORY_LG              /* pixelmap id                    */
6714 };
6715 GX_ICON_BUTTON_PROPERTIES window_screen_icon_button_2_properties =
6716 {
6717     GX_PIXELMAP_ID_I_MEDICATIONSGREEN_LG     /* pixelmap id                    */
6718 };
6719 GX_ICON_BUTTON_PROPERTIES window_screen_icon_button_3_properties =
6720 {
6721     GX_PIXELMAP_ID_I_PATIENTLIST_LG          /* pixelmap id                    */
6722 };
6723 GX_ICON_BUTTON_PROPERTIES window_screen_icon_button_4_properties =
6724 {
6725     GX_PIXELMAP_ID_I_MEDICATIONSRED_LG       /* pixelmap id                    */
6726 };
6727 GX_ICON_BUTTON_PROPERTIES window_screen_icon_button_5_properties =
6728 {
6729     GX_PIXELMAP_ID_BLACK_PAUSE               /* pixelmap id                    */
6730 };
6731 GX_PROMPT_PROPERTIES window_screen_hlist_label_1_properties =
6732 {
6733     GX_STRING_ID_STRING_23,                  /* string id                      */
6734     GX_FONT_ID_PROMPT,                       /* font id                        */
6735     GX_COLOR_ID_TEXT,                        /* normal text color              */
6736     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6737     GX_COLOR_ID_TEXT                         /* disabled text color            */
6738 };
6739 GX_TEXT_BUTTON_PROPERTIES window_screen_next_button_1_properties =
6740 {
6741     GX_STRING_ID_STRING_36,                  /* string id                      */
6742     GX_FONT_ID_BUTTON,                       /* font id                        */
6743     GX_COLOR_ID_WHITE,                       /* normal text color              */
6744     GX_COLOR_ID_WHITE,                       /* selected text color            */
6745     GX_COLOR_ID_WHITE                        /* disabled text color            */
6746 };
6747 GX_DROP_LIST_PROPERTIES window_screen_drop_list_properties =
6748 {
6749     GX_PIXELMAP_ID_TOP_BAR_BACKGROUND,       /* widget pixelmap id             */
6750     GX_PIXELMAP_ID_DROP_LIST_BG,             /* popup list wallpaper pixelmap id */
6751     drop_list_row_create,                    /* callback function              */
6752     100,                                     /* total rows                     */
6753     100                                      /* open height                    */
6754 };
6755 GX_PIXELMAP_BUTTON_PROPERTIES window_screen_pixelmap_button_properties =
6756 {
6757     GX_PIXELMAP_ID_DROP_LIST_BUTTON,         /* normal pixelmap id             */
6758     0,                                       /* selected pixelmap id           */
6759     0                                        /* disabled pixelmap id           */
6760 };
6761 GX_PROMPT_PROPERTIES window_screen_hlist_label_properties =
6762 {
6763     GX_STRING_ID_STRING_37,                  /* string id                      */
6764     GX_FONT_ID_PROMPT,                       /* font id                        */
6765     GX_COLOR_ID_TEXT,                        /* normal text color              */
6766     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6767     GX_COLOR_ID_TEXT                         /* disabled text color            */
6768 };
6769 GX_LINE_CHART_INFO window_screen_line_chart_properties =
6770 {
6771     0,                                       /* min data value                 */
6772     100,                                     /* max data value                 */
6773     GX_NULL,                                 /* data pointer                   */
6774     0,                                       /* left margin                    */
6775     0,                                       /* top margin                     */
6776     0,                                       /* right margin                   */
6777     0,                                       /* bottom margin                  */
6778     100,                                     /* max data items                 */
6779     0,                                       /* active data items              */
6780     3,                                       /* axis line width                */
6781     2,                                       /* data line width                */
6782     GX_COLOR_ID_DEFAULT_BORDER,              /* axis line color                */
6783     GX_COLOR_ID_SHINE                        /* data line color                */
6784 };
6785 
6786 GX_CONST GX_STUDIO_WIDGET window_screen_window_8_define =
6787 {
6788     "window_8",
6789     GX_TYPE_WINDOW,                          /* widget type                    */
6790     ID_NESTED_WINDOW_2,                      /* widget id                      */
6791     #if defined(GX_WIDGET_USER_DATA)
6792     0,                                       /* user data                      */
6793     #endif
6794     GX_STYLE_BORDER_THIN,                    /* style flags                    */
6795     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6796     sizeof(GX_WINDOW),                       /* control block size             */
6797     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
6798     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
6799     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
6800     gx_studio_window_create,                 /* create function                */
6801     GX_NULL,                                 /* drawing function override      */
6802     GX_NULL,                                 /* event function override        */
6803     {211, 88, 304, 160},                     /* widget size                    */
6804     GX_NULL,                                 /* no next widget                 */
6805     GX_NULL,                                 /* no child widgets               */
6806     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_window_8), /* control block */
6807     (void *) &window_screen_window_8_properties /* extended properties         */
6808 };
6809 
6810 GX_CONST GX_STUDIO_WIDGET window_screen_window_6_define =
6811 {
6812     "window_6",
6813     GX_TYPE_WINDOW,                          /* widget type                    */
6814     ID_NESTED_WINDOW_1,                      /* widget id                      */
6815     #if defined(GX_WIDGET_USER_DATA)
6816     0,                                       /* user data                      */
6817     #endif
6818     GX_STYLE_BORDER_THIN,                    /* style flags                    */
6819     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6820     sizeof(GX_WINDOW),                       /* control block size             */
6821     GX_COLOR_ID_BLACK,                       /* normal color id                */
6822     GX_COLOR_ID_BLACK,                       /* selected color id              */
6823     GX_COLOR_ID_BLACK,                       /* disabled color id              */
6824     gx_studio_window_create,                 /* create function                */
6825     GX_NULL,                                 /* drawing function override      */
6826     GX_NULL,                                 /* event function override        */
6827     {73, 56, 319, 170},                      /* widget size                    */
6828     GX_NULL,                                 /* no next widget                 */
6829     &window_screen_window_8_define,          /* child widget definition        */
6830     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_window_6), /* control block */
6831     (void *) &window_screen_window_6_properties /* extended properties         */
6832 };
6833 
6834 GX_CONST GX_STUDIO_WIDGET window_screen_vertical_scroll_1_define =
6835 {
6836     "vertical_scroll_1",
6837     GX_TYPE_VERTICAL_SCROLL,                 /* widget type                    */
6838     ID_VERTICAL_SCROLLBAR,                   /* widget id                      */
6839     #if defined(GX_WIDGET_USER_DATA)
6840     0,                                       /* user data                      */
6841     #endif
6842     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_END_BUTTONS|GX_SCROLLBAR_VERTICAL,   /* style flags */
6843     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6844     sizeof(GX_SCROLLBAR),                    /* control block size             */
6845     GX_COLOR_ID_SCROLL_FILL,                 /* normal color id                */
6846     GX_COLOR_ID_SCROLL_FILL,                 /* selected color id              */
6847     GX_COLOR_ID_SCROLL_FILL,                 /* disabled color id              */
6848     gx_studio_vertical_scrollbar_create,     /* create function                */
6849     GX_NULL,                                 /* drawing function override      */
6850     GX_NULL,                                 /* event function override        */
6851     {542, 46, 561, 159},                     /* widget size                    */
6852     GX_NULL,                                 /* no next widget                 */
6853     GX_NULL,                                 /* no child widgets               */
6854     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_vertical_scroll_1), /* control block */
6855     (void *) &window_screen_vertical_scroll_1_properties /* extended properties */
6856 };
6857 
6858 GX_CONST GX_STUDIO_WIDGET window_screen_hscroll_1_define =
6859 {
6860     "hscroll_1",
6861     GX_TYPE_HORIZONTAL_SCROLL,               /* widget type                    */
6862     ID_HORIZONTAL_SCROLLBAR,                 /* widget id                      */
6863     #if defined(GX_WIDGET_USER_DATA)
6864     0,                                       /* user data                      */
6865     #endif
6866     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_TILE_BACKGROUND|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_HORIZONTAL,   /* style flags */
6867     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6868     sizeof(GX_SCROLLBAR),                    /* control block size             */
6869     GX_COLOR_ID_ORANGE,                      /* normal color id                */
6870     GX_COLOR_ID_SCROLL_FILL,                 /* selected color id              */
6871     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
6872     gx_studio_horizontal_scrollbar_create,     /* create function              */
6873     GX_NULL,                                 /* drawing function override      */
6874     GX_NULL,                                 /* event function override        */
6875     {352, 160, 541, 179},                    /* widget size                    */
6876     &window_screen_vertical_scroll_1_define, /* next widget definition         */
6877     GX_NULL,                                 /* no child widgets               */
6878     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_hscroll_1), /* control block */
6879     (void *) &window_screen_hscroll_1_properties /* extended properties        */
6880 };
6881 
6882 GX_CONST GX_STUDIO_WIDGET window_screen_window_4_define =
6883 {
6884     "window_4",
6885     GX_TYPE_WINDOW,                          /* widget type                    */
6886     GX_ID_NONE,                              /* widget id                      */
6887     #if defined(GX_WIDGET_USER_DATA)
6888     0,                                       /* user data                      */
6889     #endif
6890     GX_STYLE_BORDER_THIN,                    /* style flags                    */
6891     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6892     sizeof(GX_WINDOW),                       /* control block size             */
6893     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
6894     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
6895     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
6896     gx_studio_window_create,                 /* create function                */
6897     GX_NULL,                                 /* drawing function override      */
6898     GX_NULL,                                 /* event function override        */
6899     {351, 45, 750, 444},                     /* widget size                    */
6900     &window_screen_hscroll_1_define,         /* next widget definition         */
6901     GX_NULL,                                 /* no child widgets               */
6902     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_window_4), /* control block */
6903     (void *) &window_screen_window_4_properties /* extended properties         */
6904 };
6905 
6906 GX_CONST GX_STUDIO_WIDGET window_screen_button_4_define =
6907 {
6908     "button_4",
6909     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
6910     ID_BUTTON_4,                             /* widget id                      */
6911     #if defined(GX_WIDGET_USER_DATA)
6912     0,                                       /* user data                      */
6913     #endif
6914     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6915     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6916     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
6917     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
6918     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
6919     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
6920     gx_studio_text_button_create,            /* create function                */
6921     GX_NULL,                                 /* drawing function override      */
6922     GX_NULL,                                 /* event function override        */
6923     {59, 324, 156, 358},                     /* widget size                    */
6924     GX_NULL,                                 /* no next widget                 */
6925     GX_NULL,                                 /* no child widgets               */
6926     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_button_4), /* control block */
6927     (void *) &window_screen_button_4_properties /* extended properties         */
6928 };
6929 
6930 GX_CONST GX_STUDIO_WIDGET window_screen_button_3_define =
6931 {
6932     "button_3",
6933     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
6934     ID_BUTTON_3,                             /* widget id                      */
6935     #if defined(GX_WIDGET_USER_DATA)
6936     0,                                       /* user data                      */
6937     #endif
6938     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6939     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6940     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
6941     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
6942     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
6943     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
6944     gx_studio_text_button_create,            /* create function                */
6945     GX_NULL,                                 /* drawing function override      */
6946     GX_NULL,                                 /* event function override        */
6947     {59, 289, 156, 323},                     /* widget size                    */
6948     &window_screen_button_4_define,          /* next widget definition         */
6949     GX_NULL,                                 /* no child widgets               */
6950     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_button_3), /* control block */
6951     (void *) &window_screen_button_3_properties /* extended properties         */
6952 };
6953 
6954 GX_CONST GX_STUDIO_WIDGET window_screen_button_2_define =
6955 {
6956     "button_2",
6957     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
6958     ID_BUTTON_2,                             /* widget id                      */
6959     #if defined(GX_WIDGET_USER_DATA)
6960     0,                                       /* user data                      */
6961     #endif
6962     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6963     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6964     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
6965     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
6966     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
6967     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
6968     gx_studio_text_button_create,            /* create function                */
6969     GX_NULL,                                 /* drawing function override      */
6970     GX_NULL,                                 /* event function override        */
6971     {59, 254, 156, 288},                     /* widget size                    */
6972     &window_screen_button_3_define,          /* next widget definition         */
6973     GX_NULL,                                 /* no child widgets               */
6974     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_button_2), /* control block */
6975     (void *) &window_screen_button_2_properties /* extended properties         */
6976 };
6977 
6978 GX_CONST GX_STUDIO_WIDGET window_screen_button_1_define =
6979 {
6980     "button_1",
6981     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
6982     ID_BUTTON_1,                             /* widget id                      */
6983     #if defined(GX_WIDGET_USER_DATA)
6984     0,                                       /* user data                      */
6985     #endif
6986     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6987     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6988     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
6989     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
6990     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
6991     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
6992     gx_studio_text_button_create,            /* create function                */
6993     GX_NULL,                                 /* drawing function override      */
6994     GX_NULL,                                 /* event function override        */
6995     {59, 219, 156, 253},                     /* widget size                    */
6996     &window_screen_button_2_define,          /* next widget definition         */
6997     GX_NULL,                                 /* no child widgets               */
6998     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_button_1), /* control block */
6999     (void *) &window_screen_button_1_properties /* extended properties         */
7000 };
7001 
7002 GX_CONST GX_STUDIO_WIDGET window_screen_icon_button_5_define =
7003 {
7004     "icon_button_5",
7005     GX_TYPE_ICON_BUTTON,                     /* widget type                    */
7006     GX_ID_NONE,                              /* widget id                      */
7007     #if defined(GX_WIDGET_USER_DATA)
7008     0,                                       /* user data                      */
7009     #endif
7010     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
7011     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7012     sizeof(GX_ICON_BUTTON),                  /* control block size             */
7013     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7014     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7015     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
7016     gx_studio_icon_button_create,            /* create function                */
7017     GX_NULL,                                 /* drawing function override      */
7018     GX_NULL,                                 /* event function override        */
7019     {385, 218, 435, 279},                    /* widget size                    */
7020     GX_NULL,                                 /* no next widget                 */
7021     GX_NULL,                                 /* no child widgets               */
7022     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_icon_button_5), /* control block */
7023     (void *) &window_screen_icon_button_5_properties /* extended properties    */
7024 };
7025 
7026 GX_CONST GX_STUDIO_WIDGET window_screen_icon_button_4_define =
7027 {
7028     "icon_button_4",
7029     GX_TYPE_ICON_BUTTON,                     /* widget type                    */
7030     GX_ID_NONE,                              /* widget id                      */
7031     #if defined(GX_WIDGET_USER_DATA)
7032     0,                                       /* user data                      */
7033     #endif
7034     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
7035     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7036     sizeof(GX_ICON_BUTTON),                  /* control block size             */
7037     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7038     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7039     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
7040     gx_studio_icon_button_create,            /* create function                */
7041     GX_NULL,                                 /* drawing function override      */
7042     GX_NULL,                                 /* event function override        */
7043     {334, 218, 384, 279},                    /* widget size                    */
7044     &window_screen_icon_button_5_define,     /* next widget definition         */
7045     GX_NULL,                                 /* no child widgets               */
7046     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_icon_button_4), /* control block */
7047     (void *) &window_screen_icon_button_4_properties /* extended properties    */
7048 };
7049 
7050 GX_CONST GX_STUDIO_WIDGET window_screen_icon_button_3_define =
7051 {
7052     "icon_button_3",
7053     GX_TYPE_ICON_BUTTON,                     /* widget type                    */
7054     GX_ID_NONE,                              /* widget id                      */
7055     #if defined(GX_WIDGET_USER_DATA)
7056     0,                                       /* user data                      */
7057     #endif
7058     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
7059     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7060     sizeof(GX_ICON_BUTTON),                  /* control block size             */
7061     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7062     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7063     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
7064     gx_studio_icon_button_create,            /* create function                */
7065     GX_NULL,                                 /* drawing function override      */
7066     GX_NULL,                                 /* event function override        */
7067     {283, 218, 333, 279},                    /* widget size                    */
7068     &window_screen_icon_button_4_define,     /* next widget definition         */
7069     GX_NULL,                                 /* no child widgets               */
7070     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_icon_button_3), /* control block */
7071     (void *) &window_screen_icon_button_3_properties /* extended properties    */
7072 };
7073 
7074 GX_CONST GX_STUDIO_WIDGET window_screen_icon_button_2_define =
7075 {
7076     "icon_button_2",
7077     GX_TYPE_ICON_BUTTON,                     /* widget type                    */
7078     GX_ID_NONE,                              /* widget id                      */
7079     #if defined(GX_WIDGET_USER_DATA)
7080     0,                                       /* user data                      */
7081     #endif
7082     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
7083     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7084     sizeof(GX_ICON_BUTTON),                  /* control block size             */
7085     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7086     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7087     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
7088     gx_studio_icon_button_create,            /* create function                */
7089     GX_NULL,                                 /* drawing function override      */
7090     GX_NULL,                                 /* event function override        */
7091     {232, 218, 282, 279},                    /* widget size                    */
7092     &window_screen_icon_button_3_define,     /* next widget definition         */
7093     GX_NULL,                                 /* no child widgets               */
7094     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_icon_button_2), /* control block */
7095     (void *) &window_screen_icon_button_2_properties /* extended properties    */
7096 };
7097 
7098 GX_CONST GX_STUDIO_WIDGET window_screen_icon_button_1_define =
7099 {
7100     "icon_button_1",
7101     GX_TYPE_ICON_BUTTON,                     /* widget type                    */
7102     GX_ID_NONE,                              /* widget id                      */
7103     #if defined(GX_WIDGET_USER_DATA)
7104     0,                                       /* user data                      */
7105     #endif
7106     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
7107     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7108     sizeof(GX_ICON_BUTTON),                  /* control block size             */
7109     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7110     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7111     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
7112     gx_studio_icon_button_create,            /* create function                */
7113     GX_NULL,                                 /* drawing function override      */
7114     GX_NULL,                                 /* event function override        */
7115     {181, 218, 231, 279},                    /* widget size                    */
7116     &window_screen_icon_button_2_define,     /* next widget definition         */
7117     GX_NULL,                                 /* no child widgets               */
7118     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_icon_button_1), /* control block */
7119     (void *) &window_screen_icon_button_1_properties /* extended properties    */
7120 };
7121 
7122 GX_CONST GX_STUDIO_WIDGET window_screen_pixelmap_button_define =
7123 {
7124     "pixelmap_button",
7125     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
7126     ID_DROP_LIST_BUTTON,                     /* widget id                      */
7127     #if defined(GX_WIDGET_USER_DATA)
7128     0,                                       /* user data                      */
7129     #endif
7130     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
7131     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7132     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
7133     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7134     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7135     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
7136     gx_studio_pixelmap_button_create,        /* create function                */
7137     GX_NULL,                                 /* drawing function override      */
7138     GX_NULL,                                 /* event function override        */
7139     {393, 319, 434, 360},                    /* widget size                    */
7140     GX_NULL,                                 /* no next widget                 */
7141     GX_NULL,                                 /* no child widgets               */
7142     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_pixelmap_button), /* control block */
7143     (void *) &window_screen_pixelmap_button_properties /* extended properties  */
7144 };
7145 
7146 GX_CONST GX_STUDIO_WIDGET window_screen_line_chart_define =
7147 {
7148     "line_chart",
7149     GX_TYPE_LINE_CHART,                      /* widget type                    */
7150     GX_ID_NONE,                              /* widget id                      */
7151     #if defined(GX_WIDGET_USER_DATA)
7152     0,                                       /* user data                      */
7153     #endif
7154     GX_STYLE_BORDER_NONE,                    /* style flags                    */
7155     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7156     sizeof(GX_LINE_CHART),                   /* control block size             */
7157     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
7158     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
7159     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
7160     gx_studio_line_chart_create,             /* create function                */
7161     GX_NULL,                                 /* drawing function override      */
7162     GX_NULL,                                 /* event function override        */
7163     {53, 387, 144, 445},                     /* widget size                    */
7164     GX_NULL,                                 /* no next widget                 */
7165     GX_NULL,                                 /* no child widgets               */
7166     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_line_chart), /* control block */
7167     (void *) &window_screen_line_chart_properties /* extended properties       */
7168 };
7169 
7170 GX_CONST GX_STUDIO_WIDGET window_screen_hlist_label_define =
7171 {
7172     "hlist_label",
7173     GX_TYPE_PROMPT,                          /* widget type                    */
7174     GX_ID_NONE,                              /* widget id                      */
7175     #if defined(GX_WIDGET_USER_DATA)
7176     0,                                       /* user data                      */
7177     #endif
7178     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
7179     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7180     sizeof(GX_PROMPT),                       /* control block size             */
7181     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7182     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7183     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7184     gx_studio_prompt_create,                 /* create function                */
7185     GX_NULL,                                 /* drawing function override      */
7186     GX_NULL,                                 /* event function override        */
7187     {253, 296, 341, 319},                    /* widget size                    */
7188     &window_screen_line_chart_define,        /* next widget definition         */
7189     GX_NULL,                                 /* no child widgets               */
7190     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_hlist_label), /* control block */
7191     (void *) &window_screen_hlist_label_properties /* extended properties      */
7192 };
7193 
7194 GX_CONST GX_STUDIO_WIDGET window_screen_drop_list_define =
7195 {
7196     "drop_list",
7197     GX_TYPE_DROP_LIST,                       /* widget type                    */
7198     ID_DROP_LIST,                            /* widget id                      */
7199     #if defined(GX_WIDGET_USER_DATA)
7200     0,                                       /* user data                      */
7201     #endif
7202     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TILE_BACKGROUND,   /* style flags */
7203     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7204     sizeof(GX_DROP_LIST),                    /* control block size             */
7205     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7206     GX_COLOR_ID_WIDGET_FILL,                 /* selected color id              */
7207     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7208     gx_studio_drop_list_create,              /* create function                */
7209     GX_NULL,                                 /* drawing function override      */
7210     GX_NULL,                                 /* event function override        */
7211     {183, 319, 430, 356},                    /* widget size                    */
7212     &window_screen_hlist_label_define,       /* next widget definition         */
7213     &window_screen_pixelmap_button_define,   /* child widget definition        */
7214     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_drop_list), /* control block */
7215     (void *) &window_screen_drop_list_properties /* extended properties        */
7216 };
7217 
7218 GX_CONST GX_STUDIO_WIDGET window_screen_next_button_1_define =
7219 {
7220     "next_button_1",
7221     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
7222     IDB_NEXT,                                /* widget id                      */
7223     #if defined(GX_WIDGET_USER_DATA)
7224     0,                                       /* user data                      */
7225     #endif
7226     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
7227     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7228     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
7229     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* normal color id                */
7230     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
7231     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* disabled color id              */
7232     gx_studio_text_button_create,            /* create function                */
7233     GX_NULL,                                 /* drawing function override      */
7234     GX_NULL,                                 /* event function override        */
7235     {491, 432, 570, 456},                    /* widget size                    */
7236     &window_screen_drop_list_define,         /* next widget definition         */
7237     GX_NULL,                                 /* no child widgets               */
7238     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_next_button_1), /* control block */
7239     (void *) &window_screen_next_button_1_properties /* extended properties    */
7240 };
7241 
7242 GX_CONST GX_STUDIO_WIDGET window_screen_hlist_label_1_define =
7243 {
7244     "hlist_label_1",
7245     GX_TYPE_PROMPT,                          /* widget type                    */
7246     GX_ID_NONE,                              /* widget id                      */
7247     #if defined(GX_WIDGET_USER_DATA)
7248     0,                                       /* user data                      */
7249     #endif
7250     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
7251     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7252     sizeof(GX_PROMPT),                       /* control block size             */
7253     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7254     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7255     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7256     gx_studio_prompt_create,                 /* create function                */
7257     GX_NULL,                                 /* drawing function override      */
7258     GX_NULL,                                 /* event function override        */
7259     {242, 191, 373, 214},                    /* widget size                    */
7260     &window_screen_next_button_1_define,     /* next widget definition         */
7261     GX_NULL,                                 /* no child widgets               */
7262     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_hlist_label_1), /* control block */
7263     (void *) &window_screen_hlist_label_1_properties /* extended properties    */
7264 };
7265 
7266 GX_CONST GX_STUDIO_WIDGET window_screen_horizontal_list_1_define =
7267 {
7268     "horizontal_list_1",
7269     GX_TYPE_HORIZONTAL_LIST,                 /* widget type                    */
7270     GX_ID_NONE,                              /* widget id                      */
7271     #if defined(GX_WIDGET_USER_DATA)
7272     0,                                       /* user data                      */
7273     #endif
7274     GX_STYLE_BORDER_THIN,                    /* style flags                    */
7275     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7276     sizeof(GX_HORIZONTAL_LIST),              /* control block size             */
7277     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
7278     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
7279     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
7280     gx_studio_horizontal_list_create,        /* create function                */
7281     GX_NULL,                                 /* drawing function override      */
7282     GX_NULL,                                 /* event function override        */
7283     {180, 217, 437, 280},                    /* widget size                    */
7284     &window_screen_hlist_label_1_define,     /* next widget definition         */
7285     &window_screen_icon_button_1_define,     /* child widget definition        */
7286     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_horizontal_list_1), /* control block */
7287     (void *) &window_screen_horizontal_list_1_properties /* extended properties */
7288 };
7289 
7290 GX_CONST GX_STUDIO_WIDGET window_screen_vlist_label_1_define =
7291 {
7292     "vlist_label_1",
7293     GX_TYPE_PROMPT,                          /* widget type                    */
7294     GX_ID_NONE,                              /* widget id                      */
7295     #if defined(GX_WIDGET_USER_DATA)
7296     0,                                       /* user data                      */
7297     #endif
7298     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
7299     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7300     sizeof(GX_PROMPT),                       /* control block size             */
7301     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7302     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7303     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7304     gx_studio_prompt_create,                 /* create function                */
7305     GX_NULL,                                 /* drawing function override      */
7306     GX_NULL,                                 /* event function override        */
7307     {45, 191, 176, 214},                     /* widget size                    */
7308     &window_screen_horizontal_list_1_define, /* next widget definition         */
7309     GX_NULL,                                 /* no child widgets               */
7310     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_vlist_label_1), /* control block */
7311     (void *) &window_screen_vlist_label_1_properties /* extended properties    */
7312 };
7313 
7314 GX_CONST GX_STUDIO_WIDGET window_screen_frame_label_1_define =
7315 {
7316     "frame_label_1",
7317     GX_TYPE_PROMPT,                          /* widget type                    */
7318     GX_ID_NONE,                              /* widget id                      */
7319     #if defined(GX_WIDGET_USER_DATA)
7320     0,                                       /* user data                      */
7321     #endif
7322     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
7323     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7324     sizeof(GX_PROMPT),                       /* control block size             */
7325     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7326     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7327     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7328     gx_studio_prompt_create,                 /* create function                */
7329     GX_NULL,                                 /* drawing function override      */
7330     GX_NULL,                                 /* event function override        */
7331     {389, 19, 520, 42},                      /* widget size                    */
7332     &window_screen_vlist_label_1_define,     /* next widget definition         */
7333     GX_NULL,                                 /* no child widgets               */
7334     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_frame_label_1), /* control block */
7335     (void *) &window_screen_frame_label_1_properties /* extended properties    */
7336 };
7337 
7338 GX_CONST GX_STUDIO_WIDGET window_screen_nested_label_1_define =
7339 {
7340     "nested_label_1",
7341     GX_TYPE_PROMPT,                          /* widget type                    */
7342     GX_ID_NONE,                              /* widget id                      */
7343     #if defined(GX_WIDGET_USER_DATA)
7344     0,                                       /* user data                      */
7345     #endif
7346     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
7347     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7348     sizeof(GX_PROMPT),                       /* control block size             */
7349     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7350     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7351     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7352     gx_studio_prompt_create,                 /* create function                */
7353     GX_NULL,                                 /* drawing function override      */
7354     GX_NULL,                                 /* event function override        */
7355     {118, 19, 249, 42},                      /* widget size                    */
7356     &window_screen_frame_label_1_define,     /* next widget definition         */
7357     GX_NULL,                                 /* no child widgets               */
7358     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_nested_label_1), /* control block */
7359     (void *) &window_screen_nested_label_1_properties /* extended properties   */
7360 };
7361 
7362 GX_CONST GX_STUDIO_WIDGET window_screen_vertical_list_define =
7363 {
7364     "vertical_list",
7365     GX_TYPE_VERTICAL_LIST,                   /* widget type                    */
7366     ID_VERTICAL_LIST,                        /* widget id                      */
7367     #if defined(GX_WIDGET_USER_DATA)
7368     0,                                       /* user data                      */
7369     #endif
7370     GX_STYLE_BORDER_RAISED,                  /* style flags                    */
7371     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7372     sizeof(GX_VERTICAL_LIST),                /* control block size             */
7373     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
7374     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
7375     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
7376     gx_studio_vertical_list_create,          /* create function                */
7377     GX_NULL,                                 /* drawing function override      */
7378     GX_NULL,                                 /* event function override        */
7379     {57, 217, 158, 360},                     /* widget size                    */
7380     &window_screen_nested_label_1_define,    /* next widget definition         */
7381     &window_screen_button_1_define,          /* child widget definition        */
7382     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_vertical_list), /* control block */
7383     (void *) &window_screen_vertical_list_properties /* extended properties    */
7384 };
7385 
7386 GX_CONST GX_STUDIO_WIDGET window_screen_scroll_frame_1_define =
7387 {
7388     "scroll_frame_1",
7389     GX_TYPE_WINDOW,                          /* widget type                    */
7390     GX_ID_NONE,                              /* widget id                      */
7391     #if defined(GX_WIDGET_USER_DATA)
7392     0,                                       /* user data                      */
7393     #endif
7394     GX_STYLE_BORDER_THIN,                    /* style flags                    */
7395     0,                                       /* status flags                   */
7396     sizeof(GX_WINDOW),                       /* control block size             */
7397     GX_COLOR_ID_SCROLL_FILL,                 /* normal color id                */
7398     GX_COLOR_ID_SCROLL_FILL,                 /* selected color id              */
7399     GX_COLOR_ID_SCROLL_FILL,                 /* disabled color id              */
7400     gx_studio_window_create,                 /* create function                */
7401     GX_NULL,                                 /* drawing function override      */
7402     GX_NULL,                                 /* event function override        */
7403     {351, 45, 562, 180},                     /* widget size                    */
7404     &window_screen_vertical_list_define,     /* next widget definition         */
7405     &window_screen_window_4_define,          /* child widget definition        */
7406     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_scroll_frame_1), /* control block */
7407     (void *) &window_screen_scroll_frame_1_properties /* extended properties   */
7408 };
7409 
7410 GX_CONST GX_STUDIO_WIDGET window_screen_window_5_define =
7411 {
7412     "window_5",
7413     GX_TYPE_WINDOW,                          /* widget type                    */
7414     GX_ID_NONE,                              /* widget id                      */
7415     #if defined(GX_WIDGET_USER_DATA)
7416     0,                                       /* user data                      */
7417     #endif
7418     GX_STYLE_BORDER_THICK,                   /* style flags                    */
7419     0,                                       /* status flags                   */
7420     sizeof(GX_WINDOW),                       /* control block size             */
7421     GX_COLOR_ID_ORANGE,                      /* normal color id                */
7422     GX_COLOR_ID_ORANGE,                      /* selected color id              */
7423     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
7424     gx_studio_window_create,                 /* create function                */
7425     GX_NULL,                                 /* drawing function override      */
7426     GX_NULL,                                 /* event function override        */
7427     {56, 44, 341, 182},                      /* widget size                    */
7428     &window_screen_scroll_frame_1_define,    /* next widget definition         */
7429     &window_screen_window_6_define,          /* child widget definition        */
7430     offsetof(WINDOW_SCREEN_CONTROL_BLOCK, window_screen_window_5), /* control block */
7431     (void *) &window_screen_window_5_properties /* extended properties         */
7432 };
7433 
7434 GX_STUDIO_ACTION window_screen__idb_next_gx_event_clicked_actions[2] = {
7435     {GX_ACTION_TYPE_TOGGLE, 0, &Primary_root_window, &indicator_screen, GX_NULL},
7436     {0, 0, GX_NULL, GX_NULL, GX_NULL}
7437 };
7438 
7439 static GX_STUDIO_EVENT_ENTRY gx_studio_window_screen_event_table[] = {
7440     {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, window_screen__idb_next_gx_event_clicked_actions},
7441     {0, 0, GX_NULL}
7442 };
7443 
7444 GX_STUDIO_EVENT_PROCESS window_screen_event_chain = {gx_studio_window_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process};
gx_studio_window_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)7445 static UINT gx_studio_window_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
7446 {
7447     return (gx_studio_auto_event_handler(target, event_ptr, &window_screen_event_chain));
7448 }
7449 
7450 
7451 GX_CONST GX_STUDIO_WIDGET window_screen_define =
7452 {
7453     "window_screen",
7454     GX_TYPE_WINDOW,                          /* widget type                    */
7455     ID_WINDOW_SCREEN,                        /* widget id                      */
7456     #if defined(GX_WIDGET_USER_DATA)
7457     0,                                       /* user data                      */
7458     #endif
7459     GX_STYLE_BORDER_THIN,                    /* style flags                    */
7460     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7461     sizeof(WINDOW_SCREEN_CONTROL_BLOCK),     /* control block size             */
7462     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
7463     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
7464     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
7465     gx_studio_window_create,                 /* create function                */
7466     GX_NULL,                                 /* drawing function override      */
7467     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_window_screen_event_process, /* event function override */
7468     {24, 10, 578, 464},                      /* widget size                    */
7469     GX_NULL,                                 /* next widget                    */
7470     &window_screen_window_5_define,          /* child widget                   */
7471     0,                                       /* control block                  */
7472     (void *) &window_screen_properties       /* extended properties            */
7473 };
7474 GX_WINDOW_PROPERTIES button_screen_properties =
7475 {
7476     0                                        /* wallpaper pixelmap id          */
7477 };
7478 GX_PROMPT_PROPERTIES button_screen_title_1_properties =
7479 {
7480     GX_STRING_ID_STRING_1,                   /* string id                      */
7481     GX_FONT_ID_PROMPT,                       /* font id                        */
7482     GX_COLOR_ID_TEXT,                        /* normal text color              */
7483     GX_COLOR_ID_TEXT,                        /* selected text color            */
7484     GX_COLOR_ID_TEXT                         /* disabled text color            */
7485 };
7486 GX_TEXT_BUTTON_PROPERTIES button_screen_text_button_1_properties =
7487 {
7488     GX_STRING_ID_STRING_4,                   /* string id                      */
7489     GX_FONT_ID_BUTTON,                       /* font id                        */
7490     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
7491     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
7492     GX_COLOR_ID_BTN_TEXT                     /* disabled text color            */
7493 };
7494 GX_CHECKBOX_PROPERTIES button_screen_checkbox_properties =
7495 {
7496     GX_STRING_ID_STRING_3,                   /* string id                      */
7497     GX_FONT_ID_BUTTON,                       /* font id                        */
7498     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
7499     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
7500     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
7501     0,                                       /* unchecked pixelmap id          */
7502     0,                                       /* checked pixelmap id            */
7503     0,                                       /* unchecked disabled pixelmap id */
7504     0                                        /* checked disabled pixelmap id   */
7505 };
7506 GX_RADIO_BUTTON_PROPERTIES button_screen_radio_button1_properties =
7507 {
7508     GX_STRING_ID_STRING_9,                   /* string id                      */
7509     GX_FONT_ID_BUTTON,                       /* font id                        */
7510     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
7511     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
7512     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
7513     0,                                       /* off pixelmap id                */
7514     0,                                       /* on pixelmap id                 */
7515     0,                                       /* off disabled pixelmap id       */
7516     0                                        /* on disabled pixelmap id        */
7517 };
7518 GX_PIXELMAP_BUTTON_PROPERTIES button_screen_pixelmap_button1_properties =
7519 {
7520     GX_PIXELMAP_ID_ORANGE_BUTTON,            /* normal pixelmap id             */
7521     GX_PIXELMAP_ID_ORANGE_BUTTON_PRESSED,    /* selected pixelmap id           */
7522     GX_PIXELMAP_ID_BUTTON_DISABLED           /* disabled pixelmap id           */
7523 };
7524 GX_ICON_PROPERTIES button_screen_icon_properties =
7525 {
7526     GX_PIXELMAP_ID_I_HISTORY_LG,             /* normal pixelmap id             */
7527     0                                        /* selected pixelmap id           */
7528 };
7529 GX_ICON_BUTTON_PROPERTIES button_screen_icon_button_6_properties =
7530 {
7531     GX_PIXELMAP_ID_SAVE_ICON                 /* pixelmap id                    */
7532 };
7533 GX_PROMPT_PROPERTIES button_screen_button_label_1_properties =
7534 {
7535     GX_STRING_ID_STRING_10,                  /* string id                      */
7536     GX_FONT_ID_PROMPT,                       /* font id                        */
7537     GX_COLOR_ID_TEXT,                        /* normal text color              */
7538     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
7539     GX_COLOR_ID_TEXT                         /* disabled text color            */
7540 };
7541 GX_PROMPT_PROPERTIES button_screen_radio_label_1_properties =
7542 {
7543     GX_STRING_ID_STRING_13,                  /* string id                      */
7544     GX_FONT_ID_PROMPT,                       /* font id                        */
7545     GX_COLOR_ID_TEXT,                        /* normal text color              */
7546     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
7547     GX_COLOR_ID_TEXT                         /* disabled text color            */
7548 };
7549 GX_PROMPT_PROPERTIES button_screen_pixbutton_label_1_properties =
7550 {
7551     GX_STRING_ID_STRING_11,                  /* string id                      */
7552     GX_FONT_ID_PROMPT,                       /* font id                        */
7553     GX_COLOR_ID_TEXT,                        /* normal text color              */
7554     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
7555     GX_COLOR_ID_TEXT                         /* disabled text color            */
7556 };
7557 GX_PROMPT_PROPERTIES button_screen_texbutton_label_1_properties =
7558 {
7559     GX_STRING_ID_STRING_2,                   /* string id                      */
7560     GX_FONT_ID_PROMPT,                       /* font id                        */
7561     GX_COLOR_ID_TEXT,                        /* normal text color              */
7562     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
7563     GX_COLOR_ID_TEXT                         /* disabled text color            */
7564 };
7565 GX_PROMPT_PROPERTIES button_screen_checkbox_label_1_properties =
7566 {
7567     GX_STRING_ID_STRING_12,                  /* string id                      */
7568     GX_FONT_ID_PROMPT,                       /* font id                        */
7569     GX_COLOR_ID_TEXT,                        /* normal text color              */
7570     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
7571     GX_COLOR_ID_TEXT                         /* disabled text color            */
7572 };
7573 GX_PROMPT_PROPERTIES button_screen_iconbutton_label_1_properties =
7574 {
7575     GX_STRING_ID_STRING_14,                  /* string id                      */
7576     GX_FONT_ID_PROMPT,                       /* font id                        */
7577     GX_COLOR_ID_TEXT,                        /* normal text color              */
7578     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
7579     GX_COLOR_ID_TEXT                         /* disabled text color            */
7580 };
7581 GX_PROMPT_PROPERTIES button_screen_icon_label_1_properties =
7582 {
7583     GX_STRING_ID_STRING_15,                  /* string id                      */
7584     GX_FONT_ID_PROMPT,                       /* font id                        */
7585     GX_COLOR_ID_TEXT,                        /* normal text color              */
7586     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
7587     GX_COLOR_ID_TEXT                         /* disabled text color            */
7588 };
7589 GX_TEXT_BUTTON_PROPERTIES button_screen_next_button_properties =
7590 {
7591     GX_STRING_ID_STRING_36,                  /* string id                      */
7592     GX_FONT_ID_BUTTON,                       /* font id                        */
7593     GX_COLOR_ID_WHITE,                       /* normal text color              */
7594     GX_COLOR_ID_WHITE,                       /* selected text color            */
7595     GX_COLOR_ID_WHITE                        /* disabled text color            */
7596 };
7597 GX_ML_TEXT_BUTTON_PROPERTIES button_screen_multi_line_button_1_properties =
7598 {
7599     GX_STRING_ID_STRING_39,                  /* string id                      */
7600     GX_FONT_ID_BUTTON,                       /* font id                        */
7601     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
7602     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
7603     GX_COLOR_ID_BTN_TEXT                     /* disabled text color            */
7604 };
7605 GX_PROMPT_PROPERTIES button_screen_texbutton_label_2_properties =
7606 {
7607     GX_STRING_ID_STRING_40,                  /* string id                      */
7608     GX_FONT_ID_PROMPT,                       /* font id                        */
7609     GX_COLOR_ID_TEXT,                        /* normal text color              */
7610     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
7611     GX_COLOR_ID_TEXT                         /* disabled text color            */
7612 };
7613 GX_NUMERIC_PROMPT_PROPERTIES button_screen_count_prompt_properties =
7614 {
7615     0,                                       /* string id                      */
7616     GX_FONT_ID_PROMPT,                       /* font id                        */
7617     GX_COLOR_ID_TEXT,                        /* normal text color              */
7618     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
7619     GX_COLOR_ID_TEXT,                        /* disabled text color            */
7620     GX_NULL,                                 /* format function                */
7621     0                                        /* numeric prompt value           */
7622 };
7623 
7624 GX_CONST GX_STUDIO_WIDGET button_screen_count_prompt_define =
7625 {
7626     "count_prompt",
7627     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
7628     ID_COUNT_PROMPT,                         /* widget id                      */
7629     #if defined(GX_WIDGET_USER_DATA)
7630     0,                                       /* user data                      */
7631     #endif
7632     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
7633     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7634     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
7635     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7636     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7637     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7638     gx_studio_numeric_prompt_create,         /* create function                */
7639     GX_NULL,                                 /* drawing function override      */
7640     GX_NULL,                                 /* event function override        */
7641     {423, 102, 485, 125},                    /* widget size                    */
7642     GX_NULL,                                 /* no next widget                 */
7643     GX_NULL,                                 /* no child widgets               */
7644     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_count_prompt), /* control block */
7645     (void *) &button_screen_count_prompt_properties /* extended properties     */
7646 };
7647 
7648 GX_CONST GX_STUDIO_WIDGET button_screen_texbutton_label_2_define =
7649 {
7650     "texbutton_label_2",
7651     GX_TYPE_PROMPT,                          /* widget type                    */
7652     GX_ID_NONE,                              /* widget id                      */
7653     #if defined(GX_WIDGET_USER_DATA)
7654     0,                                       /* user data                      */
7655     #endif
7656     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT,   /* style flags */
7657     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7658     sizeof(GX_PROMPT),                       /* control block size             */
7659     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7660     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7661     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7662     gx_studio_prompt_create,                 /* create function                */
7663     GX_NULL,                                 /* drawing function override      */
7664     GX_NULL,                                 /* event function override        */
7665     {295, 195, 541, 218},                    /* widget size                    */
7666     &button_screen_count_prompt_define,      /* next widget definition         */
7667     GX_NULL,                                 /* no child widgets               */
7668     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_texbutton_label_2), /* control block */
7669     (void *) &button_screen_texbutton_label_2_properties /* extended properties */
7670 };
7671 
7672 GX_CONST GX_STUDIO_WIDGET button_screen_multi_line_button_1_define =
7673 {
7674     "multi_line_button_1",
7675     GX_TYPE_MULTI_LINE_TEXT_BUTTON,          /* widget type                    */
7676     GX_ID_NONE,                              /* widget id                      */
7677     #if defined(GX_WIDGET_USER_DATA)
7678     0,                                       /* user data                      */
7679     #endif
7680     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
7681     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7682     sizeof(GX_MULTI_LINE_TEXT_BUTTON),       /* control block size             */
7683     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7684     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7685     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
7686     gx_studio_multi_line_text_button_create,     /* create function            */
7687     GX_NULL,                                 /* drawing function override      */
7688     GX_NULL,                                 /* event function override        */
7689     {117, 176, 252, 244},                    /* widget size                    */
7690     &button_screen_texbutton_label_2_define, /* next widget definition         */
7691     GX_NULL,                                 /* no child widgets               */
7692     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_multi_line_button_1), /* control block */
7693     (void *) &button_screen_multi_line_button_1_properties /* extended properties */
7694 };
7695 
7696 GX_CONST GX_STUDIO_WIDGET button_screen_next_button_define =
7697 {
7698     "next_button",
7699     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
7700     IDB_NEXT,                                /* widget id                      */
7701     #if defined(GX_WIDGET_USER_DATA)
7702     0,                                       /* user data                      */
7703     #endif
7704     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
7705     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7706     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
7707     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* normal color id                */
7708     GX_COLOR_ID_NEXT_BUTTON_UPPER,           /* selected color id              */
7709     GX_COLOR_ID_NEXT_BUTTON_LOWER,           /* disabled color id              */
7710     gx_studio_text_button_create,            /* create function                */
7711     GX_NULL,                                 /* drawing function override      */
7712     GX_NULL,                                 /* event function override        */
7713     {484, 441, 563, 465},                    /* widget size                    */
7714     &button_screen_multi_line_button_1_define, /* next widget definition       */
7715     GX_NULL,                                 /* no child widgets               */
7716     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_next_button), /* control block */
7717     (void *) &button_screen_next_button_properties /* extended properties      */
7718 };
7719 
7720 GX_CONST GX_STUDIO_WIDGET button_screen_icon_label_1_define =
7721 {
7722     "icon_label_1",
7723     GX_TYPE_PROMPT,                          /* widget type                    */
7724     GX_ID_NONE,                              /* widget id                      */
7725     #if defined(GX_WIDGET_USER_DATA)
7726     0,                                       /* user data                      */
7727     #endif
7728     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT,   /* style flags */
7729     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7730     sizeof(GX_PROMPT),                       /* control block size             */
7731     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7732     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7733     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7734     gx_studio_prompt_create,                 /* create function                */
7735     GX_NULL,                                 /* drawing function override      */
7736     GX_NULL,                                 /* event function override        */
7737     {297, 421, 371, 444},                    /* widget size                    */
7738     &button_screen_next_button_define,       /* next widget definition         */
7739     GX_NULL,                                 /* no child widgets               */
7740     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_icon_label_1), /* control block */
7741     (void *) &button_screen_icon_label_1_properties /* extended properties     */
7742 };
7743 
7744 GX_CONST GX_STUDIO_WIDGET button_screen_iconbutton_label_1_define =
7745 {
7746     "iconbutton_label_1",
7747     GX_TYPE_PROMPT,                          /* widget type                    */
7748     GX_ID_NONE,                              /* widget id                      */
7749     #if defined(GX_WIDGET_USER_DATA)
7750     0,                                       /* user data                      */
7751     #endif
7752     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT,   /* style flags */
7753     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7754     sizeof(GX_PROMPT),                       /* control block size             */
7755     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7756     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7757     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7758     gx_studio_prompt_create,                 /* create function                */
7759     GX_NULL,                                 /* drawing function override      */
7760     GX_NULL,                                 /* event function override        */
7761     {297, 385, 447, 408},                    /* widget size                    */
7762     &button_screen_icon_label_1_define,      /* next widget definition         */
7763     GX_NULL,                                 /* no child widgets               */
7764     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_iconbutton_label_1), /* control block */
7765     (void *) &button_screen_iconbutton_label_1_properties /* extended properties */
7766 };
7767 
7768 GX_CONST GX_STUDIO_WIDGET button_screen_checkbox_label_1_define =
7769 {
7770     "checkbox_label_1",
7771     GX_TYPE_PROMPT,                          /* widget type                    */
7772     GX_ID_NONE,                              /* widget id                      */
7773     #if defined(GX_WIDGET_USER_DATA)
7774     0,                                       /* user data                      */
7775     #endif
7776     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT,   /* style flags */
7777     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7778     sizeof(GX_PROMPT),                       /* control block size             */
7779     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7780     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7781     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7782     gx_studio_prompt_create,                 /* create function                */
7783     GX_NULL,                                 /* drawing function override      */
7784     GX_NULL,                                 /* event function override        */
7785     {297, 325, 417, 348},                    /* widget size                    */
7786     &button_screen_iconbutton_label_1_define, /* next widget definition        */
7787     GX_NULL,                                 /* no child widgets               */
7788     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_checkbox_label_1), /* control block */
7789     (void *) &button_screen_checkbox_label_1_properties /* extended properties */
7790 };
7791 
7792 GX_CONST GX_STUDIO_WIDGET button_screen_texbutton_label_1_define =
7793 {
7794     "texbutton_label_1",
7795     GX_TYPE_PROMPT,                          /* widget type                    */
7796     GX_ID_NONE,                              /* widget id                      */
7797     #if defined(GX_WIDGET_USER_DATA)
7798     0,                                       /* user data                      */
7799     #endif
7800     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT,   /* style flags */
7801     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7802     sizeof(GX_PROMPT),                       /* control block size             */
7803     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7804     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7805     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7806     gx_studio_prompt_create,                 /* create function                */
7807     GX_NULL,                                 /* drawing function override      */
7808     GX_NULL,                                 /* event function override        */
7809     {297, 146, 444, 169},                    /* widget size                    */
7810     &button_screen_checkbox_label_1_define,  /* next widget definition         */
7811     GX_NULL,                                 /* no child widgets               */
7812     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_texbutton_label_1), /* control block */
7813     (void *) &button_screen_texbutton_label_1_properties /* extended properties */
7814 };
7815 
7816 GX_CONST GX_STUDIO_WIDGET button_screen_pixbutton_label_1_define =
7817 {
7818     "pixbutton_label_1",
7819     GX_TYPE_PROMPT,                          /* widget type                    */
7820     GX_ID_NONE,                              /* widget id                      */
7821     #if defined(GX_WIDGET_USER_DATA)
7822     0,                                       /* user data                      */
7823     #endif
7824     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT,   /* style flags */
7825     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7826     sizeof(GX_PROMPT),                       /* control block size             */
7827     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7828     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7829     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7830     gx_studio_prompt_create,                 /* create function                */
7831     GX_NULL,                                 /* drawing function override      */
7832     GX_NULL,                                 /* event function override        */
7833     {297, 271, 479, 294},                    /* widget size                    */
7834     &button_screen_texbutton_label_1_define, /* next widget definition         */
7835     GX_NULL,                                 /* no child widgets               */
7836     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_pixbutton_label_1), /* control block */
7837     (void *) &button_screen_pixbutton_label_1_properties /* extended properties */
7838 };
7839 
7840 GX_CONST GX_STUDIO_WIDGET button_screen_radio_label_1_define =
7841 {
7842     "radio_label_1",
7843     GX_TYPE_PROMPT,                          /* widget type                    */
7844     GX_ID_NONE,                              /* widget id                      */
7845     #if defined(GX_WIDGET_USER_DATA)
7846     0,                                       /* user data                      */
7847     #endif
7848     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT,   /* style flags */
7849     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7850     sizeof(GX_PROMPT),                       /* control block size             */
7851     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7852     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7853     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7854     gx_studio_prompt_create,                 /* create function                */
7855     GX_NULL,                                 /* drawing function override      */
7856     GX_NULL,                                 /* event function override        */
7857     {297, 353, 452, 376},                    /* widget size                    */
7858     &button_screen_pixbutton_label_1_define, /* next widget definition         */
7859     GX_NULL,                                 /* no child widgets               */
7860     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_radio_label_1), /* control block */
7861     (void *) &button_screen_radio_label_1_properties /* extended properties    */
7862 };
7863 
7864 GX_CONST GX_STUDIO_WIDGET button_screen_button_label_1_define =
7865 {
7866     "button_label_1",
7867     GX_TYPE_PROMPT,                          /* widget type                    */
7868     GX_ID_NONE,                              /* widget id                      */
7869     #if defined(GX_WIDGET_USER_DATA)
7870     0,                                       /* user data                      */
7871     #endif
7872     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT,   /* style flags */
7873     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7874     sizeof(GX_PROMPT),                       /* control block size             */
7875     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7876     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7877     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7878     gx_studio_prompt_create,                 /* create function                */
7879     GX_NULL,                                 /* drawing function override      */
7880     GX_NULL,                                 /* event function override        */
7881     {297, 103, 396, 126},                    /* widget size                    */
7882     &button_screen_radio_label_1_define,     /* next widget definition         */
7883     GX_NULL,                                 /* no child widgets               */
7884     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_button_label_1), /* control block */
7885     (void *) &button_screen_button_label_1_properties /* extended properties   */
7886 };
7887 
7888 GX_CONST GX_STUDIO_WIDGET button_screen_icon_button_6_define =
7889 {
7890     "icon_button_6",
7891     GX_TYPE_ICON_BUTTON,                     /* widget type                    */
7892     ID_ICON_BUTTON,                          /* widget id                      */
7893     #if defined(GX_WIDGET_USER_DATA)
7894     0,                                       /* user data                      */
7895     #endif
7896     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
7897     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7898     sizeof(GX_ICON_BUTTON),                  /* control block size             */
7899     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7900     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7901     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
7902     gx_studio_icon_button_create,            /* create function                */
7903     GX_NULL,                                 /* drawing function override      */
7904     GX_NULL,                                 /* event function override        */
7905     {229, 386, 252, 409},                    /* widget size                    */
7906     &button_screen_button_label_1_define,    /* next widget definition         */
7907     GX_NULL,                                 /* no child widgets               */
7908     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_icon_button_6), /* control block */
7909     (void *) &button_screen_icon_button_6_properties /* extended properties    */
7910 };
7911 
7912 GX_CONST GX_STUDIO_WIDGET button_screen_icon_define =
7913 {
7914     "icon",
7915     GX_TYPE_ICON,                            /* widget type                    */
7916     ID_ICON,                                 /* widget id                      */
7917     #if defined(GX_WIDGET_USER_DATA)
7918     0,                                       /* user data                      */
7919     #endif
7920     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
7921     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7922     sizeof(GX_ICON),                         /* control block size             */
7923     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
7924     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
7925     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
7926     gx_studio_icon_create,                   /* create function                */
7927     GX_NULL,                                 /* drawing function override      */
7928     GX_NULL,                                 /* event function override        */
7929     {221, 416, 258, 453},                    /* widget size                    */
7930     &button_screen_icon_button_6_define,     /* next widget definition         */
7931     GX_NULL,                                 /* no child widgets               */
7932     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_icon), /* control block */
7933     (void *) &button_screen_icon_properties  /* extended properties            */
7934 };
7935 
7936 GX_CONST GX_STUDIO_WIDGET button_screen_pixelmap_button1_define =
7937 {
7938     "pixelmap_button1",
7939     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
7940     ID_PIXELMAP_BUTTON,                      /* widget id                      */
7941     #if defined(GX_WIDGET_USER_DATA)
7942     0,                                       /* user data                      */
7943     #endif
7944     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
7945     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7946     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
7947     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7948     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7949     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
7950     gx_studio_pixelmap_button_create,        /* create function                */
7951     GX_NULL,                                 /* drawing function override      */
7952     GX_NULL,                                 /* event function override        */
7953     {131, 251, 252, 313},                    /* widget size                    */
7954     &button_screen_icon_define,              /* next widget definition         */
7955     GX_NULL,                                 /* no child widgets               */
7956     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_pixelmap_button1), /* control block */
7957     (void *) &button_screen_pixelmap_button1_properties /* extended properties */
7958 };
7959 
7960 GX_CONST GX_STUDIO_WIDGET button_screen_radio_button1_define =
7961 {
7962     "radio_button1",
7963     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
7964     ID_RADIO_BUTTON,                         /* widget id                      */
7965     #if defined(GX_WIDGET_USER_DATA)
7966     0,                                       /* user data                      */
7967     #endif
7968     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
7969     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7970     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
7971     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7972     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7973     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
7974     gx_studio_radio_button_create,           /* create function                */
7975     GX_NULL,                                 /* drawing function override      */
7976     GX_NULL,                                 /* event function override        */
7977     {125, 356, 252, 379},                    /* widget size                    */
7978     &button_screen_pixelmap_button1_define,  /* next widget definition         */
7979     GX_NULL,                                 /* no child widgets               */
7980     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_radio_button1), /* control block */
7981     (void *) &button_screen_radio_button1_properties /* extended properties    */
7982 };
7983 
7984 GX_CONST GX_STUDIO_WIDGET button_screen_checkbox_define =
7985 {
7986     "checkbox",
7987     GX_TYPE_CHECKBOX,                        /* widget type                    */
7988     ID_CHECKBOX,                             /* widget id                      */
7989     #if defined(GX_WIDGET_USER_DATA)
7990     0,                                       /* user data                      */
7991     #endif
7992     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE|GX_STYLE_TEXT_LEFT,   /* style flags */
7993     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7994     sizeof(GX_CHECKBOX),                     /* control block size             */
7995     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7996     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7997     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
7998     gx_studio_checkbox_create,               /* create function                */
7999     GX_NULL,                                 /* drawing function override      */
8000     GX_NULL,                                 /* event function override        */
8001     {150, 320, 252, 349},                    /* widget size                    */
8002     &button_screen_radio_button1_define,     /* next widget definition         */
8003     GX_NULL,                                 /* no child widgets               */
8004     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_checkbox), /* control block */
8005     (void *) &button_screen_checkbox_properties /* extended properties         */
8006 };
8007 
8008 GX_CONST GX_STUDIO_WIDGET button_screen_text_button_1_define =
8009 {
8010     "text_button_1",
8011     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
8012     ID_TEXT_BUTTON,                          /* widget id                      */
8013     #if defined(GX_WIDGET_USER_DATA)
8014     0,                                       /* user data                      */
8015     #endif
8016     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
8017     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
8018     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
8019     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
8020     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
8021     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
8022     gx_studio_text_button_create,            /* create function                */
8023     GX_NULL,                                 /* drawing function override      */
8024     GX_NULL,                                 /* event function override        */
8025     {117, 140, 252, 169},                    /* widget size                    */
8026     &button_screen_checkbox_define,          /* next widget definition         */
8027     GX_NULL,                                 /* no child widgets               */
8028     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_text_button_1), /* control block */
8029     (void *) &button_screen_text_button_1_properties /* extended properties    */
8030 };
8031 
8032 GX_CONST GX_STUDIO_WIDGET button_screen_base_button_1_define =
8033 {
8034     "base_button_1",
8035     GX_TYPE_BUTTON,                          /* widget type                    */
8036     ID_BUTTON,                               /* widget id                      */
8037     #if defined(GX_WIDGET_USER_DATA)
8038     0,                                       /* user data                      */
8039     #endif
8040     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_BUTTON_REPEAT,   /* style flags */
8041     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
8042     sizeof(GX_BUTTON),                       /* control block size             */
8043     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
8044     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
8045     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
8046     gx_studio_button_create,                 /* create function                */
8047     GX_NULL,                                 /* drawing function override      */
8048     GX_NULL,                                 /* event function override        */
8049     {117, 100, 252, 133},                    /* widget size                    */
8050     &button_screen_text_button_1_define,     /* next widget definition         */
8051     GX_NULL,                                 /* no child widgets               */
8052     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_base_button_1), /* control block */
8053     (void *) GX_NULL                         /* no extended properties         */
8054 };
8055 
8056 GX_CONST GX_STUDIO_WIDGET button_screen_title_1_define =
8057 {
8058     "title_1",
8059     GX_TYPE_PROMPT,                          /* widget type                    */
8060     GX_ID_NONE,                              /* widget id                      */
8061     #if defined(GX_WIDGET_USER_DATA)
8062     0,                                       /* user data                      */
8063     #endif
8064     GX_STYLE_BORDER_THICK|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
8065     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
8066     sizeof(GX_PROMPT),                       /* control block size             */
8067     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
8068     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
8069     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
8070     gx_studio_prompt_create,                 /* create function                */
8071     GX_NULL,                                 /* drawing function override      */
8072     GX_NULL,                                 /* event function override        */
8073     {179, 30, 442, 71},                      /* widget size                    */
8074     &button_screen_base_button_1_define,     /* next widget definition         */
8075     GX_NULL,                                 /* no child widgets               */
8076     offsetof(BUTTON_SCREEN_CONTROL_BLOCK, button_screen_title_1), /* control block */
8077     (void *) &button_screen_title_1_properties /* extended properties          */
8078 };
8079 
8080 GX_STUDIO_ACTION button_screen__idb_next_gx_event_clicked_actions[2] = {
8081     {GX_ACTION_TYPE_TOGGLE, 0, &Primary_root_window, &window_screen, GX_NULL},
8082     {0, 0, GX_NULL, GX_NULL, GX_NULL}
8083 };
8084 
8085 
8086 GX_STUDIO_ACTION button_screen__id_text_button_gx_event_clicked_actions[2] = {
8087     {GX_ACTION_TYPE_WINDOW_EXECUTE, 0, &Primary_root_window, &popup_modal, GX_NULL},
8088     {0, 0, GX_NULL, GX_NULL, GX_NULL}
8089 };
8090 
8091 static GX_STUDIO_EVENT_ENTRY gx_studio_button_screen_event_table[] = {
8092     {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, button_screen__idb_next_gx_event_clicked_actions},
8093     {GX_SIGNAL(ID_TEXT_BUTTON, GX_EVENT_CLICKED), 0, button_screen__id_text_button_gx_event_clicked_actions},
8094     {0, 0, GX_NULL}
8095 };
8096 
8097 GX_STUDIO_EVENT_PROCESS button_screen_event_chain = {gx_studio_button_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))buttons_handler};
gx_studio_button_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)8098 static UINT gx_studio_button_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
8099 {
8100     return (gx_studio_auto_event_handler(target, event_ptr, &button_screen_event_chain));
8101 }
8102 
8103 
8104 GX_CONST GX_STUDIO_WIDGET button_screen_define =
8105 {
8106     "button_screen",
8107     GX_TYPE_WINDOW,                          /* widget type                    */
8108     ID_BUTTON_SCREEN,                        /* widget id                      */
8109     #if defined(GX_WIDGET_USER_DATA)
8110     0,                                       /* user data                      */
8111     #endif
8112     GX_STYLE_BORDER_THICK,                   /* style flags                    */
8113     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
8114     sizeof(BUTTON_SCREEN_CONTROL_BLOCK),     /* control block size             */
8115     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
8116     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
8117     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
8118     gx_studio_window_create,                 /* create function                */
8119     GX_NULL,                                 /* drawing function override      */
8120     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_button_screen_event_process, /* event function override */
8121     {73, 7, 575, 475},                       /* widget size                    */
8122     GX_NULL,                                 /* next widget                    */
8123     &button_screen_title_1_define,           /* child widget                   */
8124     0,                                       /* control block                  */
8125     (void *) &button_screen_properties       /* extended properties            */
8126 };
8127 GX_CONST GX_STUDIO_WIDGET_ENTRY all_widgets_32argb_widget_table[] =
8128 {
8129     { &radial_slider_screen_define, (GX_WIDGET *) &radial_slider_screen },
8130     { &rotate_screen_define, (GX_WIDGET *) &rotate_screen },
8131     { &menu_screen_define, (GX_WIDGET *) &menu_screen },
8132     { &scroll_wheel_screen_define, (GX_WIDGET *) &scroll_wheel_screen },
8133     { &sprite_screen_define, (GX_WIDGET *) &sprite_screen },
8134     { &gauge_screen_define, (GX_WIDGET *) &gauge_screen },
8135     { &popup_modal_define, (GX_WIDGET *) &popup_modal },
8136     { &indicator_screen_define, (GX_WIDGET *) &indicator_screen },
8137     { &text_screen_define, (GX_WIDGET *) &text_screen },
8138     { &window_screen_define, (GX_WIDGET *) &window_screen },
8139     { &button_screen_define, (GX_WIDGET *) &button_screen },
8140     {GX_NULL, GX_NULL}
8141 };
8142 
gx_studio_nested_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)8143 static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
8144 {
8145     UINT status = GX_SUCCESS;
8146     GX_WIDGET *widget = GX_NULL;
8147     GX_VALUE   list_count = 0;
8148     GX_VALUE   list_total_count = 0;
8149 
8150     if(parent && (parent->gx_widget_type == GX_TYPE_MENU))
8151     {
8152         list_total_count = ((GX_MENU *)parent)->gx_menu_list_total_count;
8153     }
8154 
8155     while(definition && status == GX_SUCCESS)
8156     {
8157         if (definition->create_function)
8158         {
8159             if (definition->style & GX_STYLE_DYNAMICALLY_ALLOCATED)
8160             {
8161                 status = gx_widget_allocate(&widget, definition->control_block_size);
8162                 if (status != GX_SUCCESS)
8163                 {
8164                     return GX_NULL;
8165                 }
8166             }
8167             else
8168             {
8169                 if (control == GX_NULL)
8170                 {
8171                     return GX_NULL;
8172                 }
8173                 widget = (GX_WIDGET *) (control + definition->control_block_offset);
8174             }
8175 
8176             status = definition->create_function(definition, widget, parent);
8177 
8178             if(list_count < list_total_count)
8179             {
8180                 gx_menu_insert((GX_MENU *)parent, widget);
8181                 ((GX_MENU *)parent)->gx_menu_list_total_count--;
8182                 list_count++;
8183             }
8184 
8185             if (status == GX_SUCCESS)
8186             {
8187                 if (definition->widget_type != GX_TYPE_TEMPLATE)
8188                 {
8189 #if defined(GUIX_5_4_0_COMPATIBILITY)
8190                     gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id);
8191 #else
8192                     gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id, definition->disabled_fill_color_id);
8193 #endif
8194                 }
8195 
8196                 if (!(definition->status & GX_STATUS_ACCEPTS_FOCUS))
8197                 {
8198                     gx_widget_status_remove(widget, GX_STATUS_ACCEPTS_FOCUS);
8199                 }
8200 
8201                 if (definition->draw_function)
8202                 {
8203                     gx_widget_draw_set(widget, definition->draw_function);
8204                 }
8205                 if (definition->event_function)
8206                 {
8207                     gx_widget_event_process_set(widget, definition->event_function);
8208                 }
8209 
8210                 #if defined(GX_WIDGET_USER_DATA)
8211                 widget->gx_widget_user_data = definition->user_data;
8212                 #endif
8213 
8214                 if (definition->child_widget)
8215                 {
8216                     gx_studio_nested_widget_create(control, definition->child_widget, widget);
8217                 }
8218             }
8219             definition = definition->next_widget;
8220         }
8221     }
8222     return widget;
8223 }
8224 
gx_studio_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)8225 GX_WIDGET *gx_studio_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
8226 {
8227     GX_WIDGET *widget;
8228     widget = gx_studio_nested_widget_create(control, definition, GX_NULL);
8229 
8230     if (parent && widget)
8231     {
8232         gx_widget_attach(parent, widget);
8233     }
8234     return widget;
8235 }
8236 
gx_studio_named_widget_create(char * name,GX_WIDGET * parent,GX_WIDGET ** new_widget)8237 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget)
8238 {
8239     UINT status = GX_FAILURE;
8240     GX_CONST GX_STUDIO_WIDGET_ENTRY *entry = all_widgets_32argb_widget_table;
8241     GX_WIDGET *widget = GX_NULL;
8242 
8243     while(entry->widget_information)
8244     {
8245         if (!strcmp(name, entry->widget_information->widget_name))
8246         {
8247             widget = gx_studio_widget_create((GX_BYTE *) entry->widget, entry->widget_information, parent);
8248             if (widget)
8249             {
8250                 status = GX_SUCCESS;
8251             }
8252             break;
8253         }
8254         entry++;
8255     }
8256 
8257     if (new_widget)
8258     {
8259         *new_widget = widget;
8260     }
8261     return status;
8262 }
8263 
8264 
gx_studio_display_configure(USHORT display,UINT (* driver)(GX_DISPLAY *),GX_UBYTE language,USHORT theme,GX_WINDOW_ROOT ** return_root)8265 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *),
8266     GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root)
8267 {
8268     GX_CONST GX_THEME *theme_ptr;
8269     GX_RECTANGLE size;
8270 
8271     GX_STUDIO_DISPLAY_INFO *display_info = &all_widgets_32argb_display_table[display];
8272 
8273 
8274 /* create the requested display                                                */
8275 
8276     gx_display_create(display_info->display,
8277                       display_info->name,
8278                       driver,
8279                       (GX_VALUE) display_info->x_resolution,
8280                       (GX_VALUE) display_info->y_resolution);
8281 
8282 
8283 /* install the request theme                                                   */
8284 
8285     if(display_info->theme_table)
8286     {
8287         theme_ptr = display_info->theme_table[theme];
8288         if(theme_ptr)
8289         {
8290             gx_display_color_table_set(display_info->display, theme_ptr->theme_color_table, theme_ptr->theme_color_table_size);
8291 
8292 /* install the color palette if required                                       */
8293             if (display_info->display->gx_display_driver_palette_set &&
8294                 theme_ptr->theme_palette != NULL)
8295             {
8296                 display_info->display->gx_display_driver_palette_set(display_info->display, theme_ptr->theme_palette, theme_ptr->theme_palette_size);
8297             }
8298 
8299             gx_display_font_table_set(display_info->display, theme_ptr->theme_font_table, theme_ptr->theme_font_table_size);
8300             gx_display_pixelmap_table_set(display_info->display, theme_ptr->theme_pixelmap_table, theme_ptr->theme_pixelmap_table_size);
8301             gx_system_scroll_appearance_set(theme_ptr->theme_vertical_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_vertical_scrollbar_appearance);
8302             gx_system_scroll_appearance_set(theme_ptr->theme_horizontal_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_horizontal_scrollbar_appearance);
8303         }
8304     }
8305 
8306 /* Install the language table.                                                 */
8307 
8308     if(display_info->language_table)
8309     {
8310         gx_display_language_table_set_ext(display_info->display, display_info->language_table, (GX_UBYTE) display_info->language_table_size, display_info->string_table_size);
8311         gx_display_active_language_set(display_info->display, language);
8312     }
8313 
8314 /* Set screen rotation angle.                                                  */
8315 
8316     display_info->display->gx_display_rotation_angle = display_info->rotation_angle;
8317 
8318 /* create the canvas for this display                                          */
8319 
8320     gx_canvas_create(display_info->canvas,
8321                      display_info->canvas_name,
8322                      display_info->display,
8323                      GX_CANVAS_MANAGED | GX_CANVAS_VISIBLE,
8324                      display_info->x_resolution,
8325                      display_info->y_resolution,
8326                      display_info->canvas_memory,
8327                      display_info->canvas_memory_size);
8328 
8329 /* Create the root window for this canvas                                      */
8330 
8331     gx_utility_rectangle_define(&size,
8332                                 0, 0,
8333                                 (GX_VALUE) (display_info->x_resolution - 1),
8334                                 (GX_VALUE) (display_info->y_resolution - 1));
8335 
8336     gx_window_root_create(display_info->root_window,
8337                           display_info->name,
8338                           display_info->canvas, GX_STYLE_NONE, 0, &size);
8339     if (return_root)
8340     {
8341         *return_root = display_info->root_window;
8342     }
8343     return GX_SUCCESS;
8344 }
8345 #undef GUIX_STUDIO_GENERATED_FILE
8346