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:01                        */
10 /*******************************************************************************/
11 
12 
13 #define GUIX_STUDIO_GENERATED_FILE
14 #include <stddef.h>
15 #include "demo_guix_car_infotainment_resources.h"
16 #include "demo_guix_car_infotainment_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 VIDEO_SCREEN_CONTROL_BLOCK video_screen;
20 AUDIO_SCREEN_CONTROL_BLOCK audio_screen;
21 PHONE_SCREEN_CONTROL_BLOCK phone_screen;
22 CLIMATE_SCREEN_CONTROL_BLOCK climate_screen;
23 VEHICLE_SCREEN_CONTROL_BLOCK vehicle_screen;
24 MAIN_SCREEN_CONTROL_BLOCK main_screen;
25 GX_DISPLAY main_display_control_block;
26 GX_WINDOW_ROOT main_display_root_window;
27 GX_CANVAS  main_display_canvas_control_block;
28 ULONG      main_display_canvas_memory[307200];
29 
30 extern GX_CONST GX_THEME *main_display_theme_table[];
31 extern GX_CONST GX_STRING *main_display_language_table[];
32 
33 GX_STUDIO_DISPLAY_INFO demo_guix_car_infotainment_display_table[1] =
34 {
35     {
36     "main_display",
37     "main_display_canvas",
38     main_display_theme_table,
39     main_display_language_table,
40     MAIN_DISPLAY_THEME_TABLE_SIZE,
41     MAIN_DISPLAY_LANGUAGE_TABLE_SIZE,
42     MAIN_DISPLAY_STRING_TABLE_SIZE,
43     640,                                     /* x resolution                   */
44     480,                                     /* y resolution                   */
45     &main_display_control_block,
46     &main_display_canvas_control_block,
47     &main_display_root_window,
48     main_display_canvas_memory,              /* canvas memory area             */
49     1228800,                                 /* canvas memory size in bytes    */
50     GX_SCREEN_ROTATION_NONE                  /* rotation angle                 */
51     }
52 };
53 
gx_studio_action_target_get(GX_WIDGET * current,GX_CONST GX_STUDIO_ACTION * action)54 static GX_WIDGET *gx_studio_action_target_get(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action)
55 {
56     GX_WIDGET *parent = GX_NULL;
57     GX_WIDGET *target = GX_NULL;
58     INT        search_depth;
59     GX_STUDIO_WIDGET *widget_define;
60 
61     if (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET)
62     {
63                                              /* dynamically create the target widget */
64         widget_define = (GX_STUDIO_WIDGET *) action->target;
65         if(action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT)
66         {
67             gx_window_root_find(current, (GX_WINDOW_ROOT **)&parent);
68             search_depth = GX_SEARCH_DEPTH_INFINITE;
69         }
70         else
71         {
72             parent = (GX_WIDGET *)action->parent;
73             search_depth = 1;
74         }
75         gx_widget_find(parent, widget_define->widget_id, search_depth, &target);
76         if (target == GX_NULL)
77         {
78             target = gx_studio_widget_create(GX_NULL, widget_define, GX_NULL);
79         }
80         if (target)
81         {
82             target->gx_widget_status |= GX_STATUS_STUDIO_CREATED;
83         }
84     }
85     else
86     {
87         target = (GX_WIDGET *) action->target;
88     }
89     return target;
90 }
91 
gx_studio_action_target_find(GX_WIDGET * current,GX_CONST GX_STUDIO_ACTION * action)92 static GX_WIDGET *gx_studio_action_target_find(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action)
93 {
94     GX_WIDGET *parent = GX_NULL;
95     GX_WIDGET *target = GX_NULL;
96     GX_STUDIO_WIDGET *widget_define;
97 
98     if (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET)
99     {
100                                              /* Find the dynamically created target */
101         widget_define = (GX_STUDIO_WIDGET *) action->target;
102         if(action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT)
103         {
104             gx_window_root_find(current, (GX_WINDOW_ROOT **)&parent);
105         }
106         else
107         {
108             parent = (GX_WIDGET *)action->parent;
109         }
110         gx_widget_find(parent, widget_define->widget_id, GX_SEARCH_DEPTH_INFINITE, &target);
111     }
112     else
113     {
114         target = (GX_WIDGET *) action->target;
115     }
116     return target;
117 }
118 
gx_studio_action_parent_find(GX_WIDGET * current,GX_CONST GX_STUDIO_ACTION * action)119 static GX_WIDGET *gx_studio_action_parent_find(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action)
120 {
121 GX_WIDGET *parent = GX_NULL;
122 GX_STUDIO_WIDGET *widget_define;
123 
124     if (action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT)
125     {
126                                              /* Find the dynamically created target */
127         widget_define = (GX_STUDIO_WIDGET *)action->parent;
128         gx_window_root_find(current, (GX_WINDOW_ROOT **)&parent);
129         gx_widget_find(parent, widget_define->widget_id, GX_SEARCH_DEPTH_INFINITE, &parent);
130     }
131     else
132     {
133         parent = (GX_WIDGET *)action->parent;
134     }
135     return parent;
136 }
137 
gx_studio_animation_execute(GX_WIDGET * current,GX_CONST GX_STUDIO_ACTION * action)138 static VOID gx_studio_animation_execute(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action)
139 {
140     GX_ANIMATION *animation;
141     GX_ANIMATION_INFO animation_info;
142     GX_WIDGET *parent = GX_NULL;
143     GX_WIDGET *target = GX_NULL;
144     gx_system_animation_get(&animation);
145     if (animation)
146     {
147         animation_info = *action->animation;
148 
149         if((action->flags & GX_ACTION_FLAG_POP_TARGET) ||
150            (action->flags & GX_ACTION_FLAG_POP_PARENT))
151         {
152             gx_system_screen_stack_get((GX_WIDGET **)&parent, &target);
153         }
154 
155         if(action->flags & GX_ACTION_FLAG_POP_TARGET)
156         {
157             animation_info.gx_animation_target = target;
158         }
159 
160         if(action->flags & GX_ACTION_FLAG_POP_PARENT)
161         {
162             animation_info.gx_animation_parent = (GX_WIDGET *)parent;
163         }
164 
165         if ((!animation_info.gx_animation_target) &&
166             (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET))
167         {
168             target = gx_studio_action_target_get(current, action);
169             animation_info.gx_animation_target = target;
170         }
171 
172         if (!animation_info.gx_animation_parent)
173         {
174             animation_info.gx_animation_parent = gx_studio_action_parent_find(current, action);
175         }
176 
177         if (animation_info.gx_animation_target &&
178             animation_info.gx_animation_parent)
179         {
180             gx_animation_start(animation, &animation_info);
181         }
182     }
183 }
184 
gx_studio_auto_event_handler(GX_WIDGET * widget,GX_EVENT * event_ptr,GX_CONST GX_STUDIO_EVENT_PROCESS * record)185 UINT gx_studio_auto_event_handler(GX_WIDGET *widget, GX_EVENT *event_ptr, GX_CONST GX_STUDIO_EVENT_PROCESS *record)
186 {
187     UINT status = GX_SUCCESS;
188     GX_CONST GX_STUDIO_ACTION *action;
189     GX_CONST GX_WIDGET *parent = GX_NULL;
190     GX_WIDGET *target = GX_NULL;
191     GX_CONST GX_STUDIO_EVENT_ENTRY *entry = record->event_table;
192 
193     while(entry->event_type)
194     {
195         if (entry->event_type == event_ptr->gx_event_type)
196         {
197             if((entry->event_type == GX_EVENT_ANIMATION_COMPLETE) &&
198                (entry->event_sender != event_ptr->gx_event_sender))
199             {
200                 entry++;
201                 continue;
202             }
203             action = entry->action_list;
204 
205             while(action->opcode)
206             {
207                 switch(action->opcode)
208                 {
209                 case GX_ACTION_TYPE_ATTACH:
210                     if((action->flags & GX_ACTION_FLAG_POP_TARGET) ||
211                        (action->flags & GX_ACTION_FLAG_POP_PARENT))
212                     {
213                         gx_system_screen_stack_get((GX_WIDGET **)&parent, &target);
214                     }
215 
216                     if(!(action->flags & GX_ACTION_FLAG_POP_PARENT))
217                     {
218                         parent = action->parent;
219                     }
220                     if(!(action->flags & GX_ACTION_FLAG_POP_TARGET))
221                     {
222                         target = gx_studio_action_target_get(widget, action);
223                     }
224                     if (parent && target)
225                     {
226                         gx_widget_attach(parent, target);
227                     }
228                     break;
229 
230                 case GX_ACTION_TYPE_DETACH:
231                     target = gx_studio_action_target_find(widget, action);
232                     if (target)
233                     {
234                         gx_widget_detach(target);
235                         if (target->gx_widget_status & GX_STATUS_STUDIO_CREATED)
236                         {
237                             if (widget == target)
238                             {
239                                 widget = GX_NULL;
240                             }
241 
242                             gx_widget_delete(target);
243                         }
244                     }
245                     break;
246 
247                 case GX_ACTION_TYPE_TOGGLE:
248                     if(action->flags & GX_ACTION_FLAG_POP_TARGET)
249                     {
250                        gx_system_screen_stack_get(GX_NULL, &target);
251                     }
252                     else
253                     {
254                         target = gx_studio_action_target_get(widget, action);
255                     }
256                     parent = widget->gx_widget_parent;
257                     if (parent)
258                     {
259                         gx_widget_detach(widget);
260                         gx_widget_attach(parent, target);
261                         if (widget->gx_widget_status & GX_STATUS_STUDIO_CREATED)
262                         {
263                             gx_widget_delete(widget);
264                             widget = GX_NULL;
265                         }
266                     }
267                     break;
268 
269                 case GX_ACTION_TYPE_SHOW:
270                     target = gx_studio_action_target_get(widget, action);
271                     if(target)
272                     {
273                         gx_widget_show(target);
274                     }
275                     break;
276 
277                 case GX_ACTION_TYPE_HIDE:
278                     target = gx_studio_action_target_find(widget, action);
279                     if(target)
280                     {
281                         gx_widget_hide(target);
282                     }
283                     break;
284 
285                 case GX_ACTION_TYPE_ANIMATION:
286                     gx_studio_animation_execute(widget, action);
287                     break;
288 
289                 case GX_ACTION_TYPE_WINDOW_EXECUTE:
290                     if((action->flags & GX_ACTION_FLAG_POP_TARGET) ||
291                        (action->flags & GX_ACTION_FLAG_POP_PARENT))
292                     {
293                         gx_system_screen_stack_get((GX_WIDGET **)&parent, &target);
294                     }
295 
296                     if(!(action->flags & GX_ACTION_FLAG_POP_PARENT))
297                     {
298                         parent = widget->gx_widget_parent;
299                     }
300                     if(!(action->flags & GX_ACTION_FLAG_POP_TARGET))
301                     {
302                         target = gx_studio_action_target_get(widget, action);
303                     }
304                     if (parent && target)
305                     {
306                         gx_widget_attach(parent, target);
307                         gx_window_execute((GX_WINDOW *) target, GX_NULL);
308                     }
309                     break;
310 
311                 case GX_ACTION_TYPE_WINDOW_EXECUTE_STOP:
312                     return event_ptr->gx_event_sender;
313 
314                 case GX_ACTION_TYPE_SCREEN_STACK_PUSH:
315                     target = gx_studio_action_target_get(widget, action);
316                     if(target)
317                     {
318                         gx_system_screen_stack_push(target);
319                     }
320                     break;
321 
322                 case GX_ACTION_TYPE_SCREEN_STACK_POP:
323                     gx_system_screen_stack_pop();
324                     break;
325 
326                 case GX_ACTION_TYPE_SCREEN_STACK_RESET:
327                     gx_system_screen_stack_reset();
328                     break;
329 
330                 default:
331                     break;
332                 }
333                 action++;
334             }
335         }
336         entry++;
337     }
338 
339     if (widget && record->chain_event_handler)
340     {
341         status = record->chain_event_handler(widget, event_ptr);
342     }
343     return status;
344 }
345 
346 
gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)347 UINT gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
348 {
349     UINT status;
350     GX_ICON_BUTTON *button = (GX_ICON_BUTTON *) control_block;
351     GX_ICON_BUTTON_PROPERTIES *props = (GX_ICON_BUTTON_PROPERTIES *) info->properties;
352     status = gx_icon_button_create(button, info->widget_name, parent, props->pixelmap_id, info->style, info->widget_id, &info->size);
353     return status;
354 }
355 
gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)356 UINT gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
357 {
358     UINT status;
359     GX_PIXELMAP_BUTTON *button = (GX_PIXELMAP_BUTTON *) control_block;
360     GX_PIXELMAP_BUTTON_PROPERTIES *props = (GX_PIXELMAP_BUTTON_PROPERTIES *) info->properties;
361     status = gx_pixelmap_button_create(button, info->widget_name, parent,
362                props->normal_pixelmap_id,
363                props->selected_pixelmap_id,
364                props->disabled_pixelmap_id,
365                info->style, info->widget_id, &info->size);
366     return status;
367 }
368 
gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)369 UINT gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
370 {
371     UINT status;
372     GX_ICON *icon = (GX_ICON *) control_block;
373     GX_ICON_PROPERTIES *props = (GX_ICON_PROPERTIES *) info->properties;
374     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);
375     if (props->selected_pixelmap_id)
376     {
377         gx_icon_pixelmap_set(icon, props->normal_pixelmap_id, props->selected_pixelmap_id);
378     }
379     else
380     {
381         gx_widget_resize((GX_WIDGET *)icon, (GX_RECTANGLE *)&info->size);
382     }
383     return status;
384 }
385 
gx_studio_progress_bar_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)386 UINT gx_studio_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
387 {
388     UINT status;
389     GX_PROGRESS_BAR *bar = (GX_PROGRESS_BAR *) control_block;
390     GX_PROGRESS_BAR_INFO *bar_info = (GX_PROGRESS_BAR_INFO *) info->properties;
391     status = gx_progress_bar_create(bar,
392                     info->widget_name,
393                     parent,
394                     bar_info,
395                     info->style,
396                     info->widget_id,
397                     &info->size);
398     return status;
399 }
400 
gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)401 UINT gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
402 {
403     UINT status;
404     GX_RADIAL_PROGRESS_BAR *bar = (GX_RADIAL_PROGRESS_BAR *) control_block;
405     GX_RADIAL_PROGRESS_BAR_INFO *bar_info = (GX_RADIAL_PROGRESS_BAR_INFO *) info->properties;
406     status = gx_radial_progress_bar_create(bar,
407                     info->widget_name,
408                     parent,
409                     bar_info,
410                     info->style,
411                     info->widget_id);
412     return status;
413 }
414 
gx_studio_radial_slider_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)415 UINT gx_studio_radial_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
416 {
417     UINT status;
418     GX_RADIAL_SLIDER *slider = (GX_RADIAL_SLIDER *) control_block;
419     GX_RADIAL_SLIDER_INFO slider_info;
420     GX_RADIAL_SLIDER_PROPERTIES *props = (GX_RADIAL_SLIDER_PROPERTIES *)info->properties;
421     memset(&slider_info, 0, sizeof(GX_RADIAL_SLIDER_INFO));
422     slider_info.gx_radial_slider_info_xcenter = props->xcenter;
423     slider_info.gx_radial_slider_info_ycenter = props->ycenter;
424     slider_info.gx_radial_slider_info_radius = props->radius;
425     slider_info.gx_radial_slider_info_track_width = props->track_width;
426     slider_info.gx_radial_slider_info_current_angle = props->current_angle;
427     slider_info.gx_radial_slider_info_min_angle = props->min_angle;
428     slider_info.gx_radial_slider_info_max_angle = props->max_angle;
429     slider_info.gx_radial_slider_info_background_pixelmap = props->background_pixelmap;
430     slider_info.gx_radial_slider_info_needle_pixelmap = props->needle_pixelmap;
431     status = gx_radial_slider_create(slider,
432                     info->widget_name,
433                     parent,
434                     &slider_info,
435                     info->style,
436                     info->widget_id,
437                     &info->size);
438     gx_radial_slider_animation_set(slider, props->animation_total_steps, props->animation_delay, props->animation_style, props->animation_update_callback);
439     return status;
440 }
441 
gx_studio_sprite_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)442 UINT gx_studio_sprite_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
443 {
444     UINT status;
445     GX_SPRITE *sprite = (GX_SPRITE *) control_block;
446     GX_SPRITE_PROPERTIES *props = (GX_SPRITE_PROPERTIES *) info->properties;
447     status = gx_sprite_create(sprite, info->widget_name, parent,
448                props->frame_list, props->frame_count,
449                info->style, info->widget_id, &info->size);
450     return status;
451 }
452 
gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)453 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
454 {
455     UINT status;
456     GX_PROMPT *prompt = (GX_PROMPT *) control_block;
457     GX_PROMPT_PROPERTIES *props = (GX_PROMPT_PROPERTIES *) info->properties;
458     status = gx_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
459     if (status == GX_SUCCESS)
460     {
461         gx_prompt_font_set(prompt, props->font_id);
462 #if defined(GUIX_5_4_0_COMPATIBILITY)
463         gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id);
464 #else
465         gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
466 #endif
467     }
468     return status;
469 }
470 
gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)471 UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
472 {
473     UINT status;
474     GX_NUMERIC_PROMPT *prompt = (GX_NUMERIC_PROMPT *) control_block;
475     GX_NUMERIC_PROMPT_PROPERTIES *props = (GX_NUMERIC_PROMPT_PROPERTIES *) info->properties;
476     status = gx_numeric_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
477     if (status == GX_SUCCESS)
478     {
479         gx_prompt_font_set((GX_PROMPT *)prompt, props->font_id);
480 #if defined(GUIX_5_4_0_COMPATIBILITY)
481         gx_prompt_text_color_set((GX_PROMPT *)prompt, props->normal_text_color_id, props->selected_text_color_id);
482 #else
483         gx_prompt_text_color_set((GX_PROMPT *)prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
484 #endif
485         if(!props->string_id)
486         {
487             gx_numeric_prompt_value_set(prompt, props->numeric_prompt_value);
488         }
489         if(props->format_func)
490         {
491             gx_numeric_prompt_format_function_set(prompt, props->format_func);
492         }
493     }
494     return status;
495 }
496 
gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)497 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
498 {
499     UINT status;
500     GX_WINDOW *window = (GX_WINDOW *) control_block;
501     GX_WINDOW_PROPERTIES *props = (GX_WINDOW_PROPERTIES *) info->properties;
502     status = gx_window_create(window, info->widget_name, parent, info->style, info->widget_id, &info->size);
503     if (status == GX_SUCCESS)
504     {
505         if (props->wallpaper_id)
506         {
507             gx_window_wallpaper_set(window, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
508         }
509     }
510     return status;
511 }
512 
gx_studio_template_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)513 UINT gx_studio_template_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
514 {
515     UINT status = GX_SUCCESS;
516     GX_STUDIO_WIDGET derived;
517     GX_TEMPLATE_PROPERTIES *props = (GX_TEMPLATE_PROPERTIES *) info->properties;
518 
519                                              /* create base widget and children */
520     derived =            *props->base_info;
521     derived.widget_id =   info->widget_id;
522     derived.widget_name = info->widget_name;
523 
524     if (info->style & GX_STYLE_ENABLED)
525     {
526         derived.style |= GX_STYLE_ENABLED;
527     }
528     else
529     {
530         derived.style &= ~GX_STYLE_ENABLED;
531     }
532     if (info->status & GX_STATUS_ACCEPTS_FOCUS)
533     {
534         derived.status |= GX_STATUS_ACCEPTS_FOCUS;
535     }
536     else
537     {
538         derived.status &= ~GX_STATUS_ACCEPTS_FOCUS;
539     }
540 
541     #if defined(GX_WIDGET_USER_DATA)
542     derived.user_data =   info->user_data;
543     #endif
544 
545     control_block = gx_studio_widget_create((GX_BYTE *) control_block, &derived, parent);
546     if (control_block)
547     {
548         if (info->style & GX_STYLE_DYNAMICALLY_ALLOCATED)
549         {
550             control_block->gx_widget_status |= GX_STATUS_DYNAMICALLY_ALLOCATED;
551         }
552         if (derived.size.gx_rectangle_left != info->size.gx_rectangle_left ||
553             derived.size.gx_rectangle_top != info->size.gx_rectangle_top)
554         {
555             gx_widget_shift(control_block,
556                 info->size.gx_rectangle_left - derived.size.gx_rectangle_left,
557                 info->size.gx_rectangle_top - derived.size.gx_rectangle_top, GX_FALSE);
558         }
559     }
560     else
561     {
562         status = GX_FAILURE;
563     }
564     return status;
565 }
566 GX_WINDOW_PROPERTIES base_properties =
567 {
568     GX_PIXELMAP_ID_BG_IMAGE                  /* wallpaper pixelmap id          */
569 };
570 GX_ICON_PROPERTIES base_logo_properties =
571 {
572     GX_PIXELMAP_ID_MICROSOFT_AZURE_LOGO,     /* normal pixelmap id             */
573     0                                        /* selected pixelmap id           */
574 };
575 
576 GX_CONST GX_STUDIO_WIDGET base_logo_define =
577 {
578     "logo",
579     GX_TYPE_ICON,                            /* widget type                    */
580     ID_LOGO,                                 /* widget id                      */
581     #if defined(GX_WIDGET_USER_DATA)
582     0,                                       /* user data                      */
583     #endif
584     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
585     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
586     sizeof(GX_ICON),                         /* control block size             */
587     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
588     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
589     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
590     gx_studio_icon_create,                   /* create function                */
591     GX_NULL,                                 /* drawing function override      */
592     GX_NULL,                                 /* event function override        */
593     {43, 36, 145, 75},                       /* widget size                    */
594     GX_NULL,                                 /* no next widget                 */
595     GX_NULL,                                 /* no child widgets               */
596     offsetof(BASE_CONTROL_BLOCK, base_logo), /* control block                  */
597     (void *) &base_logo_properties           /* extended properties            */
598 };
599 
600 GX_CONST GX_STUDIO_WIDGET base_define =
601 {
602     "base",
603     GX_TYPE_WINDOW,                          /* widget type                    */
604     GX_ID_NONE,                              /* widget id                      */
605     #if defined(GX_WIDGET_USER_DATA)
606     0,                                       /* user data                      */
607     #endif
608     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_TILE_WALLPAPER,   /* style flags */
609     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
610     sizeof(BASE_CONTROL_BLOCK),              /* control block size             */
611     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
612     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
613     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
614     gx_studio_window_create,                 /* create function                */
615     GX_NULL,                                 /* drawing function override      */
616     (UINT (*)(GX_WIDGET *, GX_EVENT *)) base_event_process, /* event function override */
617     {0, 0, 639, 479},                        /* widget size                    */
618     GX_NULL,                                 /* next widget                    */
619     &base_logo_define,                       /* child widget                   */
620     0,                                       /* control block                  */
621     (void *) &base_properties                /* extended properties            */
622 };
623 GX_TEMPLATE_PROPERTIES main_screen_properties =
624 {
625     &base_define,                            /* base info                      */
626     gx_studio_window_create,                 /* base create function           */
627     {0, 0, 639, 479}                         /* widget size                    */
628 };
629 GX_ICON_PROPERTIES main_screen_speedometer_properties =
630 {
631     GX_PIXELMAP_ID_INSTRUMENT_CLUSTER_FRAME, /* normal pixelmap id             */
632     0                                        /* selected pixelmap id           */
633 };
634 GX_NUMERIC_PROMPT_PROPERTIES main_screen_MPH_val_properties =
635 {
636     0,                                       /* string id                      */
637     GX_FONT_ID_LARGE_NUMBER_60,              /* font id                        */
638     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
639     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
640     GX_COLOR_ID_CANVAS,                      /* disabled text color            */
641     GX_NULL,                                 /* format function                */
642     64                                       /* numeric prompt value           */
643 };
644 GX_PROMPT_PROPERTIES main_screen_MPH_label_properties =
645 {
646     GX_STRING_ID_STRING_73,                  /* string id                      */
647     GX_FONT_ID_SYSTEM,                       /* font id                        */
648     GX_COLOR_ID_GREEN,                       /* normal text color              */
649     GX_COLOR_ID_GREEN,                       /* selected text color            */
650     GX_COLOR_ID_GREEN                        /* disabled text color            */
651 };
652 GX_ICON_PROPERTIES main_screen_gear_position_properties =
653 {
654     GX_PIXELMAP_ID_INSTRUMENT_CLUSTER_SPEED_LETTER_DRIVE, /* normal pixelmap id */
655     0                                        /* selected pixelmap id           */
656 };
657 GX_PROMPT_PROPERTIES main_screen_prompt_11_4_properties =
658 {
659     GX_STRING_ID_STRING_83,                  /* string id                      */
660     GX_FONT_ID_MIDDLE,                       /* font id                        */
661     GX_COLOR_ID_GRAY,                        /* normal text color              */
662     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
663     GX_COLOR_ID_LIGHT_GREEN                  /* disabled text color            */
664 };
665 GX_PROMPT_PROPERTIES main_screen_prompt_11_5_properties =
666 {
667     GX_STRING_ID_STRING_84,                  /* string id                      */
668     GX_FONT_ID_MIDDLE,                       /* font id                        */
669     GX_COLOR_ID_GRAY,                        /* normal text color              */
670     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
671     GX_COLOR_ID_LIGHT_GREEN                  /* disabled text color            */
672 };
673 GX_PROMPT_PROPERTIES main_screen_prompt_11_6_properties =
674 {
675     GX_STRING_ID_STRING_85,                  /* string id                      */
676     GX_FONT_ID_MIDDLE,                       /* font id                        */
677     GX_COLOR_ID_GRAY,                        /* normal text color              */
678     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
679     GX_COLOR_ID_LIGHT_GREEN                  /* disabled text color            */
680 };
681 GX_PROMPT_PROPERTIES main_screen_prompt_11_7_properties =
682 {
683     GX_STRING_ID_STRING_96,                  /* string id                      */
684     GX_FONT_ID_MIDDLE,                       /* font id                        */
685     GX_COLOR_ID_GRAY,                        /* normal text color              */
686     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
687     GX_COLOR_ID_LIGHT_GREEN                  /* disabled text color            */
688 };
689 GX_WINDOW_PROPERTIES main_screen_weather_win_properties =
690 {
691     0                                        /* wallpaper pixelmap id          */
692 };
693 GX_NUMERIC_PROMPT_PROPERTIES main_screen_time_hour_properties =
694 {
695     0,                                       /* string id                      */
696     GX_FONT_ID_LARGE_NUMBER_60,              /* font id                        */
697     GX_COLOR_ID_WHITE,                       /* normal text color              */
698     GX_COLOR_ID_WHITE,                       /* selected text color            */
699     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
700     time_value_format,                       /* format function                */
701     10                                       /* numeric prompt value           */
702 };
703 GX_NUMERIC_PROMPT_PROPERTIES main_screen_time_minute_properties =
704 {
705     0,                                       /* string id                      */
706     GX_FONT_ID_LARGE_NUMBER_60,              /* font id                        */
707     GX_COLOR_ID_WHITE,                       /* normal text color              */
708     GX_COLOR_ID_WHITE,                       /* selected text color            */
709     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
710     time_value_format,                       /* format function                */
711     32                                       /* numeric prompt value           */
712 };
713 GX_ICON_PROPERTIES main_screen_weather_icon_properties =
714 {
715     GX_PIXELMAP_ID_WEATHER_ICON_PARTLY_CLOUDY, /* normal pixelmap id           */
716     0                                        /* selected pixelmap id           */
717 };
718 GX_NUMERIC_PROMPT_PROPERTIES main_screen_temperature_properties =
719 {
720     0,                                       /* string id                      */
721     GX_FONT_ID_MIDDLE,                       /* font id                        */
722     GX_COLOR_ID_WHITE,                       /* normal text color              */
723     GX_COLOR_ID_WHITE,                       /* selected text color            */
724     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
725     GX_NULL,                                 /* format function                */
726     75                                       /* numeric prompt value           */
727 };
728 GX_ICON_PROPERTIES main_screen_second_dot_up_properties =
729 {
730     GX_PIXELMAP_ID_DOT,                      /* normal pixelmap id             */
731     0                                        /* selected pixelmap id           */
732 };
733 GX_ICON_PROPERTIES main_screen_second_dot_down_properties =
734 {
735     GX_PIXELMAP_ID_DOT,                      /* normal pixelmap id             */
736     0                                        /* selected pixelmap id           */
737 };
738 GX_WINDOW_PROPERTIES main_screen_btn_window_properties =
739 {
740     0                                        /* wallpaper pixelmap id          */
741 };
742 GX_PIXELMAP_BUTTON_PROPERTIES main_screen_vehicle_btn_properties =
743 {
744     GX_PIXELMAP_ID_BTN,                      /* normal pixelmap id             */
745     GX_PIXELMAP_ID_BTN_ACTIVE,               /* selected pixelmap id           */
746     0                                        /* disabled pixelmap id           */
747 };
748 GX_ICON_PROPERTIES main_screen_icon_properties =
749 {
750     GX_PIXELMAP_ID_BTN_ICON_VEHICLE,         /* normal pixelmap id             */
751     GX_PIXELMAP_ID_BTN_ICON_VEHICLE_ACTIVE   /* selected pixelmap id           */
752 };
753 GX_PROMPT_PROPERTIES main_screen_prompt_properties =
754 {
755     GX_STRING_ID_STRING_9,                   /* string id                      */
756     GX_FONT_ID_PROMPT,                       /* font id                        */
757     GX_COLOR_ID_WHITE,                       /* normal text color              */
758     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
759     GX_COLOR_ID_WHITE                        /* disabled text color            */
760 };
761 GX_PIXELMAP_BUTTON_PROPERTIES main_screen_climate_btn_properties =
762 {
763     GX_PIXELMAP_ID_BTN,                      /* normal pixelmap id             */
764     GX_PIXELMAP_ID_BTN_ACTIVE,               /* selected pixelmap id           */
765     0                                        /* disabled pixelmap id           */
766 };
767 GX_ICON_PROPERTIES main_screen_icon_1_properties =
768 {
769     GX_PIXELMAP_ID_BTN_ICON_CLIMATE,         /* normal pixelmap id             */
770     0                                        /* selected pixelmap id           */
771 };
772 GX_PROMPT_PROPERTIES main_screen_prompt_1_properties =
773 {
774     GX_STRING_ID_STRING_65,                  /* string id                      */
775     GX_FONT_ID_PROMPT,                       /* font id                        */
776     GX_COLOR_ID_WHITE,                       /* normal text color              */
777     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
778     GX_COLOR_ID_WHITE                        /* disabled text color            */
779 };
780 GX_PIXELMAP_BUTTON_PROPERTIES main_screen_phone_btn_properties =
781 {
782     GX_PIXELMAP_ID_BTN,                      /* normal pixelmap id             */
783     GX_PIXELMAP_ID_BTN_ACTIVE,               /* selected pixelmap id           */
784     0                                        /* disabled pixelmap id           */
785 };
786 GX_ICON_PROPERTIES main_screen_icon_2_properties =
787 {
788     GX_PIXELMAP_ID_BTN_ICON_PHONE,           /* normal pixelmap id             */
789     0                                        /* selected pixelmap id           */
790 };
791 GX_PROMPT_PROPERTIES main_screen_prompt_2_properties =
792 {
793     GX_STRING_ID_STRING_11,                  /* string id                      */
794     GX_FONT_ID_PROMPT,                       /* font id                        */
795     GX_COLOR_ID_WHITE,                       /* normal text color              */
796     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
797     GX_COLOR_ID_WHITE                        /* disabled text color            */
798 };
799 GX_PIXELMAP_BUTTON_PROPERTIES main_screen_audio_btn_properties =
800 {
801     GX_PIXELMAP_ID_BTN,                      /* normal pixelmap id             */
802     GX_PIXELMAP_ID_BTN_ACTIVE,               /* selected pixelmap id           */
803     0                                        /* disabled pixelmap id           */
804 };
805 GX_ICON_PROPERTIES main_screen_icon_3_properties =
806 {
807     GX_PIXELMAP_ID_BTN_ICON_AUDIO,           /* normal pixelmap id             */
808     0                                        /* selected pixelmap id           */
809 };
810 GX_PROMPT_PROPERTIES main_screen_prompt_3_properties =
811 {
812     GX_STRING_ID_STRING_7,                   /* string id                      */
813     GX_FONT_ID_PROMPT,                       /* font id                        */
814     GX_COLOR_ID_WHITE,                       /* normal text color              */
815     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
816     GX_COLOR_ID_WHITE                        /* disabled text color            */
817 };
818 GX_PIXELMAP_BUTTON_PROPERTIES main_screen_video_btn_properties =
819 {
820     GX_PIXELMAP_ID_BTN,                      /* normal pixelmap id             */
821     GX_PIXELMAP_ID_BTN_ACTIVE,               /* selected pixelmap id           */
822     0                                        /* disabled pixelmap id           */
823 };
824 GX_ICON_PROPERTIES main_screen_icon_4_properties =
825 {
826     GX_PIXELMAP_ID_BTN_ICON_VIDEO,           /* normal pixelmap id             */
827     0                                        /* selected pixelmap id           */
828 };
829 GX_PROMPT_PROPERTIES main_screen_prompt_4_properties =
830 {
831     GX_STRING_ID_STRING_8,                   /* string id                      */
832     GX_FONT_ID_PROMPT,                       /* font id                        */
833     GX_COLOR_ID_WHITE,                       /* normal text color              */
834     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
835     GX_COLOR_ID_WHITE                        /* disabled text color            */
836 };
837 GX_NUMERIC_PROMPT_PROPERTIES main_screen_remain_miles_properties =
838 {
839     0,                                       /* string id                      */
840     GX_FONT_ID_MIDDLE,                       /* font id                        */
841     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
842     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
843     GX_COLOR_ID_CANVAS,                      /* disabled text color            */
844     GX_NULL,                                 /* format function                */
845     382                                      /* numeric prompt value           */
846 };
847 GX_NUMERIC_PROMPT_PROPERTIES main_screen_remain_battery_properties =
848 {
849     0,                                       /* string id                      */
850     GX_FONT_ID_MIDDLE,                       /* font id                        */
851     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
852     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
853     GX_COLOR_ID_CANVAS,                      /* disabled text color            */
854     GX_NULL,                                 /* format function                */
855     86                                       /* numeric prompt value           */
856 };
857 GX_PROMPT_PROPERTIES main_screen_prompt_11_properties =
858 {
859     GX_STRING_ID_STRING_51,                  /* string id                      */
860     GX_FONT_ID_MIDDLE,                       /* font id                        */
861     GX_COLOR_ID_GREEN,                       /* normal text color              */
862     GX_COLOR_ID_GREEN,                       /* selected text color            */
863     GX_COLOR_ID_GREEN                        /* disabled text color            */
864 };
865 GX_PROMPT_PROPERTIES main_screen_prompt_11_1_properties =
866 {
867     GX_STRING_ID_STRING_69,                  /* string id                      */
868     GX_FONT_ID_MIDDLE,                       /* font id                        */
869     GX_COLOR_ID_GREEN,                       /* normal text color              */
870     GX_COLOR_ID_GREEN,                       /* selected text color            */
871     GX_COLOR_ID_GREEN                        /* disabled text color            */
872 };
873 GX_ICON_PROPERTIES main_screen_horizontal_line_properties =
874 {
875     GX_PIXELMAP_ID_HOME_LEFT_LINE,           /* normal pixelmap id             */
876     0                                        /* selected pixelmap id           */
877 };
878 GX_ICON_PROPERTIES main_screen_battery_icon_properties =
879 {
880     GX_PIXELMAP_ID_HOME_LEFT_BATTERY,        /* normal pixelmap id             */
881     0                                        /* selected pixelmap id           */
882 };
883 GX_PROGRESS_BAR_INFO main_screen_battery_progress_bar_properties =
884 {
885     0,                                       /* mimimun value                  */
886     100,                                     /* maximum value                  */
887     86,                                      /* current value                  */
888     GX_FONT_ID_SYSTEM,                       /* font_id                        */
889     GX_COLOR_ID_TEXT,                        /* normal text color              */
890     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
891     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
892     GX_PIXELMAP_ID_HOME_LEFT_BATTERY_LEVEL   /* fill pixelmap                  */
893 };
894 GX_PROMPT_PROPERTIES main_screen_vehicle_mode_text_properties =
895 {
896     GX_STRING_ID_ECO,                        /* string id                      */
897     GX_FONT_ID_MIDDLE,                       /* font id                        */
898     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
899     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
900     GX_COLOR_ID_LIGHT_GREEN                  /* disabled text color            */
901 };
902 GX_PIXELMAP_BUTTON_PROPERTIES main_screen_vehicle_mode_button_properties =
903 {
904     GX_PIXELMAP_ID_HOME_MODE_BTN,            /* normal pixelmap id             */
905     GX_PIXELMAP_ID_HOME_MODE_BTN_OVER,       /* selected pixelmap id           */
906     0                                        /* disabled pixelmap id           */
907 };
908 GX_ICON_PROPERTIES main_screen_vehicle_mode_icon_properties =
909 {
910     GX_PIXELMAP_ID_HOME_MODE_BTN_ICON_ECO,   /* normal pixelmap id             */
911     0                                        /* selected pixelmap id           */
912 };
913 GX_RADIAL_SLIDER_PROPERTIES main_screen_radial_slider_properties =
914 {
915     141,                                     /* xcenter                        */
916     141,                                     /* ycenter                        */
917     123,                                     /* radius                         */
918     36,                                      /* track width                    */
919     120,                                     /* current angle                  */
920     -52,                                     /* min angle                      */
921     232,                                     /* max angle                      */
922     GX_PIXELMAP_ID_INSTRUMENT_CLUSTER_SPEED_INDICATOR_BLUE, /* background pixelmap */
923     0,                                       /* needle pixelmap                */
924     15,                                      /* animation total steps          */
925     2,                                       /* animation delay                */
926     GX_ANIMATION_CIRC_EASE_IN_OUT,           /* animation style                */
927     GX_NULL,                                 /* animation update callback func */
928 };
929 GX_PIXELMAP_BUTTON_PROPERTIES main_screen_on_off_btn_properties =
930 {
931     GX_PIXELMAP_ID_BTN,                      /* normal pixelmap id             */
932     GX_PIXELMAP_ID_BTN_ACTIVE,               /* selected pixelmap id           */
933     0                                        /* disabled pixelmap id           */
934 };
935 GX_ICON_PROPERTIES main_screen_icon_5_properties =
936 {
937     GX_PIXELMAP_ID_BTN_ICON_POWER,           /* normal pixelmap id             */
938     0                                        /* selected pixelmap id           */
939 };
940 GX_PROMPT_PROPERTIES main_screen_on_off_text_properties =
941 {
942     GX_STRING_ID_OFF,                        /* string id                      */
943     GX_FONT_ID_PROMPT,                       /* font id                        */
944     GX_COLOR_ID_WHITE,                       /* normal text color              */
945     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
946     GX_COLOR_ID_WHITE                        /* disabled text color            */
947 };
948 
949 GX_CONST GX_STUDIO_WIDGET main_screen_prompt_11_7_define =
950 {
951     "prompt_11_7",
952     GX_TYPE_PROMPT,                          /* widget type                    */
953     GX_ID_NONE,                              /* widget id                      */
954     #if defined(GX_WIDGET_USER_DATA)
955     0,                                       /* user data                      */
956     #endif
957     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_DRAW_SELECTED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
958     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
959     sizeof(GX_PROMPT),                       /* control block size             */
960     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
961     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
962     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
963     gx_studio_prompt_create,                 /* create function                */
964     GX_NULL,                                 /* drawing function override      */
965     GX_NULL,                                 /* event function override        */
966     {339, 284, 360, 312},                    /* widget size                    */
967     GX_NULL,                                 /* no next widget                 */
968     GX_NULL,                                 /* no child widgets               */
969     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_11_7), /* control block */
970     (void *) &main_screen_prompt_11_7_properties /* extended properties        */
971 };
972 
973 GX_CONST GX_STUDIO_WIDGET main_screen_prompt_11_6_define =
974 {
975     "prompt_11_6",
976     GX_TYPE_PROMPT,                          /* widget type                    */
977     GX_ID_NONE,                              /* widget id                      */
978     #if defined(GX_WIDGET_USER_DATA)
979     0,                                       /* user data                      */
980     #endif
981     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
982     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
983     sizeof(GX_PROMPT),                       /* control block size             */
984     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
985     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
986     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
987     gx_studio_prompt_create,                 /* create function                */
988     GX_NULL,                                 /* drawing function override      */
989     GX_NULL,                                 /* event function override        */
990     {318, 284, 338, 312},                    /* widget size                    */
991     &main_screen_prompt_11_7_define,         /* next widget definition         */
992     GX_NULL,                                 /* no child widgets               */
993     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_11_6), /* control block */
994     (void *) &main_screen_prompt_11_6_properties /* extended properties        */
995 };
996 
997 GX_CONST GX_STUDIO_WIDGET main_screen_prompt_11_5_define =
998 {
999     "prompt_11_5",
1000     GX_TYPE_PROMPT,                          /* widget type                    */
1001     GX_ID_NONE,                              /* widget id                      */
1002     #if defined(GX_WIDGET_USER_DATA)
1003     0,                                       /* user data                      */
1004     #endif
1005     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1006     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1007     sizeof(GX_PROMPT),                       /* control block size             */
1008     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1009     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1010     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1011     gx_studio_prompt_create,                 /* create function                */
1012     GX_NULL,                                 /* drawing function override      */
1013     GX_NULL,                                 /* event function override        */
1014     {299, 284, 317, 312},                    /* widget size                    */
1015     &main_screen_prompt_11_6_define,         /* next widget definition         */
1016     GX_NULL,                                 /* no child widgets               */
1017     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_11_5), /* control block */
1018     (void *) &main_screen_prompt_11_5_properties /* extended properties        */
1019 };
1020 
1021 GX_CONST GX_STUDIO_WIDGET main_screen_prompt_11_4_define =
1022 {
1023     "prompt_11_4",
1024     GX_TYPE_PROMPT,                          /* widget type                    */
1025     GX_ID_NONE,                              /* widget id                      */
1026     #if defined(GX_WIDGET_USER_DATA)
1027     0,                                       /* user data                      */
1028     #endif
1029     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1030     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1031     sizeof(GX_PROMPT),                       /* control block size             */
1032     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1033     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1034     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1035     gx_studio_prompt_create,                 /* create function                */
1036     GX_NULL,                                 /* drawing function override      */
1037     GX_NULL,                                 /* event function override        */
1038     {282, 284, 298, 312},                    /* widget size                    */
1039     &main_screen_prompt_11_5_define,         /* next widget definition         */
1040     GX_NULL,                                 /* no child widgets               */
1041     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_11_4), /* control block */
1042     (void *) &main_screen_prompt_11_4_properties /* extended properties        */
1043 };
1044 
1045 GX_CONST GX_STUDIO_WIDGET main_screen_gear_position_define =
1046 {
1047     "gear_position",
1048     GX_TYPE_ICON,                            /* widget type                    */
1049     GX_ID_NONE,                              /* widget id                      */
1050     #if defined(GX_WIDGET_USER_DATA)
1051     0,                                       /* user data                      */
1052     #endif
1053     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1054     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1055     sizeof(GX_ICON),                         /* control block size             */
1056     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1057     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1058     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1059     gx_studio_icon_create,                   /* create function                */
1060     GX_NULL,                                 /* drawing function override      */
1061     GX_NULL,                                 /* event function override        */
1062     {270, 278, 369, 312},                    /* widget size                    */
1063     GX_NULL,                                 /* no next widget                 */
1064     &main_screen_prompt_11_4_define,         /* child widget definition        */
1065     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_gear_position), /* control block */
1066     (void *) &main_screen_gear_position_properties /* extended properties      */
1067 };
1068 
1069 GX_CONST GX_STUDIO_WIDGET main_screen_MPH_label_define =
1070 {
1071     "MPH_label",
1072     GX_TYPE_PROMPT,                          /* widget type                    */
1073     GX_ID_NONE,                              /* widget id                      */
1074     #if defined(GX_WIDGET_USER_DATA)
1075     0,                                       /* user data                      */
1076     #endif
1077     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1078     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1079     sizeof(GX_PROMPT),                       /* control block size             */
1080     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1081     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1082     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1083     gx_studio_prompt_create,                 /* create function                */
1084     GX_NULL,                                 /* drawing function override      */
1085     GX_NULL,                                 /* event function override        */
1086     {302, 250, 336, 267},                    /* widget size                    */
1087     &main_screen_gear_position_define,       /* next widget definition         */
1088     GX_NULL,                                 /* no child widgets               */
1089     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_MPH_label), /* control block */
1090     (void *) &main_screen_MPH_label_properties /* extended properties          */
1091 };
1092 
1093 GX_CONST GX_STUDIO_WIDGET main_screen_MPH_val_define =
1094 {
1095     "MPH_val",
1096     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
1097     GX_ID_NONE,                              /* widget id                      */
1098     #if defined(GX_WIDGET_USER_DATA)
1099     0,                                       /* user data                      */
1100     #endif
1101     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1102     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1103     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
1104     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1105     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1106     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1107     gx_studio_numeric_prompt_create,         /* create function                */
1108     GX_NULL,                                 /* drawing function override      */
1109     GX_NULL,                                 /* event function override        */
1110     {282, 185, 357, 230},                    /* widget size                    */
1111     &main_screen_MPH_label_define,           /* next widget definition         */
1112     GX_NULL,                                 /* no child widgets               */
1113     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_MPH_val), /* control block */
1114     (void *) &main_screen_MPH_val_properties /* extended properties            */
1115 };
1116 
1117 GX_CONST GX_STUDIO_WIDGET main_screen_second_dot_down_define =
1118 {
1119     "second_dot_down",
1120     GX_TYPE_ICON,                            /* widget type                    */
1121     GX_ID_NONE,                              /* widget id                      */
1122     #if defined(GX_WIDGET_USER_DATA)
1123     0,                                       /* user data                      */
1124     #endif
1125     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1126     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1127     sizeof(GX_ICON),                         /* control block size             */
1128     GX_COLOR_ID_WHITE,                       /* normal color id                */
1129     GX_COLOR_ID_WHITE,                       /* selected color id              */
1130     GX_COLOR_ID_DISABLED_TEXT,               /* disabled color id              */
1131     gx_studio_icon_create,                   /* create function                */
1132     GX_NULL,                                 /* drawing function override      */
1133     GX_NULL,                                 /* event function override        */
1134     {474, 73, 478, 77},                      /* widget size                    */
1135     GX_NULL,                                 /* no next widget                 */
1136     GX_NULL,                                 /* no child widgets               */
1137     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_second_dot_down), /* control block */
1138     (void *) &main_screen_second_dot_down_properties /* extended properties    */
1139 };
1140 
1141 GX_CONST GX_STUDIO_WIDGET main_screen_second_dot_up_define =
1142 {
1143     "second_dot_up",
1144     GX_TYPE_ICON,                            /* widget type                    */
1145     GX_ID_NONE,                              /* widget id                      */
1146     #if defined(GX_WIDGET_USER_DATA)
1147     0,                                       /* user data                      */
1148     #endif
1149     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1150     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1151     sizeof(GX_ICON),                         /* control block size             */
1152     GX_COLOR_ID_WHITE,                       /* normal color id                */
1153     GX_COLOR_ID_WHITE,                       /* selected color id              */
1154     GX_COLOR_ID_DISABLED_TEXT,               /* disabled color id              */
1155     gx_studio_icon_create,                   /* create function                */
1156     GX_NULL,                                 /* drawing function override      */
1157     GX_NULL,                                 /* event function override        */
1158     {474, 44, 478, 48},                      /* widget size                    */
1159     &main_screen_second_dot_down_define,     /* next widget definition         */
1160     GX_NULL,                                 /* no child widgets               */
1161     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_second_dot_up), /* control block */
1162     (void *) &main_screen_second_dot_up_properties /* extended properties      */
1163 };
1164 
1165 GX_CONST GX_STUDIO_WIDGET main_screen_temperature_define =
1166 {
1167     "temperature",
1168     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
1169     GX_ID_NONE,                              /* widget id                      */
1170     #if defined(GX_WIDGET_USER_DATA)
1171     0,                                       /* user data                      */
1172     #endif
1173     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1174     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1175     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
1176     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1177     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1178     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1179     gx_studio_numeric_prompt_create,         /* create function                */
1180     GX_NULL,                                 /* drawing function override      */
1181     GX_NULL,                                 /* event function override        */
1182     {565, 63, 600, 91},                      /* widget size                    */
1183     &main_screen_second_dot_up_define,       /* next widget definition         */
1184     GX_NULL,                                 /* no child widgets               */
1185     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_temperature), /* control block */
1186     (void *) &main_screen_temperature_properties /* extended properties        */
1187 };
1188 
1189 GX_CONST GX_STUDIO_WIDGET main_screen_weather_icon_define =
1190 {
1191     "weather_icon",
1192     GX_TYPE_ICON,                            /* widget type                    */
1193     GX_ID_NONE,                              /* widget id                      */
1194     #if defined(GX_WIDGET_USER_DATA)
1195     0,                                       /* user data                      */
1196     #endif
1197     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1198     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1199     sizeof(GX_ICON),                         /* control block size             */
1200     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1201     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1202     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1203     gx_studio_icon_create,                   /* create function                */
1204     GX_NULL,                                 /* drawing function override      */
1205     GX_NULL,                                 /* event function override        */
1206     {562, 27, 602, 55},                      /* widget size                    */
1207     &main_screen_temperature_define,         /* next widget definition         */
1208     GX_NULL,                                 /* no child widgets               */
1209     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_weather_icon), /* control block */
1210     (void *) &main_screen_weather_icon_properties /* extended properties       */
1211 };
1212 
1213 GX_CONST GX_STUDIO_WIDGET main_screen_time_minute_define =
1214 {
1215     "time_minute",
1216     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
1217     GX_ID_NONE,                              /* widget id                      */
1218     #if defined(GX_WIDGET_USER_DATA)
1219     0,                                       /* user data                      */
1220     #endif
1221     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1222     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1223     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
1224     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1225     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1226     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1227     gx_studio_numeric_prompt_create,         /* create function                */
1228     GX_NULL,                                 /* drawing function override      */
1229     GX_NULL,                                 /* event function override        */
1230     {482, 36, 557, 81},                      /* widget size                    */
1231     &main_screen_weather_icon_define,        /* next widget definition         */
1232     GX_NULL,                                 /* no child widgets               */
1233     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_time_minute), /* control block */
1234     (void *) &main_screen_time_minute_properties /* extended properties        */
1235 };
1236 
1237 GX_CONST GX_STUDIO_WIDGET main_screen_time_hour_define =
1238 {
1239     "time_hour",
1240     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
1241     GX_ID_NONE,                              /* widget id                      */
1242     #if defined(GX_WIDGET_USER_DATA)
1243     0,                                       /* user data                      */
1244     #endif
1245     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1246     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1247     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
1248     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1249     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1250     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1251     gx_studio_numeric_prompt_create,         /* create function                */
1252     GX_NULL,                                 /* drawing function override      */
1253     GX_NULL,                                 /* event function override        */
1254     {396, 36, 471, 81},                      /* widget size                    */
1255     &main_screen_time_minute_define,         /* next widget definition         */
1256     GX_NULL,                                 /* no child widgets               */
1257     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_time_hour), /* control block */
1258     (void *) &main_screen_time_hour_properties /* extended properties          */
1259 };
1260 
1261 GX_CONST GX_STUDIO_WIDGET main_screen_prompt_define =
1262 {
1263     "prompt",
1264     GX_TYPE_PROMPT,                          /* widget type                    */
1265     GX_ID_NONE,                              /* widget id                      */
1266     #if defined(GX_WIDGET_USER_DATA)
1267     0,                                       /* user data                      */
1268     #endif
1269     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1270     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1271     sizeof(GX_PROMPT),                       /* control block size             */
1272     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1273     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1274     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1275     gx_studio_prompt_create,                 /* create function                */
1276     GX_NULL,                                 /* drawing function override      */
1277     GX_NULL,                                 /* event function override        */
1278     {51, 416, 104, 433},                     /* widget size                    */
1279     GX_NULL,                                 /* no next widget                 */
1280     GX_NULL,                                 /* no child widgets               */
1281     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt), /* control block  */
1282     (void *) &main_screen_prompt_properties  /* extended properties            */
1283 };
1284 
1285 GX_CONST GX_STUDIO_WIDGET main_screen_icon_define =
1286 {
1287     "icon",
1288     GX_TYPE_ICON,                            /* widget type                    */
1289     GX_ID_NONE,                              /* widget id                      */
1290     #if defined(GX_WIDGET_USER_DATA)
1291     0,                                       /* user data                      */
1292     #endif
1293     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1294     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1295     sizeof(GX_ICON),                         /* control block size             */
1296     GX_COLOR_ID_LIGHT_GREEN,                 /* normal color id                */
1297     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1298     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1299     gx_studio_icon_create,                   /* create function                */
1300     GX_NULL,                                 /* drawing function override      */
1301     GX_NULL,                                 /* event function override        */
1302     {61, 390, 91, 408},                      /* widget size                    */
1303     &main_screen_prompt_define,              /* next widget definition         */
1304     GX_NULL,                                 /* no child widgets               */
1305     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_icon), /* control block    */
1306     (void *) &main_screen_icon_properties    /* extended properties            */
1307 };
1308 
1309 GX_CONST GX_STUDIO_WIDGET main_screen_prompt_1_define =
1310 {
1311     "prompt_1",
1312     GX_TYPE_PROMPT,                          /* widget type                    */
1313     GX_ID_NONE,                              /* widget id                      */
1314     #if defined(GX_WIDGET_USER_DATA)
1315     0,                                       /* user data                      */
1316     #endif
1317     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1318     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1319     sizeof(GX_PROMPT),                       /* control block size             */
1320     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1321     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1322     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1323     gx_studio_prompt_create,                 /* create function                */
1324     GX_NULL,                                 /* drawing function override      */
1325     GX_NULL,                                 /* event function override        */
1326     {146, 416, 203, 433},                    /* widget size                    */
1327     GX_NULL,                                 /* no next widget                 */
1328     GX_NULL,                                 /* no child widgets               */
1329     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_1), /* control block */
1330     (void *) &main_screen_prompt_1_properties /* extended properties           */
1331 };
1332 
1333 GX_CONST GX_STUDIO_WIDGET main_screen_icon_1_define =
1334 {
1335     "icon_1",
1336     GX_TYPE_ICON,                            /* widget type                    */
1337     GX_ID_NONE,                              /* widget id                      */
1338     #if defined(GX_WIDGET_USER_DATA)
1339     0,                                       /* user data                      */
1340     #endif
1341     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1342     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1343     sizeof(GX_ICON),                         /* control block size             */
1344     GX_COLOR_ID_WHITE,                       /* normal color id                */
1345     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
1346     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1347     gx_studio_icon_create,                   /* create function                */
1348     GX_NULL,                                 /* drawing function override      */
1349     GX_NULL,                                 /* event function override        */
1350     {158, 390, 193, 407},                    /* widget size                    */
1351     &main_screen_prompt_1_define,            /* next widget definition         */
1352     GX_NULL,                                 /* no child widgets               */
1353     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_icon_1), /* control block  */
1354     (void *) &main_screen_icon_1_properties  /* extended properties            */
1355 };
1356 
1357 GX_CONST GX_STUDIO_WIDGET main_screen_prompt_2_define =
1358 {
1359     "prompt_2",
1360     GX_TYPE_PROMPT,                          /* widget type                    */
1361     GX_ID_NONE,                              /* widget id                      */
1362     #if defined(GX_WIDGET_USER_DATA)
1363     0,                                       /* user data                      */
1364     #endif
1365     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1366     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1367     sizeof(GX_PROMPT),                       /* control block size             */
1368     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1369     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1370     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1371     gx_studio_prompt_create,                 /* create function                */
1372     GX_NULL,                                 /* drawing function override      */
1373     GX_NULL,                                 /* event function override        */
1374     {247, 416, 295, 433},                    /* widget size                    */
1375     GX_NULL,                                 /* no next widget                 */
1376     GX_NULL,                                 /* no child widgets               */
1377     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_2), /* control block */
1378     (void *) &main_screen_prompt_2_properties /* extended properties           */
1379 };
1380 
1381 GX_CONST GX_STUDIO_WIDGET main_screen_icon_2_define =
1382 {
1383     "icon_2",
1384     GX_TYPE_ICON,                            /* widget type                    */
1385     GX_ID_NONE,                              /* widget id                      */
1386     #if defined(GX_WIDGET_USER_DATA)
1387     0,                                       /* user data                      */
1388     #endif
1389     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1390     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1391     sizeof(GX_ICON),                         /* control block size             */
1392     GX_COLOR_ID_WHITE,                       /* normal color id                */
1393     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
1394     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1395     gx_studio_icon_create,                   /* create function                */
1396     GX_NULL,                                 /* drawing function override      */
1397     GX_NULL,                                 /* event function override        */
1398     {261, 390, 281, 410},                    /* widget size                    */
1399     &main_screen_prompt_2_define,            /* next widget definition         */
1400     GX_NULL,                                 /* no child widgets               */
1401     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_icon_2), /* control block  */
1402     (void *) &main_screen_icon_2_properties  /* extended properties            */
1403 };
1404 
1405 GX_CONST GX_STUDIO_WIDGET main_screen_prompt_3_define =
1406 {
1407     "prompt_3",
1408     GX_TYPE_PROMPT,                          /* widget type                    */
1409     GX_ID_NONE,                              /* widget id                      */
1410     #if defined(GX_WIDGET_USER_DATA)
1411     0,                                       /* user data                      */
1412     #endif
1413     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1414     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1415     sizeof(GX_PROMPT),                       /* control block size             */
1416     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1417     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1418     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1419     gx_studio_prompt_create,                 /* create function                */
1420     GX_NULL,                                 /* drawing function override      */
1421     GX_NULL,                                 /* event function override        */
1422     {347, 416, 390, 433},                    /* widget size                    */
1423     GX_NULL,                                 /* no next widget                 */
1424     GX_NULL,                                 /* no child widgets               */
1425     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_3), /* control block */
1426     (void *) &main_screen_prompt_3_properties /* extended properties           */
1427 };
1428 
1429 GX_CONST GX_STUDIO_WIDGET main_screen_icon_3_define =
1430 {
1431     "icon_3",
1432     GX_TYPE_ICON,                            /* widget type                    */
1433     GX_ID_NONE,                              /* widget id                      */
1434     #if defined(GX_WIDGET_USER_DATA)
1435     0,                                       /* user data                      */
1436     #endif
1437     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1438     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1439     sizeof(GX_ICON),                         /* control block size             */
1440     GX_COLOR_ID_WHITE,                       /* normal color id                */
1441     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
1442     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1443     gx_studio_icon_create,                   /* create function                */
1444     GX_NULL,                                 /* drawing function override      */
1445     GX_NULL,                                 /* event function override        */
1446     {359, 390, 377, 407},                    /* widget size                    */
1447     &main_screen_prompt_3_define,            /* next widget definition         */
1448     GX_NULL,                                 /* no child widgets               */
1449     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_icon_3), /* control block  */
1450     (void *) &main_screen_icon_3_properties  /* extended properties            */
1451 };
1452 
1453 GX_CONST GX_STUDIO_WIDGET main_screen_prompt_4_define =
1454 {
1455     "prompt_4",
1456     GX_TYPE_PROMPT,                          /* widget type                    */
1457     GX_ID_NONE,                              /* widget id                      */
1458     #if defined(GX_WIDGET_USER_DATA)
1459     0,                                       /* user data                      */
1460     #endif
1461     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1462     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1463     sizeof(GX_PROMPT),                       /* control block size             */
1464     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1465     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1466     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1467     gx_studio_prompt_create,                 /* create function                */
1468     GX_NULL,                                 /* drawing function override      */
1469     GX_NULL,                                 /* event function override        */
1470     {445, 416, 486, 433},                    /* widget size                    */
1471     GX_NULL,                                 /* no next widget                 */
1472     GX_NULL,                                 /* no child widgets               */
1473     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_4), /* control block */
1474     (void *) &main_screen_prompt_4_properties /* extended properties           */
1475 };
1476 
1477 GX_CONST GX_STUDIO_WIDGET main_screen_icon_4_define =
1478 {
1479     "icon_4",
1480     GX_TYPE_ICON,                            /* widget type                    */
1481     GX_ID_NONE,                              /* widget id                      */
1482     #if defined(GX_WIDGET_USER_DATA)
1483     0,                                       /* user data                      */
1484     #endif
1485     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1486     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1487     sizeof(GX_ICON),                         /* control block size             */
1488     GX_COLOR_ID_WHITE,                       /* normal color id                */
1489     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
1490     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1491     gx_studio_icon_create,                   /* create function                */
1492     GX_NULL,                                 /* drawing function override      */
1493     GX_NULL,                                 /* event function override        */
1494     {455, 391, 476, 409},                    /* widget size                    */
1495     &main_screen_prompt_4_define,            /* next widget definition         */
1496     GX_NULL,                                 /* no child widgets               */
1497     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_icon_4), /* control block  */
1498     (void *) &main_screen_icon_4_properties  /* extended properties            */
1499 };
1500 
1501 GX_CONST GX_STUDIO_WIDGET main_screen_video_btn_define =
1502 {
1503     "video_btn",
1504     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
1505     ID_VIDEO_BTN,                            /* widget id                      */
1506     #if defined(GX_WIDGET_USER_DATA)
1507     0,                                       /* user data                      */
1508     #endif
1509     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO,   /* style flags */
1510     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1511     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
1512     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1513     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1514     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1515     gx_studio_pixelmap_button_create,        /* create function                */
1516     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
1517     GX_NULL,                                 /* event function override        */
1518     {418, 376, 512, 465},                    /* widget size                    */
1519     GX_NULL,                                 /* no next widget                 */
1520     &main_screen_icon_4_define,              /* child widget definition        */
1521     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_video_btn), /* control block */
1522     (void *) &main_screen_video_btn_properties /* extended properties          */
1523 };
1524 
1525 GX_CONST GX_STUDIO_WIDGET main_screen_audio_btn_define =
1526 {
1527     "audio_btn",
1528     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
1529     ID_AUDIO_BTN,                            /* widget id                      */
1530     #if defined(GX_WIDGET_USER_DATA)
1531     0,                                       /* user data                      */
1532     #endif
1533     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO,   /* style flags */
1534     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1535     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
1536     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1537     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1538     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1539     gx_studio_pixelmap_button_create,        /* create function                */
1540     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
1541     GX_NULL,                                 /* event function override        */
1542     {321, 376, 415, 465},                    /* widget size                    */
1543     &main_screen_video_btn_define,           /* next widget definition         */
1544     &main_screen_icon_3_define,              /* child widget definition        */
1545     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_audio_btn), /* control block */
1546     (void *) &main_screen_audio_btn_properties /* extended properties          */
1547 };
1548 
1549 GX_CONST GX_STUDIO_WIDGET main_screen_phone_btn_define =
1550 {
1551     "phone_btn",
1552     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
1553     ID_PHONE_BTN,                            /* widget id                      */
1554     #if defined(GX_WIDGET_USER_DATA)
1555     0,                                       /* user data                      */
1556     #endif
1557     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO,   /* style flags */
1558     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1559     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
1560     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1561     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1562     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1563     gx_studio_pixelmap_button_create,        /* create function                */
1564     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
1565     GX_NULL,                                 /* event function override        */
1566     {224, 376, 318, 465},                    /* widget size                    */
1567     &main_screen_audio_btn_define,           /* next widget definition         */
1568     &main_screen_icon_2_define,              /* child widget definition        */
1569     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_phone_btn), /* control block */
1570     (void *) &main_screen_phone_btn_properties /* extended properties          */
1571 };
1572 
1573 GX_CONST GX_STUDIO_WIDGET main_screen_climate_btn_define =
1574 {
1575     "climate_btn",
1576     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
1577     ID_CLIMATE_BTN,                          /* widget id                      */
1578     #if defined(GX_WIDGET_USER_DATA)
1579     0,                                       /* user data                      */
1580     #endif
1581     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO,   /* style flags */
1582     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1583     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
1584     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1585     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1586     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1587     gx_studio_pixelmap_button_create,        /* create function                */
1588     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
1589     GX_NULL,                                 /* event function override        */
1590     {127, 376, 221, 465},                    /* widget size                    */
1591     &main_screen_phone_btn_define,           /* next widget definition         */
1592     &main_screen_icon_1_define,              /* child widget definition        */
1593     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_climate_btn), /* control block */
1594     (void *) &main_screen_climate_btn_properties /* extended properties        */
1595 };
1596 
1597 GX_CONST GX_STUDIO_WIDGET main_screen_vehicle_btn_define =
1598 {
1599     "vehicle_btn",
1600     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
1601     ID_VEHICLE_BTN,                          /* widget id                      */
1602     #if defined(GX_WIDGET_USER_DATA)
1603     0,                                       /* user data                      */
1604     #endif
1605     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO,   /* style flags */
1606     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1607     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
1608     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1609     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1610     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1611     gx_studio_pixelmap_button_create,        /* create function                */
1612     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
1613     GX_NULL,                                 /* event function override        */
1614     {30, 376, 124, 465},                     /* widget size                    */
1615     &main_screen_climate_btn_define,         /* next widget definition         */
1616     &main_screen_icon_define,                /* child widget definition        */
1617     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_vehicle_btn), /* control block */
1618     (void *) &main_screen_vehicle_btn_properties /* extended properties        */
1619 };
1620 
1621 GX_CONST GX_STUDIO_WIDGET main_screen_battery_progress_bar_define =
1622 {
1623     "battery_progress_bar",
1624     GX_TYPE_PROGRESS_BAR,                    /* widget type                    */
1625     GX_ID_NONE,                              /* widget id                      */
1626     #if defined(GX_WIDGET_USER_DATA)
1627     0,                                       /* user data                      */
1628     #endif
1629     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
1630     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1631     sizeof(GX_PROGRESS_BAR),                 /* control block size             */
1632     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1633     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1634     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1635     gx_studio_progress_bar_create,           /* create function                */
1636     GX_NULL,                                 /* drawing function override      */
1637     GX_NULL,                                 /* event function override        */
1638     {41, 316, 154, 349},                     /* widget size                    */
1639     GX_NULL,                                 /* no next widget                 */
1640     GX_NULL,                                 /* no child widgets               */
1641     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_battery_progress_bar), /* control block */
1642     (void *) &main_screen_battery_progress_bar_properties /* extended properties */
1643 };
1644 
1645 GX_CONST GX_STUDIO_WIDGET main_screen_vehicle_mode_icon_define =
1646 {
1647     "vehicle_mode_icon",
1648     GX_TYPE_ICON,                            /* widget type                    */
1649     GX_ID_NONE,                              /* widget id                      */
1650     #if defined(GX_WIDGET_USER_DATA)
1651     0,                                       /* user data                      */
1652     #endif
1653     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1654     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1655     sizeof(GX_ICON),                         /* control block size             */
1656     GX_COLOR_ID_LIGHT_GREEN,                 /* normal color id                */
1657     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
1658     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled color id              */
1659     gx_studio_icon_create,                   /* create function                */
1660     GX_NULL,                                 /* drawing function override      */
1661     GX_NULL,                                 /* event function override        */
1662     {516, 288, 559, 331},                    /* widget size                    */
1663     GX_NULL,                                 /* no next widget                 */
1664     GX_NULL,                                 /* no child widgets               */
1665     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_vehicle_mode_icon), /* control block */
1666     (void *) &main_screen_vehicle_mode_icon_properties /* extended properties  */
1667 };
1668 
1669 GX_CONST GX_STUDIO_WIDGET main_screen_on_off_text_define =
1670 {
1671     "on_off_text",
1672     GX_TYPE_PROMPT,                          /* widget type                    */
1673     GX_ID_NONE,                              /* widget id                      */
1674     #if defined(GX_WIDGET_USER_DATA)
1675     0,                                       /* user data                      */
1676     #endif
1677     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1678     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1679     sizeof(GX_PROMPT),                       /* control block size             */
1680     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1681     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1682     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1683     gx_studio_prompt_create,                 /* create function                */
1684     GX_NULL,                                 /* drawing function override      */
1685     GX_NULL,                                 /* event function override        */
1686     {552, 416, 573, 433},                    /* widget size                    */
1687     GX_NULL,                                 /* no next widget                 */
1688     GX_NULL,                                 /* no child widgets               */
1689     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_on_off_text), /* control block */
1690     (void *) &main_screen_on_off_text_properties /* extended properties        */
1691 };
1692 
1693 GX_CONST GX_STUDIO_WIDGET main_screen_icon_5_define =
1694 {
1695     "icon_5",
1696     GX_TYPE_ICON,                            /* widget type                    */
1697     GX_ID_NONE,                              /* widget id                      */
1698     #if defined(GX_WIDGET_USER_DATA)
1699     0,                                       /* user data                      */
1700     #endif
1701     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1702     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1703     sizeof(GX_ICON),                         /* control block size             */
1704     GX_COLOR_ID_WHITE,                       /* normal color id                */
1705     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
1706     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1707     gx_studio_icon_create,                   /* create function                */
1708     GX_NULL,                                 /* drawing function override      */
1709     GX_NULL,                                 /* event function override        */
1710     {554, 391, 570, 409},                    /* widget size                    */
1711     &main_screen_on_off_text_define,         /* next widget definition         */
1712     GX_NULL,                                 /* no child widgets               */
1713     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_icon_5), /* control block  */
1714     (void *) &main_screen_icon_5_properties  /* extended properties            */
1715 };
1716 
1717 GX_CONST GX_STUDIO_WIDGET main_screen_on_off_btn_define =
1718 {
1719     "on_off_btn",
1720     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
1721     ID_ON_OFF_BTN,                           /* widget id                      */
1722     #if defined(GX_WIDGET_USER_DATA)
1723     0,                                       /* user data                      */
1724     #endif
1725     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
1726     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1727     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
1728     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1729     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1730     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1731     gx_studio_pixelmap_button_create,        /* create function                */
1732     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
1733     GX_NULL,                                 /* event function override        */
1734     {515, 376, 609, 465},                    /* widget size                    */
1735     GX_NULL,                                 /* no next widget                 */
1736     &main_screen_icon_5_define,              /* child widget definition        */
1737     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_on_off_btn), /* control block */
1738     (void *) &main_screen_on_off_btn_properties /* extended properties         */
1739 };
1740 
1741 GX_CONST GX_STUDIO_WIDGET main_screen_radial_slider_define =
1742 {
1743     "radial_slider",
1744     GX_TYPE_RADIAL_SLIDER,                   /* widget type                    */
1745     GX_ID_NONE,                              /* widget id                      */
1746     #if defined(GX_WIDGET_USER_DATA)
1747     0,                                       /* user data                      */
1748     #endif
1749     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
1750     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1751     sizeof(GX_RADIAL_SLIDER),                /* control block size             */
1752     GX_COLOR_ID_BLUE,                        /* normal color id                */
1753     GX_COLOR_ID_BLUE,                        /* selected color id              */
1754     GX_COLOR_ID_BLUE,                        /* disabled color id              */
1755     gx_studio_radial_slider_create,          /* create function                */
1756     (VOID (*)(GX_WIDGET *)) radial_slider_draw, /* drawing function override   */
1757     GX_NULL,                                 /* event function override        */
1758     {179, 99, 460, 351},                     /* widget size                    */
1759     &main_screen_on_off_btn_define,          /* next widget definition         */
1760     GX_NULL,                                 /* no child widgets               */
1761     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radial_slider), /* control block */
1762     (void *) &main_screen_radial_slider_properties /* extended properties      */
1763 };
1764 
1765 GX_CONST GX_STUDIO_WIDGET main_screen_vehicle_mode_button_define =
1766 {
1767     "vehicle_mode_button",
1768     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
1769     ID_VEHICLE_MODE_BUTTON,                  /* widget id                      */
1770     #if defined(GX_WIDGET_USER_DATA)
1771     0,                                       /* user data                      */
1772     #endif
1773     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
1774     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1775     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
1776     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1777     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1778     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1779     gx_studio_pixelmap_button_create,        /* create function                */
1780     GX_NULL,                                 /* drawing function override      */
1781     GX_NULL,                                 /* event function override        */
1782     {478, 250, 597, 369},                    /* widget size                    */
1783     &main_screen_radial_slider_define,       /* next widget definition         */
1784     &main_screen_vehicle_mode_icon_define,   /* child widget definition        */
1785     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_vehicle_mode_button), /* control block */
1786     (void *) &main_screen_vehicle_mode_button_properties /* extended properties */
1787 };
1788 
1789 GX_CONST GX_STUDIO_WIDGET main_screen_vehicle_mode_text_define =
1790 {
1791     "vehicle_mode_text",
1792     GX_TYPE_PROMPT,                          /* widget type                    */
1793     GX_ID_NONE,                              /* widget id                      */
1794     #if defined(GX_WIDGET_USER_DATA)
1795     0,                                       /* user data                      */
1796     #endif
1797     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1798     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1799     sizeof(GX_PROMPT),                       /* control block size             */
1800     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1801     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1802     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1803     gx_studio_prompt_create,                 /* create function                */
1804     GX_NULL,                                 /* drawing function override      */
1805     GX_NULL,                                 /* event function override        */
1806     {483, 233, 596, 261},                    /* widget size                    */
1807     &main_screen_vehicle_mode_button_define, /* next widget definition         */
1808     GX_NULL,                                 /* no child widgets               */
1809     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_vehicle_mode_text), /* control block */
1810     (void *) &main_screen_vehicle_mode_text_properties /* extended properties  */
1811 };
1812 
1813 GX_CONST GX_STUDIO_WIDGET main_screen_battery_icon_define =
1814 {
1815     "battery_icon",
1816     GX_TYPE_ICON,                            /* widget type                    */
1817     GX_ID_NONE,                              /* widget id                      */
1818     #if defined(GX_WIDGET_USER_DATA)
1819     0,                                       /* user data                      */
1820     #endif
1821     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1822     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1823     sizeof(GX_ICON),                         /* control block size             */
1824     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1825     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1826     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1827     gx_studio_icon_create,                   /* create function                */
1828     GX_NULL,                                 /* drawing function override      */
1829     GX_NULL,                                 /* event function override        */
1830     {41, 316, 159, 349},                     /* widget size                    */
1831     &main_screen_vehicle_mode_text_define,   /* next widget definition         */
1832     &main_screen_battery_progress_bar_define, /* child widget definition       */
1833     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_battery_icon), /* control block */
1834     (void *) &main_screen_battery_icon_properties /* extended properties       */
1835 };
1836 
1837 GX_CONST GX_STUDIO_WIDGET main_screen_horizontal_line_define =
1838 {
1839     "horizontal_line",
1840     GX_TYPE_ICON,                            /* widget type                    */
1841     GX_ID_NONE,                              /* widget id                      */
1842     #if defined(GX_WIDGET_USER_DATA)
1843     0,                                       /* user data                      */
1844     #endif
1845     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
1846     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1847     sizeof(GX_ICON),                         /* control block size             */
1848     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1849     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1850     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1851     gx_studio_icon_create,                   /* create function                */
1852     GX_NULL,                                 /* drawing function override      */
1853     GX_NULL,                                 /* event function override        */
1854     {45, 269, 131, 270},                     /* widget size                    */
1855     &main_screen_battery_icon_define,        /* next widget definition         */
1856     GX_NULL,                                 /* no child widgets               */
1857     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_horizontal_line), /* control block */
1858     (void *) &main_screen_horizontal_line_properties /* extended properties    */
1859 };
1860 
1861 GX_CONST GX_STUDIO_WIDGET main_screen_prompt_11_1_define =
1862 {
1863     "prompt_11_1",
1864     GX_TYPE_PROMPT,                          /* widget type                    */
1865     GX_ID_NONE,                              /* widget id                      */
1866     #if defined(GX_WIDGET_USER_DATA)
1867     0,                                       /* user data                      */
1868     #endif
1869     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1870     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1871     sizeof(GX_PROMPT),                       /* control block size             */
1872     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1873     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1874     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1875     gx_studio_prompt_create,                 /* create function                */
1876     GX_NULL,                                 /* drawing function override      */
1877     GX_NULL,                                 /* event function override        */
1878     {100, 233, 131, 261},                    /* widget size                    */
1879     &main_screen_horizontal_line_define,     /* next widget definition         */
1880     GX_NULL,                                 /* no child widgets               */
1881     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_11_1), /* control block */
1882     (void *) &main_screen_prompt_11_1_properties /* extended properties        */
1883 };
1884 
1885 GX_CONST GX_STUDIO_WIDGET main_screen_prompt_11_define =
1886 {
1887     "prompt_11",
1888     GX_TYPE_PROMPT,                          /* widget type                    */
1889     GX_ID_NONE,                              /* widget id                      */
1890     #if defined(GX_WIDGET_USER_DATA)
1891     0,                                       /* user data                      */
1892     #endif
1893     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
1894     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1895     sizeof(GX_PROMPT),                       /* control block size             */
1896     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1897     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1898     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1899     gx_studio_prompt_create,                 /* create function                */
1900     GX_NULL,                                 /* drawing function override      */
1901     GX_NULL,                                 /* event function override        */
1902     {81, 283, 107, 311},                     /* widget size                    */
1903     &main_screen_prompt_11_1_define,         /* next widget definition         */
1904     GX_NULL,                                 /* no child widgets               */
1905     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_11), /* control block */
1906     (void *) &main_screen_prompt_11_properties /* extended properties          */
1907 };
1908 
1909 GX_CONST GX_STUDIO_WIDGET main_screen_remain_battery_define =
1910 {
1911     "remain_battery",
1912     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
1913     GX_ID_NONE,                              /* widget id                      */
1914     #if defined(GX_WIDGET_USER_DATA)
1915     0,                                       /* user data                      */
1916     #endif
1917     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
1918     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1919     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
1920     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1921     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1922     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1923     gx_studio_numeric_prompt_create,         /* create function                */
1924     GX_NULL,                                 /* drawing function override      */
1925     GX_NULL,                                 /* event function override        */
1926     {47, 283, 82, 311},                      /* widget size                    */
1927     &main_screen_prompt_11_define,           /* next widget definition         */
1928     GX_NULL,                                 /* no child widgets               */
1929     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_remain_battery), /* control block */
1930     (void *) &main_screen_remain_battery_properties /* extended properties     */
1931 };
1932 
1933 GX_CONST GX_STUDIO_WIDGET main_screen_remain_miles_define =
1934 {
1935     "remain_miles",
1936     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
1937     GX_ID_NONE,                              /* widget id                      */
1938     #if defined(GX_WIDGET_USER_DATA)
1939     0,                                       /* user data                      */
1940     #endif
1941     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
1942     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1943     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
1944     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1945     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1946     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1947     gx_studio_numeric_prompt_create,         /* create function                */
1948     GX_NULL,                                 /* drawing function override      */
1949     GX_NULL,                                 /* event function override        */
1950     {47, 233, 100, 261},                     /* widget size                    */
1951     &main_screen_remain_battery_define,      /* next widget definition         */
1952     GX_NULL,                                 /* no child widgets               */
1953     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_remain_miles), /* control block */
1954     (void *) &main_screen_remain_miles_properties /* extended properties       */
1955 };
1956 
1957 GX_CONST GX_STUDIO_WIDGET main_screen_btn_window_define =
1958 {
1959     "btn_window",
1960     GX_TYPE_WINDOW,                          /* widget type                    */
1961     ID_BTN_WIN,                              /* widget id                      */
1962     #if defined(GX_WIDGET_USER_DATA)
1963     0,                                       /* user data                      */
1964     #endif
1965     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
1966     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1967     sizeof(GX_WINDOW),                       /* control block size             */
1968     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
1969     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
1970     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1971     gx_studio_window_create,                 /* create function                */
1972     GX_NULL,                                 /* drawing function override      */
1973     GX_NULL,                                 /* event function override        */
1974     {15, 375, 514, 466},                     /* widget size                    */
1975     &main_screen_remain_miles_define,        /* next widget definition         */
1976     &main_screen_vehicle_btn_define,         /* child widget definition        */
1977     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_btn_window), /* control block */
1978     (void *) &main_screen_btn_window_properties /* extended properties         */
1979 };
1980 
1981 GX_CONST GX_STUDIO_WIDGET main_screen_weather_win_define =
1982 {
1983     "weather_win",
1984     GX_TYPE_WINDOW,                          /* widget type                    */
1985     ID_MAIN_WEATHER_WIN,                     /* widget id                      */
1986     #if defined(GX_WIDGET_USER_DATA)
1987     0,                                       /* user data                      */
1988     #endif
1989     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
1990     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1991     sizeof(GX_WINDOW),                       /* control block size             */
1992     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
1993     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
1994     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
1995     gx_studio_window_create,                 /* create function                */
1996     GX_NULL,                                 /* drawing function override      */
1997     GX_NULL,                                 /* event function override        */
1998     {396, 22, 610, 91},                      /* widget size                    */
1999     &main_screen_btn_window_define,          /* next widget definition         */
2000     &main_screen_time_hour_define,           /* child widget definition        */
2001     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_weather_win), /* control block */
2002     (void *) &main_screen_weather_win_properties /* extended properties        */
2003 };
2004 
2005 GX_CONST GX_STUDIO_WIDGET main_screen_speedometer_define =
2006 {
2007     "speedometer",
2008     GX_TYPE_ICON,                            /* widget type                    */
2009     GX_ID_NONE,                              /* widget id                      */
2010     #if defined(GX_WIDGET_USER_DATA)
2011     0,                                       /* user data                      */
2012     #endif
2013     GX_STYLE_BORDER_NONE|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
2014     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2015     sizeof(GX_ICON),                         /* control block size             */
2016     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2017     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2018     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2019     gx_studio_icon_create,                   /* create function                */
2020     GX_NULL,                                 /* drawing function override      */
2021     GX_NULL,                                 /* event function override        */
2022     {197, 109, 442, 366},                    /* widget size                    */
2023     &main_screen_weather_win_define,         /* next widget definition         */
2024     &main_screen_MPH_val_define,             /* child widget definition        */
2025     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_speedometer), /* control block */
2026     (void *) &main_screen_speedometer_properties /* extended properties        */
2027 };
2028 
2029 GX_CONST GX_STUDIO_WIDGET main_screen_define =
2030 {
2031     "main_screen",
2032     GX_TYPE_TEMPLATE,                        /* widget type                    */
2033     ID_MAIN_SCREEN,                          /* widget id                      */
2034     #if defined(GX_WIDGET_USER_DATA)
2035     0,                                       /* user data                      */
2036     #endif
2037     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
2038     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2039     sizeof(MAIN_SCREEN_CONTROL_BLOCK),       /* control block size             */
2040     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
2041     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
2042     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2043     gx_studio_template_create,               /* create function                */
2044     GX_NULL,                                 /* drawing function override      */
2045     (UINT (*)(GX_WIDGET *, GX_EVENT *)) main_screen_event_process, /* event function override */
2046     {0, 0, 639, 479},                        /* widget size                    */
2047     GX_NULL,                                 /* next widget                    */
2048     &main_screen_speedometer_define,         /* child widget                   */
2049     0,                                       /* control block                  */
2050     (void *) &main_screen_properties         /* extended properties            */
2051 };
2052 GX_TEMPLATE_PROPERTIES screen_base_properties =
2053 {
2054     &base_define,                            /* base info                      */
2055     gx_studio_window_create,                 /* base create function           */
2056     {0, 0, 639, 479}                         /* widget size                    */
2057 };
2058 GX_WINDOW_PROPERTIES screen_base_weather_win_properties =
2059 {
2060     0                                        /* wallpaper pixelmap id          */
2061 };
2062 GX_NUMERIC_PROMPT_PROPERTIES screen_base_hour_properties =
2063 {
2064     0,                                       /* string id                      */
2065     GX_FONT_ID_LARGE,                        /* font id                        */
2066     GX_COLOR_ID_WHITE,                       /* normal text color              */
2067     GX_COLOR_ID_WHITE,                       /* selected text color            */
2068     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
2069     GX_NULL,                                 /* format function                */
2070     10                                       /* numeric prompt value           */
2071 };
2072 GX_NUMERIC_PROMPT_PROPERTIES screen_base_minute_properties =
2073 {
2074     0,                                       /* string id                      */
2075     GX_FONT_ID_LARGE,                        /* font id                        */
2076     GX_COLOR_ID_WHITE,                       /* normal text color              */
2077     GX_COLOR_ID_WHITE,                       /* selected text color            */
2078     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
2079     GX_NULL,                                 /* format function                */
2080     32                                       /* numeric prompt value           */
2081 };
2082 GX_ICON_PROPERTIES screen_base_weather_icon_properties =
2083 {
2084     GX_PIXELMAP_ID_WEATHER_ICON_PARTLY_CLOUDY_SMALL, /* normal pixelmap id     */
2085     0                                        /* selected pixelmap id           */
2086 };
2087 GX_NUMERIC_PROMPT_PROPERTIES screen_base_temperature_properties =
2088 {
2089     0,                                       /* string id                      */
2090     GX_FONT_ID_SYSTEM,                       /* font id                        */
2091     GX_COLOR_ID_WHITE,                       /* normal text color              */
2092     GX_COLOR_ID_WHITE,                       /* selected text color            */
2093     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
2094     GX_NULL,                                 /* format function                */
2095     64                                       /* numeric prompt value           */
2096 };
2097 GX_ICON_PROPERTIES screen_base_second_dot_down_properties =
2098 {
2099     GX_PIXELMAP_ID_DOT,                      /* normal pixelmap id             */
2100     0                                        /* selected pixelmap id           */
2101 };
2102 GX_ICON_PROPERTIES screen_base_second_dot_up_properties =
2103 {
2104     GX_PIXELMAP_ID_DOT,                      /* normal pixelmap id             */
2105     0                                        /* selected pixelmap id           */
2106 };
2107 GX_PIXELMAP_BUTTON_PROPERTIES screen_base_home_btn_properties =
2108 {
2109     GX_PIXELMAP_ID_BTN_HOME,                 /* normal pixelmap id             */
2110     GX_PIXELMAP_ID_BTN_HOME_ACTIVE,          /* selected pixelmap id           */
2111     0                                        /* disabled pixelmap id           */
2112 };
2113 
2114 GX_CONST GX_STUDIO_WIDGET screen_base_second_dot_up_define =
2115 {
2116     "second_dot_up",
2117     GX_TYPE_ICON,                            /* widget type                    */
2118     GX_ID_NONE,                              /* widget id                      */
2119     #if defined(GX_WIDGET_USER_DATA)
2120     0,                                       /* user data                      */
2121     #endif
2122     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
2123     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2124     sizeof(GX_ICON),                         /* control block size             */
2125     GX_COLOR_ID_WHITE,                       /* normal color id                */
2126     GX_COLOR_ID_WHITE,                       /* selected color id              */
2127     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2128     gx_studio_icon_create,                   /* create function                */
2129     GX_NULL,                                 /* drawing function override      */
2130     GX_NULL,                                 /* event function override        */
2131     {451, 47, 455, 51},                      /* widget size                    */
2132     GX_NULL,                                 /* no next widget                 */
2133     GX_NULL,                                 /* no child widgets               */
2134     offsetof(SCREEN_BASE_CONTROL_BLOCK, screen_base_second_dot_up), /* control block */
2135     (void *) &screen_base_second_dot_up_properties /* extended properties      */
2136 };
2137 
2138 GX_CONST GX_STUDIO_WIDGET screen_base_second_dot_down_define =
2139 {
2140     "second_dot_down",
2141     GX_TYPE_ICON,                            /* widget type                    */
2142     GX_ID_NONE,                              /* widget id                      */
2143     #if defined(GX_WIDGET_USER_DATA)
2144     0,                                       /* user data                      */
2145     #endif
2146     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
2147     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2148     sizeof(GX_ICON),                         /* control block size             */
2149     GX_COLOR_ID_WHITE,                       /* normal color id                */
2150     GX_COLOR_ID_WHITE,                       /* selected color id              */
2151     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2152     gx_studio_icon_create,                   /* create function                */
2153     GX_NULL,                                 /* drawing function override      */
2154     GX_NULL,                                 /* event function override        */
2155     {451, 65, 455, 69},                      /* widget size                    */
2156     &screen_base_second_dot_up_define,       /* next widget definition         */
2157     GX_NULL,                                 /* no child widgets               */
2158     offsetof(SCREEN_BASE_CONTROL_BLOCK, screen_base_second_dot_down), /* control block */
2159     (void *) &screen_base_second_dot_down_properties /* extended properties    */
2160 };
2161 
2162 GX_CONST GX_STUDIO_WIDGET screen_base_temperature_define =
2163 {
2164     "temperature",
2165     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
2166     GX_ID_NONE,                              /* widget id                      */
2167     #if defined(GX_WIDGET_USER_DATA)
2168     0,                                       /* user data                      */
2169     #endif
2170     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2171     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2172     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
2173     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2174     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2175     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2176     gx_studio_numeric_prompt_create,         /* create function                */
2177     GX_NULL,                                 /* drawing function override      */
2178     GX_NULL,                                 /* event function override        */
2179     {512, 59, 529, 76},                      /* widget size                    */
2180     &screen_base_second_dot_down_define,     /* next widget definition         */
2181     GX_NULL,                                 /* no child widgets               */
2182     offsetof(SCREEN_BASE_CONTROL_BLOCK, screen_base_temperature), /* control block */
2183     (void *) &screen_base_temperature_properties /* extended properties        */
2184 };
2185 
2186 GX_CONST GX_STUDIO_WIDGET screen_base_weather_icon_define =
2187 {
2188     "weather_icon",
2189     GX_TYPE_ICON,                            /* widget type                    */
2190     GX_ID_NONE,                              /* widget id                      */
2191     #if defined(GX_WIDGET_USER_DATA)
2192     0,                                       /* user data                      */
2193     #endif
2194     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
2195     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2196     sizeof(GX_ICON),                         /* control block size             */
2197     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2198     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2199     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2200     gx_studio_icon_create,                   /* create function                */
2201     GX_NULL,                                 /* drawing function override      */
2202     GX_NULL,                                 /* event function override        */
2203     {507, 38, 533, 56},                      /* widget size                    */
2204     &screen_base_temperature_define,         /* next widget definition         */
2205     GX_NULL,                                 /* no child widgets               */
2206     offsetof(SCREEN_BASE_CONTROL_BLOCK, screen_base_weather_icon), /* control block */
2207     (void *) &screen_base_weather_icon_properties /* extended properties       */
2208 };
2209 
2210 GX_CONST GX_STUDIO_WIDGET screen_base_minute_define =
2211 {
2212     "minute",
2213     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
2214     GX_ID_NONE,                              /* widget id                      */
2215     #if defined(GX_WIDGET_USER_DATA)
2216     0,                                       /* user data                      */
2217     #endif
2218     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2219     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2220     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
2221     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2222     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2223     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2224     gx_studio_numeric_prompt_create,         /* create function                */
2225     GX_NULL,                                 /* drawing function override      */
2226     GX_NULL,                                 /* event function override        */
2227     {454, 40, 503, 81},                      /* widget size                    */
2228     &screen_base_weather_icon_define,        /* next widget definition         */
2229     GX_NULL,                                 /* no child widgets               */
2230     offsetof(SCREEN_BASE_CONTROL_BLOCK, screen_base_minute), /* control block  */
2231     (void *) &screen_base_minute_properties  /* extended properties            */
2232 };
2233 
2234 GX_CONST GX_STUDIO_WIDGET screen_base_hour_define =
2235 {
2236     "hour",
2237     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
2238     GX_ID_NONE,                              /* widget id                      */
2239     #if defined(GX_WIDGET_USER_DATA)
2240     0,                                       /* user data                      */
2241     #endif
2242     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2243     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2244     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
2245     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2246     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2247     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2248     gx_studio_numeric_prompt_create,         /* create function                */
2249     GX_NULL,                                 /* drawing function override      */
2250     GX_NULL,                                 /* event function override        */
2251     {400, 40, 449, 81},                      /* widget size                    */
2252     &screen_base_minute_define,              /* next widget definition         */
2253     GX_NULL,                                 /* no child widgets               */
2254     offsetof(SCREEN_BASE_CONTROL_BLOCK, screen_base_hour), /* control block    */
2255     (void *) &screen_base_hour_properties    /* extended properties            */
2256 };
2257 
2258 GX_CONST GX_STUDIO_WIDGET screen_base_home_btn_define =
2259 {
2260     "home_btn",
2261     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
2262     ID_HOME_BTN,                             /* widget id                      */
2263     #if defined(GX_WIDGET_USER_DATA)
2264     0,                                       /* user data                      */
2265     #endif
2266     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
2267     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2268     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
2269     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
2270     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
2271     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2272     gx_studio_pixelmap_button_create,        /* create function                */
2273     GX_NULL,                                 /* drawing function override      */
2274     GX_NULL,                                 /* event function override        */
2275     {544, 23, 608, 87},                      /* widget size                    */
2276     GX_NULL,                                 /* no next widget                 */
2277     GX_NULL,                                 /* no child widgets               */
2278     offsetof(SCREEN_BASE_CONTROL_BLOCK, screen_base_home_btn), /* control block */
2279     (void *) &screen_base_home_btn_properties /* extended properties           */
2280 };
2281 
2282 GX_CONST GX_STUDIO_WIDGET screen_base_weather_win_define =
2283 {
2284     "weather_win",
2285     GX_TYPE_WINDOW,                          /* widget type                    */
2286     ID_SCREEN_WEATHER_WIN,                   /* widget id                      */
2287     #if defined(GX_WIDGET_USER_DATA)
2288     0,                                       /* user data                      */
2289     #endif
2290     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
2291     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2292     sizeof(GX_WINDOW),                       /* control block size             */
2293     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
2294     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
2295     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2296     gx_studio_window_create,                 /* create function                */
2297     GX_NULL,                                 /* drawing function override      */
2298     GX_NULL,                                 /* event function override        */
2299     {400, 23, 544, 87},                      /* widget size                    */
2300     &screen_base_home_btn_define,            /* next widget definition         */
2301     &screen_base_hour_define,                /* child widget definition        */
2302     offsetof(SCREEN_BASE_CONTROL_BLOCK, screen_base_weather_win), /* control block */
2303     (void *) &screen_base_weather_win_properties /* extended properties        */
2304 };
2305 
2306 GX_CONST GX_STUDIO_WIDGET screen_base_define =
2307 {
2308     "screen_base",
2309     GX_TYPE_TEMPLATE,                        /* widget type                    */
2310     GX_ID_NONE,                              /* widget id                      */
2311     #if defined(GX_WIDGET_USER_DATA)
2312     0,                                       /* user data                      */
2313     #endif
2314     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
2315     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2316     sizeof(SCREEN_BASE_CONTROL_BLOCK),       /* control block size             */
2317     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
2318     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
2319     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2320     gx_studio_template_create,               /* create function                */
2321     GX_NULL,                                 /* drawing function override      */
2322     (UINT (*)(GX_WIDGET *, GX_EVENT *)) screen_base_event_process, /* event function override */
2323     {0, 0, 639, 479},                        /* widget size                    */
2324     GX_NULL,                                 /* next widget                    */
2325     &screen_base_weather_win_define,         /* child widget                   */
2326     0,                                       /* control block                  */
2327     (void *) &screen_base_properties         /* extended properties            */
2328 };
2329 GX_TEMPLATE_PROPERTIES video_screen_properties =
2330 {
2331     &screen_base_define,                     /* base info                      */
2332     gx_studio_template_create,               /* base create function           */
2333     {0, 0, 639, 479}                         /* widget size                    */
2334 };
2335 GX_WINDOW_PROPERTIES video_screen_window_1_properties =
2336 {
2337     GX_PIXELMAP_ID_VIDEO_BG_BOTTOM           /* wallpaper pixelmap id          */
2338 };
2339 GX_WINDOW_PROPERTIES video_screen_video_play_progress_bar_bg_properties =
2340 {
2341     GX_PIXELMAP_ID_VIDEO_PROGRESS_BG         /* wallpaper pixelmap id          */
2342 };
2343 GX_PROGRESS_BAR_INFO video_screen_video_play_progress_bar_properties =
2344 {
2345     0,                                       /* mimimun value                  */
2346     100,                                     /* maximum value                  */
2347     50,                                      /* current value                  */
2348     GX_FONT_ID_SYSTEM,                       /* font_id                        */
2349     GX_COLOR_ID_TEXT,                        /* normal text color              */
2350     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2351     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
2352     GX_PIXELMAP_ID_VIDEO_PROGRESS_ACTIVE     /* fill pixelmap                  */
2353 };
2354 GX_PIXELMAP_BUTTON_PROPERTIES video_screen_play_btn_small_properties =
2355 {
2356     GX_PIXELMAP_ID_VIDEO_PALY_SMALL,         /* normal pixelmap id             */
2357     GX_PIXELMAP_ID_VIDEO_PAUSE_SMALL,        /* selected pixelmap id           */
2358     0                                        /* disabled pixelmap id           */
2359 };
2360 GX_PIXELMAP_BUTTON_PROPERTIES video_screen_pixelmap_button_7_properties =
2361 {
2362     GX_PIXELMAP_ID_VIDEO_ICON_RETURN,        /* normal pixelmap id             */
2363     0,                                       /* selected pixelmap id           */
2364     0                                        /* disabled pixelmap id           */
2365 };
2366 GX_PIXELMAP_BUTTON_PROPERTIES video_screen_pixelmap_button_8_properties =
2367 {
2368     GX_PIXELMAP_ID_VIDEO_ICON_FILL_SCREEN,   /* normal pixelmap id             */
2369     0,                                       /* selected pixelmap id           */
2370     0                                        /* disabled pixelmap id           */
2371 };
2372 GX_PIXELMAP_BUTTON_PROPERTIES video_screen_pixelmap_button_9_properties =
2373 {
2374     GX_PIXELMAP_ID_VIDEO_ICON_SOUND_OFF,     /* normal pixelmap id             */
2375     0,                                       /* selected pixelmap id           */
2376     0                                        /* disabled pixelmap id           */
2377 };
2378 GX_NUMERIC_PROMPT_PROPERTIES video_screen_minute_properties =
2379 {
2380     0,                                       /* string id                      */
2381     GX_FONT_ID_LARGE,                        /* font id                        */
2382     GX_COLOR_ID_WHITE,                       /* normal text color              */
2383     GX_COLOR_ID_WHITE,                       /* selected text color            */
2384     GX_COLOR_ID_WHITE,                       /* disabled text color            */
2385     time_value_format,                       /* format function                */
2386     0                                        /* numeric prompt value           */
2387 };
2388 GX_NUMERIC_PROMPT_PROPERTIES video_screen_second_properties =
2389 {
2390     0,                                       /* string id                      */
2391     GX_FONT_ID_LARGE,                        /* font id                        */
2392     GX_COLOR_ID_WHITE,                       /* normal text color              */
2393     GX_COLOR_ID_WHITE,                       /* selected text color            */
2394     GX_COLOR_ID_WHITE,                       /* disabled text color            */
2395     time_value_format,                       /* format function                */
2396     0                                        /* numeric prompt value           */
2397 };
2398 GX_PROMPT_PROPERTIES video_screen_second_colon_properties =
2399 {
2400     GX_STRING_ID_STRING_22,                  /* string id                      */
2401     GX_FONT_ID_LARGE,                        /* font id                        */
2402     GX_COLOR_ID_WHITE,                       /* normal text color              */
2403     GX_COLOR_ID_WHITE,                       /* selected text color            */
2404     GX_COLOR_ID_WHITE                        /* disabled text color            */
2405 };
2406 GX_WINDOW_PROPERTIES video_screen_play_btn_big_win_properties =
2407 {
2408     GX_PIXELMAP_ID_VIDEO_BIG_ROUND_BUBBLE    /* wallpaper pixelmap id          */
2409 };
2410 GX_PIXELMAP_BUTTON_PROPERTIES video_screen_play_btn_big_properties =
2411 {
2412     GX_PIXELMAP_ID_VIDEO_PALY_BIG,           /* normal pixelmap id             */
2413     GX_PIXELMAP_ID_VIDEO_PALY_BIG_HOVER,     /* selected pixelmap id           */
2414     0                                        /* disabled pixelmap id           */
2415 };
2416 
2417 GX_CONST GX_STUDIO_WIDGET video_screen_second_colon_define =
2418 {
2419     "second_colon",
2420     GX_TYPE_PROMPT,                          /* widget type                    */
2421     GX_ID_NONE,                              /* widget id                      */
2422     #if defined(GX_WIDGET_USER_DATA)
2423     0,                                       /* user data                      */
2424     #endif
2425     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2426     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2427     sizeof(GX_PROMPT),                       /* control block size             */
2428     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2429     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2430     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2431     gx_studio_prompt_create,                 /* create function                */
2432     GX_NULL,                                 /* drawing function override      */
2433     GX_NULL,                                 /* event function override        */
2434     {549, 417, 561, 458},                    /* widget size                    */
2435     GX_NULL,                                 /* no next widget                 */
2436     GX_NULL,                                 /* no child widgets               */
2437     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_second_colon), /* control block */
2438     (void *) &video_screen_second_colon_properties /* extended properties      */
2439 };
2440 
2441 GX_CONST GX_STUDIO_WIDGET video_screen_second_define =
2442 {
2443     "second",
2444     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
2445     GX_ID_NONE,                              /* widget id                      */
2446     #if defined(GX_WIDGET_USER_DATA)
2447     0,                                       /* user data                      */
2448     #endif
2449     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2450     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2451     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
2452     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2453     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2454     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2455     gx_studio_numeric_prompt_create,         /* create function                */
2456     GX_NULL,                                 /* drawing function override      */
2457     GX_NULL,                                 /* event function override        */
2458     {558, 420, 611, 465},                    /* widget size                    */
2459     &video_screen_second_colon_define,       /* next widget definition         */
2460     GX_NULL,                                 /* no child widgets               */
2461     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_second), /* control block */
2462     (void *) &video_screen_second_properties /* extended properties            */
2463 };
2464 
2465 GX_CONST GX_STUDIO_WIDGET video_screen_minute_define =
2466 {
2467     "minute",
2468     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
2469     GX_ID_NONE,                              /* widget id                      */
2470     #if defined(GX_WIDGET_USER_DATA)
2471     0,                                       /* user data                      */
2472     #endif
2473     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2474     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2475     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
2476     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2477     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2478     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2479     gx_studio_numeric_prompt_create,         /* create function                */
2480     GX_NULL,                                 /* drawing function override      */
2481     GX_NULL,                                 /* event function override        */
2482     {499, 420, 552, 465},                    /* widget size                    */
2483     &video_screen_second_define,             /* next widget definition         */
2484     GX_NULL,                                 /* no child widgets               */
2485     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_minute), /* control block */
2486     (void *) &video_screen_minute_properties /* extended properties            */
2487 };
2488 
2489 GX_CONST GX_STUDIO_WIDGET video_screen_pixelmap_button_9_define =
2490 {
2491     "pixelmap_button_9",
2492     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
2493     GX_ID_NONE,                              /* widget id                      */
2494     #if defined(GX_WIDGET_USER_DATA)
2495     0,                                       /* user data                      */
2496     #endif
2497     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
2498     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2499     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
2500     GX_COLOR_ID_GRAY,                        /* normal color id                */
2501     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
2502     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2503     gx_studio_pixelmap_button_create,        /* create function                */
2504     (VOID (*)(GX_WIDGET *)) video_screen_pixelmap_button_draw, /* drawing function override */
2505     GX_NULL,                                 /* event function override        */
2506     {167, 427, 195, 454},                    /* widget size                    */
2507     &video_screen_minute_define,             /* next widget definition         */
2508     GX_NULL,                                 /* no child widgets               */
2509     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_pixelmap_button_9), /* control block */
2510     (void *) &video_screen_pixelmap_button_9_properties /* extended properties */
2511 };
2512 
2513 GX_CONST GX_STUDIO_WIDGET video_screen_pixelmap_button_8_define =
2514 {
2515     "pixelmap_button_8",
2516     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
2517     GX_ID_NONE,                              /* widget id                      */
2518     #if defined(GX_WIDGET_USER_DATA)
2519     0,                                       /* user data                      */
2520     #endif
2521     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
2522     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2523     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
2524     GX_COLOR_ID_GRAY,                        /* normal color id                */
2525     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
2526     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2527     gx_studio_pixelmap_button_create,        /* create function                */
2528     (VOID (*)(GX_WIDGET *)) video_screen_pixelmap_button_draw, /* drawing function override */
2529     GX_NULL,                                 /* event function override        */
2530     {101, 429, 129, 454},                    /* widget size                    */
2531     &video_screen_pixelmap_button_9_define,  /* next widget definition         */
2532     GX_NULL,                                 /* no child widgets               */
2533     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_pixelmap_button_8), /* control block */
2534     (void *) &video_screen_pixelmap_button_8_properties /* extended properties */
2535 };
2536 
2537 GX_CONST GX_STUDIO_WIDGET video_screen_pixelmap_button_7_define =
2538 {
2539     "pixelmap_button_7",
2540     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
2541     GX_ID_NONE,                              /* widget id                      */
2542     #if defined(GX_WIDGET_USER_DATA)
2543     0,                                       /* user data                      */
2544     #endif
2545     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
2546     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2547     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
2548     GX_COLOR_ID_GRAY,                        /* normal color id                */
2549     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
2550     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2551     gx_studio_pixelmap_button_create,        /* create function                */
2552     (VOID (*)(GX_WIDGET *)) video_screen_pixelmap_button_draw, /* drawing function override */
2553     GX_NULL,                                 /* event function override        */
2554     {40, 429, 64, 455},                      /* widget size                    */
2555     &video_screen_pixelmap_button_8_define,  /* next widget definition         */
2556     GX_NULL,                                 /* no child widgets               */
2557     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_pixelmap_button_7), /* control block */
2558     (void *) &video_screen_pixelmap_button_7_properties /* extended properties */
2559 };
2560 
2561 GX_CONST GX_STUDIO_WIDGET video_screen_play_btn_small_define =
2562 {
2563     "play_btn_small",
2564     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
2565     ID_PLAY_BTN_SMALL,                       /* widget id                      */
2566     #if defined(GX_WIDGET_USER_DATA)
2567     0,                                       /* user data                      */
2568     #endif
2569     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
2570     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2571     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
2572     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
2573     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
2574     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2575     gx_studio_pixelmap_button_create,        /* create function                */
2576     GX_NULL,                                 /* drawing function override      */
2577     GX_NULL,                                 /* event function override        */
2578     {300, 425, 339, 464},                    /* widget size                    */
2579     &video_screen_pixelmap_button_7_define,  /* next widget definition         */
2580     GX_NULL,                                 /* no child widgets               */
2581     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_play_btn_small), /* control block */
2582     (void *) &video_screen_play_btn_small_properties /* extended properties    */
2583 };
2584 
2585 GX_CONST GX_STUDIO_WIDGET video_screen_video_play_progress_bar_define =
2586 {
2587     "video_play_progress_bar",
2588     GX_TYPE_PROGRESS_BAR,                    /* widget type                    */
2589     GX_ID_NONE,                              /* widget id                      */
2590     #if defined(GX_WIDGET_USER_DATA)
2591     0,                                       /* user data                      */
2592     #endif
2593     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
2594     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2595     sizeof(GX_PROGRESS_BAR),                 /* control block size             */
2596     GX_COLOR_ID_GREEN,                       /* normal color id                */
2597     GX_COLOR_ID_GREEN,                       /* selected color id              */
2598     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2599     gx_studio_progress_bar_create,           /* create function                */
2600     GX_NULL,                                 /* drawing function override      */
2601     GX_NULL,                                 /* event function override        */
2602     {39, 404, 602, 407},                     /* widget size                    */
2603     &video_screen_play_btn_small_define,     /* next widget definition         */
2604     GX_NULL,                                 /* no child widgets               */
2605     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_video_play_progress_bar), /* control block */
2606     (void *) &video_screen_video_play_progress_bar_properties /* extended properties */
2607 };
2608 
2609 GX_CONST GX_STUDIO_WIDGET video_screen_video_play_progress_bar_bg_define =
2610 {
2611     "video_play_progress_bar_bg",
2612     GX_TYPE_WINDOW,                          /* widget type                    */
2613     GX_ID_NONE,                              /* widget id                      */
2614     #if defined(GX_WIDGET_USER_DATA)
2615     0,                                       /* user data                      */
2616     #endif
2617     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
2618     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2619     sizeof(GX_WINDOW),                       /* control block size             */
2620     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
2621     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
2622     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2623     gx_studio_window_create,                 /* create function                */
2624     GX_NULL,                                 /* drawing function override      */
2625     GX_NULL,                                 /* event function override        */
2626     {39, 404, 604, 409},                     /* widget size                    */
2627     &video_screen_video_play_progress_bar_define, /* next widget definition    */
2628     GX_NULL,                                 /* no child widgets               */
2629     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_video_play_progress_bar_bg), /* control block */
2630     (void *) &video_screen_video_play_progress_bar_bg_properties /* extended properties */
2631 };
2632 
2633 GX_CONST GX_STUDIO_WIDGET video_screen_play_btn_big_define =
2634 {
2635     "play_btn_big",
2636     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
2637     ID_PLAY_BTN_BIG,                         /* widget id                      */
2638     #if defined(GX_WIDGET_USER_DATA)
2639     0,                                       /* user data                      */
2640     #endif
2641     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
2642     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2643     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
2644     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
2645     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
2646     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2647     gx_studio_pixelmap_button_create,        /* create function                */
2648     GX_NULL,                                 /* drawing function override      */
2649     GX_NULL,                                 /* event function override        */
2650     {263, 155, 394, 297},                    /* widget size                    */
2651     GX_NULL,                                 /* no next widget                 */
2652     GX_NULL,                                 /* no child widgets               */
2653     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_play_btn_big), /* control block */
2654     (void *) &video_screen_play_btn_big_properties /* extended properties      */
2655 };
2656 
2657 GX_CONST GX_STUDIO_WIDGET video_screen_play_btn_big_win_define =
2658 {
2659     "play_btn_big_win",
2660     GX_TYPE_WINDOW,                          /* widget type                    */
2661     GX_ID_NONE,                              /* widget id                      */
2662     #if defined(GX_WIDGET_USER_DATA)
2663     0,                                       /* user data                      */
2664     #endif
2665     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
2666     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2667     sizeof(GX_WINDOW),                       /* control block size             */
2668     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
2669     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
2670     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2671     gx_studio_window_create,                 /* create function                */
2672     GX_NULL,                                 /* drawing function override      */
2673     GX_NULL,                                 /* event function override        */
2674     {232, 139, 406, 313},                    /* widget size                    */
2675     GX_NULL,                                 /* no next widget                 */
2676     &video_screen_play_btn_big_define,       /* child widget definition        */
2677     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_play_btn_big_win), /* control block */
2678     (void *) &video_screen_play_btn_big_win_properties /* extended properties  */
2679 };
2680 
2681 GX_CONST GX_STUDIO_WIDGET video_screen_window_1_define =
2682 {
2683     "window_1",
2684     GX_TYPE_WINDOW,                          /* widget type                    */
2685     GX_ID_NONE,                              /* widget id                      */
2686     #if defined(GX_WIDGET_USER_DATA)
2687     0,                                       /* user data                      */
2688     #endif
2689     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
2690     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2691     sizeof(GX_WINDOW),                       /* control block size             */
2692     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
2693     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
2694     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2695     gx_studio_window_create,                 /* create function                */
2696     GX_NULL,                                 /* drawing function override      */
2697     GX_NULL,                                 /* event function override        */
2698     {0, 396, 639, 479},                      /* widget size                    */
2699     &video_screen_play_btn_big_win_define,   /* next widget definition         */
2700     &video_screen_video_play_progress_bar_bg_define, /* child widget definition */
2701     offsetof(VIDEO_SCREEN_CONTROL_BLOCK, video_screen_window_1), /* control block */
2702     (void *) &video_screen_window_1_properties /* extended properties          */
2703 };
2704 
2705 GX_CONST GX_STUDIO_WIDGET video_screen_define =
2706 {
2707     "video_screen",
2708     GX_TYPE_TEMPLATE,                        /* widget type                    */
2709     ID_VIDEO_SCREEN,                         /* widget id                      */
2710     #if defined(GX_WIDGET_USER_DATA)
2711     0,                                       /* user data                      */
2712     #endif
2713     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
2714     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2715     sizeof(VIDEO_SCREEN_CONTROL_BLOCK),      /* control block size             */
2716     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
2717     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
2718     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2719     gx_studio_template_create,               /* create function                */
2720     GX_NULL,                                 /* drawing function override      */
2721     (UINT (*)(GX_WIDGET *, GX_EVENT *)) video_screen_event_process, /* event function override */
2722     {0, 0, 639, 479},                        /* widget size                    */
2723     GX_NULL,                                 /* next widget                    */
2724     &video_screen_window_1_define,           /* child widget                   */
2725     0,                                       /* control block                  */
2726     (void *) &video_screen_properties        /* extended properties            */
2727 };
2728 GX_TEMPLATE_PROPERTIES climate_screen_properties =
2729 {
2730     &screen_base_define,                     /* base info                      */
2731     gx_studio_template_create,               /* base create function           */
2732     {0, 0, 639, 479}                         /* widget size                    */
2733 };
2734 GX_WINDOW_PROPERTIES climate_screen_right_progress_bar_win_properties =
2735 {
2736     0                                        /* wallpaper pixelmap id          */
2737 };
2738 GX_WINDOW_PROPERTIES climate_screen_right_progress_bar_bg_properties =
2739 {
2740     GX_PIXELMAP_ID_RANGE_GREY_SINGLE_LINE    /* wallpaper pixelmap id          */
2741 };
2742 GX_PROGRESS_BAR_INFO climate_screen_right_progress_bar_properties =
2743 {
2744     0,                                       /* mimimun value                  */
2745     33,                                      /* maximum value                  */
2746     29,                                      /* current value                  */
2747     GX_FONT_ID_SYSTEM,                       /* font_id                        */
2748     GX_COLOR_ID_TEXT,                        /* normal text color              */
2749     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2750     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
2751     GX_PIXELMAP_ID_RANGE_GREEN_SINGLE_LINE   /* fill pixelmap                  */
2752 };
2753 GX_NUMERIC_PROMPT_PROPERTIES climate_screen_right_progress_val_properties =
2754 {
2755     0,                                       /* string id                      */
2756     GX_FONT_ID_MIDDLE,                       /* font id                        */
2757     GX_COLOR_ID_WHITE,                       /* normal text color              */
2758     GX_COLOR_ID_WHITE,                       /* selected text color            */
2759     GX_COLOR_ID_WHITE,                       /* disabled text color            */
2760     GX_NULL,                                 /* format function                */
2761     89                                       /* numeric prompt value           */
2762 };
2763 GX_PROMPT_PROPERTIES climate_screen_prompt_properties =
2764 {
2765     GX_STRING_ID_STRING_21,                  /* string id                      */
2766     GX_FONT_ID_SMALL,                        /* font id                        */
2767     GX_COLOR_ID_WHITE,                       /* normal text color              */
2768     GX_COLOR_ID_WHITE,                       /* selected text color            */
2769     GX_COLOR_ID_WHITE                        /* disabled text color            */
2770 };
2771 GX_WINDOW_PROPERTIES climate_screen_left_progress_bar_win_properties =
2772 {
2773     0                                        /* wallpaper pixelmap id          */
2774 };
2775 GX_WINDOW_PROPERTIES climate_screen_left_progress_bar_bg_properties =
2776 {
2777     GX_PIXELMAP_ID_RANGE_GREY_SINGLE_LINE    /* wallpaper pixelmap id          */
2778 };
2779 GX_PROGRESS_BAR_INFO climate_screen_left_progress_bar_properties =
2780 {
2781     0,                                       /* mimimun value                  */
2782     33,                                      /* maximum value                  */
2783     23,                                      /* current value                  */
2784     GX_FONT_ID_SYSTEM,                       /* font_id                        */
2785     GX_COLOR_ID_TEXT,                        /* normal text color              */
2786     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
2787     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
2788     GX_PIXELMAP_ID_RANGE_GREEN_SINGLE_LINE   /* fill pixelmap                  */
2789 };
2790 GX_NUMERIC_PROMPT_PROPERTIES climate_screen_left_progress_val_properties =
2791 {
2792     0,                                       /* string id                      */
2793     GX_FONT_ID_MIDDLE,                       /* font id                        */
2794     GX_COLOR_ID_WHITE,                       /* normal text color              */
2795     GX_COLOR_ID_WHITE,                       /* selected text color            */
2796     GX_COLOR_ID_WHITE,                       /* disabled text color            */
2797     GX_NULL,                                 /* format function                */
2798     72                                       /* numeric prompt value           */
2799 };
2800 GX_PROMPT_PROPERTIES climate_screen_prompt_7_properties =
2801 {
2802     GX_STRING_ID_STRING_21,                  /* string id                      */
2803     GX_FONT_ID_SMALL,                        /* font id                        */
2804     GX_COLOR_ID_WHITE,                       /* normal text color              */
2805     GX_COLOR_ID_WHITE,                       /* selected text color            */
2806     GX_COLOR_ID_WHITE                        /* disabled text color            */
2807 };
2808 GX_ICON_PROPERTIES climate_screen_left_lines_icon_properties =
2809 {
2810     GX_PIXELMAP_ID_CLIMATE_LINES_LEFT,       /* normal pixelmap id             */
2811     0                                        /* selected pixelmap id           */
2812 };
2813 GX_PIXELMAP_BUTTON_PROPERTIES climate_screen_pixelmap_button_3_properties =
2814 {
2815     GX_PIXELMAP_ID_CLIMATE_GRADIENT_LEFT_BOTTOM, /* normal pixelmap id         */
2816     GX_PIXELMAP_ID_CLIMATE_GRADIENT_LEFT_BOTTOM_ACTIVE, /* selected pixelmap id */
2817     0                                        /* disabled pixelmap id           */
2818 };
2819 GX_PIXELMAP_BUTTON_PROPERTIES climate_screen_pixelmap_button_properties =
2820 {
2821     GX_PIXELMAP_ID_CLIMATE_GRADIENT_LEFT,    /* normal pixelmap id             */
2822     GX_PIXELMAP_ID_CLIMATE_GRADIENT_LEFT_ACTIVE, /* selected pixelmap id       */
2823     0                                        /* disabled pixelmap id           */
2824 };
2825 GX_ICON_PROPERTIES climate_screen_right_lines_properties =
2826 {
2827     GX_PIXELMAP_ID_CLIMATE_LINES_RIGHT,      /* normal pixelmap id             */
2828     0                                        /* selected pixelmap id           */
2829 };
2830 GX_PIXELMAP_BUTTON_PROPERTIES climate_screen_pixelmap_button_1_properties =
2831 {
2832     GX_PIXELMAP_ID_CLIMATE_GRADIENT_RIGHT,   /* normal pixelmap id             */
2833     GX_PIXELMAP_ID_CLIMATE_GRADIENT_RIGHT_ACTIVE, /* selected pixelmap id      */
2834     0                                        /* disabled pixelmap id           */
2835 };
2836 GX_PIXELMAP_BUTTON_PROPERTIES climate_screen_pixelmap_button_2_properties =
2837 {
2838     GX_PIXELMAP_ID_CLIMATE_GRADIENT_RIGHT_BOTTOM, /* normal pixelmap id        */
2839     GX_PIXELMAP_ID_CLIMATE_GRADIENT_RIGHT_BOTTOM_ACTIVE, /* selected pixelmap id */
2840     0                                        /* disabled pixelmap id           */
2841 };
2842 GX_ICON_PROPERTIES climate_screen_center_line_properties =
2843 {
2844     GX_PIXELMAP_ID_CLIMATE_LINE_CENTER_DEVIDER, /* normal pixelmap id          */
2845     0                                        /* selected pixelmap id           */
2846 };
2847 GX_ICON_PROPERTIES climate_screen_right_seat_properties =
2848 {
2849     GX_PIXELMAP_ID_SEAT_RIGHT,               /* normal pixelmap id             */
2850     0                                        /* selected pixelmap id           */
2851 };
2852 GX_PROMPT_PROPERTIES climate_screen_left_fan_mode_properties =
2853 {
2854     GX_STRING_ID_AUTO,                       /* string id                      */
2855     GX_FONT_ID_NORMAL,                       /* font id                        */
2856     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
2857     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
2858     GX_COLOR_ID_LIGHT_GREEN                  /* disabled text color            */
2859 };
2860 GX_PROMPT_PROPERTIES climate_screen_right_fan_mode_properties =
2861 {
2862     GX_STRING_ID_LOW,                        /* string id                      */
2863     GX_FONT_ID_NORMAL,                       /* font id                        */
2864     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
2865     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
2866     GX_COLOR_ID_LIGHT_GREEN                  /* disabled text color            */
2867 };
2868 GX_PIXELMAP_BUTTON_PROPERTIES climate_screen_left_fan_button_properties =
2869 {
2870     GX_PIXELMAP_ID_C_ICON_FAN,               /* normal pixelmap id             */
2871     GX_PIXELMAP_ID_C_ICON_FAN_ACTIVE,        /* selected pixelmap id           */
2872     0                                        /* disabled pixelmap id           */
2873 };
2874 GX_PIXELMAP_BUTTON_PROPERTIES climate_screen_left_small_fan_button_properties =
2875 {
2876     GX_PIXELMAP_ID_C_ICON_FAN_SMALL,         /* normal pixelmap id             */
2877     GX_PIXELMAP_ID_C_ICON_FAN_SMALL_ACTIVE,  /* selected pixelmap id           */
2878     0                                        /* disabled pixelmap id           */
2879 };
2880 GX_PIXELMAP_BUTTON_PROPERTIES climate_screen_right_small_fan_button_properties =
2881 {
2882     GX_PIXELMAP_ID_C_ICON_FAN_SMALL,         /* normal pixelmap id             */
2883     GX_PIXELMAP_ID_C_ICON_FAN_SMALL_ACTIVE,  /* selected pixelmap id           */
2884     0                                        /* disabled pixelmap id           */
2885 };
2886 GX_PIXELMAP_BUTTON_PROPERTIES climate_screen_right_fan_button_properties =
2887 {
2888     GX_PIXELMAP_ID_C_ICON_FAN,               /* normal pixelmap id             */
2889     GX_PIXELMAP_ID_C_ICON_FAN_ACTIVE,        /* selected pixelmap id           */
2890     0                                        /* disabled pixelmap id           */
2891 };
2892 GX_ICON_PROPERTIES climate_screen_left_seat_properties =
2893 {
2894     GX_PIXELMAP_ID_SEAT_LEFT,                /* normal pixelmap id             */
2895     0                                        /* selected pixelmap id           */
2896 };
2897 GX_ICON_BUTTON_PROPERTIES climate_screen_left_warmer_icon_button_properties =
2898 {
2899     0                                        /* pixelmap id                    */
2900 };
2901 GX_ICON_PROPERTIES climate_screen_icon_14_3_properties =
2902 {
2903     GX_PIXELMAP_ID_SEAT_WARMER_LEFT_SINGLE,  /* normal pixelmap id             */
2904     0                                        /* selected pixelmap id           */
2905 };
2906 GX_ICON_PROPERTIES climate_screen_icon_14_12_properties =
2907 {
2908     GX_PIXELMAP_ID_SEAT_WARMER_LEFT_SINGLE,  /* normal pixelmap id             */
2909     0                                        /* selected pixelmap id           */
2910 };
2911 GX_ICON_PROPERTIES climate_screen_icon_14_13_properties =
2912 {
2913     GX_PIXELMAP_ID_SEAT_WARMER_LEFT_SINGLE,  /* normal pixelmap id             */
2914     0                                        /* selected pixelmap id           */
2915 };
2916 GX_ICON_BUTTON_PROPERTIES climate_screen_right_warmer_icon_button_properties =
2917 {
2918     0                                        /* pixelmap id                    */
2919 };
2920 GX_ICON_PROPERTIES climate_screen_icon_14_16_1_properties =
2921 {
2922     GX_PIXELMAP_ID_SEAT_WARMER_RIGHT_SINGLE_ACTIVE, /* normal pixelmap id      */
2923     0                                        /* selected pixelmap id           */
2924 };
2925 GX_ICON_PROPERTIES climate_screen_icon_14_14_1_properties =
2926 {
2927     GX_PIXELMAP_ID_SEAT_WARMER_RIGHT_SINGLE_ACTIVE, /* normal pixelmap id      */
2928     0                                        /* selected pixelmap id           */
2929 };
2930 GX_ICON_PROPERTIES climate_screen_icon_14_15_1_properties =
2931 {
2932     GX_PIXELMAP_ID_SEAT_WARMER_RIGHT_SINGLE_ACTIVE, /* normal pixelmap id      */
2933     0                                        /* selected pixelmap id           */
2934 };
2935 
2936 GX_CONST GX_STUDIO_WIDGET climate_screen_right_progress_bar_define =
2937 {
2938     "right_progress_bar",
2939     GX_TYPE_PROGRESS_BAR,                    /* widget type                    */
2940     ID_RIGHT_PROGRESS_BAR,                   /* widget id                      */
2941     #if defined(GX_WIDGET_USER_DATA)
2942     0,                                       /* user data                      */
2943     #endif
2944     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_PROGRESS_VERTICAL,   /* style flags */
2945     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2946     sizeof(GX_PROGRESS_BAR),                 /* control block size             */
2947     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2948     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2949     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2950     gx_studio_progress_bar_create,           /* create function                */
2951     GX_NULL,                                 /* drawing function override      */
2952     (UINT (*)(GX_WIDGET *, GX_EVENT *)) custom_progress_bar_event_process, /* event function override */
2953     {557, 171, 594, 302},                    /* widget size                    */
2954     GX_NULL,                                 /* no next widget                 */
2955     GX_NULL,                                 /* no child widgets               */
2956     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_right_progress_bar), /* control block */
2957     (void *) &climate_screen_right_progress_bar_properties /* extended properties */
2958 };
2959 
2960 GX_CONST GX_STUDIO_WIDGET climate_screen_prompt_define =
2961 {
2962     "prompt",
2963     GX_TYPE_PROMPT,                          /* widget type                    */
2964     GX_ID_NONE,                              /* widget id                      */
2965     #if defined(GX_WIDGET_USER_DATA)
2966     0,                                       /* user data                      */
2967     #endif
2968     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2969     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2970     sizeof(GX_PROMPT),                       /* control block size             */
2971     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2972     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2973     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2974     gx_studio_prompt_create,                 /* create function                */
2975     GX_NULL,                                 /* drawing function override      */
2976     GX_NULL,                                 /* event function override        */
2977     {592, 131, 598, 143},                    /* widget size                    */
2978     GX_NULL,                                 /* no next widget                 */
2979     GX_NULL,                                 /* no child widgets               */
2980     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_prompt), /* control block */
2981     (void *) &climate_screen_prompt_properties /* extended properties          */
2982 };
2983 
2984 GX_CONST GX_STUDIO_WIDGET climate_screen_right_progress_val_define =
2985 {
2986     "right_progress_val",
2987     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
2988     GX_ID_NONE,                              /* widget id                      */
2989     #if defined(GX_WIDGET_USER_DATA)
2990     0,                                       /* user data                      */
2991     #endif
2992     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
2993     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
2994     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
2995     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
2996     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
2997     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
2998     gx_studio_numeric_prompt_create,         /* create function                */
2999     GX_NULL,                                 /* drawing function override      */
3000     GX_NULL,                                 /* event function override        */
3001     {557, 137, 592, 165},                    /* widget size                    */
3002     &climate_screen_prompt_define,           /* next widget definition         */
3003     GX_NULL,                                 /* no child widgets               */
3004     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_right_progress_val), /* control block */
3005     (void *) &climate_screen_right_progress_val_properties /* extended properties */
3006 };
3007 
3008 GX_CONST GX_STUDIO_WIDGET climate_screen_right_progress_bar_bg_define =
3009 {
3010     "right_progress_bar_bg",
3011     GX_TYPE_WINDOW,                          /* widget type                    */
3012     GX_ID_NONE,                              /* widget id                      */
3013     #if defined(GX_WIDGET_USER_DATA)
3014     0,                                       /* user data                      */
3015     #endif
3016     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TILE_WALLPAPER,   /* style flags */
3017     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3018     sizeof(GX_WINDOW),                       /* control block size             */
3019     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
3020     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
3021     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3022     gx_studio_window_create,                 /* create function                */
3023     GX_NULL,                                 /* drawing function override      */
3024     GX_NULL,                                 /* event function override        */
3025     {557, 171, 594, 302},                    /* widget size                    */
3026     &climate_screen_right_progress_val_define, /* next widget definition       */
3027     &climate_screen_right_progress_bar_define, /* child widget definition      */
3028     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_right_progress_bar_bg), /* control block */
3029     (void *) &climate_screen_right_progress_bar_bg_properties /* extended properties */
3030 };
3031 
3032 GX_CONST GX_STUDIO_WIDGET climate_screen_left_progress_bar_define =
3033 {
3034     "left_progress_bar",
3035     GX_TYPE_PROGRESS_BAR,                    /* widget type                    */
3036     ID_LEFT_PROGRESS_BAR,                    /* widget id                      */
3037     #if defined(GX_WIDGET_USER_DATA)
3038     0,                                       /* user data                      */
3039     #endif
3040     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_PROGRESS_VERTICAL,   /* style flags */
3041     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3042     sizeof(GX_PROGRESS_BAR),                 /* control block size             */
3043     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3044     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3045     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3046     gx_studio_progress_bar_create,           /* create function                */
3047     GX_NULL,                                 /* drawing function override      */
3048     (UINT (*)(GX_WIDGET *, GX_EVENT *)) custom_progress_bar_event_process, /* event function override */
3049     {42, 171, 79, 302},                      /* widget size                    */
3050     GX_NULL,                                 /* no next widget                 */
3051     GX_NULL,                                 /* no child widgets               */
3052     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_left_progress_bar), /* control block */
3053     (void *) &climate_screen_left_progress_bar_properties /* extended properties */
3054 };
3055 
3056 GX_CONST GX_STUDIO_WIDGET climate_screen_prompt_7_define =
3057 {
3058     "prompt_7",
3059     GX_TYPE_PROMPT,                          /* widget type                    */
3060     GX_ID_NONE,                              /* widget id                      */
3061     #if defined(GX_WIDGET_USER_DATA)
3062     0,                                       /* user data                      */
3063     #endif
3064     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3065     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3066     sizeof(GX_PROMPT),                       /* control block size             */
3067     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3068     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3069     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3070     gx_studio_prompt_create,                 /* create function                */
3071     GX_NULL,                                 /* drawing function override      */
3072     GX_NULL,                                 /* event function override        */
3073     {78, 131, 84, 143},                      /* widget size                    */
3074     GX_NULL,                                 /* no next widget                 */
3075     GX_NULL,                                 /* no child widgets               */
3076     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_prompt_7), /* control block */
3077     (void *) &climate_screen_prompt_7_properties /* extended properties        */
3078 };
3079 
3080 GX_CONST GX_STUDIO_WIDGET climate_screen_left_progress_val_define =
3081 {
3082     "left_progress_val",
3083     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
3084     GX_ID_NONE,                              /* widget id                      */
3085     #if defined(GX_WIDGET_USER_DATA)
3086     0,                                       /* user data                      */
3087     #endif
3088     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3089     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3090     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
3091     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3092     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3093     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3094     gx_studio_numeric_prompt_create,         /* create function                */
3095     GX_NULL,                                 /* drawing function override      */
3096     GX_NULL,                                 /* event function override        */
3097     {43, 137, 78, 165},                      /* widget size                    */
3098     &climate_screen_prompt_7_define,         /* next widget definition         */
3099     GX_NULL,                                 /* no child widgets               */
3100     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_left_progress_val), /* control block */
3101     (void *) &climate_screen_left_progress_val_properties /* extended properties */
3102 };
3103 
3104 GX_CONST GX_STUDIO_WIDGET climate_screen_left_progress_bar_bg_define =
3105 {
3106     "left_progress_bar_bg",
3107     GX_TYPE_WINDOW,                          /* widget type                    */
3108     GX_ID_NONE,                              /* widget id                      */
3109     #if defined(GX_WIDGET_USER_DATA)
3110     0,                                       /* user data                      */
3111     #endif
3112     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TILE_WALLPAPER,   /* style flags */
3113     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3114     sizeof(GX_WINDOW),                       /* control block size             */
3115     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
3116     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
3117     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3118     gx_studio_window_create,                 /* create function                */
3119     GX_NULL,                                 /* drawing function override      */
3120     GX_NULL,                                 /* event function override        */
3121     {42, 171, 79, 302},                      /* widget size                    */
3122     &climate_screen_left_progress_val_define, /* next widget definition        */
3123     &climate_screen_left_progress_bar_define, /* child widget definition       */
3124     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_left_progress_bar_bg), /* control block */
3125     (void *) &climate_screen_left_progress_bar_bg_properties /* extended properties */
3126 };
3127 
3128 GX_CONST GX_STUDIO_WIDGET climate_screen_pixelmap_button_define =
3129 {
3130     "pixelmap_button",
3131     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
3132     GX_ID_NONE,                              /* widget id                      */
3133     #if defined(GX_WIDGET_USER_DATA)
3134     0,                                       /* user data                      */
3135     #endif
3136     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE,   /* style flags */
3137     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3138     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
3139     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
3140     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
3141     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3142     gx_studio_pixelmap_button_create,        /* create function                */
3143     GX_NULL,                                 /* drawing function override      */
3144     GX_NULL,                                 /* event function override        */
3145     {188, 130, 243, 221},                    /* widget size                    */
3146     GX_NULL,                                 /* no next widget                 */
3147     GX_NULL,                                 /* no child widgets               */
3148     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_pixelmap_button), /* control block */
3149     (void *) &climate_screen_pixelmap_button_properties /* extended properties */
3150 };
3151 
3152 GX_CONST GX_STUDIO_WIDGET climate_screen_pixelmap_button_3_define =
3153 {
3154     "pixelmap_button_3",
3155     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
3156     GX_ID_NONE,                              /* widget id                      */
3157     #if defined(GX_WIDGET_USER_DATA)
3158     0,                                       /* user data                      */
3159     #endif
3160     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE,   /* style flags */
3161     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3162     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
3163     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
3164     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
3165     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3166     gx_studio_pixelmap_button_create,        /* create function                */
3167     GX_NULL,                                 /* drawing function override      */
3168     GX_NULL,                                 /* event function override        */
3169     {188, 223, 243, 314},                    /* widget size                    */
3170     &climate_screen_pixelmap_button_define,  /* next widget definition         */
3171     GX_NULL,                                 /* no child widgets               */
3172     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_pixelmap_button_3), /* control block */
3173     (void *) &climate_screen_pixelmap_button_3_properties /* extended properties */
3174 };
3175 
3176 GX_CONST GX_STUDIO_WIDGET climate_screen_pixelmap_button_2_define =
3177 {
3178     "pixelmap_button_2",
3179     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
3180     GX_ID_NONE,                              /* widget id                      */
3181     #if defined(GX_WIDGET_USER_DATA)
3182     0,                                       /* user data                      */
3183     #endif
3184     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE,   /* style flags */
3185     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3186     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
3187     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
3188     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
3189     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3190     gx_studio_pixelmap_button_create,        /* create function                */
3191     GX_NULL,                                 /* drawing function override      */
3192     GX_NULL,                                 /* event function override        */
3193     {393, 223, 448, 314},                    /* widget size                    */
3194     GX_NULL,                                 /* no next widget                 */
3195     GX_NULL,                                 /* no child widgets               */
3196     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_pixelmap_button_2), /* control block */
3197     (void *) &climate_screen_pixelmap_button_2_properties /* extended properties */
3198 };
3199 
3200 GX_CONST GX_STUDIO_WIDGET climate_screen_pixelmap_button_1_define =
3201 {
3202     "pixelmap_button_1",
3203     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
3204     GX_ID_NONE,                              /* widget id                      */
3205     #if defined(GX_WIDGET_USER_DATA)
3206     0,                                       /* user data                      */
3207     #endif
3208     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE,   /* style flags */
3209     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3210     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
3211     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
3212     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
3213     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3214     gx_studio_pixelmap_button_create,        /* create function                */
3215     GX_NULL,                                 /* drawing function override      */
3216     GX_NULL,                                 /* event function override        */
3217     {393, 130, 448, 221},                    /* widget size                    */
3218     &climate_screen_pixelmap_button_2_define, /* next widget definition        */
3219     GX_NULL,                                 /* no child widgets               */
3220     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_pixelmap_button_1), /* control block */
3221     (void *) &climate_screen_pixelmap_button_1_properties /* extended properties */
3222 };
3223 
3224 GX_CONST GX_STUDIO_WIDGET climate_screen_icon_14_13_define =
3225 {
3226     "icon_14_13",
3227     GX_TYPE_ICON,                            /* widget type                    */
3228     GX_ID_NONE,                              /* widget id                      */
3229     #if defined(GX_WIDGET_USER_DATA)
3230     0,                                       /* user data                      */
3231     #endif
3232     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3233     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3234     sizeof(GX_ICON),                         /* control block size             */
3235     GX_COLOR_ID_CANVAS,                      /* normal color id                */
3236     GX_COLOR_ID_CANVAS,                      /* selected color id              */
3237     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
3238     gx_studio_icon_create,                   /* create function                */
3239     GX_NULL,                                 /* drawing function override      */
3240     GX_NULL,                                 /* event function override        */
3241     {132, 261, 158, 313},                    /* widget size                    */
3242     GX_NULL,                                 /* no next widget                 */
3243     GX_NULL,                                 /* no child widgets               */
3244     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_icon_14_13), /* control block */
3245     (void *) &climate_screen_icon_14_13_properties /* extended properties      */
3246 };
3247 
3248 GX_CONST GX_STUDIO_WIDGET climate_screen_icon_14_12_define =
3249 {
3250     "icon_14_12",
3251     GX_TYPE_ICON,                            /* widget type                    */
3252     GX_ID_NONE,                              /* widget id                      */
3253     #if defined(GX_WIDGET_USER_DATA)
3254     0,                                       /* user data                      */
3255     #endif
3256     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3257     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3258     sizeof(GX_ICON),                         /* control block size             */
3259     GX_COLOR_ID_CANVAS,                      /* normal color id                */
3260     GX_COLOR_ID_CANVAS,                      /* selected color id              */
3261     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
3262     gx_studio_icon_create,                   /* create function                */
3263     GX_NULL,                                 /* drawing function override      */
3264     GX_NULL,                                 /* event function override        */
3265     {145, 261, 171, 313},                    /* widget size                    */
3266     &climate_screen_icon_14_13_define,       /* next widget definition         */
3267     GX_NULL,                                 /* no child widgets               */
3268     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_icon_14_12), /* control block */
3269     (void *) &climate_screen_icon_14_12_properties /* extended properties      */
3270 };
3271 
3272 GX_CONST GX_STUDIO_WIDGET climate_screen_icon_14_3_define =
3273 {
3274     "icon_14_3",
3275     GX_TYPE_ICON,                            /* widget type                    */
3276     GX_ID_NONE,                              /* widget id                      */
3277     #if defined(GX_WIDGET_USER_DATA)
3278     0,                                       /* user data                      */
3279     #endif
3280     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3281     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3282     sizeof(GX_ICON),                         /* control block size             */
3283     GX_COLOR_ID_CANVAS,                      /* normal color id                */
3284     GX_COLOR_ID_CANVAS,                      /* selected color id              */
3285     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
3286     gx_studio_icon_create,                   /* create function                */
3287     GX_NULL,                                 /* drawing function override      */
3288     GX_NULL,                                 /* event function override        */
3289     {158, 261, 184, 313},                    /* widget size                    */
3290     &climate_screen_icon_14_12_define,       /* next widget definition         */
3291     GX_NULL,                                 /* no child widgets               */
3292     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_icon_14_3), /* control block */
3293     (void *) &climate_screen_icon_14_3_properties /* extended properties       */
3294 };
3295 
3296 GX_CONST GX_STUDIO_WIDGET climate_screen_icon_14_15_1_define =
3297 {
3298     "icon_14_15_1",
3299     GX_TYPE_ICON,                            /* widget type                    */
3300     GX_ID_NONE,                              /* widget id                      */
3301     #if defined(GX_WIDGET_USER_DATA)
3302     0,                                       /* user data                      */
3303     #endif
3304     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3305     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3306     sizeof(GX_ICON),                         /* control block size             */
3307     GX_COLOR_ID_CANVAS,                      /* normal color id                */
3308     GX_COLOR_ID_CANVAS,                      /* selected color id              */
3309     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
3310     gx_studio_icon_create,                   /* create function                */
3311     GX_NULL,                                 /* drawing function override      */
3312     GX_NULL,                                 /* event function override        */
3313     {481, 261, 507, 313},                    /* widget size                    */
3314     GX_NULL,                                 /* no next widget                 */
3315     GX_NULL,                                 /* no child widgets               */
3316     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_icon_14_15_1), /* control block */
3317     (void *) &climate_screen_icon_14_15_1_properties /* extended properties    */
3318 };
3319 
3320 GX_CONST GX_STUDIO_WIDGET climate_screen_icon_14_14_1_define =
3321 {
3322     "icon_14_14_1",
3323     GX_TYPE_ICON,                            /* widget type                    */
3324     GX_ID_NONE,                              /* widget id                      */
3325     #if defined(GX_WIDGET_USER_DATA)
3326     0,                                       /* user data                      */
3327     #endif
3328     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3329     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3330     sizeof(GX_ICON),                         /* control block size             */
3331     GX_COLOR_ID_CANVAS,                      /* normal color id                */
3332     GX_COLOR_ID_CANVAS,                      /* selected color id              */
3333     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
3334     gx_studio_icon_create,                   /* create function                */
3335     GX_NULL,                                 /* drawing function override      */
3336     GX_NULL,                                 /* event function override        */
3337     {468, 261, 494, 313},                    /* widget size                    */
3338     &climate_screen_icon_14_15_1_define,     /* next widget definition         */
3339     GX_NULL,                                 /* no child widgets               */
3340     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_icon_14_14_1), /* control block */
3341     (void *) &climate_screen_icon_14_14_1_properties /* extended properties    */
3342 };
3343 
3344 GX_CONST GX_STUDIO_WIDGET climate_screen_icon_14_16_1_define =
3345 {
3346     "icon_14_16_1",
3347     GX_TYPE_ICON,                            /* widget type                    */
3348     GX_ID_NONE,                              /* widget id                      */
3349     #if defined(GX_WIDGET_USER_DATA)
3350     0,                                       /* user data                      */
3351     #endif
3352     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3353     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3354     sizeof(GX_ICON),                         /* control block size             */
3355     GX_COLOR_ID_CANVAS,                      /* normal color id                */
3356     GX_COLOR_ID_CANVAS,                      /* selected color id              */
3357     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
3358     gx_studio_icon_create,                   /* create function                */
3359     GX_NULL,                                 /* drawing function override      */
3360     GX_NULL,                                 /* event function override        */
3361     {455, 261, 481, 313},                    /* widget size                    */
3362     &climate_screen_icon_14_14_1_define,     /* next widget definition         */
3363     GX_NULL,                                 /* no child widgets               */
3364     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_icon_14_16_1), /* control block */
3365     (void *) &climate_screen_icon_14_16_1_properties /* extended properties    */
3366 };
3367 
3368 GX_CONST GX_STUDIO_WIDGET climate_screen_right_warmer_icon_button_define =
3369 {
3370     "right_warmer_icon_button",
3371     GX_TYPE_ICON_BUTTON,                     /* widget type                    */
3372     GX_ID_NONE,                              /* widget id                      */
3373     #if defined(GX_WIDGET_USER_DATA)
3374     0,                                       /* user data                      */
3375     #endif
3376     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
3377     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3378     sizeof(GX_ICON_BUTTON),                  /* control block size             */
3379     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
3380     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
3381     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3382     gx_studio_icon_button_create,            /* create function                */
3383     GX_NULL,                                 /* drawing function override      */
3384     GX_NULL,                                 /* event function override        */
3385     {459, 264, 503, 309},                    /* widget size                    */
3386     GX_NULL,                                 /* no next widget                 */
3387     &climate_screen_icon_14_16_1_define,     /* child widget definition        */
3388     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_right_warmer_icon_button), /* control block */
3389     (void *) &climate_screen_right_warmer_icon_button_properties /* extended properties */
3390 };
3391 
3392 GX_CONST GX_STUDIO_WIDGET climate_screen_left_warmer_icon_button_define =
3393 {
3394     "left_warmer_icon_button",
3395     GX_TYPE_ICON_BUTTON,                     /* widget type                    */
3396     GX_ID_NONE,                              /* widget id                      */
3397     #if defined(GX_WIDGET_USER_DATA)
3398     0,                                       /* user data                      */
3399     #endif
3400     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
3401     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3402     sizeof(GX_ICON_BUTTON),                  /* control block size             */
3403     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
3404     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
3405     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3406     gx_studio_icon_button_create,            /* create function                */
3407     GX_NULL,                                 /* drawing function override      */
3408     GX_NULL,                                 /* event function override        */
3409     {134, 265, 184, 309},                    /* widget size                    */
3410     &climate_screen_right_warmer_icon_button_define, /* next widget definition */
3411     &climate_screen_icon_14_3_define,        /* child widget definition        */
3412     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_left_warmer_icon_button), /* control block */
3413     (void *) &climate_screen_left_warmer_icon_button_properties /* extended properties */
3414 };
3415 
3416 GX_CONST GX_STUDIO_WIDGET climate_screen_left_seat_define =
3417 {
3418     "left_seat",
3419     GX_TYPE_ICON,                            /* widget type                    */
3420     GX_ID_NONE,                              /* widget id                      */
3421     #if defined(GX_WIDGET_USER_DATA)
3422     0,                                       /* user data                      */
3423     #endif
3424     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3425     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3426     sizeof(GX_ICON),                         /* control block size             */
3427     GX_COLOR_ID_CANVAS,                      /* normal color id                */
3428     GX_COLOR_ID_CANVAS,                      /* selected color id              */
3429     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
3430     gx_studio_icon_create,                   /* create function                */
3431     GX_NULL,                                 /* drawing function override      */
3432     GX_NULL,                                 /* event function override        */
3433     {94, 137, 213, 298},                     /* widget size                    */
3434     &climate_screen_left_warmer_icon_button_define, /* next widget definition  */
3435     GX_NULL,                                 /* no child widgets               */
3436     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_left_seat), /* control block */
3437     (void *) &climate_screen_left_seat_properties /* extended properties       */
3438 };
3439 
3440 GX_CONST GX_STUDIO_WIDGET climate_screen_right_fan_button_define =
3441 {
3442     "right_fan_button",
3443     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
3444     ID_RIGHT_FAN_BUTTON,                     /* widget id                      */
3445     #if defined(GX_WIDGET_USER_DATA)
3446     0,                                       /* user data                      */
3447     #endif
3448     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
3449     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3450     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
3451     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
3452     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
3453     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3454     gx_studio_pixelmap_button_create,        /* create function                */
3455     GX_NULL,                                 /* drawing function override      */
3456     GX_NULL,                                 /* event function override        */
3457     {339, 166, 370, 199},                    /* widget size                    */
3458     &climate_screen_left_seat_define,        /* next widget definition         */
3459     GX_NULL,                                 /* no child widgets               */
3460     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_right_fan_button), /* control block */
3461     (void *) &climate_screen_right_fan_button_properties /* extended properties */
3462 };
3463 
3464 GX_CONST GX_STUDIO_WIDGET climate_screen_right_small_fan_button_define =
3465 {
3466     "right_small_fan_button",
3467     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
3468     ID_RIGHT_SMALL_FAN_BUTTON,               /* widget id                      */
3469     #if defined(GX_WIDGET_USER_DATA)
3470     0,                                       /* user data                      */
3471     #endif
3472     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
3473     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3474     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
3475     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
3476     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
3477     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3478     gx_studio_pixelmap_button_create,        /* create function                */
3479     GX_NULL,                                 /* drawing function override      */
3480     GX_NULL,                                 /* event function override        */
3481     {345, 245, 364, 265},                    /* widget size                    */
3482     &climate_screen_right_fan_button_define, /* next widget definition         */
3483     GX_NULL,                                 /* no child widgets               */
3484     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_right_small_fan_button), /* control block */
3485     (void *) &climate_screen_right_small_fan_button_properties /* extended properties */
3486 };
3487 
3488 GX_CONST GX_STUDIO_WIDGET climate_screen_left_small_fan_button_define =
3489 {
3490     "left_small_fan_button",
3491     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
3492     ID_LEFT_SMALL_FAN_BUTTON,                /* widget id                      */
3493     #if defined(GX_WIDGET_USER_DATA)
3494     0,                                       /* user data                      */
3495     #endif
3496     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
3497     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3498     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
3499     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
3500     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
3501     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3502     gx_studio_pixelmap_button_create,        /* create function                */
3503     GX_NULL,                                 /* drawing function override      */
3504     GX_NULL,                                 /* event function override        */
3505     {273, 245, 292, 265},                    /* widget size                    */
3506     &climate_screen_right_small_fan_button_define, /* next widget definition   */
3507     GX_NULL,                                 /* no child widgets               */
3508     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_left_small_fan_button), /* control block */
3509     (void *) &climate_screen_left_small_fan_button_properties /* extended properties */
3510 };
3511 
3512 GX_CONST GX_STUDIO_WIDGET climate_screen_left_fan_button_define =
3513 {
3514     "left_fan_button",
3515     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
3516     ID_LEFT_FAN_BUTTON,                      /* widget id                      */
3517     #if defined(GX_WIDGET_USER_DATA)
3518     0,                                       /* user data                      */
3519     #endif
3520     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
3521     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3522     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
3523     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
3524     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
3525     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3526     gx_studio_pixelmap_button_create,        /* create function                */
3527     GX_NULL,                                 /* drawing function override      */
3528     GX_NULL,                                 /* event function override        */
3529     {267, 166, 298, 199},                    /* widget size                    */
3530     &climate_screen_left_small_fan_button_define, /* next widget definition    */
3531     GX_NULL,                                 /* no child widgets               */
3532     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_left_fan_button), /* control block */
3533     (void *) &climate_screen_left_fan_button_properties /* extended properties */
3534 };
3535 
3536 GX_CONST GX_STUDIO_WIDGET climate_screen_right_fan_mode_define =
3537 {
3538     "right_fan_mode",
3539     GX_TYPE_PROMPT,                          /* widget type                    */
3540     GX_ID_NONE,                              /* widget id                      */
3541     #if defined(GX_WIDGET_USER_DATA)
3542     0,                                       /* user data                      */
3543     #endif
3544     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3545     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3546     sizeof(GX_PROMPT),                       /* control block size             */
3547     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3548     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3549     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3550     gx_studio_prompt_create,                 /* create function                */
3551     GX_NULL,                                 /* drawing function override      */
3552     GX_NULL,                                 /* event function override        */
3553     {330, 212, 386, 232},                    /* widget size                    */
3554     &climate_screen_left_fan_button_define,  /* next widget definition         */
3555     GX_NULL,                                 /* no child widgets               */
3556     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_right_fan_mode), /* control block */
3557     (void *) &climate_screen_right_fan_mode_properties /* extended properties  */
3558 };
3559 
3560 GX_CONST GX_STUDIO_WIDGET climate_screen_left_fan_mode_define =
3561 {
3562     "left_fan_mode",
3563     GX_TYPE_PROMPT,                          /* widget type                    */
3564     GX_ID_NONE,                              /* widget id                      */
3565     #if defined(GX_WIDGET_USER_DATA)
3566     0,                                       /* user data                      */
3567     #endif
3568     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
3569     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3570     sizeof(GX_PROMPT),                       /* control block size             */
3571     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
3572     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
3573     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3574     gx_studio_prompt_create,                 /* create function                */
3575     GX_NULL,                                 /* drawing function override      */
3576     GX_NULL,                                 /* event function override        */
3577     {254, 212, 310, 232},                    /* widget size                    */
3578     &climate_screen_right_fan_mode_define,   /* next widget definition         */
3579     GX_NULL,                                 /* no child widgets               */
3580     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_left_fan_mode), /* control block */
3581     (void *) &climate_screen_left_fan_mode_properties /* extended properties   */
3582 };
3583 
3584 GX_CONST GX_STUDIO_WIDGET climate_screen_right_seat_define =
3585 {
3586     "right_seat",
3587     GX_TYPE_ICON,                            /* widget type                    */
3588     GX_ID_NONE,                              /* widget id                      */
3589     #if defined(GX_WIDGET_USER_DATA)
3590     0,                                       /* user data                      */
3591     #endif
3592     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3593     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3594     sizeof(GX_ICON),                         /* control block size             */
3595     GX_COLOR_ID_CANVAS,                      /* normal color id                */
3596     GX_COLOR_ID_CANVAS,                      /* selected color id              */
3597     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
3598     gx_studio_icon_create,                   /* create function                */
3599     GX_NULL,                                 /* drawing function override      */
3600     GX_NULL,                                 /* event function override        */
3601     {430, 137, 549, 298},                    /* widget size                    */
3602     &climate_screen_left_fan_mode_define,    /* next widget definition         */
3603     GX_NULL,                                 /* no child widgets               */
3604     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_right_seat), /* control block */
3605     (void *) &climate_screen_right_seat_properties /* extended properties      */
3606 };
3607 
3608 GX_CONST GX_STUDIO_WIDGET climate_screen_center_line_define =
3609 {
3610     "center_line",
3611     GX_TYPE_ICON,                            /* widget type                    */
3612     GX_ID_NONE,                              /* widget id                      */
3613     #if defined(GX_WIDGET_USER_DATA)
3614     0,                                       /* user data                      */
3615     #endif
3616     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3617     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3618     sizeof(GX_ICON),                         /* control block size             */
3619     GX_COLOR_ID_CANVAS,                      /* normal color id                */
3620     GX_COLOR_ID_CANVAS,                      /* selected color id              */
3621     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
3622     gx_studio_icon_create,                   /* create function                */
3623     GX_NULL,                                 /* drawing function override      */
3624     GX_NULL,                                 /* event function override        */
3625     {318, 156, 319, 289},                    /* widget size                    */
3626     &climate_screen_right_seat_define,       /* next widget definition         */
3627     GX_NULL,                                 /* no child widgets               */
3628     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_center_line), /* control block */
3629     (void *) &climate_screen_center_line_properties /* extended properties     */
3630 };
3631 
3632 GX_CONST GX_STUDIO_WIDGET climate_screen_right_lines_define =
3633 {
3634     "right_lines",
3635     GX_TYPE_ICON,                            /* widget type                    */
3636     GX_ID_NONE,                              /* widget id                      */
3637     #if defined(GX_WIDGET_USER_DATA)
3638     0,                                       /* user data                      */
3639     #endif
3640     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3641     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3642     sizeof(GX_ICON),                         /* control block size             */
3643     GX_COLOR_ID_CANVAS,                      /* normal color id                */
3644     GX_COLOR_ID_CANVAS,                      /* selected color id              */
3645     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
3646     gx_studio_icon_create,                   /* create function                */
3647     GX_NULL,                                 /* drawing function override      */
3648     GX_NULL,                                 /* event function override        */
3649     {393, 127, 449, 317},                    /* widget size                    */
3650     &climate_screen_center_line_define,      /* next widget definition         */
3651     &climate_screen_pixelmap_button_1_define, /* child widget definition       */
3652     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_right_lines), /* control block */
3653     (void *) &climate_screen_right_lines_properties /* extended properties     */
3654 };
3655 
3656 GX_CONST GX_STUDIO_WIDGET climate_screen_left_lines_icon_define =
3657 {
3658     "left_lines_icon",
3659     GX_TYPE_ICON,                            /* widget type                    */
3660     GX_ID_NONE,                              /* widget id                      */
3661     #if defined(GX_WIDGET_USER_DATA)
3662     0,                                       /* user data                      */
3663     #endif
3664     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
3665     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3666     sizeof(GX_ICON),                         /* control block size             */
3667     GX_COLOR_ID_CANVAS,                      /* normal color id                */
3668     GX_COLOR_ID_CANVAS,                      /* selected color id              */
3669     GX_COLOR_ID_CANVAS,                      /* disabled color id              */
3670     gx_studio_icon_create,                   /* create function                */
3671     GX_NULL,                                 /* drawing function override      */
3672     GX_NULL,                                 /* event function override        */
3673     {188, 127, 244, 317},                    /* widget size                    */
3674     &climate_screen_right_lines_define,      /* next widget definition         */
3675     &climate_screen_pixelmap_button_3_define, /* child widget definition       */
3676     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_left_lines_icon), /* control block */
3677     (void *) &climate_screen_left_lines_icon_properties /* extended properties */
3678 };
3679 
3680 GX_CONST GX_STUDIO_WIDGET climate_screen_left_progress_bar_win_define =
3681 {
3682     "left_progress_bar_win",
3683     GX_TYPE_WINDOW,                          /* widget type                    */
3684     GX_ID_NONE,                              /* widget id                      */
3685     #if defined(GX_WIDGET_USER_DATA)
3686     0,                                       /* user data                      */
3687     #endif
3688     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
3689     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3690     sizeof(GX_WINDOW),                       /* control block size             */
3691     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
3692     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
3693     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3694     gx_studio_window_create,                 /* create function                */
3695     GX_NULL,                                 /* drawing function override      */
3696     GX_NULL,                                 /* event function override        */
3697     {35, 126, 88, 309},                      /* widget size                    */
3698     &climate_screen_left_lines_icon_define,  /* next widget definition         */
3699     &climate_screen_left_progress_bar_bg_define, /* child widget definition    */
3700     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_left_progress_bar_win), /* control block */
3701     (void *) &climate_screen_left_progress_bar_win_properties /* extended properties */
3702 };
3703 
3704 GX_CONST GX_STUDIO_WIDGET climate_screen_right_progress_bar_win_define =
3705 {
3706     "right_progress_bar_win",
3707     GX_TYPE_WINDOW,                          /* widget type                    */
3708     GX_ID_NONE,                              /* widget id                      */
3709     #if defined(GX_WIDGET_USER_DATA)
3710     0,                                       /* user data                      */
3711     #endif
3712     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
3713     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3714     sizeof(GX_WINDOW),                       /* control block size             */
3715     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
3716     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
3717     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3718     gx_studio_window_create,                 /* create function                */
3719     GX_NULL,                                 /* drawing function override      */
3720     GX_NULL,                                 /* event function override        */
3721     {553, 126, 601, 309},                    /* widget size                    */
3722     &climate_screen_left_progress_bar_win_define, /* next widget definition    */
3723     &climate_screen_right_progress_bar_bg_define, /* child widget definition   */
3724     offsetof(CLIMATE_SCREEN_CONTROL_BLOCK, climate_screen_right_progress_bar_win), /* control block */
3725     (void *) &climate_screen_right_progress_bar_win_properties /* extended properties */
3726 };
3727 
3728 GX_ANIMATION_INFO climate_screen_animation_1 = {
3729     (GX_WIDGET *) &climate_screen.climate_screen_left_progress_bar_win,
3730     (GX_WIDGET *) &climate_screen,
3731     GX_NULL,
3732     GX_ANIMATION_TRANSLATE, ID_ANI_SLIDE_IN_PROGRESS_BAR_WIN, 0, 1,
3733     {0, 126}, {35, 126}, 255, 255, 20
3734 };
3735 
3736 
3737 GX_ANIMATION_INFO climate_screen_animation_2 = {
3738     (GX_WIDGET *) &climate_screen.climate_screen_right_progress_bar_win,
3739     (GX_WIDGET *) &climate_screen,
3740     GX_NULL,
3741     GX_ANIMATION_TRANSLATE, 0, 0, 1,
3742     {586, 126}, {553, 126}, 255, 255, 20
3743 };
3744 
3745 
3746 GX_ANIMATION_INFO climate_screen_animation_3 = {
3747     (GX_WIDGET *) &climate_screen.climate_screen_left_warmer_icon_button,
3748     (GX_WIDGET *) &climate_screen,
3749     GX_NULL,
3750     GX_ANIMATION_TRANSLATE, 0, 0, 1,
3751     {134, 310}, {134, 265}, 255, 255, 10
3752 };
3753 
3754 
3755 GX_ANIMATION_INFO climate_screen_animation_4 = {
3756     (GX_WIDGET *) &climate_screen.climate_screen_right_warmer_icon_button,
3757     (GX_WIDGET *) &climate_screen,
3758     GX_NULL,
3759     GX_ANIMATION_TRANSLATE, 0, 0, 1,
3760     {459, 310}, {459, 264}, 255, 255, 10
3761 };
3762 
3763 
3764 GX_STUDIO_ACTION climate_screen_on_gx_event_showactions[5] = {
3765     {GX_ACTION_TYPE_ANIMATION, 0, &climate_screen, &climate_screen.climate_screen_left_progress_bar_win, &climate_screen_animation_1},
3766     {GX_ACTION_TYPE_ANIMATION, 0, &climate_screen, &climate_screen.climate_screen_right_progress_bar_win, &climate_screen_animation_2},
3767     {GX_ACTION_TYPE_DETACH, 0, &climate_screen, &climate_screen.climate_screen_left_warmer_icon_button, GX_NULL},
3768     {GX_ACTION_TYPE_DETACH, 0, &climate_screen, &climate_screen.climate_screen_right_warmer_icon_button, GX_NULL},
3769     {0, 0, GX_NULL, GX_NULL, GX_NULL}
3770 };
3771 
3772 
3773 GX_STUDIO_ACTION climate_screen_on_gx_event_animation_complete_id_ani_slide_in_progress_bar_win_actions[3] = {
3774     {GX_ACTION_TYPE_ANIMATION, 0, &climate_screen, &climate_screen.climate_screen_left_warmer_icon_button, &climate_screen_animation_3},
3775     {GX_ACTION_TYPE_ANIMATION, 0, &climate_screen, &climate_screen.climate_screen_right_warmer_icon_button, &climate_screen_animation_4},
3776     {0, 0, GX_NULL, GX_NULL, GX_NULL}
3777 };
3778 
3779 static GX_STUDIO_EVENT_ENTRY gx_studio_climate_screen_event_table[] = {
3780     { GX_EVENT_SHOW, 0, climate_screen_on_gx_event_showactions},
3781     { GX_EVENT_ANIMATION_COMPLETE, ID_ANI_SLIDE_IN_PROGRESS_BAR_WIN, climate_screen_on_gx_event_animation_complete_id_ani_slide_in_progress_bar_win_actions},
3782     {0, 0, GX_NULL}
3783 };
3784 
3785 GX_STUDIO_EVENT_PROCESS climate_screen_event_chain = {gx_studio_climate_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))climate_screen_event_process};
gx_studio_climate_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)3786 static UINT gx_studio_climate_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
3787 {
3788     return (gx_studio_auto_event_handler(target, event_ptr, &climate_screen_event_chain));
3789 }
3790 
3791 
3792 GX_CONST GX_STUDIO_WIDGET climate_screen_define =
3793 {
3794     "climate_screen",
3795     GX_TYPE_TEMPLATE,                        /* widget type                    */
3796     ID_CLIMATE_SCREEN,                       /* widget id                      */
3797     #if defined(GX_WIDGET_USER_DATA)
3798     0,                                       /* user data                      */
3799     #endif
3800     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
3801     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
3802     sizeof(CLIMATE_SCREEN_CONTROL_BLOCK),    /* control block size             */
3803     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
3804     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
3805     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
3806     gx_studio_template_create,               /* create function                */
3807     GX_NULL,                                 /* drawing function override      */
3808     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_climate_screen_event_process, /* event function override */
3809     {0, 0, 639, 479},                        /* widget size                    */
3810     GX_NULL,                                 /* next widget                    */
3811     &climate_screen_right_progress_bar_win_define, /* child widget             */
3812     0,                                       /* control block                  */
3813     (void *) &climate_screen_properties      /* extended properties            */
3814 };
3815 GX_TEMPLATE_PROPERTIES vehicle_screen_properties =
3816 {
3817     &screen_base_define,                     /* base info                      */
3818     gx_studio_template_create,               /* base create function           */
3819     {0, 0, 639, 479}                         /* widget size                    */
3820 };
3821 GX_PIXELMAP_BUTTON_PROPERTIES vehicle_screen_mode_eco_btn_properties =
3822 {
3823     GX_PIXELMAP_ID_V_MODE_BTN,               /* normal pixelmap id             */
3824     GX_PIXELMAP_ID_V_MODE_BTN_ACTIVE,        /* selected pixelmap id           */
3825     0                                        /* disabled pixelmap id           */
3826 };
3827 GX_ICON_PROPERTIES vehicle_screen_icon_6_properties =
3828 {
3829     GX_PIXELMAP_ID_V_MODE_BTN_ICON_ECO,      /* normal pixelmap id             */
3830     0                                        /* selected pixelmap id           */
3831 };
3832 GX_PROMPT_PROPERTIES vehicle_screen_prompt_6_properties =
3833 {
3834     GX_STRING_ID_ECO,                        /* string id                      */
3835     GX_FONT_ID_PROMPT,                       /* font id                        */
3836     GX_COLOR_ID_WHITE,                       /* normal text color              */
3837     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
3838     GX_COLOR_ID_DISABLED_TEXT                /* disabled text color            */
3839 };
3840 GX_PIXELMAP_BUTTON_PROPERTIES vehicle_screen_mode_comfort_btn_properties =
3841 {
3842     GX_PIXELMAP_ID_V_MODE_BTN,               /* normal pixelmap id             */
3843     GX_PIXELMAP_ID_V_MODE_BTN_ACTIVE,        /* selected pixelmap id           */
3844     0                                        /* disabled pixelmap id           */
3845 };
3846 GX_ICON_PROPERTIES vehicle_screen_icon_properties =
3847 {
3848     GX_PIXELMAP_ID_V_MODE_BTN_ICON_COMFORT,  /* normal pixelmap id             */
3849     0                                        /* selected pixelmap id           */
3850 };
3851 GX_PROMPT_PROPERTIES vehicle_screen_prompt_properties =
3852 {
3853     GX_STRING_ID_COMFORT,                    /* string id                      */
3854     GX_FONT_ID_PROMPT,                       /* font id                        */
3855     GX_COLOR_ID_WHITE,                       /* normal text color              */
3856     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
3857     GX_COLOR_ID_DISABLED_TEXT                /* disabled text color            */
3858 };
3859 GX_PIXELMAP_BUTTON_PROPERTIES vehicle_screen_mode_sport_btn_properties =
3860 {
3861     GX_PIXELMAP_ID_V_MODE_BTN,               /* normal pixelmap id             */
3862     GX_PIXELMAP_ID_V_MODE_BTN_ACTIVE,        /* selected pixelmap id           */
3863     0                                        /* disabled pixelmap id           */
3864 };
3865 GX_ICON_PROPERTIES vehicle_screen_icon_1_properties =
3866 {
3867     GX_PIXELMAP_ID_V_MODE_BTN_ICON_SPORT,    /* normal pixelmap id             */
3868     0                                        /* selected pixelmap id           */
3869 };
3870 GX_PROMPT_PROPERTIES vehicle_screen_prompt_1_properties =
3871 {
3872     GX_STRING_ID_SPORT,                      /* string id                      */
3873     GX_FONT_ID_PROMPT,                       /* font id                        */
3874     GX_COLOR_ID_WHITE,                       /* normal text color              */
3875     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
3876     GX_COLOR_ID_DISABLED_TEXT                /* disabled text color            */
3877 };
3878 GX_PROMPT_PROPERTIES vehicle_screen_prompt_2_properties =
3879 {
3880     GX_STRING_ID_STRING_100,                 /* string id                      */
3881     GX_FONT_ID_PROMPT,                       /* font id                        */
3882     GX_COLOR_ID_WHITE,                       /* normal text color              */
3883     GX_COLOR_ID_WHITE,                       /* selected text color            */
3884     GX_COLOR_ID_WHITE                        /* disabled text color            */
3885 };
3886 GX_PROMPT_PROPERTIES vehicle_screen_prompt_3_properties =
3887 {
3888     GX_STRING_ID_STRING_101,                 /* string id                      */
3889     GX_FONT_ID_PROMPT,                       /* font id                        */
3890     GX_COLOR_ID_WHITE,                       /* normal text color              */
3891     GX_COLOR_ID_WHITE,                       /* selected text color            */
3892     GX_COLOR_ID_WHITE                        /* disabled text color            */
3893 };
3894 GX_ICON_PROPERTIES vehicle_screen_car_icon_properties =
3895 {
3896     GX_PIXELMAP_ID_V_CAR_WITH_CHECK_MARK,    /* normal pixelmap id             */
3897     0                                        /* selected pixelmap id           */
3898 };
3899 GX_SPRITE_FRAME vehicle_screen_light_sprite_left_frame_list[11] =
3900 {
3901     {
3902         GX_PIXELMAP_ID_LLIGHT01,             /* pixelmap id                    */
3903         0,                                   /* x offset                       */
3904         0,                                   /* y offset                       */
3905         0,                                   /* frame delay                    */
3906         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
3907         255                                  /* alpha value                    */
3908     },
3909     {
3910         GX_PIXELMAP_ID_LLIGHT02,             /* pixelmap id                    */
3911         0,                                   /* x offset                       */
3912         0,                                   /* y offset                       */
3913         5,                                   /* frame delay                    */
3914         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
3915         255                                  /* alpha value                    */
3916     },
3917     {
3918         GX_PIXELMAP_ID_LLIGHT03,             /* pixelmap id                    */
3919         0,                                   /* x offset                       */
3920         0,                                   /* y offset                       */
3921         5,                                   /* frame delay                    */
3922         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
3923         255                                  /* alpha value                    */
3924     },
3925     {
3926         GX_PIXELMAP_ID_LLIGHT04,             /* pixelmap id                    */
3927         0,                                   /* x offset                       */
3928         0,                                   /* y offset                       */
3929         5,                                   /* frame delay                    */
3930         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
3931         255                                  /* alpha value                    */
3932     },
3933     {
3934         GX_PIXELMAP_ID_LLIGHT05,             /* pixelmap id                    */
3935         0,                                   /* x offset                       */
3936         0,                                   /* y offset                       */
3937         5,                                   /* frame delay                    */
3938         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
3939         255                                  /* alpha value                    */
3940     },
3941     {
3942         GX_PIXELMAP_ID_LLIGHT06,             /* pixelmap id                    */
3943         0,                                   /* x offset                       */
3944         0,                                   /* y offset                       */
3945         5,                                   /* frame delay                    */
3946         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
3947         255                                  /* alpha value                    */
3948     },
3949     {
3950         GX_PIXELMAP_ID_LLIGHT07,             /* pixelmap id                    */
3951         0,                                   /* x offset                       */
3952         0,                                   /* y offset                       */
3953         5,                                   /* frame delay                    */
3954         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
3955         255                                  /* alpha value                    */
3956     },
3957     {
3958         GX_PIXELMAP_ID_LLIGHT08,             /* pixelmap id                    */
3959         0,                                   /* x offset                       */
3960         0,                                   /* y offset                       */
3961         5,                                   /* frame delay                    */
3962         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
3963         255                                  /* alpha value                    */
3964     },
3965     {
3966         GX_PIXELMAP_ID_LLIGHT09,             /* pixelmap id                    */
3967         0,                                   /* x offset                       */
3968         0,                                   /* y offset                       */
3969         5,                                   /* frame delay                    */
3970         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
3971         255                                  /* alpha value                    */
3972     },
3973     {
3974         GX_PIXELMAP_ID_LLIGHT10,             /* pixelmap id                    */
3975         0,                                   /* x offset                       */
3976         0,                                   /* y offset                       */
3977         5,                                   /* frame delay                    */
3978         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
3979         255                                  /* alpha value                    */
3980     },
3981     {
3982         0,                                   /* pixelmap id                    */
3983         0,                                   /* x offset                       */
3984         0,                                   /* y offset                       */
3985         5,                                   /* frame delay                    */
3986         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
3987         255                                  /* alpha value                    */
3988     }
3989 };
3990 
3991 GX_SPRITE_PROPERTIES vehicle_screen_light_sprite_left_properties =
3992 {
3993     vehicle_screen_light_sprite_left_frame_list,     /* address of frame list  */
3994     11,                                      /* frame count                    */
3995 };
3996 GX_SPRITE_FRAME vehicle_screen_light_sprite_right_frame_list[11] =
3997 {
3998     {
3999         GX_PIXELMAP_ID_LLIGHT01,             /* pixelmap id                    */
4000         0,                                   /* x offset                       */
4001         0,                                   /* y offset                       */
4002         0,                                   /* frame delay                    */
4003         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
4004         255                                  /* alpha value                    */
4005     },
4006     {
4007         GX_PIXELMAP_ID_LLIGHT02,             /* pixelmap id                    */
4008         0,                                   /* x offset                       */
4009         0,                                   /* y offset                       */
4010         5,                                   /* frame delay                    */
4011         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
4012         255                                  /* alpha value                    */
4013     },
4014     {
4015         GX_PIXELMAP_ID_LLIGHT03,             /* pixelmap id                    */
4016         0,                                   /* x offset                       */
4017         0,                                   /* y offset                       */
4018         5,                                   /* frame delay                    */
4019         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
4020         255                                  /* alpha value                    */
4021     },
4022     {
4023         GX_PIXELMAP_ID_LLIGHT04,             /* pixelmap id                    */
4024         0,                                   /* x offset                       */
4025         0,                                   /* y offset                       */
4026         5,                                   /* frame delay                    */
4027         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
4028         255                                  /* alpha value                    */
4029     },
4030     {
4031         GX_PIXELMAP_ID_LLIGHT05,             /* pixelmap id                    */
4032         0,                                   /* x offset                       */
4033         0,                                   /* y offset                       */
4034         5,                                   /* frame delay                    */
4035         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
4036         255                                  /* alpha value                    */
4037     },
4038     {
4039         GX_PIXELMAP_ID_LLIGHT06,             /* pixelmap id                    */
4040         0,                                   /* x offset                       */
4041         0,                                   /* y offset                       */
4042         5,                                   /* frame delay                    */
4043         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
4044         255                                  /* alpha value                    */
4045     },
4046     {
4047         GX_PIXELMAP_ID_LLIGHT07,             /* pixelmap id                    */
4048         0,                                   /* x offset                       */
4049         0,                                   /* y offset                       */
4050         5,                                   /* frame delay                    */
4051         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
4052         255                                  /* alpha value                    */
4053     },
4054     {
4055         GX_PIXELMAP_ID_LLIGHT08,             /* pixelmap id                    */
4056         0,                                   /* x offset                       */
4057         0,                                   /* y offset                       */
4058         5,                                   /* frame delay                    */
4059         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
4060         255                                  /* alpha value                    */
4061     },
4062     {
4063         GX_PIXELMAP_ID_LLIGHT09,             /* pixelmap id                    */
4064         0,                                   /* x offset                       */
4065         0,                                   /* y offset                       */
4066         5,                                   /* frame delay                    */
4067         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
4068         255                                  /* alpha value                    */
4069     },
4070     {
4071         GX_PIXELMAP_ID_LLIGHT10,             /* pixelmap id                    */
4072         0,                                   /* x offset                       */
4073         0,                                   /* y offset                       */
4074         5,                                   /* frame delay                    */
4075         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
4076         255                                  /* alpha value                    */
4077     },
4078     {
4079         0,                                   /* pixelmap id                    */
4080         0,                                   /* x offset                       */
4081         0,                                   /* y offset                       */
4082         5,                                   /* frame delay                    */
4083         GX_SPRITE_BACKGROUND_NO_ACTION,      /* background operation           */
4084         255                                  /* alpha value                    */
4085     }
4086 };
4087 
4088 GX_SPRITE_PROPERTIES vehicle_screen_light_sprite_right_properties =
4089 {
4090     vehicle_screen_light_sprite_right_frame_list,     /* address of frame list */
4091     11,                                      /* frame count                    */
4092 };
4093 GX_ICON_PROPERTIES vehicle_screen_icon_8_properties =
4094 {
4095     GX_PIXELMAP_ID_V_VERTICAL_LINE,          /* normal pixelmap id             */
4096     0                                        /* selected pixelmap id           */
4097 };
4098 GX_ICON_PROPERTIES vehicle_screen_icon_9_properties =
4099 {
4100     GX_PIXELMAP_ID_V_ICON_BATTERY,           /* normal pixelmap id             */
4101     0                                        /* selected pixelmap id           */
4102 };
4103 GX_ICON_PROPERTIES vehicle_screen_icon_2_properties =
4104 {
4105     GX_PIXELMAP_ID_V_ICON_WINDSHILED,        /* normal pixelmap id             */
4106     0                                        /* selected pixelmap id           */
4107 };
4108 GX_ICON_PROPERTIES vehicle_screen_icon_3_properties =
4109 {
4110     GX_PIXELMAP_ID_V_ICON_LIGHTS,            /* normal pixelmap id             */
4111     0                                        /* selected pixelmap id           */
4112 };
4113 GX_ICON_PROPERTIES vehicle_screen_icon_4_properties =
4114 {
4115     GX_PIXELMAP_ID_V_ICON_AIR_FILTER,        /* normal pixelmap id             */
4116     0                                        /* selected pixelmap id           */
4117 };
4118 GX_ICON_PROPERTIES vehicle_screen_icon_5_properties =
4119 {
4120     GX_PIXELMAP_ID_V_ICON_BRAKE,             /* normal pixelmap id             */
4121     0                                        /* selected pixelmap id           */
4122 };
4123 GX_ICON_PROPERTIES vehicle_screen_icon_10_properties =
4124 {
4125     GX_PIXELMAP_ID_V_ICON_TIRE,              /* normal pixelmap id             */
4126     0                                        /* selected pixelmap id           */
4127 };
4128 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_battery_usage_properties =
4129 {
4130     0,                                       /* string id                      */
4131     GX_FONT_ID_PROMPT,                       /* font id                        */
4132     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4133     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4134     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4135     GX_NULL,                                 /* format function                */
4136     86                                       /* numeric prompt value           */
4137 };
4138 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_miles_properties =
4139 {
4140     0,                                       /* string id                      */
4141     GX_FONT_ID_PROMPT,                       /* font id                        */
4142     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4143     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4144     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4145     GX_NULL,                                 /* format function                */
4146     382                                      /* numeric prompt value           */
4147 };
4148 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_windshield_washer_level_properties =
4149 {
4150     0,                                       /* string id                      */
4151     GX_FONT_ID_PROMPT,                       /* font id                        */
4152     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4153     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4154     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4155     GX_NULL,                                 /* format function                */
4156     54                                       /* numeric prompt value           */
4157 };
4158 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_lights_bulbs_properties =
4159 {
4160     0,                                       /* string id                      */
4161     GX_FONT_ID_PROMPT,                       /* font id                        */
4162     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4163     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4164     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4165     GX_NULL,                                 /* format function                */
4166     77                                       /* numeric prompt value           */
4167 };
4168 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_air_filter_usage_properties =
4169 {
4170     0,                                       /* string id                      */
4171     GX_FONT_ID_PROMPT,                       /* font id                        */
4172     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4173     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4174     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4175     GX_NULL,                                 /* format function                */
4176     73                                       /* numeric prompt value           */
4177 };
4178 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_front_left_brake_pad_properties =
4179 {
4180     0,                                       /* string id                      */
4181     GX_FONT_ID_PROMPT,                       /* font id                        */
4182     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4183     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4184     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4185     GX_NULL,                                 /* format function                */
4186     61                                       /* numeric prompt value           */
4187 };
4188 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_front_right_brake_pad_properties =
4189 {
4190     0,                                       /* string id                      */
4191     GX_FONT_ID_PROMPT,                       /* font id                        */
4192     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4193     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4194     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4195     GX_NULL,                                 /* format function                */
4196     65                                       /* numeric prompt value           */
4197 };
4198 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_rear_left_brake_pad_properties =
4199 {
4200     0,                                       /* string id                      */
4201     GX_FONT_ID_PROMPT,                       /* font id                        */
4202     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4203     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4204     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4205     GX_NULL,                                 /* format function                */
4206     71                                       /* numeric prompt value           */
4207 };
4208 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_rear_right_brake_pad_properties =
4209 {
4210     0,                                       /* string id                      */
4211     GX_FONT_ID_PROMPT,                       /* font id                        */
4212     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4213     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4214     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4215     GX_NULL,                                 /* format function                */
4216     75                                       /* numeric prompt value           */
4217 };
4218 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_front_left_tire_pressure_properties =
4219 {
4220     0,                                       /* string id                      */
4221     GX_FONT_ID_PROMPT,                       /* font id                        */
4222     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4223     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4224     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4225     GX_NULL,                                 /* format function                */
4226     35                                       /* numeric prompt value           */
4227 };
4228 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_front_right_tire_pressure_properties =
4229 {
4230     0,                                       /* string id                      */
4231     GX_FONT_ID_PROMPT,                       /* font id                        */
4232     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4233     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4234     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4235     GX_NULL,                                 /* format function                */
4236     35                                       /* numeric prompt value           */
4237 };
4238 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_rear_left_tire_pressure_properties =
4239 {
4240     0,                                       /* string id                      */
4241     GX_FONT_ID_PROMPT,                       /* font id                        */
4242     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4243     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4244     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4245     GX_NULL,                                 /* format function                */
4246     38                                       /* numeric prompt value           */
4247 };
4248 GX_NUMERIC_PROMPT_PROPERTIES vehicle_screen_rear_right_tire_pressure_properties =
4249 {
4250     0,                                       /* string id                      */
4251     GX_FONT_ID_PROMPT,                       /* font id                        */
4252     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4253     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4254     GX_COLOR_ID_LIGHT_GREEN,                 /* disabled text color            */
4255     GX_NULL,                                 /* format function                */
4256     39                                       /* numeric prompt value           */
4257 };
4258 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_properties =
4259 {
4260     GX_STRING_ID_STRING_30,                  /* string id                      */
4261     GX_FONT_ID_SMALL,                        /* font id                        */
4262     GX_COLOR_ID_WHITE,                       /* normal text color              */
4263     GX_COLOR_ID_WHITE,                       /* selected text color            */
4264     GX_COLOR_ID_WHITE                        /* disabled text color            */
4265 };
4266 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_1_properties =
4267 {
4268     GX_STRING_ID_STRING_103,                 /* string id                      */
4269     GX_FONT_ID_SMALL,                        /* font id                        */
4270     GX_COLOR_ID_WHITE,                       /* normal text color              */
4271     GX_COLOR_ID_WHITE,                       /* selected text color            */
4272     GX_COLOR_ID_WHITE                        /* disabled text color            */
4273 };
4274 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_2_properties =
4275 {
4276     GX_STRING_ID_STRING_104,                 /* string id                      */
4277     GX_FONT_ID_SMALL,                        /* font id                        */
4278     GX_COLOR_ID_WHITE,                       /* normal text color              */
4279     GX_COLOR_ID_WHITE,                       /* selected text color            */
4280     GX_COLOR_ID_WHITE                        /* disabled text color            */
4281 };
4282 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_3_properties =
4283 {
4284     GX_STRING_ID_STRING_105,                 /* string id                      */
4285     GX_FONT_ID_SMALL,                        /* font id                        */
4286     GX_COLOR_ID_WHITE,                       /* normal text color              */
4287     GX_COLOR_ID_WHITE,                       /* selected text color            */
4288     GX_COLOR_ID_WHITE                        /* disabled text color            */
4289 };
4290 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_4_properties =
4291 {
4292     GX_STRING_ID_STRING_106,                 /* string id                      */
4293     GX_FONT_ID_SMALL,                        /* font id                        */
4294     GX_COLOR_ID_WHITE,                       /* normal text color              */
4295     GX_COLOR_ID_WHITE,                       /* selected text color            */
4296     GX_COLOR_ID_WHITE                        /* disabled text color            */
4297 };
4298 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_5_properties =
4299 {
4300     GX_STRING_ID_STRING_107,                 /* string id                      */
4301     GX_FONT_ID_SMALL,                        /* font id                        */
4302     GX_COLOR_ID_WHITE,                       /* normal text color              */
4303     GX_COLOR_ID_WHITE,                       /* selected text color            */
4304     GX_COLOR_ID_WHITE                        /* disabled text color            */
4305 };
4306 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_6_properties =
4307 {
4308     GX_STRING_ID_STRING_51,                  /* string id                      */
4309     GX_FONT_ID_PROMPT,                       /* font id                        */
4310     GX_COLOR_ID_GREEN,                       /* normal text color              */
4311     GX_COLOR_ID_GREEN,                       /* selected text color            */
4312     GX_COLOR_ID_GREEN                        /* disabled text color            */
4313 };
4314 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_7_properties =
4315 {
4316     GX_STRING_ID_STRING_51,                  /* string id                      */
4317     GX_FONT_ID_PROMPT,                       /* font id                        */
4318     GX_COLOR_ID_GREEN,                       /* normal text color              */
4319     GX_COLOR_ID_GREEN,                       /* selected text color            */
4320     GX_COLOR_ID_GREEN                        /* disabled text color            */
4321 };
4322 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_8_properties =
4323 {
4324     GX_STRING_ID_STRING_51,                  /* string id                      */
4325     GX_FONT_ID_PROMPT,                       /* font id                        */
4326     GX_COLOR_ID_GREEN,                       /* normal text color              */
4327     GX_COLOR_ID_GREEN,                       /* selected text color            */
4328     GX_COLOR_ID_GREEN                        /* disabled text color            */
4329 };
4330 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_9_properties =
4331 {
4332     GX_STRING_ID_STRING_51,                  /* string id                      */
4333     GX_FONT_ID_PROMPT,                       /* font id                        */
4334     GX_COLOR_ID_GREEN,                       /* normal text color              */
4335     GX_COLOR_ID_GREEN,                       /* selected text color            */
4336     GX_COLOR_ID_GREEN                        /* disabled text color            */
4337 };
4338 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_10_properties =
4339 {
4340     GX_STRING_ID_STRING_51,                  /* string id                      */
4341     GX_FONT_ID_PROMPT,                       /* font id                        */
4342     GX_COLOR_ID_GREEN,                       /* normal text color              */
4343     GX_COLOR_ID_GREEN,                       /* selected text color            */
4344     GX_COLOR_ID_GREEN                        /* disabled text color            */
4345 };
4346 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_11_properties =
4347 {
4348     GX_STRING_ID_STRING_50,                  /* string id                      */
4349     GX_FONT_ID_PROMPT,                       /* font id                        */
4350     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4351     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4352     GX_COLOR_ID_LIGHT_GREEN                  /* disabled text color            */
4353 };
4354 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_11_1_properties =
4355 {
4356     GX_STRING_ID_STRING_50,                  /* string id                      */
4357     GX_FONT_ID_PROMPT,                       /* font id                        */
4358     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4359     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4360     GX_COLOR_ID_LIGHT_GREEN                  /* disabled text color            */
4361 };
4362 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_11_2_properties =
4363 {
4364     GX_STRING_ID_STRING_50,                  /* string id                      */
4365     GX_FONT_ID_PROMPT,                       /* font id                        */
4366     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4367     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4368     GX_COLOR_ID_GREEN                        /* disabled text color            */
4369 };
4370 GX_PROMPT_PROPERTIES vehicle_screen_prompt_13_11_3_properties =
4371 {
4372     GX_STRING_ID_STRING_50,                  /* string id                      */
4373     GX_FONT_ID_PROMPT,                       /* font id                        */
4374     GX_COLOR_ID_LIGHT_GREEN,                 /* normal text color              */
4375     GX_COLOR_ID_LIGHT_GREEN,                 /* selected text color            */
4376     GX_COLOR_ID_LIGHT_GREEN                  /* disabled text color            */
4377 };
4378 GX_ICON_PROPERTIES vehicle_screen_icon_11_properties =
4379 {
4380     GX_PIXELMAP_ID_DOT,                      /* normal pixelmap id             */
4381     0                                        /* selected pixelmap id           */
4382 };
4383 GX_ICON_PROPERTIES vehicle_screen_icon_11_1_properties =
4384 {
4385     GX_PIXELMAP_ID_DOT,                      /* normal pixelmap id             */
4386     0                                        /* selected pixelmap id           */
4387 };
4388 
4389 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_6_define =
4390 {
4391     "prompt_6",
4392     GX_TYPE_PROMPT,                          /* widget type                    */
4393     GX_ID_NONE,                              /* widget id                      */
4394     #if defined(GX_WIDGET_USER_DATA)
4395     0,                                       /* user data                      */
4396     #endif
4397     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_DRAW_SELECTED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4398     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4399     sizeof(GX_PROMPT),                       /* control block size             */
4400     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4401     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4402     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4403     gx_studio_prompt_create,                 /* create function                */
4404     GX_NULL,                                 /* drawing function override      */
4405     GX_NULL,                                 /* event function override        */
4406     {113, 163, 139, 180},                    /* widget size                    */
4407     GX_NULL,                                 /* no next widget                 */
4408     GX_NULL,                                 /* no child widgets               */
4409     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_6), /* control block */
4410     (void *) &vehicle_screen_prompt_6_properties /* extended properties        */
4411 };
4412 
4413 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_6_define =
4414 {
4415     "icon_6",
4416     GX_TYPE_ICON,                            /* widget type                    */
4417     GX_ID_NONE,                              /* widget id                      */
4418     #if defined(GX_WIDGET_USER_DATA)
4419     0,                                       /* user data                      */
4420     #endif
4421     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_DRAW_SELECTED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
4422     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4423     sizeof(GX_ICON),                         /* control block size             */
4424     GX_COLOR_ID_WHITE,                       /* normal color id                */
4425     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
4426     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4427     gx_studio_icon_create,                   /* create function                */
4428     GX_NULL,                                 /* drawing function override      */
4429     GX_NULL,                                 /* event function override        */
4430     {113, 120, 139, 146},                    /* widget size                    */
4431     &vehicle_screen_prompt_6_define,         /* next widget definition         */
4432     GX_NULL,                                 /* no child widgets               */
4433     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon_6), /* control block */
4434     (void *) &vehicle_screen_icon_6_properties /* extended properties          */
4435 };
4436 
4437 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_define =
4438 {
4439     "prompt",
4440     GX_TYPE_PROMPT,                          /* widget type                    */
4441     GX_ID_NONE,                              /* widget id                      */
4442     #if defined(GX_WIDGET_USER_DATA)
4443     0,                                       /* user data                      */
4444     #endif
4445     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4446     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4447     sizeof(GX_PROMPT),                       /* control block size             */
4448     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4449     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4450     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4451     gx_studio_prompt_create,                 /* create function                */
4452     GX_NULL,                                 /* drawing function override      */
4453     GX_NULL,                                 /* event function override        */
4454     {161, 163, 222, 180},                    /* widget size                    */
4455     GX_NULL,                                 /* no next widget                 */
4456     GX_NULL,                                 /* no child widgets               */
4457     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt), /* control block */
4458     (void *) &vehicle_screen_prompt_properties /* extended properties          */
4459 };
4460 
4461 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_define =
4462 {
4463     "icon",
4464     GX_TYPE_ICON,                            /* widget type                    */
4465     GX_ID_NONE,                              /* widget id                      */
4466     #if defined(GX_WIDGET_USER_DATA)
4467     0,                                       /* user data                      */
4468     #endif
4469     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
4470     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4471     sizeof(GX_ICON),                         /* control block size             */
4472     GX_COLOR_ID_WHITE,                       /* normal color id                */
4473     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
4474     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4475     gx_studio_icon_create,                   /* create function                */
4476     GX_NULL,                                 /* drawing function override      */
4477     GX_NULL,                                 /* event function override        */
4478     {178, 120, 204, 146},                    /* widget size                    */
4479     &vehicle_screen_prompt_define,           /* next widget definition         */
4480     GX_NULL,                                 /* no child widgets               */
4481     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon), /* control block */
4482     (void *) &vehicle_screen_icon_properties /* extended properties            */
4483 };
4484 
4485 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_1_define =
4486 {
4487     "prompt_1",
4488     GX_TYPE_PROMPT,                          /* widget type                    */
4489     GX_ID_NONE,                              /* widget id                      */
4490     #if defined(GX_WIDGET_USER_DATA)
4491     0,                                       /* user data                      */
4492     #endif
4493     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4494     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4495     sizeof(GX_PROMPT),                       /* control block size             */
4496     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4497     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4498     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4499     gx_studio_prompt_create,                 /* create function                */
4500     GX_NULL,                                 /* drawing function override      */
4501     GX_NULL,                                 /* event function override        */
4502     {235, 163, 276, 180},                    /* widget size                    */
4503     GX_NULL,                                 /* no next widget                 */
4504     GX_NULL,                                 /* no child widgets               */
4505     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_1), /* control block */
4506     (void *) &vehicle_screen_prompt_1_properties /* extended properties        */
4507 };
4508 
4509 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_1_define =
4510 {
4511     "icon_1",
4512     GX_TYPE_ICON,                            /* widget type                    */
4513     GX_ID_NONE,                              /* widget id                      */
4514     #if defined(GX_WIDGET_USER_DATA)
4515     0,                                       /* user data                      */
4516     #endif
4517     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
4518     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4519     sizeof(GX_ICON),                         /* control block size             */
4520     GX_COLOR_ID_WHITE,                       /* normal color id                */
4521     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
4522     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4523     gx_studio_icon_create,                   /* create function                */
4524     GX_NULL,                                 /* drawing function override      */
4525     GX_NULL,                                 /* event function override        */
4526     {242, 120, 268, 146},                    /* widget size                    */
4527     &vehicle_screen_prompt_1_define,         /* next widget definition         */
4528     GX_NULL,                                 /* no child widgets               */
4529     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon_1), /* control block */
4530     (void *) &vehicle_screen_icon_1_properties /* extended properties          */
4531 };
4532 
4533 GX_CONST GX_STUDIO_WIDGET vehicle_screen_light_sprite_right_define =
4534 {
4535     "light_sprite_right",
4536     GX_TYPE_SPRITE,                          /* widget type                    */
4537     ID_LIGHT_SPRITE_RIGHT,                   /* widget id                      */
4538     #if defined(GX_WIDGET_USER_DATA)
4539     0,                                       /* user data                      */
4540     #endif
4541     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_SPRITE_AUTO,   /* style flags */
4542     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4543     sizeof(GX_SPRITE),                       /* control block size             */
4544     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4545     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4546     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4547     gx_studio_sprite_create,                 /* create function                */
4548     GX_NULL,                                 /* drawing function override      */
4549     GX_NULL,                                 /* event function override        */
4550     {209, 275, 246, 312},                    /* widget size                    */
4551     GX_NULL,                                 /* no next widget                 */
4552     GX_NULL,                                 /* no child widgets               */
4553     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_light_sprite_right), /* control block */
4554     (void *) &vehicle_screen_light_sprite_right_properties /* extended properties */
4555 };
4556 
4557 GX_CONST GX_STUDIO_WIDGET vehicle_screen_light_sprite_left_define =
4558 {
4559     "light_sprite_left",
4560     GX_TYPE_SPRITE,                          /* widget type                    */
4561     ID_LIGHT_SPRITE_LEFT,                    /* widget id                      */
4562     #if defined(GX_WIDGET_USER_DATA)
4563     0,                                       /* user data                      */
4564     #endif
4565     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_SPRITE_AUTO,   /* style flags */
4566     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4567     sizeof(GX_SPRITE),                       /* control block size             */
4568     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4569     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4570     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4571     gx_studio_sprite_create,                 /* create function                */
4572     GX_NULL,                                 /* drawing function override      */
4573     GX_NULL,                                 /* event function override        */
4574     {81, 275, 118, 312},                     /* widget size                    */
4575     &vehicle_screen_light_sprite_right_define, /* next widget definition       */
4576     GX_NULL,                                 /* no child widgets               */
4577     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_light_sprite_left), /* control block */
4578     (void *) &vehicle_screen_light_sprite_left_properties /* extended properties */
4579 };
4580 
4581 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_11_1_define =
4582 {
4583     "icon_11_1",
4584     GX_TYPE_ICON,                            /* widget type                    */
4585     GX_ID_NONE,                              /* widget id                      */
4586     #if defined(GX_WIDGET_USER_DATA)
4587     0,                                       /* user data                      */
4588     #endif
4589     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
4590     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4591     sizeof(GX_ICON),                         /* control block size             */
4592     GX_COLOR_ID_GRAY,                        /* normal color id                */
4593     GX_COLOR_ID_GRAY,                        /* selected color id              */
4594     GX_COLOR_ID_GRAY,                        /* disabled color id              */
4595     gx_studio_icon_create,                   /* create function                */
4596     GX_NULL,                                 /* drawing function override      */
4597     GX_NULL,                                 /* event function override        */
4598     {431, 319, 435, 323},                    /* widget size                    */
4599     GX_NULL,                                 /* no next widget                 */
4600     GX_NULL,                                 /* no child widgets               */
4601     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon_11_1), /* control block */
4602     (void *) &vehicle_screen_icon_11_1_properties /* extended properties       */
4603 };
4604 
4605 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_11_define =
4606 {
4607     "icon_11",
4608     GX_TYPE_ICON,                            /* widget type                    */
4609     GX_ID_NONE,                              /* widget id                      */
4610     #if defined(GX_WIDGET_USER_DATA)
4611     0,                                       /* user data                      */
4612     #endif
4613     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
4614     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4615     sizeof(GX_ICON),                         /* control block size             */
4616     GX_COLOR_ID_GRAY,                        /* normal color id                */
4617     GX_COLOR_ID_GRAY,                        /* selected color id              */
4618     GX_COLOR_ID_GRAY,                        /* disabled color id              */
4619     gx_studio_icon_create,                   /* create function                */
4620     GX_NULL,                                 /* drawing function override      */
4621     GX_NULL,                                 /* event function override        */
4622     {431, 282, 435, 286},                    /* widget size                    */
4623     &vehicle_screen_icon_11_1_define,        /* next widget definition         */
4624     GX_NULL,                                 /* no child widgets               */
4625     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon_11), /* control block */
4626     (void *) &vehicle_screen_icon_11_properties /* extended properties         */
4627 };
4628 
4629 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_11_3_define =
4630 {
4631     "prompt_13_11_3",
4632     GX_TYPE_PROMPT,                          /* widget type                    */
4633     GX_ID_NONE,                              /* widget id                      */
4634     #if defined(GX_WIDGET_USER_DATA)
4635     0,                                       /* user data                      */
4636     #endif
4637     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4638     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4639     sizeof(GX_PROMPT),                       /* control block size             */
4640     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4641     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4642     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4643     gx_studio_prompt_create,                 /* create function                */
4644     GX_NULL,                                 /* drawing function override      */
4645     GX_NULL,                                 /* event function override        */
4646     {460, 314, 465, 331},                    /* widget size                    */
4647     &vehicle_screen_icon_11_define,          /* next widget definition         */
4648     GX_NULL,                                 /* no child widgets               */
4649     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_11_3), /* control block */
4650     (void *) &vehicle_screen_prompt_13_11_3_properties /* extended properties  */
4651 };
4652 
4653 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_11_2_define =
4654 {
4655     "prompt_13_11_2",
4656     GX_TYPE_PROMPT,                          /* widget type                    */
4657     GX_ID_NONE,                              /* widget id                      */
4658     #if defined(GX_WIDGET_USER_DATA)
4659     0,                                       /* user data                      */
4660     #endif
4661     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4662     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4663     sizeof(GX_PROMPT),                       /* control block size             */
4664     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4665     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4666     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4667     gx_studio_prompt_create,                 /* create function                */
4668     GX_NULL,                                 /* drawing function override      */
4669     GX_NULL,                                 /* event function override        */
4670     {398, 314, 403, 331},                    /* widget size                    */
4671     &vehicle_screen_prompt_13_11_3_define,   /* next widget definition         */
4672     GX_NULL,                                 /* no child widgets               */
4673     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_11_2), /* control block */
4674     (void *) &vehicle_screen_prompt_13_11_2_properties /* extended properties  */
4675 };
4676 
4677 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_11_1_define =
4678 {
4679     "prompt_13_11_1",
4680     GX_TYPE_PROMPT,                          /* widget type                    */
4681     GX_ID_NONE,                              /* widget id                      */
4682     #if defined(GX_WIDGET_USER_DATA)
4683     0,                                       /* user data                      */
4684     #endif
4685     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4686     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4687     sizeof(GX_PROMPT),                       /* control block size             */
4688     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4689     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4690     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4691     gx_studio_prompt_create,                 /* create function                */
4692     GX_NULL,                                 /* drawing function override      */
4693     GX_NULL,                                 /* event function override        */
4694     {460, 276, 465, 293},                    /* widget size                    */
4695     &vehicle_screen_prompt_13_11_2_define,   /* next widget definition         */
4696     GX_NULL,                                 /* no child widgets               */
4697     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_11_1), /* control block */
4698     (void *) &vehicle_screen_prompt_13_11_1_properties /* extended properties  */
4699 };
4700 
4701 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_11_define =
4702 {
4703     "prompt_13_11",
4704     GX_TYPE_PROMPT,                          /* widget type                    */
4705     GX_ID_NONE,                              /* widget id                      */
4706     #if defined(GX_WIDGET_USER_DATA)
4707     0,                                       /* user data                      */
4708     #endif
4709     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4710     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4711     sizeof(GX_PROMPT),                       /* control block size             */
4712     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4713     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4714     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4715     gx_studio_prompt_create,                 /* create function                */
4716     GX_NULL,                                 /* drawing function override      */
4717     GX_NULL,                                 /* event function override        */
4718     {398, 276, 403, 293},                    /* widget size                    */
4719     &vehicle_screen_prompt_13_11_1_define,   /* next widget definition         */
4720     GX_NULL,                                 /* no child widgets               */
4721     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_11), /* control block */
4722     (void *) &vehicle_screen_prompt_13_11_properties /* extended properties    */
4723 };
4724 
4725 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_10_define =
4726 {
4727     "prompt_13_10",
4728     GX_TYPE_PROMPT,                          /* widget type                    */
4729     GX_ID_NONE,                              /* widget id                      */
4730     #if defined(GX_WIDGET_USER_DATA)
4731     0,                                       /* user data                      */
4732     #endif
4733     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4734     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4735     sizeof(GX_PROMPT),                       /* control block size             */
4736     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4737     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4738     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4739     gx_studio_prompt_create,                 /* create function                */
4740     GX_NULL,                                 /* drawing function override      */
4741     GX_NULL,                                 /* event function override        */
4742     {486, 276, 500, 293},                    /* widget size                    */
4743     &vehicle_screen_prompt_13_11_define,     /* next widget definition         */
4744     GX_NULL,                                 /* no child widgets               */
4745     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_10), /* control block */
4746     (void *) &vehicle_screen_prompt_13_10_properties /* extended properties    */
4747 };
4748 
4749 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_9_define =
4750 {
4751     "prompt_13_9",
4752     GX_TYPE_PROMPT,                          /* widget type                    */
4753     GX_ID_NONE,                              /* widget id                      */
4754     #if defined(GX_WIDGET_USER_DATA)
4755     0,                                       /* user data                      */
4756     #endif
4757     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4758     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4759     sizeof(GX_PROMPT),                       /* control block size             */
4760     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4761     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4762     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4763     gx_studio_prompt_create,                 /* create function                */
4764     GX_NULL,                                 /* drawing function override      */
4765     GX_NULL,                                 /* event function override        */
4766     {399, 238, 413, 255},                    /* widget size                    */
4767     &vehicle_screen_prompt_13_10_define,     /* next widget definition         */
4768     GX_NULL,                                 /* no child widgets               */
4769     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_9), /* control block */
4770     (void *) &vehicle_screen_prompt_13_9_properties /* extended properties     */
4771 };
4772 
4773 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_8_define =
4774 {
4775     "prompt_13_8",
4776     GX_TYPE_PROMPT,                          /* widget type                    */
4777     GX_ID_NONE,                              /* widget id                      */
4778     #if defined(GX_WIDGET_USER_DATA)
4779     0,                                       /* user data                      */
4780     #endif
4781     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4782     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4783     sizeof(GX_PROMPT),                       /* control block size             */
4784     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4785     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4786     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4787     gx_studio_prompt_create,                 /* create function                */
4788     GX_NULL,                                 /* drawing function override      */
4789     GX_NULL,                                 /* event function override        */
4790     {399, 200, 413, 217},                    /* widget size                    */
4791     &vehicle_screen_prompt_13_9_define,      /* next widget definition         */
4792     GX_NULL,                                 /* no child widgets               */
4793     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_8), /* control block */
4794     (void *) &vehicle_screen_prompt_13_8_properties /* extended properties     */
4795 };
4796 
4797 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_7_define =
4798 {
4799     "prompt_13_7",
4800     GX_TYPE_PROMPT,                          /* widget type                    */
4801     GX_ID_NONE,                              /* widget id                      */
4802     #if defined(GX_WIDGET_USER_DATA)
4803     0,                                       /* user data                      */
4804     #endif
4805     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4806     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4807     sizeof(GX_PROMPT),                       /* control block size             */
4808     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4809     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4810     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4811     gx_studio_prompt_create,                 /* create function                */
4812     GX_NULL,                                 /* drawing function override      */
4813     GX_NULL,                                 /* event function override        */
4814     {399, 163, 413, 180},                    /* widget size                    */
4815     &vehicle_screen_prompt_13_8_define,      /* next widget definition         */
4816     GX_NULL,                                 /* no child widgets               */
4817     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_7), /* control block */
4818     (void *) &vehicle_screen_prompt_13_7_properties /* extended properties     */
4819 };
4820 
4821 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_6_define =
4822 {
4823     "prompt_13_6",
4824     GX_TYPE_PROMPT,                          /* widget type                    */
4825     GX_ID_NONE,                              /* widget id                      */
4826     #if defined(GX_WIDGET_USER_DATA)
4827     0,                                       /* user data                      */
4828     #endif
4829     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4830     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4831     sizeof(GX_PROMPT),                       /* control block size             */
4832     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4833     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4834     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4835     gx_studio_prompt_create,                 /* create function                */
4836     GX_NULL,                                 /* drawing function override      */
4837     GX_NULL,                                 /* event function override        */
4838     {399, 125, 413, 142},                    /* widget size                    */
4839     &vehicle_screen_prompt_13_7_define,      /* next widget definition         */
4840     GX_NULL,                                 /* no child widgets               */
4841     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_6), /* control block */
4842     (void *) &vehicle_screen_prompt_13_6_properties /* extended properties     */
4843 };
4844 
4845 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_5_define =
4846 {
4847     "prompt_13_5",
4848     GX_TYPE_PROMPT,                          /* widget type                    */
4849     GX_ID_NONE,                              /* widget id                      */
4850     #if defined(GX_WIDGET_USER_DATA)
4851     0,                                       /* user data                      */
4852     #endif
4853     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4854     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4855     sizeof(GX_PROMPT),                       /* control block size             */
4856     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4857     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4858     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4859     gx_studio_prompt_create,                 /* create function                */
4860     GX_NULL,                                 /* drawing function override      */
4861     GX_NULL,                                 /* event function override        */
4862     {472, 127, 500, 139},                    /* widget size                    */
4863     &vehicle_screen_prompt_13_6_define,      /* next widget definition         */
4864     GX_NULL,                                 /* no child widgets               */
4865     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_5), /* control block */
4866     (void *) &vehicle_screen_prompt_13_5_properties /* extended properties     */
4867 };
4868 
4869 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_4_define =
4870 {
4871     "prompt_13_4",
4872     GX_TYPE_PROMPT,                          /* widget type                    */
4873     GX_ID_NONE,                              /* widget id                      */
4874     #if defined(GX_WIDGET_USER_DATA)
4875     0,                                       /* user data                      */
4876     #endif
4877     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4878     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4879     sizeof(GX_PROMPT),                       /* control block size             */
4880     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4881     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4882     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4883     gx_studio_prompt_create,                 /* create function                */
4884     GX_NULL,                                 /* drawing function override      */
4885     GX_NULL,                                 /* event function override        */
4886     {429, 165, 578, 177},                    /* widget size                    */
4887     &vehicle_screen_prompt_13_5_define,      /* next widget definition         */
4888     GX_NULL,                                 /* no child widgets               */
4889     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_4), /* control block */
4890     (void *) &vehicle_screen_prompt_13_4_properties /* extended properties     */
4891 };
4892 
4893 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_3_define =
4894 {
4895     "prompt_13_3",
4896     GX_TYPE_PROMPT,                          /* widget type                    */
4897     GX_ID_NONE,                              /* widget id                      */
4898     #if defined(GX_WIDGET_USER_DATA)
4899     0,                                       /* user data                      */
4900     #endif
4901     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4902     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4903     sizeof(GX_PROMPT),                       /* control block size             */
4904     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4905     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4906     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4907     gx_studio_prompt_create,                 /* create function                */
4908     GX_NULL,                                 /* drawing function override      */
4909     GX_NULL,                                 /* event function override        */
4910     {429, 202, 502, 214},                    /* widget size                    */
4911     &vehicle_screen_prompt_13_4_define,      /* next widget definition         */
4912     GX_NULL,                                 /* no child widgets               */
4913     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_3), /* control block */
4914     (void *) &vehicle_screen_prompt_13_3_properties /* extended properties     */
4915 };
4916 
4917 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_2_define =
4918 {
4919     "prompt_13_2",
4920     GX_TYPE_PROMPT,                          /* widget type                    */
4921     GX_ID_NONE,                              /* widget id                      */
4922     #if defined(GX_WIDGET_USER_DATA)
4923     0,                                       /* user data                      */
4924     #endif
4925     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4926     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4927     sizeof(GX_PROMPT),                       /* control block size             */
4928     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4929     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4930     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4931     gx_studio_prompt_create,                 /* create function                */
4932     GX_NULL,                                 /* drawing function override      */
4933     GX_NULL,                                 /* event function override        */
4934     {429, 240, 519, 252},                    /* widget size                    */
4935     &vehicle_screen_prompt_13_3_define,      /* next widget definition         */
4936     GX_NULL,                                 /* no child widgets               */
4937     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_2), /* control block */
4938     (void *) &vehicle_screen_prompt_13_2_properties /* extended properties     */
4939 };
4940 
4941 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_1_define =
4942 {
4943     "prompt_13_1",
4944     GX_TYPE_PROMPT,                          /* widget type                    */
4945     GX_ID_NONE,                              /* widget id                      */
4946     #if defined(GX_WIDGET_USER_DATA)
4947     0,                                       /* user data                      */
4948     #endif
4949     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4950     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4951     sizeof(GX_PROMPT),                       /* control block size             */
4952     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4953     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4954     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4955     gx_studio_prompt_create,                 /* create function                */
4956     GX_NULL,                                 /* drawing function override      */
4957     GX_NULL,                                 /* event function override        */
4958     {509, 278, 574, 290},                    /* widget size                    */
4959     &vehicle_screen_prompt_13_2_define,      /* next widget definition         */
4960     GX_NULL,                                 /* no child widgets               */
4961     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13_1), /* control block */
4962     (void *) &vehicle_screen_prompt_13_1_properties /* extended properties     */
4963 };
4964 
4965 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_13_define =
4966 {
4967     "prompt_13",
4968     GX_TYPE_PROMPT,                          /* widget type                    */
4969     GX_ID_NONE,                              /* widget id                      */
4970     #if defined(GX_WIDGET_USER_DATA)
4971     0,                                       /* user data                      */
4972     #endif
4973     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
4974     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4975     sizeof(GX_PROMPT),                       /* control block size             */
4976     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
4977     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
4978     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
4979     gx_studio_prompt_create,                 /* create function                */
4980     GX_NULL,                                 /* drawing function override      */
4981     GX_NULL,                                 /* event function override        */
4982     {492, 317, 574, 329},                    /* widget size                    */
4983     &vehicle_screen_prompt_13_1_define,      /* next widget definition         */
4984     GX_NULL,                                 /* no child widgets               */
4985     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_13), /* control block */
4986     (void *) &vehicle_screen_prompt_13_properties /* extended properties       */
4987 };
4988 
4989 GX_CONST GX_STUDIO_WIDGET vehicle_screen_rear_right_tire_pressure_define =
4990 {
4991     "rear_right_tire_pressure",
4992     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
4993     GX_ID_NONE,                              /* widget id                      */
4994     #if defined(GX_WIDGET_USER_DATA)
4995     0,                                       /* user data                      */
4996     #endif
4997     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
4998     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
4999     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5000     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5001     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5002     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5003     gx_studio_numeric_prompt_create,         /* create function                */
5004     GX_NULL,                                 /* drawing function override      */
5005     GX_NULL,                                 /* event function override        */
5006     {467, 314, 484, 331},                    /* widget size                    */
5007     &vehicle_screen_prompt_13_define,        /* next widget definition         */
5008     GX_NULL,                                 /* no child widgets               */
5009     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_rear_right_tire_pressure), /* control block */
5010     (void *) &vehicle_screen_rear_right_tire_pressure_properties /* extended properties */
5011 };
5012 
5013 GX_CONST GX_STUDIO_WIDGET vehicle_screen_rear_left_tire_pressure_define =
5014 {
5015     "rear_left_tire_pressure",
5016     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5017     GX_ID_NONE,                              /* widget id                      */
5018     #if defined(GX_WIDGET_USER_DATA)
5019     0,                                       /* user data                      */
5020     #endif
5021     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
5022     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5023     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5024     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5025     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5026     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5027     gx_studio_numeric_prompt_create,         /* create function                */
5028     GX_NULL,                                 /* drawing function override      */
5029     GX_NULL,                                 /* event function override        */
5030     {441, 314, 458, 331},                    /* widget size                    */
5031     &vehicle_screen_rear_right_tire_pressure_define, /* next widget definition */
5032     GX_NULL,                                 /* no child widgets               */
5033     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_rear_left_tire_pressure), /* control block */
5034     (void *) &vehicle_screen_rear_left_tire_pressure_properties /* extended properties */
5035 };
5036 
5037 GX_CONST GX_STUDIO_WIDGET vehicle_screen_front_right_tire_pressure_define =
5038 {
5039     "front_right_tire_pressure",
5040     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5041     GX_ID_NONE,                              /* widget id                      */
5042     #if defined(GX_WIDGET_USER_DATA)
5043     0,                                       /* user data                      */
5044     #endif
5045     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
5046     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5047     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5048     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5049     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5050     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5051     gx_studio_numeric_prompt_create,         /* create function                */
5052     GX_NULL,                                 /* drawing function override      */
5053     GX_NULL,                                 /* event function override        */
5054     {405, 314, 422, 331},                    /* widget size                    */
5055     &vehicle_screen_rear_left_tire_pressure_define, /* next widget definition  */
5056     GX_NULL,                                 /* no child widgets               */
5057     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_front_right_tire_pressure), /* control block */
5058     (void *) &vehicle_screen_front_right_tire_pressure_properties /* extended properties */
5059 };
5060 
5061 GX_CONST GX_STUDIO_WIDGET vehicle_screen_front_left_tire_pressure_define =
5062 {
5063     "front_left_tire_pressure",
5064     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5065     GX_ID_NONE,                              /* widget id                      */
5066     #if defined(GX_WIDGET_USER_DATA)
5067     0,                                       /* user data                      */
5068     #endif
5069     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
5070     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5071     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5072     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5073     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5074     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5075     gx_studio_numeric_prompt_create,         /* create function                */
5076     GX_NULL,                                 /* drawing function override      */
5077     GX_NULL,                                 /* event function override        */
5078     {379, 314, 396, 331},                    /* widget size                    */
5079     &vehicle_screen_front_right_tire_pressure_define, /* next widget definition */
5080     GX_NULL,                                 /* no child widgets               */
5081     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_front_left_tire_pressure), /* control block */
5082     (void *) &vehicle_screen_front_left_tire_pressure_properties /* extended properties */
5083 };
5084 
5085 GX_CONST GX_STUDIO_WIDGET vehicle_screen_rear_right_brake_pad_define =
5086 {
5087     "rear_right_brake_pad",
5088     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5089     GX_ID_NONE,                              /* widget id                      */
5090     #if defined(GX_WIDGET_USER_DATA)
5091     0,                                       /* user data                      */
5092     #endif
5093     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
5094     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5095     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5096     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5097     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5098     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5099     gx_studio_numeric_prompt_create,         /* create function                */
5100     GX_NULL,                                 /* drawing function override      */
5101     GX_NULL,                                 /* event function override        */
5102     {467, 276, 484, 293},                    /* widget size                    */
5103     &vehicle_screen_front_left_tire_pressure_define, /* next widget definition */
5104     GX_NULL,                                 /* no child widgets               */
5105     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_rear_right_brake_pad), /* control block */
5106     (void *) &vehicle_screen_rear_right_brake_pad_properties /* extended properties */
5107 };
5108 
5109 GX_CONST GX_STUDIO_WIDGET vehicle_screen_rear_left_brake_pad_define =
5110 {
5111     "rear_left_brake_pad",
5112     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5113     GX_ID_NONE,                              /* widget id                      */
5114     #if defined(GX_WIDGET_USER_DATA)
5115     0,                                       /* user data                      */
5116     #endif
5117     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
5118     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5119     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5120     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5121     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5122     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5123     gx_studio_numeric_prompt_create,         /* create function                */
5124     GX_NULL,                                 /* drawing function override      */
5125     GX_NULL,                                 /* event function override        */
5126     {441, 276, 458, 293},                    /* widget size                    */
5127     &vehicle_screen_rear_right_brake_pad_define, /* next widget definition     */
5128     GX_NULL,                                 /* no child widgets               */
5129     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_rear_left_brake_pad), /* control block */
5130     (void *) &vehicle_screen_rear_left_brake_pad_properties /* extended properties */
5131 };
5132 
5133 GX_CONST GX_STUDIO_WIDGET vehicle_screen_front_right_brake_pad_define =
5134 {
5135     "front_right_brake_pad",
5136     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5137     GX_ID_NONE,                              /* widget id                      */
5138     #if defined(GX_WIDGET_USER_DATA)
5139     0,                                       /* user data                      */
5140     #endif
5141     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT,   /* style flags */
5142     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5143     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5144     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5145     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5146     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5147     gx_studio_numeric_prompt_create,         /* create function                */
5148     GX_NULL,                                 /* drawing function override      */
5149     GX_NULL,                                 /* event function override        */
5150     {405, 276, 422, 293},                    /* widget size                    */
5151     &vehicle_screen_rear_left_brake_pad_define, /* next widget definition      */
5152     GX_NULL,                                 /* no child widgets               */
5153     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_front_right_brake_pad), /* control block */
5154     (void *) &vehicle_screen_front_right_brake_pad_properties /* extended properties */
5155 };
5156 
5157 GX_CONST GX_STUDIO_WIDGET vehicle_screen_front_left_brake_pad_define =
5158 {
5159     "front_left_brake_pad",
5160     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5161     GX_ID_NONE,                              /* widget id                      */
5162     #if defined(GX_WIDGET_USER_DATA)
5163     0,                                       /* user data                      */
5164     #endif
5165     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
5166     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5167     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5168     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5169     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5170     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5171     gx_studio_numeric_prompt_create,         /* create function                */
5172     GX_NULL,                                 /* drawing function override      */
5173     GX_NULL,                                 /* event function override        */
5174     {379, 276, 396, 293},                    /* widget size                    */
5175     &vehicle_screen_front_right_brake_pad_define, /* next widget definition    */
5176     GX_NULL,                                 /* no child widgets               */
5177     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_front_left_brake_pad), /* control block */
5178     (void *) &vehicle_screen_front_left_brake_pad_properties /* extended properties */
5179 };
5180 
5181 GX_CONST GX_STUDIO_WIDGET vehicle_screen_air_filter_usage_define =
5182 {
5183     "air_filter_usage",
5184     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5185     GX_ID_NONE,                              /* widget id                      */
5186     #if defined(GX_WIDGET_USER_DATA)
5187     0,                                       /* user data                      */
5188     #endif
5189     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
5190     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5191     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5192     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5193     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5194     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5195     gx_studio_numeric_prompt_create,         /* create function                */
5196     GX_NULL,                                 /* drawing function override      */
5197     GX_NULL,                                 /* event function override        */
5198     {379, 238, 396, 255},                    /* widget size                    */
5199     &vehicle_screen_front_left_brake_pad_define, /* next widget definition     */
5200     GX_NULL,                                 /* no child widgets               */
5201     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_air_filter_usage), /* control block */
5202     (void *) &vehicle_screen_air_filter_usage_properties /* extended properties */
5203 };
5204 
5205 GX_CONST GX_STUDIO_WIDGET vehicle_screen_lights_bulbs_define =
5206 {
5207     "lights_bulbs",
5208     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5209     GX_ID_NONE,                              /* widget id                      */
5210     #if defined(GX_WIDGET_USER_DATA)
5211     0,                                       /* user data                      */
5212     #endif
5213     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
5214     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5215     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5216     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5217     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5218     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5219     gx_studio_numeric_prompt_create,         /* create function                */
5220     GX_NULL,                                 /* drawing function override      */
5221     GX_NULL,                                 /* event function override        */
5222     {379, 200, 396, 217},                    /* widget size                    */
5223     &vehicle_screen_air_filter_usage_define, /* next widget definition         */
5224     GX_NULL,                                 /* no child widgets               */
5225     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_lights_bulbs), /* control block */
5226     (void *) &vehicle_screen_lights_bulbs_properties /* extended properties    */
5227 };
5228 
5229 GX_CONST GX_STUDIO_WIDGET vehicle_screen_windshield_washer_level_define =
5230 {
5231     "windshield_washer_level",
5232     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5233     GX_ID_NONE,                              /* widget id                      */
5234     #if defined(GX_WIDGET_USER_DATA)
5235     0,                                       /* user data                      */
5236     #endif
5237     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
5238     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5239     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5240     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5241     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5242     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5243     gx_studio_numeric_prompt_create,         /* create function                */
5244     GX_NULL,                                 /* drawing function override      */
5245     GX_NULL,                                 /* event function override        */
5246     {379, 163, 396, 180},                    /* widget size                    */
5247     &vehicle_screen_lights_bulbs_define,     /* next widget definition         */
5248     GX_NULL,                                 /* no child widgets               */
5249     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_windshield_washer_level), /* control block */
5250     (void *) &vehicle_screen_windshield_washer_level_properties /* extended properties */
5251 };
5252 
5253 GX_CONST GX_STUDIO_WIDGET vehicle_screen_miles_define =
5254 {
5255     "miles",
5256     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5257     GX_ID_NONE,                              /* widget id                      */
5258     #if defined(GX_WIDGET_USER_DATA)
5259     0,                                       /* user data                      */
5260     #endif
5261     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
5262     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5263     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5264     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5265     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5266     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5267     gx_studio_numeric_prompt_create,         /* create function                */
5268     GX_NULL,                                 /* drawing function override      */
5269     GX_NULL,                                 /* event function override        */
5270     {438, 125, 464, 142},                    /* widget size                    */
5271     &vehicle_screen_windshield_washer_level_define, /* next widget definition  */
5272     GX_NULL,                                 /* no child widgets               */
5273     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_miles), /* control block */
5274     (void *) &vehicle_screen_miles_properties /* extended properties           */
5275 };
5276 
5277 GX_CONST GX_STUDIO_WIDGET vehicle_screen_battery_usage_define =
5278 {
5279     "battery_usage",
5280     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5281     GX_ID_NONE,                              /* widget id                      */
5282     #if defined(GX_WIDGET_USER_DATA)
5283     0,                                       /* user data                      */
5284     #endif
5285     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT,   /* style flags */
5286     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5287     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5288     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5289     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5290     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5291     gx_studio_numeric_prompt_create,         /* create function                */
5292     GX_NULL,                                 /* drawing function override      */
5293     GX_NULL,                                 /* event function override        */
5294     {379, 125, 396, 142},                    /* widget size                    */
5295     &vehicle_screen_miles_define,            /* next widget definition         */
5296     GX_NULL,                                 /* no child widgets               */
5297     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_battery_usage), /* control block */
5298     (void *) &vehicle_screen_battery_usage_properties /* extended properties   */
5299 };
5300 
5301 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_10_define =
5302 {
5303     "icon_10",
5304     GX_TYPE_ICON,                            /* widget type                    */
5305     GX_ID_NONE,                              /* widget id                      */
5306     #if defined(GX_WIDGET_USER_DATA)
5307     0,                                       /* user data                      */
5308     #endif
5309     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
5310     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5311     sizeof(GX_ICON),                         /* control block size             */
5312     GX_COLOR_ID_WHITE,                       /* normal color id                */
5313     GX_COLOR_ID_WHITE,                       /* selected color id              */
5314     GX_COLOR_ID_WHITE,                       /* disabled color id              */
5315     gx_studio_icon_create,                   /* create function                */
5316     GX_NULL,                                 /* drawing function override      */
5317     GX_NULL,                                 /* event function override        */
5318     {343, 306, 368, 331},                    /* widget size                    */
5319     &vehicle_screen_battery_usage_define,    /* next widget definition         */
5320     GX_NULL,                                 /* no child widgets               */
5321     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon_10), /* control block */
5322     (void *) &vehicle_screen_icon_10_properties /* extended properties         */
5323 };
5324 
5325 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_5_define =
5326 {
5327     "icon_5",
5328     GX_TYPE_ICON,                            /* widget type                    */
5329     GX_ID_NONE,                              /* widget id                      */
5330     #if defined(GX_WIDGET_USER_DATA)
5331     0,                                       /* user data                      */
5332     #endif
5333     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
5334     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5335     sizeof(GX_ICON),                         /* control block size             */
5336     GX_COLOR_ID_WHITE,                       /* normal color id                */
5337     GX_COLOR_ID_WHITE,                       /* selected color id              */
5338     GX_COLOR_ID_WHITE,                       /* disabled color id              */
5339     gx_studio_icon_create,                   /* create function                */
5340     GX_NULL,                                 /* drawing function override      */
5341     GX_NULL,                                 /* event function override        */
5342     {343, 268, 368, 293},                    /* widget size                    */
5343     &vehicle_screen_icon_10_define,          /* next widget definition         */
5344     GX_NULL,                                 /* no child widgets               */
5345     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon_5), /* control block */
5346     (void *) &vehicle_screen_icon_5_properties /* extended properties          */
5347 };
5348 
5349 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_4_define =
5350 {
5351     "icon_4",
5352     GX_TYPE_ICON,                            /* widget type                    */
5353     GX_ID_NONE,                              /* widget id                      */
5354     #if defined(GX_WIDGET_USER_DATA)
5355     0,                                       /* user data                      */
5356     #endif
5357     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
5358     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5359     sizeof(GX_ICON),                         /* control block size             */
5360     GX_COLOR_ID_WHITE,                       /* normal color id                */
5361     GX_COLOR_ID_WHITE,                       /* selected color id              */
5362     GX_COLOR_ID_WHITE,                       /* disabled color id              */
5363     gx_studio_icon_create,                   /* create function                */
5364     GX_NULL,                                 /* drawing function override      */
5365     GX_NULL,                                 /* event function override        */
5366     {343, 235, 368, 251},                    /* widget size                    */
5367     &vehicle_screen_icon_5_define,           /* next widget definition         */
5368     GX_NULL,                                 /* no child widgets               */
5369     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon_4), /* control block */
5370     (void *) &vehicle_screen_icon_4_properties /* extended properties          */
5371 };
5372 
5373 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_3_define =
5374 {
5375     "icon_3",
5376     GX_TYPE_ICON,                            /* widget type                    */
5377     GX_ID_NONE,                              /* widget id                      */
5378     #if defined(GX_WIDGET_USER_DATA)
5379     0,                                       /* user data                      */
5380     #endif
5381     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
5382     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5383     sizeof(GX_ICON),                         /* control block size             */
5384     GX_COLOR_ID_WHITE,                       /* normal color id                */
5385     GX_COLOR_ID_WHITE,                       /* selected color id              */
5386     GX_COLOR_ID_WHITE,                       /* disabled color id              */
5387     gx_studio_icon_create,                   /* create function                */
5388     GX_NULL,                                 /* drawing function override      */
5389     GX_NULL,                                 /* event function override        */
5390     {343, 197, 368, 220},                    /* widget size                    */
5391     &vehicle_screen_icon_4_define,           /* next widget definition         */
5392     GX_NULL,                                 /* no child widgets               */
5393     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon_3), /* control block */
5394     (void *) &vehicle_screen_icon_3_properties /* extended properties          */
5395 };
5396 
5397 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_2_define =
5398 {
5399     "icon_2",
5400     GX_TYPE_ICON,                            /* widget type                    */
5401     GX_ID_NONE,                              /* widget id                      */
5402     #if defined(GX_WIDGET_USER_DATA)
5403     0,                                       /* user data                      */
5404     #endif
5405     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
5406     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5407     sizeof(GX_ICON),                         /* control block size             */
5408     GX_COLOR_ID_WHITE,                       /* normal color id                */
5409     GX_COLOR_ID_WHITE,                       /* selected color id              */
5410     GX_COLOR_ID_WHITE,                       /* disabled color id              */
5411     gx_studio_icon_create,                   /* create function                */
5412     GX_NULL,                                 /* drawing function override      */
5413     GX_NULL,                                 /* event function override        */
5414     {343, 158, 368, 180},                    /* widget size                    */
5415     &vehicle_screen_icon_3_define,           /* next widget definition         */
5416     GX_NULL,                                 /* no child widgets               */
5417     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon_2), /* control block */
5418     (void *) &vehicle_screen_icon_2_properties /* extended properties          */
5419 };
5420 
5421 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_9_define =
5422 {
5423     "icon_9",
5424     GX_TYPE_ICON,                            /* widget type                    */
5425     GX_ID_NONE,                              /* widget id                      */
5426     #if defined(GX_WIDGET_USER_DATA)
5427     0,                                       /* user data                      */
5428     #endif
5429     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
5430     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5431     sizeof(GX_ICON),                         /* control block size             */
5432     GX_COLOR_ID_WHITE,                       /* normal color id                */
5433     GX_COLOR_ID_WHITE,                       /* selected color id              */
5434     GX_COLOR_ID_WHITE,                       /* disabled color id              */
5435     gx_studio_icon_create,                   /* create function                */
5436     GX_NULL,                                 /* drawing function override      */
5437     GX_NULL,                                 /* event function override        */
5438     {343, 123, 368, 142},                    /* widget size                    */
5439     &vehicle_screen_icon_2_define,           /* next widget definition         */
5440     GX_NULL,                                 /* no child widgets               */
5441     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon_9), /* control block */
5442     (void *) &vehicle_screen_icon_9_properties /* extended properties          */
5443 };
5444 
5445 GX_CONST GX_STUDIO_WIDGET vehicle_screen_icon_8_define =
5446 {
5447     "icon_8",
5448     GX_TYPE_ICON,                            /* widget type                    */
5449     GX_ID_NONE,                              /* widget id                      */
5450     #if defined(GX_WIDGET_USER_DATA)
5451     0,                                       /* user data                      */
5452     #endif
5453     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
5454     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5455     sizeof(GX_ICON),                         /* control block size             */
5456     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5457     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5458     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5459     gx_studio_icon_create,                   /* create function                */
5460     GX_NULL,                                 /* drawing function override      */
5461     GX_NULL,                                 /* event function override        */
5462     {319, 123, 320, 331},                    /* widget size                    */
5463     &vehicle_screen_icon_9_define,           /* next widget definition         */
5464     GX_NULL,                                 /* no child widgets               */
5465     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_icon_8), /* control block */
5466     (void *) &vehicle_screen_icon_8_properties /* extended properties          */
5467 };
5468 
5469 GX_CONST GX_STUDIO_WIDGET vehicle_screen_car_icon_define =
5470 {
5471     "car_icon",
5472     GX_TYPE_ICON,                            /* widget type                    */
5473     GX_ID_NONE,                              /* widget id                      */
5474     #if defined(GX_WIDGET_USER_DATA)
5475     0,                                       /* user data                      */
5476     #endif
5477     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
5478     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5479     sizeof(GX_ICON),                         /* control block size             */
5480     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5481     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5482     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5483     gx_studio_icon_create,                   /* create function                */
5484     GX_NULL,                                 /* drawing function override      */
5485     GX_NULL,                                 /* event function override        */
5486     {39, 216, 280, 331},                     /* widget size                    */
5487     &vehicle_screen_icon_8_define,           /* next widget definition         */
5488     &vehicle_screen_light_sprite_left_define, /* child widget definition       */
5489     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_car_icon), /* control block */
5490     (void *) &vehicle_screen_car_icon_properties /* extended properties        */
5491 };
5492 
5493 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_3_define =
5494 {
5495     "prompt_3",
5496     GX_TYPE_PROMPT,                          /* widget type                    */
5497     GX_ID_NONE,                              /* widget id                      */
5498     #if defined(GX_WIDGET_USER_DATA)
5499     0,                                       /* user data                      */
5500     #endif
5501     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5502     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5503     sizeof(GX_PROMPT),                       /* control block size             */
5504     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5505     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5506     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5507     gx_studio_prompt_create,                 /* create function                */
5508     GX_NULL,                                 /* drawing function override      */
5509     GX_NULL,                                 /* event function override        */
5510     {39, 133, 80, 150},                      /* widget size                    */
5511     &vehicle_screen_car_icon_define,         /* next widget definition         */
5512     GX_NULL,                                 /* no child widgets               */
5513     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_3), /* control block */
5514     (void *) &vehicle_screen_prompt_3_properties /* extended properties        */
5515 };
5516 
5517 GX_CONST GX_STUDIO_WIDGET vehicle_screen_prompt_2_define =
5518 {
5519     "prompt_2",
5520     GX_TYPE_PROMPT,                          /* widget type                    */
5521     GX_ID_NONE,                              /* widget id                      */
5522     #if defined(GX_WIDGET_USER_DATA)
5523     0,                                       /* user data                      */
5524     #endif
5525     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5526     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5527     sizeof(GX_PROMPT),                       /* control block size             */
5528     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5529     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5530     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5531     gx_studio_prompt_create,                 /* create function                */
5532     GX_NULL,                                 /* drawing function override      */
5533     GX_NULL,                                 /* event function override        */
5534     {39, 116, 90, 133},                      /* widget size                    */
5535     &vehicle_screen_prompt_3_define,         /* next widget definition         */
5536     GX_NULL,                                 /* no child widgets               */
5537     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_prompt_2), /* control block */
5538     (void *) &vehicle_screen_prompt_2_properties /* extended properties        */
5539 };
5540 
5541 GX_CONST GX_STUDIO_WIDGET vehicle_screen_mode_sport_btn_define =
5542 {
5543     "mode_sport_btn",
5544     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
5545     ID_MODE_SPORT_BTN,                       /* widget id                      */
5546     #if defined(GX_WIDGET_USER_DATA)
5547     0,                                       /* user data                      */
5548     #endif
5549     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO,   /* style flags */
5550     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5551     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
5552     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
5553     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
5554     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5555     gx_studio_pixelmap_button_create,        /* create function                */
5556     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
5557     GX_NULL,                                 /* event function override        */
5558     {219, 97, 292, 180},                     /* widget size                    */
5559     &vehicle_screen_prompt_2_define,         /* next widget definition         */
5560     &vehicle_screen_icon_1_define,           /* child widget definition        */
5561     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_mode_sport_btn), /* control block */
5562     (void *) &vehicle_screen_mode_sport_btn_properties /* extended properties  */
5563 };
5564 
5565 GX_CONST GX_STUDIO_WIDGET vehicle_screen_mode_comfort_btn_define =
5566 {
5567     "mode_comfort_btn",
5568     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
5569     ID_MODE_COMFORT_BTN,                     /* widget id                      */
5570     #if defined(GX_WIDGET_USER_DATA)
5571     0,                                       /* user data                      */
5572     #endif
5573     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO,   /* style flags */
5574     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5575     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
5576     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
5577     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
5578     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5579     gx_studio_pixelmap_button_create,        /* create function                */
5580     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
5581     GX_NULL,                                 /* event function override        */
5582     {155, 97, 228, 180},                     /* widget size                    */
5583     &vehicle_screen_mode_sport_btn_define,   /* next widget definition         */
5584     &vehicle_screen_icon_define,             /* child widget definition        */
5585     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_mode_comfort_btn), /* control block */
5586     (void *) &vehicle_screen_mode_comfort_btn_properties /* extended properties */
5587 };
5588 
5589 GX_CONST GX_STUDIO_WIDGET vehicle_screen_mode_eco_btn_define =
5590 {
5591     "mode_eco_btn",
5592     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
5593     ID_MODE_ECO_BTN,                         /* widget id                      */
5594     #if defined(GX_WIDGET_USER_DATA)
5595     0,                                       /* user data                      */
5596     #endif
5597     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_PUSHED|GX_STYLE_BUTTON_RADIO,   /* style flags */
5598     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5599     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
5600     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
5601     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
5602     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5603     gx_studio_pixelmap_button_create,        /* create function                */
5604     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
5605     GX_NULL,                                 /* event function override        */
5606     {90, 97, 163, 180},                      /* widget size                    */
5607     &vehicle_screen_mode_comfort_btn_define, /* next widget definition         */
5608     &vehicle_screen_icon_6_define,           /* child widget definition        */
5609     offsetof(VEHICLE_SCREEN_CONTROL_BLOCK, vehicle_screen_mode_eco_btn), /* control block */
5610     (void *) &vehicle_screen_mode_eco_btn_properties /* extended properties    */
5611 };
5612 
5613 GX_ANIMATION_INFO vehicle_screen_animation_1 = {
5614     (GX_WIDGET *) &vehicle_screen.vehicle_screen_car_icon,
5615     (GX_WIDGET *) &vehicle_screen,
5616     GX_NULL,
5617     GX_ANIMATION_TRANSLATE, 0, 0, 1,
5618     {300, 216}, {39, 216}, 0, 255, 20
5619 };
5620 
5621 
5622 GX_STUDIO_ACTION vehicle_screen_id_mode_eco_btnid_btn_ecoon_gx_event_showactions[2] = {
5623     {GX_ACTION_TYPE_ANIMATION, 0, &vehicle_screen, &vehicle_screen.vehicle_screen_car_icon, &vehicle_screen_animation_1},
5624     {0, 0, GX_NULL, GX_NULL, GX_NULL}
5625 };
5626 
5627 static GX_STUDIO_EVENT_ENTRY gx_studio_vehicle_screen_event_table[] = {
5628     { GX_EVENT_SHOW, 0, vehicle_screen_id_mode_eco_btnid_btn_ecoon_gx_event_showactions},
5629     {0, 0, GX_NULL}
5630 };
5631 
5632 GX_STUDIO_EVENT_PROCESS vehicle_screen_event_chain = {gx_studio_vehicle_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))vehicle_screen_event_process};
gx_studio_vehicle_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)5633 static UINT gx_studio_vehicle_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
5634 {
5635     return (gx_studio_auto_event_handler(target, event_ptr, &vehicle_screen_event_chain));
5636 }
5637 
5638 
5639 GX_CONST GX_STUDIO_WIDGET vehicle_screen_define =
5640 {
5641     "vehicle_screen",
5642     GX_TYPE_TEMPLATE,                        /* widget type                    */
5643     ID_VEHICLE_SCREEN,                       /* widget id                      */
5644     #if defined(GX_WIDGET_USER_DATA)
5645     0,                                       /* user data                      */
5646     #endif
5647     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
5648     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5649     sizeof(VEHICLE_SCREEN_CONTROL_BLOCK),    /* control block size             */
5650     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
5651     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
5652     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5653     gx_studio_template_create,               /* create function                */
5654     GX_NULL,                                 /* drawing function override      */
5655     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_vehicle_screen_event_process, /* event function override */
5656     {0, 0, 639, 479},                        /* widget size                    */
5657     GX_NULL,                                 /* next widget                    */
5658     &vehicle_screen_mode_eco_btn_define,     /* child widget                   */
5659     0,                                       /* control block                  */
5660     (void *) &vehicle_screen_properties      /* extended properties            */
5661 };
5662 GX_TEMPLATE_PROPERTIES volume_screen_base_properties =
5663 {
5664     &screen_base_define,                     /* base info                      */
5665     gx_studio_template_create,               /* base create function           */
5666     {0, 0, 639, 479}                         /* widget size                    */
5667 };
5668 GX_WINDOW_PROPERTIES volume_screen_base_volume_progress_bar_win_properties =
5669 {
5670     0                                        /* wallpaper pixelmap id          */
5671 };
5672 GX_WINDOW_PROPERTIES volume_screen_base_volume_progress_bar_bg_properties =
5673 {
5674     GX_PIXELMAP_ID_RANGE_GREY_SINGLE_LINE    /* wallpaper pixelmap id          */
5675 };
5676 GX_PROGRESS_BAR_INFO volume_screen_base_volume_progress_bar_properties =
5677 {
5678     0,                                       /* mimimun value                  */
5679     47,                                      /* maximum value                  */
5680     23,                                      /* current value                  */
5681     GX_FONT_ID_SYSTEM,                       /* font_id                        */
5682     GX_COLOR_ID_TEXT,                        /* normal text color              */
5683     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
5684     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
5685     GX_PIXELMAP_ID_RANGE_GREEN_SINGLE_LINE   /* fill pixelmap                  */
5686 };
5687 GX_NUMERIC_PROMPT_PROPERTIES volume_screen_base_volume_value_properties =
5688 {
5689     0,                                       /* string id                      */
5690     GX_FONT_ID_MIDDLE,                       /* font id                        */
5691     GX_COLOR_ID_WHITE,                       /* normal text color              */
5692     GX_COLOR_ID_WHITE,                       /* selected text color            */
5693     GX_COLOR_ID_WHITE,                       /* disabled text color            */
5694     GX_NULL,                                 /* format function                */
5695     48                                       /* numeric prompt value           */
5696 };
5697 GX_PROMPT_PROPERTIES volume_screen_base_volume_label_properties =
5698 {
5699     GX_STRING_ID_STRING_113,                 /* string id                      */
5700     GX_FONT_ID_SMALL,                        /* font id                        */
5701     GX_COLOR_ID_WHITE,                       /* normal text color              */
5702     GX_COLOR_ID_WHITE,                       /* selected text color            */
5703     GX_COLOR_ID_DISABLED_TEXT                /* disabled text color            */
5704 };
5705 GX_PIXELMAP_BUTTON_PROPERTIES volume_screen_base_mute_btn_properties =
5706 {
5707     GX_PIXELMAP_ID_V_MODE_BTN,               /* normal pixelmap id             */
5708     0,                                       /* selected pixelmap id           */
5709     0                                        /* disabled pixelmap id           */
5710 };
5711 GX_PROMPT_PROPERTIES volume_screen_base_prompt_14_properties =
5712 {
5713     GX_STRING_ID_STRING_110,                 /* string id                      */
5714     GX_FONT_ID_PROMPT,                       /* font id                        */
5715     GX_COLOR_ID_WHITE,                       /* normal text color              */
5716     GX_COLOR_ID_WHITE,                       /* selected text color            */
5717     GX_COLOR_ID_DISABLED_TEXT                /* disabled text color            */
5718 };
5719 GX_ICON_PROPERTIES volume_screen_base_bute_btn_icon_1_properties =
5720 {
5721     GX_PIXELMAP_ID_ICON_SOUND_ON,            /* normal pixelmap id             */
5722     GX_PIXELMAP_ID_ICON_SOUND_OFF            /* selected pixelmap id           */
5723 };
5724 
5725 GX_CONST GX_STUDIO_WIDGET volume_screen_base_volume_progress_bar_define =
5726 {
5727     "volume_progress_bar",
5728     GX_TYPE_PROGRESS_BAR,                    /* widget type                    */
5729     ID_VOLUME_PROGRESS_BAR,                  /* widget id                      */
5730     #if defined(GX_WIDGET_USER_DATA)
5731     0,                                       /* user data                      */
5732     #endif
5733     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_PROGRESS_VERTICAL,   /* style flags */
5734     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5735     sizeof(GX_PROGRESS_BAR),                 /* control block size             */
5736     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5737     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5738     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5739     gx_studio_progress_bar_create,           /* create function                */
5740     GX_NULL,                                 /* drawing function override      */
5741     (UINT (*)(GX_WIDGET *, GX_EVENT *)) volume_progress_bar_event_process, /* event function override */
5742     {558, 143, 595, 330},                    /* widget size                    */
5743     GX_NULL,                                 /* no next widget                 */
5744     GX_NULL,                                 /* no child widgets               */
5745     offsetof(VOLUME_SCREEN_BASE_CONTROL_BLOCK, volume_screen_base_volume_progress_bar), /* control block */
5746     (void *) &volume_screen_base_volume_progress_bar_properties /* extended properties */
5747 };
5748 
5749 GX_CONST GX_STUDIO_WIDGET volume_screen_base_volume_label_define =
5750 {
5751     "volume_label",
5752     GX_TYPE_PROMPT,                          /* widget type                    */
5753     GX_ID_NONE,                              /* widget id                      */
5754     #if defined(GX_WIDGET_USER_DATA)
5755     0,                                       /* user data                      */
5756     #endif
5757     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5758     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5759     sizeof(GX_PROMPT),                       /* control block size             */
5760     GX_COLOR_ID_WHITE,                       /* normal color id                */
5761     GX_COLOR_ID_WHITE,                       /* selected color id              */
5762     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5763     gx_studio_prompt_create,                 /* create function                */
5764     GX_NULL,                                 /* drawing function override      */
5765     GX_NULL,                                 /* event function override        */
5766     {554, 339, 598, 351},                    /* widget size                    */
5767     GX_NULL,                                 /* no next widget                 */
5768     GX_NULL,                                 /* no child widgets               */
5769     offsetof(VOLUME_SCREEN_BASE_CONTROL_BLOCK, volume_screen_base_volume_label), /* control block */
5770     (void *) &volume_screen_base_volume_label_properties /* extended properties */
5771 };
5772 
5773 GX_CONST GX_STUDIO_WIDGET volume_screen_base_volume_value_define =
5774 {
5775     "volume_value",
5776     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
5777     GX_ID_NONE,                              /* widget id                      */
5778     #if defined(GX_WIDGET_USER_DATA)
5779     0,                                       /* user data                      */
5780     #endif
5781     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5782     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5783     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
5784     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5785     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5786     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5787     gx_studio_numeric_prompt_create,         /* create function                */
5788     GX_NULL,                                 /* drawing function override      */
5789     GX_NULL,                                 /* event function override        */
5790     {550, 112, 603, 140},                    /* widget size                    */
5791     &volume_screen_base_volume_label_define, /* next widget definition         */
5792     GX_NULL,                                 /* no child widgets               */
5793     offsetof(VOLUME_SCREEN_BASE_CONTROL_BLOCK, volume_screen_base_volume_value), /* control block */
5794     (void *) &volume_screen_base_volume_value_properties /* extended properties */
5795 };
5796 
5797 GX_CONST GX_STUDIO_WIDGET volume_screen_base_volume_progress_bar_bg_define =
5798 {
5799     "volume_progress_bar_bg",
5800     GX_TYPE_WINDOW,                          /* widget type                    */
5801     GX_ID_NONE,                              /* widget id                      */
5802     #if defined(GX_WIDGET_USER_DATA)
5803     0,                                       /* user data                      */
5804     #endif
5805     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TILE_WALLPAPER,   /* style flags */
5806     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5807     sizeof(GX_WINDOW),                       /* control block size             */
5808     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
5809     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
5810     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5811     gx_studio_window_create,                 /* create function                */
5812     GX_NULL,                                 /* drawing function override      */
5813     GX_NULL,                                 /* event function override        */
5814     {558, 143, 595, 330},                    /* widget size                    */
5815     &volume_screen_base_volume_value_define, /* next widget definition         */
5816     &volume_screen_base_volume_progress_bar_define, /* child widget definition */
5817     offsetof(VOLUME_SCREEN_BASE_CONTROL_BLOCK, volume_screen_base_volume_progress_bar_bg), /* control block */
5818     (void *) &volume_screen_base_volume_progress_bar_bg_properties /* extended properties */
5819 };
5820 
5821 GX_CONST GX_STUDIO_WIDGET volume_screen_base_bute_btn_icon_1_define =
5822 {
5823     "bute_btn_icon_1",
5824     GX_TYPE_ICON,                            /* widget type                    */
5825     GX_ID_NONE,                              /* widget id                      */
5826     #if defined(GX_WIDGET_USER_DATA)
5827     0,                                       /* user data                      */
5828     #endif
5829     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
5830     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5831     sizeof(GX_ICON),                         /* control block size             */
5832     GX_COLOR_ID_WHITE,                       /* normal color id                */
5833     GX_COLOR_ID_RED,                         /* selected color id              */
5834     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5835     gx_studio_icon_create,                   /* create function                */
5836     GX_NULL,                                 /* drawing function override      */
5837     GX_NULL,                                 /* event function override        */
5838     {65, 211, 86, 232},                      /* widget size                    */
5839     GX_NULL,                                 /* no next widget                 */
5840     GX_NULL,                                 /* no child widgets               */
5841     offsetof(VOLUME_SCREEN_BASE_CONTROL_BLOCK, volume_screen_base_bute_btn_icon_1), /* control block */
5842     (void *) &volume_screen_base_bute_btn_icon_1_properties /* extended properties */
5843 };
5844 
5845 GX_CONST GX_STUDIO_WIDGET volume_screen_base_prompt_14_define =
5846 {
5847     "prompt_14",
5848     GX_TYPE_PROMPT,                          /* widget type                    */
5849     GX_ID_NONE,                              /* widget id                      */
5850     #if defined(GX_WIDGET_USER_DATA)
5851     0,                                       /* user data                      */
5852     #endif
5853     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
5854     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5855     sizeof(GX_PROMPT),                       /* control block size             */
5856     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
5857     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
5858     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5859     gx_studio_prompt_create,                 /* create function                */
5860     GX_NULL,                                 /* drawing function override      */
5861     GX_NULL,                                 /* event function override        */
5862     {57, 250, 94, 267},                      /* widget size                    */
5863     &volume_screen_base_bute_btn_icon_1_define, /* next widget definition      */
5864     GX_NULL,                                 /* no child widgets               */
5865     offsetof(VOLUME_SCREEN_BASE_CONTROL_BLOCK, volume_screen_base_prompt_14), /* control block */
5866     (void *) &volume_screen_base_prompt_14_properties /* extended properties   */
5867 };
5868 
5869 GX_CONST GX_STUDIO_WIDGET volume_screen_base_mute_btn_define =
5870 {
5871     "mute_btn",
5872     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
5873     ID_BTN_MUTE,                             /* widget id                      */
5874     #if defined(GX_WIDGET_USER_DATA)
5875     0,                                       /* user data                      */
5876     #endif
5877     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE,   /* style flags */
5878     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5879     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
5880     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
5881     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
5882     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5883     gx_studio_pixelmap_button_create,        /* create function                */
5884     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
5885     GX_NULL,                                 /* event function override        */
5886     {39, 184, 112, 272},                     /* widget size                    */
5887     GX_NULL,                                 /* no next widget                 */
5888     &volume_screen_base_prompt_14_define,    /* child widget definition        */
5889     offsetof(VOLUME_SCREEN_BASE_CONTROL_BLOCK, volume_screen_base_mute_btn), /* control block */
5890     (void *) &volume_screen_base_mute_btn_properties /* extended properties    */
5891 };
5892 
5893 GX_CONST GX_STUDIO_WIDGET volume_screen_base_volume_progress_bar_win_define =
5894 {
5895     "volume_progress_bar_win",
5896     GX_TYPE_WINDOW,                          /* widget type                    */
5897     GX_ID_NONE,                              /* widget id                      */
5898     #if defined(GX_WIDGET_USER_DATA)
5899     0,                                       /* user data                      */
5900     #endif
5901     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
5902     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5903     sizeof(GX_WINDOW),                       /* control block size             */
5904     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
5905     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
5906     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5907     gx_studio_window_create,                 /* create function                */
5908     GX_NULL,                                 /* drawing function override      */
5909     GX_NULL,                                 /* event function override        */
5910     {550, 108, 603, 356},                    /* widget size                    */
5911     &volume_screen_base_mute_btn_define,     /* next widget definition         */
5912     &volume_screen_base_volume_progress_bar_bg_define, /* child widget definition */
5913     offsetof(VOLUME_SCREEN_BASE_CONTROL_BLOCK, volume_screen_base_volume_progress_bar_win), /* control block */
5914     (void *) &volume_screen_base_volume_progress_bar_win_properties /* extended properties */
5915 };
5916 
5917 GX_CONST GX_STUDIO_WIDGET volume_screen_base_define =
5918 {
5919     "volume_screen_base",
5920     GX_TYPE_TEMPLATE,                        /* widget type                    */
5921     GX_ID_NONE,                              /* widget id                      */
5922     #if defined(GX_WIDGET_USER_DATA)
5923     0,                                       /* user data                      */
5924     #endif
5925     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
5926     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
5927     sizeof(VOLUME_SCREEN_BASE_CONTROL_BLOCK), /* control block size            */
5928     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
5929     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
5930     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
5931     gx_studio_template_create,               /* create function                */
5932     GX_NULL,                                 /* drawing function override      */
5933     (UINT (*)(GX_WIDGET *, GX_EVENT *)) volume_screen_base_event_process, /* event function override */
5934     {0, 0, 639, 479},                        /* widget size                    */
5935     GX_NULL,                                 /* next widget                    */
5936     &volume_screen_base_volume_progress_bar_win_define, /* child widget        */
5937     0,                                       /* control block                  */
5938     (void *) &volume_screen_base_properties  /* extended properties            */
5939 };
5940 GX_TEMPLATE_PROPERTIES audio_screen_properties =
5941 {
5942     &volume_screen_base_define,              /* base info                      */
5943     gx_studio_template_create,               /* base create function           */
5944     {0, 0, 639, 479}                         /* widget size                    */
5945 };
5946 GX_WINDOW_PROPERTIES audio_screen_music_info_win_properties =
5947 {
5948     0                                        /* wallpaper pixelmap id          */
5949 };
5950 GX_PROMPT_PROPERTIES audio_screen_music_name_properties =
5951 {
5952     GX_STRING_ID_STRING_115,                 /* string id                      */
5953     GX_FONT_ID_NORMAL,                       /* font id                        */
5954     GX_COLOR_ID_WHITE,                       /* normal text color              */
5955     GX_COLOR_ID_WHITE,                       /* selected text color            */
5956     GX_COLOR_ID_DISABLED_TEXT                /* disabled text color            */
5957 };
5958 GX_PROMPT_PROPERTIES audio_screen_singer_name_properties =
5959 {
5960     GX_STRING_ID_STRING_114,                 /* string id                      */
5961     GX_FONT_ID_MIDDLE,                       /* font id                        */
5962     GX_COLOR_ID_WHITE,                       /* normal text color              */
5963     GX_COLOR_ID_WHITE,                       /* selected text color            */
5964     GX_COLOR_ID_DISABLED_TEXT                /* disabled text color            */
5965 };
5966 GX_NUMERIC_PROMPT_PROPERTIES audio_screen_second_properties =
5967 {
5968     0,                                       /* string id                      */
5969     GX_FONT_ID_NORMAL,                       /* font id                        */
5970     GX_COLOR_ID_WHITE,                       /* normal text color              */
5971     GX_COLOR_ID_WHITE,                       /* selected text color            */
5972     GX_COLOR_ID_WHITE,                       /* disabled text color            */
5973     time_value_format,                       /* format function                */
5974     30                                       /* numeric prompt value           */
5975 };
5976 GX_PROMPT_PROPERTIES audio_screen_second_colon_properties =
5977 {
5978     GX_STRING_ID_STRING_22,                  /* string id                      */
5979     GX_FONT_ID_NORMAL,                       /* font id                        */
5980     GX_COLOR_ID_WHITE,                       /* normal text color              */
5981     GX_COLOR_ID_WHITE,                       /* selected text color            */
5982     GX_COLOR_ID_WHITE                        /* disabled text color            */
5983 };
5984 GX_NUMERIC_PROMPT_PROPERTIES audio_screen_minute_properties =
5985 {
5986     0,                                       /* string id                      */
5987     GX_FONT_ID_NORMAL,                       /* font id                        */
5988     GX_COLOR_ID_WHITE,                       /* normal text color              */
5989     GX_COLOR_ID_WHITE,                       /* selected text color            */
5990     GX_COLOR_ID_GRAY,                        /* disabled text color            */
5991     GX_NULL,                                 /* format function                */
5992     0                                        /* numeric prompt value           */
5993 };
5994 GX_PIXELMAP_BUTTON_PROPERTIES audio_screen_keypad_btn_properties =
5995 {
5996     GX_PIXELMAP_ID_V_MODE_BTN,               /* normal pixelmap id             */
5997     0,                                       /* selected pixelmap id           */
5998     0                                        /* disabled pixelmap id           */
5999 };
6000 GX_PROMPT_PROPERTIES audio_screen_prompt_6_properties =
6001 {
6002     GX_STRING_ID_STRING_116,                 /* string id                      */
6003     GX_FONT_ID_PROMPT,                       /* font id                        */
6004     GX_COLOR_ID_WHITE,                       /* normal text color              */
6005     GX_COLOR_ID_WHITE,                       /* selected text color            */
6006     GX_COLOR_ID_DISABLED_TEXT                /* disabled text color            */
6007 };
6008 GX_ICON_PROPERTIES audio_screen_icon_properties =
6009 {
6010     GX_PIXELMAP_ID_ICON_ARTIST,              /* normal pixelmap id             */
6011     0                                        /* selected pixelmap id           */
6012 };
6013 GX_PIXELMAP_BUTTON_PROPERTIES audio_screen_end_call_btn_properties =
6014 {
6015     GX_PIXELMAP_ID_V_MODE_BTN,               /* normal pixelmap id             */
6016     0,                                       /* selected pixelmap id           */
6017     0                                        /* disabled pixelmap id           */
6018 };
6019 GX_PROMPT_PROPERTIES audio_screen_prompt_1_properties =
6020 {
6021     GX_STRING_ID_STRING_60,                  /* string id                      */
6022     GX_FONT_ID_PROMPT,                       /* font id                        */
6023     GX_COLOR_ID_WHITE,                       /* normal text color              */
6024     GX_COLOR_ID_WHITE,                       /* selected text color            */
6025     GX_COLOR_ID_DISABLED_TEXT                /* disabled text color            */
6026 };
6027 GX_ICON_PROPERTIES audio_screen_end_call_btn_icon_properties =
6028 {
6029     GX_PIXELMAP_ID_ICON_RADIO,               /* normal pixelmap id             */
6030     0                                        /* selected pixelmap id           */
6031 };
6032 GX_PIXELMAP_BUTTON_PROPERTIES audio_screen_pixelmap_button_4_properties =
6033 {
6034     GX_PIXELMAP_ID_PLAYER_BACK,              /* normal pixelmap id             */
6035     GX_PIXELMAP_ID_PLAYER_BACK_HOVER,        /* selected pixelmap id           */
6036     0                                        /* disabled pixelmap id           */
6037 };
6038 GX_PIXELMAP_BUTTON_PROPERTIES audio_screen_pixelmap_button_properties =
6039 {
6040     GX_PIXELMAP_ID_PLAYER_FORWARD,           /* normal pixelmap id             */
6041     GX_PIXELMAP_ID_PLAYER_FORWARD_HOVER,     /* selected pixelmap id           */
6042     0                                        /* disabled pixelmap id           */
6043 };
6044 GX_WINDOW_PROPERTIES audio_screen_window_properties =
6045 {
6046     GX_PIXELMAP_ID_PLAYER_CIRCLE             /* wallpaper pixelmap id          */
6047 };
6048 GX_RADIAL_PROGRESS_BAR_INFO audio_screen_radial_progress_bar_properties =
6049 {
6050     319,                                     /* xcenter                        */
6051     231,                                     /* ycenter                        */
6052     55,                                      /* radius                         */
6053     -90,                                     /* current val                    */
6054     90,                                      /* anchor val                     */
6055     GX_FONT_ID_SYSTEM,                       /* font_id                        */
6056     GX_COLOR_ID_TEXT,                        /* normal text color              */
6057     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
6058     GX_COLOR_ID_DISABLED_TEXT,               /* disabled text color            */
6059     12,                                      /* normal brush width             */
6060     12,                                      /* selected brush width           */
6061     GX_COLOR_ID_SLIDER_NEEDLE_FILL,          /* normal brush color             */
6062     GX_COLOR_ID_LIGHT_GREEN,                 /* selected brush color           */
6063 };
6064 GX_PIXELMAP_BUTTON_PROPERTIES audio_screen_play_btn_properties =
6065 {
6066     GX_PIXELMAP_ID_PLAY,                     /* normal pixelmap id             */
6067     GX_PIXELMAP_ID_PAUSE,                    /* selected pixelmap id           */
6068     0                                        /* disabled pixelmap id           */
6069 };
6070 GX_WINDOW_PROPERTIES audio_screen_play_mode_win_properties =
6071 {
6072     0                                        /* wallpaper pixelmap id          */
6073 };
6074 GX_PIXELMAP_BUTTON_PROPERTIES audio_screen_pixelmap_button_1_properties =
6075 {
6076     GX_PIXELMAP_ID_ICON_RANDOM,              /* normal pixelmap id             */
6077     GX_PIXELMAP_ID_ICON_RANDOM_ACTIVE,       /* selected pixelmap id           */
6078     0                                        /* disabled pixelmap id           */
6079 };
6080 GX_PIXELMAP_BUTTON_PROPERTIES audio_screen_pixelmap_button_2_properties =
6081 {
6082     GX_PIXELMAP_ID_ICON_LOOP,                /* normal pixelmap id             */
6083     GX_PIXELMAP_ID_ICON_LOOP_ACTIVE,         /* selected pixelmap id           */
6084     0                                        /* disabled pixelmap id           */
6085 };
6086 GX_PIXELMAP_BUTTON_PROPERTIES audio_screen_pixelmap_button_5_properties =
6087 {
6088     GX_PIXELMAP_ID_ICON_LIST,                /* normal pixelmap id             */
6089     GX_PIXELMAP_ID_ICON_LIST_ACTIVE,         /* selected pixelmap id           */
6090     0                                        /* disabled pixelmap id           */
6091 };
6092 
6093 GX_CONST GX_STUDIO_WIDGET audio_screen_minute_define =
6094 {
6095     "minute",
6096     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
6097     GX_ID_NONE,                              /* widget id                      */
6098     #if defined(GX_WIDGET_USER_DATA)
6099     0,                                       /* user data                      */
6100     #endif
6101     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6102     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6103     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
6104     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6105     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6106     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6107     gx_studio_numeric_prompt_create,         /* create function                */
6108     GX_NULL,                                 /* drawing function override      */
6109     GX_NULL,                                 /* event function override        */
6110     {416, 167, 428, 187},                    /* widget size                    */
6111     GX_NULL,                                 /* no next widget                 */
6112     GX_NULL,                                 /* no child widgets               */
6113     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_minute), /* control block */
6114     (void *) &audio_screen_minute_properties /* extended properties            */
6115 };
6116 
6117 GX_CONST GX_STUDIO_WIDGET audio_screen_second_colon_define =
6118 {
6119     "second_colon",
6120     GX_TYPE_PROMPT,                          /* widget type                    */
6121     GX_ID_NONE,                              /* widget id                      */
6122     #if defined(GX_WIDGET_USER_DATA)
6123     0,                                       /* user data                      */
6124     #endif
6125     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6126     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6127     sizeof(GX_PROMPT),                       /* control block size             */
6128     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6129     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6130     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6131     gx_studio_prompt_create,                 /* create function                */
6132     GX_NULL,                                 /* drawing function override      */
6133     GX_NULL,                                 /* event function override        */
6134     {430, 165, 436, 185},                    /* widget size                    */
6135     &audio_screen_minute_define,             /* next widget definition         */
6136     GX_NULL,                                 /* no child widgets               */
6137     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_second_colon), /* control block */
6138     (void *) &audio_screen_second_colon_properties /* extended properties      */
6139 };
6140 
6141 GX_CONST GX_STUDIO_WIDGET audio_screen_second_define =
6142 {
6143     "second",
6144     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
6145     GX_ID_NONE,                              /* widget id                      */
6146     #if defined(GX_WIDGET_USER_DATA)
6147     0,                                       /* user data                      */
6148     #endif
6149     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6150     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6151     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
6152     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6153     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6154     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6155     gx_studio_numeric_prompt_create,         /* create function                */
6156     GX_NULL,                                 /* drawing function override      */
6157     GX_NULL,                                 /* event function override        */
6158     {437, 167, 462, 187},                    /* widget size                    */
6159     &audio_screen_second_colon_define,       /* next widget definition         */
6160     GX_NULL,                                 /* no child widgets               */
6161     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_second), /* control block */
6162     (void *) &audio_screen_second_properties /* extended properties            */
6163 };
6164 
6165 GX_CONST GX_STUDIO_WIDGET audio_screen_singer_name_define =
6166 {
6167     "singer_name",
6168     GX_TYPE_PROMPT,                          /* widget type                    */
6169     GX_ID_NONE,                              /* widget id                      */
6170     #if defined(GX_WIDGET_USER_DATA)
6171     0,                                       /* user data                      */
6172     #endif
6173     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6174     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6175     sizeof(GX_PROMPT),                       /* control block size             */
6176     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6177     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6178     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6179     gx_studio_prompt_create,                 /* create function                */
6180     GX_NULL,                                 /* drawing function override      */
6181     GX_NULL,                                 /* event function override        */
6182     {271, 98, 367, 126},                     /* widget size                    */
6183     &audio_screen_second_define,             /* next widget definition         */
6184     GX_NULL,                                 /* no child widgets               */
6185     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_singer_name), /* control block */
6186     (void *) &audio_screen_singer_name_properties /* extended properties       */
6187 };
6188 
6189 GX_CONST GX_STUDIO_WIDGET audio_screen_music_name_define =
6190 {
6191     "music_name",
6192     GX_TYPE_PROMPT,                          /* widget type                    */
6193     GX_ID_NONE,                              /* widget id                      */
6194     #if defined(GX_WIDGET_USER_DATA)
6195     0,                                       /* user data                      */
6196     #endif
6197     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6198     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6199     sizeof(GX_PROMPT),                       /* control block size             */
6200     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6201     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6202     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6203     gx_studio_prompt_create,                 /* create function                */
6204     GX_NULL,                                 /* drawing function override      */
6205     GX_NULL,                                 /* event function override        */
6206     {199, 133, 439, 153},                    /* widget size                    */
6207     &audio_screen_singer_name_define,        /* next widget definition         */
6208     GX_NULL,                                 /* no child widgets               */
6209     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_music_name), /* control block */
6210     (void *) &audio_screen_music_name_properties /* extended properties        */
6211 };
6212 
6213 GX_CONST GX_STUDIO_WIDGET audio_screen_icon_define =
6214 {
6215     "icon",
6216     GX_TYPE_ICON,                            /* widget type                    */
6217     GX_ID_NONE,                              /* widget id                      */
6218     #if defined(GX_WIDGET_USER_DATA)
6219     0,                                       /* user data                      */
6220     #endif
6221     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
6222     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6223     sizeof(GX_ICON),                         /* control block size             */
6224     GX_COLOR_ID_WHITE,                       /* normal color id                */
6225     GX_COLOR_ID_WHITE,                       /* selected color id              */
6226     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6227     gx_studio_icon_create,                   /* create function                */
6228     GX_NULL,                                 /* drawing function override      */
6229     GX_NULL,                                 /* event function override        */
6230     {65, 123, 87, 144},                      /* widget size                    */
6231     GX_NULL,                                 /* no next widget                 */
6232     GX_NULL,                                 /* no child widgets               */
6233     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_icon), /* control block  */
6234     (void *) &audio_screen_icon_properties   /* extended properties            */
6235 };
6236 
6237 GX_CONST GX_STUDIO_WIDGET audio_screen_prompt_6_define =
6238 {
6239     "prompt_6",
6240     GX_TYPE_PROMPT,                          /* widget type                    */
6241     GX_ID_NONE,                              /* widget id                      */
6242     #if defined(GX_WIDGET_USER_DATA)
6243     0,                                       /* user data                      */
6244     #endif
6245     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6246     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6247     sizeof(GX_PROMPT),                       /* control block size             */
6248     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6249     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6250     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6251     gx_studio_prompt_create,                 /* create function                */
6252     GX_NULL,                                 /* drawing function override      */
6253     GX_NULL,                                 /* event function override        */
6254     {56, 163, 95, 180},                      /* widget size                    */
6255     &audio_screen_icon_define,               /* next widget definition         */
6256     GX_NULL,                                 /* no child widgets               */
6257     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_prompt_6), /* control block */
6258     (void *) &audio_screen_prompt_6_properties /* extended properties          */
6259 };
6260 
6261 GX_CONST GX_STUDIO_WIDGET audio_screen_end_call_btn_icon_define =
6262 {
6263     "end_call_btn_icon",
6264     GX_TYPE_ICON,                            /* widget type                    */
6265     GX_ID_NONE,                              /* widget id                      */
6266     #if defined(GX_WIDGET_USER_DATA)
6267     0,                                       /* user data                      */
6268     #endif
6269     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
6270     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6271     sizeof(GX_ICON),                         /* control block size             */
6272     GX_COLOR_ID_WHITE,                       /* normal color id                */
6273     GX_COLOR_ID_WHITE,                       /* selected color id              */
6274     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6275     gx_studio_icon_create,                   /* create function                */
6276     GX_NULL,                                 /* drawing function override      */
6277     GX_NULL,                                 /* event function override        */
6278     {65, 298, 86, 317},                      /* widget size                    */
6279     GX_NULL,                                 /* no next widget                 */
6280     GX_NULL,                                 /* no child widgets               */
6281     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_end_call_btn_icon), /* control block */
6282     (void *) &audio_screen_end_call_btn_icon_properties /* extended properties */
6283 };
6284 
6285 GX_CONST GX_STUDIO_WIDGET audio_screen_prompt_1_define =
6286 {
6287     "prompt_1",
6288     GX_TYPE_PROMPT,                          /* widget type                    */
6289     GX_ID_NONE,                              /* widget id                      */
6290     #if defined(GX_WIDGET_USER_DATA)
6291     0,                                       /* user data                      */
6292     #endif
6293     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6294     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6295     sizeof(GX_PROMPT),                       /* control block size             */
6296     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6297     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6298     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6299     gx_studio_prompt_create,                 /* create function                */
6300     GX_NULL,                                 /* drawing function override      */
6301     GX_NULL,                                 /* event function override        */
6302     {54, 339, 96, 356},                      /* widget size                    */
6303     &audio_screen_end_call_btn_icon_define,  /* next widget definition         */
6304     GX_NULL,                                 /* no child widgets               */
6305     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_prompt_1), /* control block */
6306     (void *) &audio_screen_prompt_1_properties /* extended properties          */
6307 };
6308 
6309 GX_CONST GX_STUDIO_WIDGET audio_screen_play_btn_define =
6310 {
6311     "play_btn",
6312     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
6313     ID_PLAY_BTN,                             /* widget id                      */
6314     #if defined(GX_WIDGET_USER_DATA)
6315     0,                                       /* user data                      */
6316     #endif
6317     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
6318     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6319     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
6320     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
6321     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
6322     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6323     gx_studio_pixelmap_button_create,        /* create function                */
6324     GX_NULL,                                 /* drawing function override      */
6325     GX_NULL,                                 /* event function override        */
6326     {285, 193, 355, 265},                    /* widget size                    */
6327     GX_NULL,                                 /* no next widget                 */
6328     GX_NULL,                                 /* no child widgets               */
6329     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_play_btn), /* control block */
6330     (void *) &audio_screen_play_btn_properties /* extended properties          */
6331 };
6332 
6333 GX_CONST GX_STUDIO_WIDGET audio_screen_radial_progress_bar_define =
6334 {
6335     "radial_progress_bar",
6336     GX_TYPE_RADIAL_PROGRESS_BAR,             /* 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_RADIAL_PROGRESS_NO_BACKTRACK|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND,   /* style flags */
6342     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6343     sizeof(GX_RADIAL_PROGRESS_BAR),          /* control block size             */
6344     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6345     GX_COLOR_ID_GREEN,                       /* selected color id              */
6346     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6347     gx_studio_radial_progress_bar_create,     /* create function               */
6348     GX_NULL,                                 /* drawing function override      */
6349     GX_NULL,                                 /* event function override        */
6350     {258, 170, 380, 292},                    /* widget size                    */
6351     GX_NULL,                                 /* no next widget                 */
6352     &audio_screen_play_btn_define,           /* child widget definition        */
6353     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_radial_progress_bar), /* control block */
6354     (void *) &audio_screen_radial_progress_bar_properties /* extended properties */
6355 };
6356 
6357 GX_CONST GX_STUDIO_WIDGET audio_screen_pixelmap_button_5_define =
6358 {
6359     "pixelmap_button_5",
6360     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
6361     GX_ID_NONE,                              /* widget id                      */
6362     #if defined(GX_WIDGET_USER_DATA)
6363     0,                                       /* user data                      */
6364     #endif
6365     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_PUSHED|GX_STYLE_BUTTON_RADIO,   /* style flags */
6366     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6367     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
6368     GX_COLOR_ID_GRAY,                        /* normal color id                */
6369     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
6370     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6371     gx_studio_pixelmap_button_create,        /* create function                */
6372     GX_NULL,                                 /* drawing function override      */
6373     GX_NULL,                                 /* event function override        */
6374     {223, 316, 266, 345},                    /* widget size                    */
6375     GX_NULL,                                 /* no next widget                 */
6376     GX_NULL,                                 /* no child widgets               */
6377     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_pixelmap_button_5), /* control block */
6378     (void *) &audio_screen_pixelmap_button_5_properties /* extended properties */
6379 };
6380 
6381 GX_CONST GX_STUDIO_WIDGET audio_screen_pixelmap_button_2_define =
6382 {
6383     "pixelmap_button_2",
6384     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
6385     GX_ID_NONE,                              /* widget id                      */
6386     #if defined(GX_WIDGET_USER_DATA)
6387     0,                                       /* user data                      */
6388     #endif
6389     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO,   /* style flags */
6390     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6391     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
6392     GX_COLOR_ID_GRAY,                        /* normal color id                */
6393     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
6394     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6395     gx_studio_pixelmap_button_create,        /* create function                */
6396     GX_NULL,                                 /* drawing function override      */
6397     GX_NULL,                                 /* event function override        */
6398     {371, 316, 414, 345},                    /* widget size                    */
6399     &audio_screen_pixelmap_button_5_define,  /* next widget definition         */
6400     GX_NULL,                                 /* no child widgets               */
6401     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_pixelmap_button_2), /* control block */
6402     (void *) &audio_screen_pixelmap_button_2_properties /* extended properties */
6403 };
6404 
6405 GX_CONST GX_STUDIO_WIDGET audio_screen_pixelmap_button_1_define =
6406 {
6407     "pixelmap_button_1",
6408     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
6409     GX_ID_NONE,                              /* widget id                      */
6410     #if defined(GX_WIDGET_USER_DATA)
6411     0,                                       /* user data                      */
6412     #endif
6413     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO,   /* style flags */
6414     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6415     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
6416     GX_COLOR_ID_GRAY,                        /* normal color id                */
6417     GX_COLOR_ID_LIGHT_GREEN,                 /* selected color id              */
6418     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6419     gx_studio_pixelmap_button_create,        /* create function                */
6420     GX_NULL,                                 /* drawing function override      */
6421     GX_NULL,                                 /* event function override        */
6422     {298, 316, 341, 345},                    /* widget size                    */
6423     &audio_screen_pixelmap_button_2_define,  /* next widget definition         */
6424     GX_NULL,                                 /* no child widgets               */
6425     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_pixelmap_button_1), /* control block */
6426     (void *) &audio_screen_pixelmap_button_1_properties /* extended properties */
6427 };
6428 
6429 GX_CONST GX_STUDIO_WIDGET audio_screen_play_mode_win_define =
6430 {
6431     "play_mode_win",
6432     GX_TYPE_WINDOW,                          /* widget type                    */
6433     GX_ID_NONE,                              /* widget id                      */
6434     #if defined(GX_WIDGET_USER_DATA)
6435     0,                                       /* user data                      */
6436     #endif
6437     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
6438     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6439     sizeof(GX_WINDOW),                       /* control block size             */
6440     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
6441     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
6442     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6443     gx_studio_window_create,                 /* create function                */
6444     GX_NULL,                                 /* drawing function override      */
6445     GX_NULL,                                 /* event function override        */
6446     {179, 303, 461, 360},                    /* widget size                    */
6447     GX_NULL,                                 /* no next widget                 */
6448     &audio_screen_pixelmap_button_1_define,  /* child widget definition        */
6449     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_play_mode_win), /* control block */
6450     (void *) &audio_screen_play_mode_win_properties /* extended properties     */
6451 };
6452 
6453 GX_CONST GX_STUDIO_WIDGET audio_screen_window_define =
6454 {
6455     "window",
6456     GX_TYPE_WINDOW,                          /* widget type                    */
6457     GX_ID_NONE,                              /* widget id                      */
6458     #if defined(GX_WIDGET_USER_DATA)
6459     0,                                       /* user data                      */
6460     #endif
6461     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
6462     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6463     sizeof(GX_WINDOW),                       /* control block size             */
6464     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
6465     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
6466     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6467     gx_studio_window_create,                 /* create function                */
6468     GX_NULL,                                 /* drawing function override      */
6469     GX_NULL,                                 /* event function override        */
6470     {256, 168, 383, 295},                    /* widget size                    */
6471     &audio_screen_play_mode_win_define,      /* next widget definition         */
6472     &audio_screen_radial_progress_bar_define, /* child widget definition       */
6473     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_window), /* control block */
6474     (void *) &audio_screen_window_properties /* extended properties            */
6475 };
6476 
6477 GX_CONST GX_STUDIO_WIDGET audio_screen_pixelmap_button_define =
6478 {
6479     "pixelmap_button",
6480     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
6481     ID_NEXT,                                 /* widget id                      */
6482     #if defined(GX_WIDGET_USER_DATA)
6483     0,                                       /* user data                      */
6484     #endif
6485     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
6486     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6487     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
6488     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
6489     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
6490     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6491     gx_studio_pixelmap_button_create,        /* create function                */
6492     GX_NULL,                                 /* drawing function override      */
6493     GX_NULL,                                 /* event function override        */
6494     {404, 205, 461, 252},                    /* widget size                    */
6495     &audio_screen_window_define,             /* next widget definition         */
6496     GX_NULL,                                 /* no child widgets               */
6497     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_pixelmap_button), /* control block */
6498     (void *) &audio_screen_pixelmap_button_properties /* extended properties   */
6499 };
6500 
6501 GX_CONST GX_STUDIO_WIDGET audio_screen_pixelmap_button_4_define =
6502 {
6503     "pixelmap_button_4",
6504     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
6505     ID_PREVIOUS,                             /* widget id                      */
6506     #if defined(GX_WIDGET_USER_DATA)
6507     0,                                       /* user data                      */
6508     #endif
6509     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
6510     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6511     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
6512     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
6513     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
6514     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6515     gx_studio_pixelmap_button_create,        /* create function                */
6516     GX_NULL,                                 /* drawing function override      */
6517     GX_NULL,                                 /* event function override        */
6518     {179, 205, 236, 252},                    /* widget size                    */
6519     &audio_screen_pixelmap_button_define,    /* next widget definition         */
6520     GX_NULL,                                 /* no child widgets               */
6521     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_pixelmap_button_4), /* control block */
6522     (void *) &audio_screen_pixelmap_button_4_properties /* extended properties */
6523 };
6524 
6525 GX_CONST GX_STUDIO_WIDGET audio_screen_end_call_btn_define =
6526 {
6527     "end_call_btn",
6528     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
6529     ID_BTN_END_CALL,                         /* widget id                      */
6530     #if defined(GX_WIDGET_USER_DATA)
6531     0,                                       /* user data                      */
6532     #endif
6533     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE,   /* style flags */
6534     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6535     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
6536     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
6537     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
6538     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6539     gx_studio_pixelmap_button_create,        /* create function                */
6540     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
6541     GX_NULL,                                 /* event function override        */
6542     {39, 268, 112, 356},                     /* widget size                    */
6543     &audio_screen_pixelmap_button_4_define,  /* next widget definition         */
6544     &audio_screen_prompt_1_define,           /* child widget definition        */
6545     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_end_call_btn), /* control block */
6546     (void *) &audio_screen_end_call_btn_properties /* extended properties      */
6547 };
6548 
6549 GX_CONST GX_STUDIO_WIDGET audio_screen_keypad_btn_define =
6550 {
6551     "keypad_btn",
6552     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
6553     ID_BTN_KEYPAD,                           /* widget id                      */
6554     #if defined(GX_WIDGET_USER_DATA)
6555     0,                                       /* user data                      */
6556     #endif
6557     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
6558     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6559     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
6560     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
6561     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
6562     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6563     gx_studio_pixelmap_button_create,        /* create function                */
6564     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
6565     GX_NULL,                                 /* event function override        */
6566     {39, 96, 112, 184},                      /* widget size                    */
6567     &audio_screen_end_call_btn_define,       /* next widget definition         */
6568     &audio_screen_prompt_6_define,           /* child widget definition        */
6569     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_keypad_btn), /* control block */
6570     (void *) &audio_screen_keypad_btn_properties /* extended properties        */
6571 };
6572 
6573 GX_CONST GX_STUDIO_WIDGET audio_screen_music_info_win_define =
6574 {
6575     "music_info_win",
6576     GX_TYPE_WINDOW,                          /* widget type                    */
6577     GX_ID_NONE,                              /* widget id                      */
6578     #if defined(GX_WIDGET_USER_DATA)
6579     0,                                       /* user data                      */
6580     #endif
6581     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
6582     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6583     sizeof(GX_WINDOW),                       /* control block size             */
6584     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
6585     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
6586     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6587     gx_studio_window_create,                 /* create function                */
6588     GX_NULL,                                 /* drawing function override      */
6589     GX_NULL,                                 /* event function override        */
6590     {164, 87, 483, 194},                     /* widget size                    */
6591     &audio_screen_keypad_btn_define,         /* next widget definition         */
6592     &audio_screen_music_name_define,         /* child widget definition        */
6593     offsetof(AUDIO_SCREEN_CONTROL_BLOCK, audio_screen_music_info_win), /* control block */
6594     (void *) &audio_screen_music_info_win_properties /* extended properties    */
6595 };
6596 
6597 GX_ANIMATION_INFO audio_screen_animation_1 = {
6598     (GX_WIDGET *) &audio_screen.audio_screen_music_info_win,
6599     (GX_WIDGET *) &audio_screen,
6600     GX_NULL,
6601     GX_ANIMATION_TRANSLATE|GX_ANIMATION_SINE_EASE_IN, 0, 0, 1,
6602     {164, 0}, {164, 87}, 255, 255, 15
6603 };
6604 
6605 
6606 GX_STUDIO_ACTION audio_screen_on_user_event_slide_in_music_info_winactions[2] = {
6607     {GX_ACTION_TYPE_ANIMATION, 0, &audio_screen, &audio_screen.audio_screen_music_info_win, &audio_screen_animation_1},
6608     {0, 0, GX_NULL, GX_NULL, GX_NULL}
6609 };
6610 
6611 static GX_STUDIO_EVENT_ENTRY gx_studio_audio_screen_event_table[] = {
6612     { USER_EVENT_SLIDE_IN_MUSIC_INFO_WIN, 0, audio_screen_on_user_event_slide_in_music_info_winactions},
6613     {0, 0, GX_NULL}
6614 };
6615 
6616 GX_STUDIO_EVENT_PROCESS audio_screen_event_chain = {gx_studio_audio_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))audio_screen_event_process};
gx_studio_audio_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)6617 static UINT gx_studio_audio_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
6618 {
6619     return (gx_studio_auto_event_handler(target, event_ptr, &audio_screen_event_chain));
6620 }
6621 
6622 
6623 GX_CONST GX_STUDIO_WIDGET audio_screen_define =
6624 {
6625     "audio_screen",
6626     GX_TYPE_TEMPLATE,                        /* widget type                    */
6627     ID_AUDIO_SCREEN,                         /* widget id                      */
6628     #if defined(GX_WIDGET_USER_DATA)
6629     0,                                       /* user data                      */
6630     #endif
6631     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
6632     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6633     sizeof(AUDIO_SCREEN_CONTROL_BLOCK),      /* control block size             */
6634     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
6635     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
6636     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6637     gx_studio_template_create,               /* create function                */
6638     GX_NULL,                                 /* drawing function override      */
6639     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_audio_screen_event_process, /* event function override */
6640     {0, 0, 639, 479},                        /* widget size                    */
6641     GX_NULL,                                 /* next widget                    */
6642     &audio_screen_music_info_win_define,     /* child widget                   */
6643     0,                                       /* control block                  */
6644     (void *) &audio_screen_properties        /* extended properties            */
6645 };
6646 GX_TEMPLATE_PROPERTIES phone_screen_properties =
6647 {
6648     &volume_screen_base_define,              /* base info                      */
6649     gx_studio_template_create,               /* base create function           */
6650     {0, 0, 639, 479}                         /* widget size                    */
6651 };
6652 GX_PIXELMAP_BUTTON_PROPERTIES phone_screen_keypad_btn_properties =
6653 {
6654     GX_PIXELMAP_ID_V_MODE_BTN,               /* normal pixelmap id             */
6655     0,                                       /* selected pixelmap id           */
6656     0                                        /* disabled pixelmap id           */
6657 };
6658 GX_PROMPT_PROPERTIES phone_screen_prompt_6_properties =
6659 {
6660     GX_STRING_ID_STRING_109,                 /* string id                      */
6661     GX_FONT_ID_PROMPT,                       /* font id                        */
6662     GX_COLOR_ID_WHITE,                       /* normal text color              */
6663     GX_COLOR_ID_WHITE,                       /* selected text color            */
6664     GX_COLOR_ID_DISABLED_TEXT                /* disabled text color            */
6665 };
6666 GX_ICON_PROPERTIES phone_screen_icon_properties =
6667 {
6668     GX_PIXELMAP_ID_ICON_PHONE_DIALS,         /* normal pixelmap id             */
6669     0                                        /* selected pixelmap id           */
6670 };
6671 GX_PIXELMAP_BUTTON_PROPERTIES phone_screen_end_call_btn_properties =
6672 {
6673     GX_PIXELMAP_ID_V_MODE_BTN,               /* normal pixelmap id             */
6674     0,                                       /* selected pixelmap id           */
6675     0                                        /* disabled pixelmap id           */
6676 };
6677 GX_PROMPT_PROPERTIES phone_screen_prompt_1_properties =
6678 {
6679     GX_STRING_ID_STRING_111,                 /* string id                      */
6680     GX_FONT_ID_PROMPT,                       /* font id                        */
6681     GX_COLOR_ID_WHITE,                       /* normal text color              */
6682     GX_COLOR_ID_WHITE,                       /* selected text color            */
6683     GX_COLOR_ID_DISABLED_TEXT                /* disabled text color            */
6684 };
6685 GX_ICON_PROPERTIES phone_screen_end_call_btn_icon_properties =
6686 {
6687     GX_PIXELMAP_ID_ICON_PHONE,               /* normal pixelmap id             */
6688     GX_PIXELMAP_ID_ICON_PHONE_OFF            /* selected pixelmap id           */
6689 };
6690 GX_WINDOW_PROPERTIES phone_screen_phone_call_win_properties =
6691 {
6692     0                                        /* wallpaper pixelmap id          */
6693 };
6694 GX_PROMPT_PROPERTIES phone_screen_name_properties =
6695 {
6696     GX_STRING_ID_STRING_112,                 /* string id                      */
6697     GX_FONT_ID_MIDDLE,                       /* font id                        */
6698     GX_COLOR_ID_WHITE,                       /* normal text color              */
6699     GX_COLOR_ID_WHITE,                       /* selected text color            */
6700     GX_COLOR_ID_WHITE                        /* disabled text color            */
6701 };
6702 GX_ICON_PROPERTIES phone_screen_portait_icon_properties =
6703 {
6704     GX_PIXELMAP_ID_PHONE_PHOTO_FRAME,        /* normal pixelmap id             */
6705     0                                        /* selected pixelmap id           */
6706 };
6707 GX_ICON_PROPERTIES phone_screen_icon_15_properties =
6708 {
6709     GX_PIXELMAP_ID_PHONE_PHOTO,              /* normal pixelmap id             */
6710     0                                        /* selected pixelmap id           */
6711 };
6712 GX_NUMERIC_PROMPT_PROPERTIES phone_screen_minute_properties =
6713 {
6714     0,                                       /* string id                      */
6715     GX_FONT_ID_LARGE,                        /* font id                        */
6716     GX_COLOR_ID_GRAY,                        /* normal text color              */
6717     GX_COLOR_ID_GRAY,                        /* selected text color            */
6718     GX_COLOR_ID_GRAY,                        /* disabled text color            */
6719     time_value_format,                       /* format function                */
6720     10                                       /* numeric prompt value           */
6721 };
6722 GX_NUMERIC_PROMPT_PROPERTIES phone_screen_second_properties =
6723 {
6724     0,                                       /* string id                      */
6725     GX_FONT_ID_LARGE,                        /* font id                        */
6726     GX_COLOR_ID_GRAY,                        /* normal text color              */
6727     GX_COLOR_ID_GRAY,                        /* selected text color            */
6728     GX_COLOR_ID_GRAY,                        /* disabled text color            */
6729     time_value_format,                       /* format function                */
6730     10                                       /* numeric prompt value           */
6731 };
6732 GX_PROMPT_PROPERTIES phone_screen_second_colon_properties =
6733 {
6734     GX_STRING_ID_STRING_22,                  /* string id                      */
6735     GX_FONT_ID_LARGE,                        /* font id                        */
6736     GX_COLOR_ID_GRAY,                        /* normal text color              */
6737     GX_COLOR_ID_GRAY,                        /* selected text color            */
6738     GX_COLOR_ID_GRAY                         /* disabled text color            */
6739 };
6740 
6741 GX_CONST GX_STUDIO_WIDGET phone_screen_icon_define =
6742 {
6743     "icon",
6744     GX_TYPE_ICON,                            /* widget type                    */
6745     GX_ID_NONE,                              /* widget id                      */
6746     #if defined(GX_WIDGET_USER_DATA)
6747     0,                                       /* user data                      */
6748     #endif
6749     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
6750     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6751     sizeof(GX_ICON),                         /* control block size             */
6752     GX_COLOR_ID_WHITE,                       /* normal color id                */
6753     GX_COLOR_ID_WHITE,                       /* selected color id              */
6754     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6755     gx_studio_icon_create,                   /* create function                */
6756     GX_NULL,                                 /* drawing function override      */
6757     GX_NULL,                                 /* event function override        */
6758     {65, 123, 86, 144},                      /* widget size                    */
6759     GX_NULL,                                 /* no next widget                 */
6760     GX_NULL,                                 /* no child widgets               */
6761     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_icon), /* control block  */
6762     (void *) &phone_screen_icon_properties   /* extended properties            */
6763 };
6764 
6765 GX_CONST GX_STUDIO_WIDGET phone_screen_prompt_6_define =
6766 {
6767     "prompt_6",
6768     GX_TYPE_PROMPT,                          /* widget type                    */
6769     GX_ID_NONE,                              /* widget id                      */
6770     #if defined(GX_WIDGET_USER_DATA)
6771     0,                                       /* user data                      */
6772     #endif
6773     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6774     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6775     sizeof(GX_PROMPT),                       /* control block size             */
6776     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6777     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6778     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6779     gx_studio_prompt_create,                 /* create function                */
6780     GX_NULL,                                 /* drawing function override      */
6781     GX_NULL,                                 /* event function override        */
6782     {48, 163, 103, 180},                     /* widget size                    */
6783     &phone_screen_icon_define,               /* next widget definition         */
6784     GX_NULL,                                 /* no child widgets               */
6785     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_prompt_6), /* control block */
6786     (void *) &phone_screen_prompt_6_properties /* extended properties          */
6787 };
6788 
6789 GX_CONST GX_STUDIO_WIDGET phone_screen_end_call_btn_icon_define =
6790 {
6791     "end_call_btn_icon",
6792     GX_TYPE_ICON,                            /* widget type                    */
6793     GX_ID_NONE,                              /* widget id                      */
6794     #if defined(GX_WIDGET_USER_DATA)
6795     0,                                       /* user data                      */
6796     #endif
6797     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
6798     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6799     sizeof(GX_ICON),                         /* control block size             */
6800     GX_COLOR_ID_WHITE,                       /* normal color id                */
6801     GX_COLOR_ID_RED,                         /* selected color id              */
6802     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6803     gx_studio_icon_create,                   /* create function                */
6804     GX_NULL,                                 /* drawing function override      */
6805     GX_NULL,                                 /* event function override        */
6806     {65, 295, 86, 316},                      /* widget size                    */
6807     GX_NULL,                                 /* no next widget                 */
6808     GX_NULL,                                 /* no child widgets               */
6809     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_end_call_btn_icon), /* control block */
6810     (void *) &phone_screen_end_call_btn_icon_properties /* extended properties */
6811 };
6812 
6813 GX_CONST GX_STUDIO_WIDGET phone_screen_prompt_1_define =
6814 {
6815     "prompt_1",
6816     GX_TYPE_PROMPT,                          /* widget type                    */
6817     GX_ID_NONE,                              /* widget id                      */
6818     #if defined(GX_WIDGET_USER_DATA)
6819     0,                                       /* user data                      */
6820     #endif
6821     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6822     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6823     sizeof(GX_PROMPT),                       /* control block size             */
6824     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6825     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6826     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6827     gx_studio_prompt_create,                 /* create function                */
6828     GX_NULL,                                 /* drawing function override      */
6829     GX_NULL,                                 /* event function override        */
6830     {48, 335, 103, 352},                     /* widget size                    */
6831     &phone_screen_end_call_btn_icon_define,  /* next widget definition         */
6832     GX_NULL,                                 /* no child widgets               */
6833     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_prompt_1), /* control block */
6834     (void *) &phone_screen_prompt_1_properties /* extended properties          */
6835 };
6836 
6837 GX_CONST GX_STUDIO_WIDGET phone_screen_icon_15_define =
6838 {
6839     "icon_15",
6840     GX_TYPE_ICON,                            /* widget type                    */
6841     GX_ID_NONE,                              /* widget id                      */
6842     #if defined(GX_WIDGET_USER_DATA)
6843     0,                                       /* user data                      */
6844     #endif
6845     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
6846     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6847     sizeof(GX_ICON),                         /* control block size             */
6848     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6849     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6850     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6851     gx_studio_icon_create,                   /* create function                */
6852     GX_NULL,                                 /* drawing function override      */
6853     GX_NULL,                                 /* event function override        */
6854     {257, 103, 382, 228},                    /* widget size                    */
6855     GX_NULL,                                 /* no next widget                 */
6856     GX_NULL,                                 /* no child widgets               */
6857     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_icon_15), /* control block */
6858     (void *) &phone_screen_icon_15_properties /* extended properties           */
6859 };
6860 
6861 GX_CONST GX_STUDIO_WIDGET phone_screen_second_colon_define =
6862 {
6863     "second_colon",
6864     GX_TYPE_PROMPT,                          /* widget type                    */
6865     GX_ID_NONE,                              /* widget id                      */
6866     #if defined(GX_WIDGET_USER_DATA)
6867     0,                                       /* user data                      */
6868     #endif
6869     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6870     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6871     sizeof(GX_PROMPT),                       /* control block size             */
6872     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6873     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6874     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6875     gx_studio_prompt_create,                 /* create function                */
6876     GX_NULL,                                 /* drawing function override      */
6877     GX_NULL,                                 /* event function override        */
6878     {303, 284, 315, 325},                    /* widget size                    */
6879     GX_NULL,                                 /* no next widget                 */
6880     GX_NULL,                                 /* no child widgets               */
6881     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_second_colon), /* control block */
6882     (void *) &phone_screen_second_colon_properties /* extended properties      */
6883 };
6884 
6885 GX_CONST GX_STUDIO_WIDGET phone_screen_second_define =
6886 {
6887     "second",
6888     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
6889     GX_ID_NONE,                              /* widget id                      */
6890     #if defined(GX_WIDGET_USER_DATA)
6891     0,                                       /* user data                      */
6892     #endif
6893     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6894     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6895     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
6896     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6897     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6898     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6899     gx_studio_numeric_prompt_create,         /* create function                */
6900     GX_NULL,                                 /* drawing function override      */
6901     GX_NULL,                                 /* event function override        */
6902     {315, 289, 364, 330},                    /* widget size                    */
6903     &phone_screen_second_colon_define,       /* next widget definition         */
6904     GX_NULL,                                 /* no child widgets               */
6905     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_second), /* control block */
6906     (void *) &phone_screen_second_properties /* extended properties            */
6907 };
6908 
6909 GX_CONST GX_STUDIO_WIDGET phone_screen_minute_define =
6910 {
6911     "minute",
6912     GX_TYPE_NUMERIC_PROMPT,                  /* widget type                    */
6913     GX_ID_NONE,                              /* widget id                      */
6914     #if defined(GX_WIDGET_USER_DATA)
6915     0,                                       /* user data                      */
6916     #endif
6917     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6918     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6919     sizeof(GX_NUMERIC_PROMPT),               /* control block size             */
6920     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6921     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6922     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6923     gx_studio_numeric_prompt_create,         /* create function                */
6924     GX_NULL,                                 /* drawing function override      */
6925     GX_NULL,                                 /* event function override        */
6926     {257, 289, 306, 330},                    /* widget size                    */
6927     &phone_screen_second_define,             /* next widget definition         */
6928     GX_NULL,                                 /* no child widgets               */
6929     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_minute), /* control block */
6930     (void *) &phone_screen_minute_properties /* extended properties            */
6931 };
6932 
6933 GX_CONST GX_STUDIO_WIDGET phone_screen_portait_icon_define =
6934 {
6935     "portait_icon",
6936     GX_TYPE_ICON,                            /* widget type                    */
6937     GX_ID_NONE,                              /* widget id                      */
6938     #if defined(GX_WIDGET_USER_DATA)
6939     0,                                       /* user data                      */
6940     #endif
6941     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
6942     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6943     sizeof(GX_ICON),                         /* control block size             */
6944     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6945     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6946     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6947     gx_studio_icon_create,                   /* create function                */
6948     GX_NULL,                                 /* drawing function override      */
6949     GX_NULL,                                 /* event function override        */
6950     {257, 103, 382, 228},                    /* widget size                    */
6951     &phone_screen_minute_define,             /* next widget definition         */
6952     &phone_screen_icon_15_define,            /* child widget definition        */
6953     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_portait_icon), /* control block */
6954     (void *) &phone_screen_portait_icon_properties /* extended properties      */
6955 };
6956 
6957 GX_CONST GX_STUDIO_WIDGET phone_screen_name_define =
6958 {
6959     "name",
6960     GX_TYPE_PROMPT,                          /* widget type                    */
6961     GX_ID_NONE,                              /* widget id                      */
6962     #if defined(GX_WIDGET_USER_DATA)
6963     0,                                       /* user data                      */
6964     #endif
6965     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
6966     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6967     sizeof(GX_PROMPT),                       /* control block size             */
6968     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
6969     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
6970     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6971     gx_studio_prompt_create,                 /* create function                */
6972     GX_NULL,                                 /* drawing function override      */
6973     GX_NULL,                                 /* event function override        */
6974     {197, 239, 433, 267},                    /* widget size                    */
6975     &phone_screen_portait_icon_define,       /* next widget definition         */
6976     GX_NULL,                                 /* no child widgets               */
6977     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_name), /* control block  */
6978     (void *) &phone_screen_name_properties   /* extended properties            */
6979 };
6980 
6981 GX_CONST GX_STUDIO_WIDGET phone_screen_phone_call_win_define =
6982 {
6983     "phone_call_win",
6984     GX_TYPE_WINDOW,                          /* widget type                    */
6985     GX_ID_NONE,                              /* widget id                      */
6986     #if defined(GX_WIDGET_USER_DATA)
6987     0,                                       /* user data                      */
6988     #endif
6989     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED,   /* style flags */
6990     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
6991     sizeof(GX_WINDOW),                       /* control block size             */
6992     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
6993     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
6994     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
6995     gx_studio_window_create,                 /* create function                */
6996     GX_NULL,                                 /* drawing function override      */
6997     GX_NULL,                                 /* event function override        */
6998     {156, 96, 475, 335},                     /* widget size                    */
6999     GX_NULL,                                 /* no next widget                 */
7000     &phone_screen_name_define,               /* child widget definition        */
7001     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_phone_call_win), /* control block */
7002     (void *) &phone_screen_phone_call_win_properties /* extended properties    */
7003 };
7004 
7005 GX_CONST GX_STUDIO_WIDGET phone_screen_end_call_btn_define =
7006 {
7007     "end_call_btn",
7008     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
7009     ID_BTN_END_CALL,                         /* widget id                      */
7010     #if defined(GX_WIDGET_USER_DATA)
7011     0,                                       /* user data                      */
7012     #endif
7013     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE,   /* style flags */
7014     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7015     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
7016     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7017     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7018     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
7019     gx_studio_pixelmap_button_create,        /* create function                */
7020     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
7021     GX_NULL,                                 /* event function override        */
7022     {39, 268, 112, 356},                     /* widget size                    */
7023     &phone_screen_phone_call_win_define,     /* next widget definition         */
7024     &phone_screen_prompt_1_define,           /* child widget definition        */
7025     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_end_call_btn), /* control block */
7026     (void *) &phone_screen_end_call_btn_properties /* extended properties      */
7027 };
7028 
7029 GX_CONST GX_STUDIO_WIDGET phone_screen_keypad_btn_define =
7030 {
7031     "keypad_btn",
7032     GX_TYPE_PIXELMAP_BUTTON,                 /* widget type                    */
7033     ID_BTN_KEYPAD,                           /* widget id                      */
7034     #if defined(GX_WIDGET_USER_DATA)
7035     0,                                       /* user data                      */
7036     #endif
7037     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
7038     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7039     sizeof(GX_PIXELMAP_BUTTON),              /* control block size             */
7040     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
7041     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
7042     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
7043     gx_studio_pixelmap_button_create,        /* create function                */
7044     (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
7045     GX_NULL,                                 /* event function override        */
7046     {39, 96, 112, 184},                      /* widget size                    */
7047     &phone_screen_end_call_btn_define,       /* next widget definition         */
7048     &phone_screen_prompt_6_define,           /* child widget definition        */
7049     offsetof(PHONE_SCREEN_CONTROL_BLOCK, phone_screen_keypad_btn), /* control block */
7050     (void *) &phone_screen_keypad_btn_properties /* extended properties        */
7051 };
7052 
7053 GX_ANIMATION_INFO phone_screen_animation_1 = {
7054     (GX_WIDGET *) &phone_screen.phone_screen_phone_call_win,
7055     (GX_WIDGET *) &phone_screen,
7056     GX_NULL,
7057     GX_ANIMATION_TRANSLATE|GX_ANIMATION_DETACH, 0, 0, 1,
7058     {156, 96}, {156, 96}, 255, 0, 20
7059 };
7060 
7061 
7062 GX_STUDIO_ACTION phone_screen__id_btn_end_call_gx_event_toggle_on_actions[2] = {
7063     {GX_ACTION_TYPE_ANIMATION, 0, &phone_screen, &phone_screen.phone_screen_phone_call_win, &phone_screen_animation_1},
7064     {0, 0, GX_NULL, GX_NULL, GX_NULL}
7065 };
7066 
7067 
7068 GX_STUDIO_ACTION phone_screen_on_gx_event_showactions[2] = {
7069     {GX_ACTION_TYPE_ATTACH, 0, &phone_screen, &phone_screen.phone_screen_phone_call_win, GX_NULL},
7070     {0, 0, GX_NULL, GX_NULL, GX_NULL}
7071 };
7072 
7073 static GX_STUDIO_EVENT_ENTRY gx_studio_phone_screen_event_table[] = {
7074     {GX_SIGNAL(ID_BTN_END_CALL, GX_EVENT_TOGGLE_ON), 0, phone_screen__id_btn_end_call_gx_event_toggle_on_actions},
7075     { GX_EVENT_SHOW, 0, phone_screen_on_gx_event_showactions},
7076     {0, 0, GX_NULL}
7077 };
7078 
7079 GX_STUDIO_EVENT_PROCESS phone_screen_event_chain = {gx_studio_phone_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))phone_screen_event_process};
gx_studio_phone_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)7080 static UINT gx_studio_phone_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
7081 {
7082     return (gx_studio_auto_event_handler(target, event_ptr, &phone_screen_event_chain));
7083 }
7084 
7085 
7086 GX_CONST GX_STUDIO_WIDGET phone_screen_define =
7087 {
7088     "phone_screen",
7089     GX_TYPE_TEMPLATE,                        /* widget type                    */
7090     ID_PHONE_SCREEN,                         /* widget id                      */
7091     #if defined(GX_WIDGET_USER_DATA)
7092     0,                                       /* user data                      */
7093     #endif
7094     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED,   /* style flags                    */
7095     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
7096     sizeof(PHONE_SCREEN_CONTROL_BLOCK),      /* control block size             */
7097     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
7098     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
7099     GX_COLOR_ID_DISABLED_FILL,               /* disabled color id              */
7100     gx_studio_template_create,               /* create function                */
7101     GX_NULL,                                 /* drawing function override      */
7102     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_phone_screen_event_process, /* event function override */
7103     {0, 0, 639, 479},                        /* widget size                    */
7104     GX_NULL,                                 /* next widget                    */
7105     &phone_screen_keypad_btn_define,         /* child widget                   */
7106     0,                                       /* control block                  */
7107     (void *) &phone_screen_properties        /* extended properties            */
7108 };
7109 GX_CONST GX_STUDIO_WIDGET_ENTRY demo_guix_car_infotainment_widget_table[] =
7110 {
7111     { &video_screen_define, (GX_WIDGET *) &video_screen },
7112     { &audio_screen_define, (GX_WIDGET *) &audio_screen },
7113     { &phone_screen_define, (GX_WIDGET *) &phone_screen },
7114     { &climate_screen_define, (GX_WIDGET *) &climate_screen },
7115     { &vehicle_screen_define, (GX_WIDGET *) &vehicle_screen },
7116     { &main_screen_define, (GX_WIDGET *) &main_screen },
7117     {GX_NULL, GX_NULL}
7118 };
7119 
gx_studio_nested_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)7120 static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
7121 {
7122     UINT status = GX_SUCCESS;
7123     GX_WIDGET *widget = GX_NULL;
7124     GX_VALUE   list_count = 0;
7125     GX_VALUE   list_total_count = 0;
7126 
7127     if(parent && (parent->gx_widget_type == GX_TYPE_MENU))
7128     {
7129         list_total_count = ((GX_MENU *)parent)->gx_menu_list_total_count;
7130     }
7131 
7132     while(definition && status == GX_SUCCESS)
7133     {
7134         if (definition->create_function)
7135         {
7136             if (definition->style & GX_STYLE_DYNAMICALLY_ALLOCATED)
7137             {
7138                 status = gx_widget_allocate(&widget, definition->control_block_size);
7139                 if (status != GX_SUCCESS)
7140                 {
7141                     return GX_NULL;
7142                 }
7143             }
7144             else
7145             {
7146                 if (control == GX_NULL)
7147                 {
7148                     return GX_NULL;
7149                 }
7150                 widget = (GX_WIDGET *) (control + definition->control_block_offset);
7151             }
7152 
7153             status = definition->create_function(definition, widget, parent);
7154 
7155             if(list_count < list_total_count)
7156             {
7157                 gx_menu_insert((GX_MENU *)parent, widget);
7158                 ((GX_MENU *)parent)->gx_menu_list_total_count--;
7159                 list_count++;
7160             }
7161 
7162             if (status == GX_SUCCESS)
7163             {
7164                 if (definition->widget_type != GX_TYPE_TEMPLATE)
7165                 {
7166 #if defined(GUIX_5_4_0_COMPATIBILITY)
7167                     gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id);
7168 #else
7169                     gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id, definition->disabled_fill_color_id);
7170 #endif
7171                 }
7172 
7173                 if (!(definition->status & GX_STATUS_ACCEPTS_FOCUS))
7174                 {
7175                     gx_widget_status_remove(widget, GX_STATUS_ACCEPTS_FOCUS);
7176                 }
7177 
7178                 if (definition->draw_function)
7179                 {
7180                     gx_widget_draw_set(widget, definition->draw_function);
7181                 }
7182                 if (definition->event_function)
7183                 {
7184                     gx_widget_event_process_set(widget, definition->event_function);
7185                 }
7186 
7187                 #if defined(GX_WIDGET_USER_DATA)
7188                 widget->gx_widget_user_data = definition->user_data;
7189                 #endif
7190 
7191                 if (definition->child_widget)
7192                 {
7193                     gx_studio_nested_widget_create(control, definition->child_widget, widget);
7194                 }
7195             }
7196             definition = definition->next_widget;
7197         }
7198     }
7199     return widget;
7200 }
7201 
gx_studio_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)7202 GX_WIDGET *gx_studio_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
7203 {
7204     GX_WIDGET *widget;
7205     widget = gx_studio_nested_widget_create(control, definition, GX_NULL);
7206 
7207     if (parent && widget)
7208     {
7209         gx_widget_attach(parent, widget);
7210     }
7211     return widget;
7212 }
7213 
gx_studio_named_widget_create(char * name,GX_WIDGET * parent,GX_WIDGET ** new_widget)7214 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget)
7215 {
7216     UINT status = GX_FAILURE;
7217     GX_CONST GX_STUDIO_WIDGET_ENTRY *entry = demo_guix_car_infotainment_widget_table;
7218     GX_WIDGET *widget = GX_NULL;
7219 
7220     while(entry->widget_information)
7221     {
7222         if (!strcmp(name, entry->widget_information->widget_name))
7223         {
7224             widget = gx_studio_widget_create((GX_BYTE *) entry->widget, entry->widget_information, parent);
7225             if (widget)
7226             {
7227                 status = GX_SUCCESS;
7228             }
7229             break;
7230         }
7231         entry++;
7232     }
7233 
7234     if (new_widget)
7235     {
7236         *new_widget = widget;
7237     }
7238     return status;
7239 }
7240 
7241 
gx_studio_display_configure(USHORT display,UINT (* driver)(GX_DISPLAY *),GX_UBYTE language,USHORT theme,GX_WINDOW_ROOT ** return_root)7242 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *),
7243     GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root)
7244 {
7245     GX_CONST GX_THEME *theme_ptr;
7246     GX_RECTANGLE size;
7247 
7248     GX_STUDIO_DISPLAY_INFO *display_info = &demo_guix_car_infotainment_display_table[display];
7249 
7250 
7251 /* create the requested display                                                */
7252 
7253     gx_display_create(display_info->display,
7254                       display_info->name,
7255                       driver,
7256                       (GX_VALUE) display_info->x_resolution,
7257                       (GX_VALUE) display_info->y_resolution);
7258 
7259 
7260 /* install the request theme                                                   */
7261 
7262     if(display_info->theme_table)
7263     {
7264         theme_ptr = display_info->theme_table[theme];
7265         if(theme_ptr)
7266         {
7267             gx_display_color_table_set(display_info->display, theme_ptr->theme_color_table, theme_ptr->theme_color_table_size);
7268 
7269 /* install the color palette if required                                       */
7270             if (display_info->display->gx_display_driver_palette_set &&
7271                 theme_ptr->theme_palette != NULL)
7272             {
7273                 display_info->display->gx_display_driver_palette_set(display_info->display, theme_ptr->theme_palette, theme_ptr->theme_palette_size);
7274             }
7275 
7276             gx_display_font_table_set(display_info->display, theme_ptr->theme_font_table, theme_ptr->theme_font_table_size);
7277             gx_display_pixelmap_table_set(display_info->display, theme_ptr->theme_pixelmap_table, theme_ptr->theme_pixelmap_table_size);
7278             gx_system_scroll_appearance_set(theme_ptr->theme_vertical_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_vertical_scrollbar_appearance);
7279             gx_system_scroll_appearance_set(theme_ptr->theme_horizontal_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_horizontal_scrollbar_appearance);
7280         }
7281     }
7282 
7283 /* Install the language table.                                                 */
7284 
7285     if(display_info->language_table)
7286     {
7287         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);
7288         gx_display_active_language_set(display_info->display, language);
7289     }
7290 
7291 /* Set screen rotation angle.                                                  */
7292 
7293     display_info->display->gx_display_rotation_angle = display_info->rotation_angle;
7294 
7295 /* create the canvas for this display                                          */
7296 
7297     gx_canvas_create(display_info->canvas,
7298                      display_info->canvas_name,
7299                      display_info->display,
7300                      GX_CANVAS_MANAGED | GX_CANVAS_VISIBLE,
7301                      display_info->x_resolution,
7302                      display_info->y_resolution,
7303                      display_info->canvas_memory,
7304                      display_info->canvas_memory_size);
7305 
7306 /* Create the root window for this canvas                                      */
7307 
7308     gx_utility_rectangle_define(&size,
7309                                 0, 0,
7310                                 (GX_VALUE) (display_info->x_resolution - 1),
7311                                 (GX_VALUE) (display_info->y_resolution - 1));
7312 
7313     gx_window_root_create(display_info->root_window,
7314                           display_info->name,
7315                           display_info->canvas, GX_STYLE_NONE, 0, &size);
7316     if (return_root)
7317     {
7318         *return_root = display_info->root_window;
7319     }
7320     return GX_SUCCESS;
7321 }
7322 #undef GUIX_STUDIO_GENERATED_FILE
7323