1 /*******************************************************************************/
2 /*  This file is auto-generated by Azure RTOS GUIX Studio. Do not edit this    */
3 /*  file by hand. Modifications to this file should only be made by running    */
4 /*  the Azure RTOS GUIX Studio application and re-generating the application   */
5 /*  specification file(s). For more information please refer to the Azure RTOS */
6 /*  GUIX Studio User Guide, or visit our web site at azure.com/rtos            */
7 /*                                                                             */
8 /*  GUIX Studio Revision 6.2.0.1                                               */
9 /*  Date (dd.mm.yyyy): 31.10.2022   Time (hh:mm): 14:10                        */
10 /*******************************************************************************/
11 
12 
13 #define GUIX_STUDIO_GENERATED_FILE
14 #include <stddef.h>
15 #include "non_linear_animation_resources.h"
16 #include "non_linear_animation_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 MAIN_SCREEN_CONTROL_BLOCK main_screen;
20 GX_DISPLAY Primary_control_block;
21 GX_WINDOW_ROOT Primary_root_window;
22 GX_CANVAS  Primary_canvas_control_block;
23 ULONG      Primary_canvas_memory[320000];
24 
25 extern GX_CONST GX_THEME *Primary_theme_table[];
26 extern GX_CONST GX_STRING *Primary_language_table[];
27 
28 GX_STUDIO_DISPLAY_INFO non_linear_animation_display_table[1] =
29 {
30     {
31     "Primary",
32     "Primary_canvas",
33     Primary_theme_table,
34     Primary_language_table,
35     PRIMARY_THEME_TABLE_SIZE,
36     PRIMARY_LANGUAGE_TABLE_SIZE,
37     PRIMARY_STRING_TABLE_SIZE,
38     800,                                     /* x resolution                   */
39     400,                                     /* y resolution                   */
40     &Primary_control_block,
41     &Primary_canvas_control_block,
42     &Primary_root_window,
43     Primary_canvas_memory,                   /* canvas memory area             */
44     1280000,                                 /* canvas memory size in bytes    */
45     0                                        /* rotation angle                 */
46     }
47 };
48 
49 
gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)50 UINT gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
51 {
52     UINT status;
53     GX_TEXT_BUTTON *button = (GX_TEXT_BUTTON *) control_block;
54     GX_TEXT_BUTTON_PROPERTIES *props = (GX_TEXT_BUTTON_PROPERTIES *) info->properties;
55     status = gx_text_button_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
56     if (status == GX_SUCCESS)
57     {
58         gx_text_button_font_set(button, props->font_id);
59 #if defined(GUIX_5_4_0_COMPATIBILITY)
60         gx_text_button_text_color_set(button, props->normal_text_color_id, props->selected_text_color_id);
61 #else
62         gx_text_button_text_color_set(button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
63 #endif
64     }
65     return status;
66 }
67 
gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)68 UINT gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
69 {
70     UINT status;
71     GX_RADIO_BUTTON *button = (GX_RADIO_BUTTON *) control_block;
72     GX_TEXT_BUTTON *text_button = (GX_TEXT_BUTTON *) button;
73     GX_RADIO_BUTTON_PROPERTIES *props = (GX_RADIO_BUTTON_PROPERTIES *) info->properties;
74     status = gx_radio_button_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
75     if (status == GX_SUCCESS)
76     {
77         gx_text_button_font_set(text_button, props->font_id);
78 #if defined(GUIX_5_4_0_COMPATIBILITY)
79         gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id);
80 #else
81         gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
82 #endif
83 
84         if (props->off_pixelmap_id ||
85             props->on_pixelmap_id ||
86             props->off_disabled_pixelmap_id ||
87             props->on_disabled_pixelmap_id)
88         {
89             gx_radio_button_pixelmap_set(button,
90                                      props->off_pixelmap_id,
91                                      props->on_pixelmap_id,
92                                      props->off_disabled_pixelmap_id,
93                                      props->on_disabled_pixelmap_id);
94         }
95     }
96     return status;
97 }
98 
gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)99 UINT gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
100 {
101     UINT status;
102     GX_ICON_BUTTON *button = (GX_ICON_BUTTON *) control_block;
103     GX_ICON_BUTTON_PROPERTIES *props = (GX_ICON_BUTTON_PROPERTIES *) info->properties;
104     status = gx_icon_button_create(button, info->widget_name, parent, props->pixelmap_id, info->style, info->widget_id, &info->size);
105     return status;
106 }
107 
gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)108 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
109 {
110     UINT status;
111     GX_PROMPT *prompt = (GX_PROMPT *) control_block;
112     GX_PROMPT_PROPERTIES *props = (GX_PROMPT_PROPERTIES *) info->properties;
113     status = gx_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
114     if (status == GX_SUCCESS)
115     {
116         gx_prompt_font_set(prompt, props->font_id);
117 #if defined(GUIX_5_4_0_COMPATIBILITY)
118         gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id);
119 #else
120         gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
121 #endif
122     }
123     return status;
124 }
125 
gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)126 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
127 {
128     UINT status;
129     GX_WINDOW *window = (GX_WINDOW *) control_block;
130     GX_WINDOW_PROPERTIES *props = (GX_WINDOW_PROPERTIES *) info->properties;
131     status = gx_window_create(window, info->widget_name, parent, info->style, info->widget_id, &info->size);
132     if (status == GX_SUCCESS)
133     {
134         if (props->wallpaper_id)
135         {
136             gx_window_wallpaper_set(window, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
137         }
138     }
139     return status;
140 }
141 
gx_studio_line_chart_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)142 UINT gx_studio_line_chart_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
143 {
144     UINT status;
145     GX_LINE_CHART *chart = (GX_LINE_CHART *) control_block;
146     GX_LINE_CHART_INFO *chart_info = (GX_LINE_CHART_INFO *) info->properties;
147 
148     status = gx_line_chart_create(chart, info->widget_name, parent, chart_info, info->style, info->widget_id, &info->size);
149     return status;
150 }
151 GX_WINDOW_PROPERTIES main_screen_properties =
152 {
153     0                                        /* wallpaper pixelmap id          */
154 };
155 GX_PROMPT_PROPERTIES main_screen_title_properties =
156 {
157     GX_STRING_ID_STRING_3,                   /* string id                      */
158     GX_FONT_ID_PROMPT,                       /* font id                        */
159     GX_COLOR_ID_SELECTED_FILL,               /* normal text color              */
160     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
161     GX_COLOR_ID_SELECTED_FILL                /* disabled text color            */
162 };
163 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_properties =
164 {
165     GX_STRING_ID_STRING_86,                  /* string id                      */
166     GX_FONT_ID_BUTTON,                       /* font id                        */
167     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
168     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
169     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
170     0,                                       /* off pixelmap id                */
171     0,                                       /* on pixelmap id                 */
172     0,                                       /* off disabled pixelmap id       */
173     0                                        /* on disabled pixelmap id        */
174 };
175 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_1_properties =
176 {
177     GX_STRING_ID_STRING_84,                  /* string id                      */
178     GX_FONT_ID_BUTTON,                       /* font id                        */
179     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
180     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
181     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
182     0,                                       /* off pixelmap id                */
183     0,                                       /* on pixelmap id                 */
184     0,                                       /* off disabled pixelmap id       */
185     0                                        /* on disabled pixelmap id        */
186 };
187 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_2_properties =
188 {
189     GX_STRING_ID_STRING_85,                  /* string id                      */
190     GX_FONT_ID_BUTTON,                       /* font id                        */
191     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
192     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
193     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
194     0,                                       /* off pixelmap id                */
195     0,                                       /* on pixelmap id                 */
196     0,                                       /* off disabled pixelmap id       */
197     0                                        /* on disabled pixelmap id        */
198 };
199 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_3_properties =
200 {
201     GX_STRING_ID_STRING_87,                  /* string id                      */
202     GX_FONT_ID_BUTTON,                       /* font id                        */
203     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
204     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
205     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
206     0,                                       /* off pixelmap id                */
207     0,                                       /* on pixelmap id                 */
208     0,                                       /* off disabled pixelmap id       */
209     0                                        /* on disabled pixelmap id        */
210 };
211 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_4_properties =
212 {
213     GX_STRING_ID_STRING_88,                  /* string id                      */
214     GX_FONT_ID_BUTTON,                       /* font id                        */
215     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
216     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
217     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
218     0,                                       /* off pixelmap id                */
219     0,                                       /* on pixelmap id                 */
220     0,                                       /* off disabled pixelmap id       */
221     0                                        /* on disabled pixelmap id        */
222 };
223 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_5_properties =
224 {
225     GX_STRING_ID_STRING_90,                  /* string id                      */
226     GX_FONT_ID_BUTTON,                       /* font id                        */
227     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
228     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
229     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
230     0,                                       /* off pixelmap id                */
231     0,                                       /* on pixelmap id                 */
232     0,                                       /* off disabled pixelmap id       */
233     0                                        /* on disabled pixelmap id        */
234 };
235 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_6_properties =
236 {
237     GX_STRING_ID_STRING_89,                  /* string id                      */
238     GX_FONT_ID_BUTTON,                       /* font id                        */
239     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
240     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
241     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
242     0,                                       /* off pixelmap id                */
243     0,                                       /* on pixelmap id                 */
244     0,                                       /* off disabled pixelmap id       */
245     0                                        /* on disabled pixelmap id        */
246 };
247 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_7_properties =
248 {
249     GX_STRING_ID_STRING_91,                  /* string id                      */
250     GX_FONT_ID_BUTTON,                       /* font id                        */
251     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
252     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
253     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
254     0,                                       /* off pixelmap id                */
255     0,                                       /* on pixelmap id                 */
256     0,                                       /* off disabled pixelmap id       */
257     0                                        /* on disabled pixelmap id        */
258 };
259 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_8_properties =
260 {
261     GX_STRING_ID_STRING_92,                  /* string id                      */
262     GX_FONT_ID_BUTTON,                       /* font id                        */
263     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
264     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
265     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
266     0,                                       /* off pixelmap id                */
267     0,                                       /* on pixelmap id                 */
268     0,                                       /* off disabled pixelmap id       */
269     0                                        /* on disabled pixelmap id        */
270 };
271 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_9_properties =
272 {
273     GX_STRING_ID_STRING_93,                  /* string id                      */
274     GX_FONT_ID_BUTTON,                       /* font id                        */
275     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
276     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
277     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
278     0,                                       /* off pixelmap id                */
279     0,                                       /* on pixelmap id                 */
280     0,                                       /* off disabled pixelmap id       */
281     0                                        /* on disabled pixelmap id        */
282 };
283 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_11_properties =
284 {
285     GX_STRING_ID_STRING_94,                  /* string id                      */
286     GX_FONT_ID_BUTTON,                       /* font id                        */
287     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
288     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
289     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
290     0,                                       /* off pixelmap id                */
291     0,                                       /* on pixelmap id                 */
292     0,                                       /* off disabled pixelmap id       */
293     0                                        /* on disabled pixelmap id        */
294 };
295 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_12_properties =
296 {
297     GX_STRING_ID_STRING_95,                  /* string id                      */
298     GX_FONT_ID_BUTTON,                       /* font id                        */
299     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
300     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
301     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
302     0,                                       /* off pixelmap id                */
303     0,                                       /* on pixelmap id                 */
304     0,                                       /* off disabled pixelmap id       */
305     0                                        /* on disabled pixelmap id        */
306 };
307 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_13_properties =
308 {
309     GX_STRING_ID_STRING_96,                  /* string id                      */
310     GX_FONT_ID_BUTTON,                       /* font id                        */
311     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
312     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
313     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
314     0,                                       /* off pixelmap id                */
315     0,                                       /* on pixelmap id                 */
316     0,                                       /* off disabled pixelmap id       */
317     0                                        /* on disabled pixelmap id        */
318 };
319 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_14_properties =
320 {
321     GX_STRING_ID_STRING_97,                  /* string id                      */
322     GX_FONT_ID_BUTTON,                       /* font id                        */
323     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
324     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
325     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
326     0,                                       /* off pixelmap id                */
327     0,                                       /* on pixelmap id                 */
328     0,                                       /* off disabled pixelmap id       */
329     0                                        /* on disabled pixelmap id        */
330 };
331 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_15_properties =
332 {
333     GX_STRING_ID_STRING_98,                  /* string id                      */
334     GX_FONT_ID_BUTTON,                       /* font id                        */
335     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
336     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
337     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
338     0,                                       /* off pixelmap id                */
339     0,                                       /* on pixelmap id                 */
340     0,                                       /* off disabled pixelmap id       */
341     0                                        /* on disabled pixelmap id        */
342 };
343 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_16_properties =
344 {
345     GX_STRING_ID_STRING_99,                  /* string id                      */
346     GX_FONT_ID_BUTTON,                       /* font id                        */
347     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
348     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
349     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
350     0,                                       /* off pixelmap id                */
351     0,                                       /* on pixelmap id                 */
352     0,                                       /* off disabled pixelmap id       */
353     0                                        /* on disabled pixelmap id        */
354 };
355 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_17_properties =
356 {
357     GX_STRING_ID_STRING_100,                 /* string id                      */
358     GX_FONT_ID_BUTTON,                       /* font id                        */
359     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
360     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
361     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
362     0,                                       /* off pixelmap id                */
363     0,                                       /* on pixelmap id                 */
364     0,                                       /* off disabled pixelmap id       */
365     0                                        /* on disabled pixelmap id        */
366 };
367 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_18_properties =
368 {
369     GX_STRING_ID_STRING_101,                 /* string id                      */
370     GX_FONT_ID_BUTTON,                       /* font id                        */
371     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
372     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
373     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
374     0,                                       /* off pixelmap id                */
375     0,                                       /* on pixelmap id                 */
376     0,                                       /* off disabled pixelmap id       */
377     0                                        /* on disabled pixelmap id        */
378 };
379 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_19_properties =
380 {
381     GX_STRING_ID_STRING_102,                 /* string id                      */
382     GX_FONT_ID_BUTTON,                       /* font id                        */
383     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
384     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
385     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
386     0,                                       /* off pixelmap id                */
387     0,                                       /* on pixelmap id                 */
388     0,                                       /* off disabled pixelmap id       */
389     0                                        /* on disabled pixelmap id        */
390 };
391 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_21_properties =
392 {
393     GX_STRING_ID_STRING_103,                 /* string id                      */
394     GX_FONT_ID_BUTTON,                       /* font id                        */
395     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
396     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
397     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
398     0,                                       /* off pixelmap id                */
399     0,                                       /* on pixelmap id                 */
400     0,                                       /* off disabled pixelmap id       */
401     0                                        /* on disabled pixelmap id        */
402 };
403 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_22_properties =
404 {
405     GX_STRING_ID_STRING_104,                 /* string id                      */
406     GX_FONT_ID_BUTTON,                       /* font id                        */
407     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
408     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
409     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
410     0,                                       /* off pixelmap id                */
411     0,                                       /* on pixelmap id                 */
412     0,                                       /* off disabled pixelmap id       */
413     0                                        /* on disabled pixelmap id        */
414 };
415 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_23_properties =
416 {
417     GX_STRING_ID_STRING_105,                 /* string id                      */
418     GX_FONT_ID_BUTTON,                       /* font id                        */
419     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
420     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
421     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
422     0,                                       /* off pixelmap id                */
423     0,                                       /* on pixelmap id                 */
424     0,                                       /* off disabled pixelmap id       */
425     0                                        /* on disabled pixelmap id        */
426 };
427 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_24_properties =
428 {
429     GX_STRING_ID_STRING_106,                 /* string id                      */
430     GX_FONT_ID_BUTTON,                       /* font id                        */
431     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
432     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
433     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
434     0,                                       /* off pixelmap id                */
435     0,                                       /* on pixelmap id                 */
436     0,                                       /* off disabled pixelmap id       */
437     0                                        /* on disabled pixelmap id        */
438 };
439 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_25_properties =
440 {
441     GX_STRING_ID_STRING_107,                 /* string id                      */
442     GX_FONT_ID_BUTTON,                       /* font id                        */
443     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
444     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
445     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
446     0,                                       /* off pixelmap id                */
447     0,                                       /* on pixelmap id                 */
448     0,                                       /* off disabled pixelmap id       */
449     0                                        /* on disabled pixelmap id        */
450 };
451 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_26_properties =
452 {
453     GX_STRING_ID_STRING_108,                 /* string id                      */
454     GX_FONT_ID_BUTTON,                       /* font id                        */
455     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
456     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
457     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
458     0,                                       /* off pixelmap id                */
459     0,                                       /* on pixelmap id                 */
460     0,                                       /* off disabled pixelmap id       */
461     0                                        /* on disabled pixelmap id        */
462 };
463 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_27_properties =
464 {
465     GX_STRING_ID_STRING_109,                 /* string id                      */
466     GX_FONT_ID_BUTTON,                       /* font id                        */
467     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
468     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
469     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
470     0,                                       /* off pixelmap id                */
471     0,                                       /* on pixelmap id                 */
472     0,                                       /* off disabled pixelmap id       */
473     0                                        /* on disabled pixelmap id        */
474 };
475 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_28_properties =
476 {
477     GX_STRING_ID_STRING_110,                 /* string id                      */
478     GX_FONT_ID_BUTTON,                       /* font id                        */
479     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
480     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
481     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
482     0,                                       /* off pixelmap id                */
483     0,                                       /* on pixelmap id                 */
484     0,                                       /* off disabled pixelmap id       */
485     0                                        /* on disabled pixelmap id        */
486 };
487 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_29_properties =
488 {
489     GX_STRING_ID_STRING_111,                 /* string id                      */
490     GX_FONT_ID_BUTTON,                       /* font id                        */
491     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
492     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
493     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
494     0,                                       /* off pixelmap id                */
495     0,                                       /* on pixelmap id                 */
496     0,                                       /* off disabled pixelmap id       */
497     0                                        /* on disabled pixelmap id        */
498 };
499 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_21_1_properties =
500 {
501     GX_STRING_ID_STRING_112,                 /* string id                      */
502     GX_FONT_ID_BUTTON,                       /* font id                        */
503     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
504     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
505     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
506     0,                                       /* off pixelmap id                */
507     0,                                       /* on pixelmap id                 */
508     0,                                       /* off disabled pixelmap id       */
509     0                                        /* on disabled pixelmap id        */
510 };
511 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_22_1_properties =
512 {
513     GX_STRING_ID_STRING_115,                 /* string id                      */
514     GX_FONT_ID_BUTTON,                       /* font id                        */
515     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
516     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
517     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
518     0,                                       /* off pixelmap id                */
519     0,                                       /* on pixelmap id                 */
520     0,                                       /* off disabled pixelmap id       */
521     0                                        /* on disabled pixelmap id        */
522 };
523 GX_RADIO_BUTTON_PROPERTIES main_screen_radio_button_23_1_properties =
524 {
525     GX_STRING_ID_STRING_116,                 /* string id                      */
526     GX_FONT_ID_BUTTON,                       /* font id                        */
527     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
528     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
529     GX_COLOR_ID_BTN_TEXT,                    /* disabled text color            */
530     0,                                       /* off pixelmap id                */
531     0,                                       /* on pixelmap id                 */
532     0,                                       /* off disabled pixelmap id       */
533     0                                        /* on disabled pixelmap id        */
534 };
535 GX_TEXT_BUTTON_PROPERTIES main_screen_button_properties =
536 {
537     GX_STRING_ID_STRING_2,                   /* string id                      */
538     GX_FONT_ID_BUTTON,                       /* font id                        */
539     GX_COLOR_ID_BTN_TEXT,                    /* normal text color              */
540     GX_COLOR_ID_BTN_TEXT,                    /* selected text color            */
541     GX_COLOR_ID_BTN_TEXT                     /* disabled text color            */
542 };
543 GX_ICON_BUTTON_PROPERTIES main_screen_icon_button_properties =
544 {
545     0                                        /* pixelmap id                    */
546 };
547 GX_LINE_CHART_INFO main_screen_line_chart_properties =
548 {
549     0,                                       /* min data value                 */
550     256,                                     /* max data value                 */
551     GX_NULL,                                 /* data pointer                   */
552     10,                                      /* left margin                    */
553     52,                                      /* top margin                     */
554     10,                                      /* right margin                   */
555     50,                                      /* bottom margin                  */
556     41,                                      /* max data items                 */
557     0,                                       /* active data items              */
558     3,                                       /* axis line width                */
559     1,                                       /* data line width                */
560     GX_COLOR_ID_DEFAULT_BORDER,              /* axis line color                */
561     GX_COLOR_ID_SHINE                        /* data line color                */
562 };
563 
564 GX_CONST GX_STUDIO_WIDGET main_screen_line_chart_define =
565 {
566     "line_chart",
567     GX_TYPE_LINE_CHART,                      /* widget type                    */
568     GX_ID_NONE,                              /* widget id                      */
569     #if defined(GX_WIDGET_USER_DATA)
570     0,                                       /* user data                      */
571     #endif
572     GX_STYLE_BORDER_THIN,                    /* style flags                    */
573     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
574     sizeof(GX_LINE_CHART),                   /* control block size             */
575     GX_COLOR_ID_TEXT,                        /* normal color id                */
576     GX_COLOR_ID_TEXT,                        /* selected color id              */
577     GX_COLOR_ID_TEXT,                        /* disabled color id              */
578     gx_studio_line_chart_create,             /* create function                */
579     GX_NULL,                                 /* drawing function override      */
580     GX_NULL,                                 /* event function override        */
581     {528, 118, 783, 389},                    /* widget size                    */
582     GX_NULL,                                 /* no next widget                 */
583     GX_NULL,                                 /* no child widgets               */
584     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_line_chart), /* control block */
585     (void *) &main_screen_line_chart_properties /* extended properties         */
586 };
587 
588 GX_CONST GX_STUDIO_WIDGET main_screen_icon_button_define =
589 {
590     "icon_button",
591     GX_TYPE_ICON_BUTTON,                     /* widget type                    */
592     GX_ID_NONE,                              /* widget id                      */
593     #if defined(GX_WIDGET_USER_DATA)
594     0,                                       /* user data                      */
595     #endif
596     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER,   /* style flags */
597     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
598     sizeof(GX_ICON_BUTTON),                  /* control block size             */
599     GX_COLOR_ID_ORANGE,                      /* normal color id                */
600     GX_COLOR_ID_ORANGE,                      /* selected color id              */
601     GX_COLOR_ID_ORANGE,                      /* disabled color id              */
602     gx_studio_icon_button_create,            /* create function                */
603     GX_NULL,                                 /* drawing function override      */
604     GX_NULL,                                 /* event function override        */
605     {492, 341, 522, 357},                    /* widget size                    */
606     &main_screen_line_chart_define,          /* next widget definition         */
607     GX_NULL,                                 /* no child widgets               */
608     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_icon_button), /* control block */
609     (void *) &main_screen_icon_button_properties /* extended properties        */
610 };
611 
612 GX_CONST GX_STUDIO_WIDGET main_screen_button_define =
613 {
614     "button",
615     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
616     ID_ANIMATION_START,                      /* widget id                      */
617     #if defined(GX_WIDGET_USER_DATA)
618     0,                                       /* user data                      */
619     #endif
620     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER,   /* style flags */
621     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
622     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
623     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
624     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
625     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
626     gx_studio_text_button_create,            /* create function                */
627     GX_NULL,                                 /* drawing function override      */
628     GX_NULL,                                 /* event function override        */
629     {699, 79, 782, 110},                     /* widget size                    */
630     &main_screen_icon_button_define,         /* next widget definition         */
631     GX_NULL,                                 /* no child widgets               */
632     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_button), /* control block  */
633     (void *) &main_screen_button_properties  /* extended properties            */
634 };
635 
636 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_23_1_define =
637 {
638     "radio_button_23_1",
639     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
640     ID_SINE_EASE_IN_OUT,                     /* widget id                      */
641     #if defined(GX_WIDGET_USER_DATA)
642     0,                                       /* user data                      */
643     #endif
644     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
645     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
646     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
647     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
648     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
649     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
650     gx_studio_radio_button_create,           /* create function                */
651     GX_NULL,                                 /* drawing function override      */
652     GX_NULL,                                 /* event function override        */
653     {344, 176, 480, 199},                    /* widget size                    */
654     &main_screen_button_define,              /* next widget definition         */
655     GX_NULL,                                 /* no child widgets               */
656     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_23_1), /* control block */
657     (void *) &main_screen_radio_button_23_1_properties /* extended properties  */
658 };
659 
660 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_22_1_define =
661 {
662     "radio_button_22_1",
663     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
664     ID_SINE_EASE_OUT,                        /* widget id                      */
665     #if defined(GX_WIDGET_USER_DATA)
666     0,                                       /* user data                      */
667     #endif
668     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
669     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
670     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
671     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
672     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
673     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
674     gx_studio_radio_button_create,           /* create function                */
675     GX_NULL,                                 /* drawing function override      */
676     GX_NULL,                                 /* event function override        */
677     {344, 147, 480, 170},                    /* widget size                    */
678     &main_screen_radio_button_23_1_define,   /* next widget definition         */
679     GX_NULL,                                 /* no child widgets               */
680     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_22_1), /* control block */
681     (void *) &main_screen_radio_button_22_1_properties /* extended properties  */
682 };
683 
684 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_21_1_define =
685 {
686     "radio_button_21_1",
687     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
688     ID_SINE_EASE_IN,                         /* widget id                      */
689     #if defined(GX_WIDGET_USER_DATA)
690     0,                                       /* user data                      */
691     #endif
692     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
693     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
694     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
695     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
696     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
697     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
698     gx_studio_radio_button_create,           /* create function                */
699     GX_NULL,                                 /* drawing function override      */
700     GX_NULL,                                 /* event function override        */
701     {344, 118, 455, 141},                    /* widget size                    */
702     &main_screen_radio_button_22_1_define,   /* next widget definition         */
703     GX_NULL,                                 /* no child widgets               */
704     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_21_1), /* control block */
705     (void *) &main_screen_radio_button_21_1_properties /* extended properties  */
706 };
707 
708 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_29_define =
709 {
710     "radio_button_29",
711     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
712     ID_QUINT_EASE_IN_OUT,                    /* widget id                      */
713     #if defined(GX_WIDGET_USER_DATA)
714     0,                                       /* user data                      */
715     #endif
716     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
717     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
718     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
719     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
720     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
721     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
722     gx_studio_radio_button_create,           /* create function                */
723     GX_NULL,                                 /* drawing function override      */
724     GX_NULL,                                 /* event function override        */
725     {344, 89, 494, 112},                     /* widget size                    */
726     &main_screen_radio_button_21_1_define,   /* next widget definition         */
727     GX_NULL,                                 /* no child widgets               */
728     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_29), /* control block */
729     (void *) &main_screen_radio_button_29_properties /* extended properties    */
730 };
731 
732 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_28_define =
733 {
734     "radio_button_28",
735     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
736     ID_QUINT_EASE_OUT,                       /* widget id                      */
737     #if defined(GX_WIDGET_USER_DATA)
738     0,                                       /* user data                      */
739     #endif
740     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
741     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
742     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
743     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
744     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
745     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
746     gx_studio_radio_button_create,           /* create function                */
747     GX_NULL,                                 /* drawing function override      */
748     GX_NULL,                                 /* event function override        */
749     {344, 60, 476, 83},                      /* widget size                    */
750     &main_screen_radio_button_29_define,     /* next widget definition         */
751     GX_NULL,                                 /* no child widgets               */
752     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_28), /* control block */
753     (void *) &main_screen_radio_button_28_properties /* extended properties    */
754 };
755 
756 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_27_define =
757 {
758     "radio_button_27",
759     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
760     ID_QUINT_EASE_IN,                        /* widget id                      */
761     #if defined(GX_WIDGET_USER_DATA)
762     0,                                       /* user data                      */
763     #endif
764     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
765     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
766     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
767     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
768     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
769     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
770     gx_studio_radio_button_create,           /* create function                */
771     GX_NULL,                                 /* drawing function override      */
772     GX_NULL,                                 /* event function override        */
773     {344, 31, 465, 54},                      /* widget size                    */
774     &main_screen_radio_button_28_define,     /* next widget definition         */
775     GX_NULL,                                 /* no child widgets               */
776     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_27), /* control block */
777     (void *) &main_screen_radio_button_27_properties /* extended properties    */
778 };
779 
780 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_26_define =
781 {
782     "radio_button_26",
783     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
784     ID_QUART_EASE_IN_OUT,                    /* widget id                      */
785     #if defined(GX_WIDGET_USER_DATA)
786     0,                                       /* user data                      */
787     #endif
788     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
789     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
790     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
791     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
792     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
793     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
794     gx_studio_radio_button_create,           /* create function                */
795     GX_NULL,                                 /* drawing function override      */
796     GX_NULL,                                 /* event function override        */
797     {186, 350, 329, 373},                    /* widget size                    */
798     &main_screen_radio_button_27_define,     /* next widget definition         */
799     GX_NULL,                                 /* no child widgets               */
800     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_26), /* control block */
801     (void *) &main_screen_radio_button_26_properties /* extended properties    */
802 };
803 
804 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_25_define =
805 {
806     "radio_button_25",
807     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
808     ID_QUART_EASE_OUT,                       /* widget id                      */
809     #if defined(GX_WIDGET_USER_DATA)
810     0,                                       /* user data                      */
811     #endif
812     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
813     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
814     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
815     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
816     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
817     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
818     gx_studio_radio_button_create,           /* create function                */
819     GX_NULL,                                 /* drawing function override      */
820     GX_NULL,                                 /* event function override        */
821     {186, 321, 319, 344},                    /* widget size                    */
822     &main_screen_radio_button_26_define,     /* next widget definition         */
823     GX_NULL,                                 /* no child widgets               */
824     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_25), /* control block */
825     (void *) &main_screen_radio_button_25_properties /* extended properties    */
826 };
827 
828 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_24_define =
829 {
830     "radio_button_24",
831     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
832     ID_QUART_EASE_IN,                        /* widget id                      */
833     #if defined(GX_WIDGET_USER_DATA)
834     0,                                       /* user data                      */
835     #endif
836     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
837     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
838     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
839     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
840     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
841     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
842     gx_studio_radio_button_create,           /* create function                */
843     GX_NULL,                                 /* drawing function override      */
844     GX_NULL,                                 /* event function override        */
845     {186, 292, 304, 315},                    /* widget size                    */
846     &main_screen_radio_button_25_define,     /* next widget definition         */
847     GX_NULL,                                 /* no child widgets               */
848     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_24), /* control block */
849     (void *) &main_screen_radio_button_24_properties /* extended properties    */
850 };
851 
852 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_23_define =
853 {
854     "radio_button_23",
855     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
856     ID_QUAD_EASE_IN_OUT,                     /* widget id                      */
857     #if defined(GX_WIDGET_USER_DATA)
858     0,                                       /* user data                      */
859     #endif
860     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
861     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
862     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
863     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
864     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
865     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
866     gx_studio_radio_button_create,           /* create function                */
867     GX_NULL,                                 /* drawing function override      */
868     GX_NULL,                                 /* event function override        */
869     {186, 263, 335, 286},                    /* widget size                    */
870     &main_screen_radio_button_24_define,     /* next widget definition         */
871     GX_NULL,                                 /* no child widgets               */
872     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_23), /* control block */
873     (void *) &main_screen_radio_button_23_properties /* extended properties    */
874 };
875 
876 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_22_define =
877 {
878     "radio_button_22",
879     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
880     ID_QUAD_EASE_OUT,                        /* widget id                      */
881     #if defined(GX_WIDGET_USER_DATA)
882     0,                                       /* user data                      */
883     #endif
884     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
885     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
886     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
887     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
888     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
889     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
890     gx_studio_radio_button_create,           /* create function                */
891     GX_NULL,                                 /* drawing function override      */
892     GX_NULL,                                 /* event function override        */
893     {186, 234, 322, 257},                    /* widget size                    */
894     &main_screen_radio_button_23_define,     /* next widget definition         */
895     GX_NULL,                                 /* no child widgets               */
896     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_22), /* control block */
897     (void *) &main_screen_radio_button_22_properties /* extended properties    */
898 };
899 
900 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_21_define =
901 {
902     "radio_button_21",
903     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
904     ID_QUAD_EASE_IN,                         /* widget id                      */
905     #if defined(GX_WIDGET_USER_DATA)
906     0,                                       /* user data                      */
907     #endif
908     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
909     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
910     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
911     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
912     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
913     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
914     gx_studio_radio_button_create,           /* create function                */
915     GX_NULL,                                 /* drawing function override      */
916     GX_NULL,                                 /* event function override        */
917     {186, 205, 297, 228},                    /* widget size                    */
918     &main_screen_radio_button_22_define,     /* next widget definition         */
919     GX_NULL,                                 /* no child widgets               */
920     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_21), /* control block */
921     (void *) &main_screen_radio_button_21_properties /* extended properties    */
922 };
923 
924 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_19_define =
925 {
926     "radio_button_19",
927     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
928     ID_EXPO_EASE_IN_OUT,                     /* widget id                      */
929     #if defined(GX_WIDGET_USER_DATA)
930     0,                                       /* user data                      */
931     #endif
932     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
933     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
934     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
935     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
936     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
937     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
938     gx_studio_radio_button_create,           /* create function                */
939     GX_NULL,                                 /* drawing function override      */
940     GX_NULL,                                 /* event function override        */
941     {186, 176, 329, 199},                    /* widget size                    */
942     &main_screen_radio_button_21_define,     /* next widget definition         */
943     GX_NULL,                                 /* no child widgets               */
944     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_19), /* control block */
945     (void *) &main_screen_radio_button_19_properties /* extended properties    */
946 };
947 
948 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_18_define =
949 {
950     "radio_button_18",
951     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
952     ID_EXPO_EASE_OUT,                        /* widget id                      */
953     #if defined(GX_WIDGET_USER_DATA)
954     0,                                       /* user data                      */
955     #endif
956     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
957     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
958     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
959     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
960     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
961     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
962     gx_studio_radio_button_create,           /* create function                */
963     GX_NULL,                                 /* drawing function override      */
964     GX_NULL,                                 /* event function override        */
965     {186, 147, 318, 170},                    /* widget size                    */
966     &main_screen_radio_button_19_define,     /* next widget definition         */
967     GX_NULL,                                 /* no child widgets               */
968     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_18), /* control block */
969     (void *) &main_screen_radio_button_18_properties /* extended properties    */
970 };
971 
972 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_17_define =
973 {
974     "radio_button_17",
975     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
976     ID_EXPO_EASE_IN,                         /* widget id                      */
977     #if defined(GX_WIDGET_USER_DATA)
978     0,                                       /* user data                      */
979     #endif
980     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
981     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
982     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
983     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
984     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
985     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
986     gx_studio_radio_button_create,           /* create function                */
987     GX_NULL,                                 /* drawing function override      */
988     GX_NULL,                                 /* event function override        */
989     {186, 118, 297, 141},                    /* widget size                    */
990     &main_screen_radio_button_18_define,     /* next widget definition         */
991     GX_NULL,                                 /* no child widgets               */
992     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_17), /* control block */
993     (void *) &main_screen_radio_button_17_properties /* extended properties    */
994 };
995 
996 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_16_define =
997 {
998     "radio_button_16",
999     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1000     ID_ELASTIC_EASE_IN_OUT,                  /* widget id                      */
1001     #if defined(GX_WIDGET_USER_DATA)
1002     0,                                       /* user data                      */
1003     #endif
1004     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1005     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1006     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1007     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1008     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1009     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1010     gx_studio_radio_button_create,           /* create function                */
1011     GX_NULL,                                 /* drawing function override      */
1012     GX_NULL,                                 /* event function override        */
1013     {186, 89, 341, 112},                     /* widget size                    */
1014     &main_screen_radio_button_17_define,     /* next widget definition         */
1015     GX_NULL,                                 /* no child widgets               */
1016     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_16), /* control block */
1017     (void *) &main_screen_radio_button_16_properties /* extended properties    */
1018 };
1019 
1020 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_15_define =
1021 {
1022     "radio_button_15",
1023     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1024     ID_ELASTIC_EASE_OUT,                     /* widget id                      */
1025     #if defined(GX_WIDGET_USER_DATA)
1026     0,                                       /* user data                      */
1027     #endif
1028     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1029     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1030     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1031     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1032     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1033     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1034     gx_studio_radio_button_create,           /* create function                */
1035     GX_NULL,                                 /* drawing function override      */
1036     GX_NULL,                                 /* event function override        */
1037     {186, 60, 322, 83},                      /* widget size                    */
1038     &main_screen_radio_button_16_define,     /* next widget definition         */
1039     GX_NULL,                                 /* no child widgets               */
1040     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_15), /* control block */
1041     (void *) &main_screen_radio_button_15_properties /* extended properties    */
1042 };
1043 
1044 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_14_define =
1045 {
1046     "radio_button_14",
1047     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1048     ID_ELASTIC_EASE_IN,                      /* widget id                      */
1049     #if defined(GX_WIDGET_USER_DATA)
1050     0,                                       /* user data                      */
1051     #endif
1052     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1053     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1054     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1055     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1056     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1057     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1058     gx_studio_radio_button_create,           /* create function                */
1059     GX_NULL,                                 /* drawing function override      */
1060     GX_NULL,                                 /* event function override        */
1061     {186, 31, 312, 54},                      /* widget size                    */
1062     &main_screen_radio_button_15_define,     /* next widget definition         */
1063     GX_NULL,                                 /* no child widgets               */
1064     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_14), /* control block */
1065     (void *) &main_screen_radio_button_14_properties /* extended properties    */
1066 };
1067 
1068 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_13_define =
1069 {
1070     "radio_button_13",
1071     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1072     ID_CUBIC_EASE_IN_OUT,                    /* widget id                      */
1073     #if defined(GX_WIDGET_USER_DATA)
1074     0,                                       /* user data                      */
1075     #endif
1076     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1077     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1078     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1079     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1080     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1081     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1082     gx_studio_radio_button_create,           /* create function                */
1083     GX_NULL,                                 /* drawing function override      */
1084     GX_NULL,                                 /* event function override        */
1085     {20, 351, 161, 374},                     /* widget size                    */
1086     &main_screen_radio_button_14_define,     /* next widget definition         */
1087     GX_NULL,                                 /* no child widgets               */
1088     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_13), /* control block */
1089     (void *) &main_screen_radio_button_13_properties /* extended properties    */
1090 };
1091 
1092 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_12_define =
1093 {
1094     "radio_button_12",
1095     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1096     ID_CUBIC_EASE_OUT,                       /* widget id                      */
1097     #if defined(GX_WIDGET_USER_DATA)
1098     0,                                       /* user data                      */
1099     #endif
1100     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1101     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1102     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1103     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1104     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1105     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1106     gx_studio_radio_button_create,           /* create function                */
1107     GX_NULL,                                 /* drawing function override      */
1108     GX_NULL,                                 /* event function override        */
1109     {20, 322, 156, 345},                     /* widget size                    */
1110     &main_screen_radio_button_13_define,     /* next widget definition         */
1111     GX_NULL,                                 /* no child widgets               */
1112     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_12), /* control block */
1113     (void *) &main_screen_radio_button_12_properties /* extended properties    */
1114 };
1115 
1116 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_11_define =
1117 {
1118     "radio_button_11",
1119     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1120     ID_CUBIC_EASE_IN,                        /* widget id                      */
1121     #if defined(GX_WIDGET_USER_DATA)
1122     0,                                       /* user data                      */
1123     #endif
1124     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1125     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1126     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1127     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1128     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1129     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1130     gx_studio_radio_button_create,           /* create function                */
1131     GX_NULL,                                 /* drawing function override      */
1132     GX_NULL,                                 /* event function override        */
1133     {20, 293, 137, 316},                     /* widget size                    */
1134     &main_screen_radio_button_12_define,     /* next widget definition         */
1135     GX_NULL,                                 /* no child widgets               */
1136     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_11), /* control block */
1137     (void *) &main_screen_radio_button_11_properties /* extended properties    */
1138 };
1139 
1140 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_9_define =
1141 {
1142     "radio_button_9",
1143     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1144     ID_CIRC_EASE_IN_OUT,                     /* widget id                      */
1145     #if defined(GX_WIDGET_USER_DATA)
1146     0,                                       /* user data                      */
1147     #endif
1148     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1149     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1150     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1151     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1152     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1153     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1154     gx_studio_radio_button_create,           /* create function                */
1155     GX_NULL,                                 /* drawing function override      */
1156     GX_NULL,                                 /* event function override        */
1157     {20, 264, 157, 287},                     /* widget size                    */
1158     &main_screen_radio_button_11_define,     /* next widget definition         */
1159     GX_NULL,                                 /* no child widgets               */
1160     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_9), /* control block */
1161     (void *) &main_screen_radio_button_9_properties /* extended properties     */
1162 };
1163 
1164 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_8_define =
1165 {
1166     "radio_button_8",
1167     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1168     ID_CIRC_EASE_OUT,                        /* widget id                      */
1169     #if defined(GX_WIDGET_USER_DATA)
1170     0,                                       /* user data                      */
1171     #endif
1172     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1173     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1174     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1175     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1176     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1177     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1178     gx_studio_radio_button_create,           /* create function                */
1179     GX_NULL,                                 /* drawing function override      */
1180     GX_NULL,                                 /* event function override        */
1181     {20, 235, 139, 258},                     /* widget size                    */
1182     &main_screen_radio_button_9_define,      /* next widget definition         */
1183     GX_NULL,                                 /* no child widgets               */
1184     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_8), /* control block */
1185     (void *) &main_screen_radio_button_8_properties /* extended properties     */
1186 };
1187 
1188 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_7_define =
1189 {
1190     "radio_button_7",
1191     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1192     ID_CIRC_EASE_IN,                         /* widget id                      */
1193     #if defined(GX_WIDGET_USER_DATA)
1194     0,                                       /* user data                      */
1195     #endif
1196     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1197     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1198     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1199     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1200     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1201     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1202     gx_studio_radio_button_create,           /* create function                */
1203     GX_NULL,                                 /* drawing function override      */
1204     GX_NULL,                                 /* event function override        */
1205     {20, 206, 131, 229},                     /* widget size                    */
1206     &main_screen_radio_button_8_define,      /* next widget definition         */
1207     GX_NULL,                                 /* no child widgets               */
1208     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_7), /* control block */
1209     (void *) &main_screen_radio_button_7_properties /* extended properties     */
1210 };
1211 
1212 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_6_define =
1213 {
1214     "radio_button_6",
1215     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1216     ID_BOUNCE_EASE_IN_OUT,                   /* widget id                      */
1217     #if defined(GX_WIDGET_USER_DATA)
1218     0,                                       /* user data                      */
1219     #endif
1220     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1221     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1222     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1223     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1224     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1225     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1226     gx_studio_radio_button_create,           /* create function                */
1227     GX_NULL,                                 /* drawing function override      */
1228     GX_NULL,                                 /* event function override        */
1229     {20, 177, 180, 200},                     /* widget size                    */
1230     &main_screen_radio_button_7_define,      /* next widget definition         */
1231     GX_NULL,                                 /* no child widgets               */
1232     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_6), /* control block */
1233     (void *) &main_screen_radio_button_6_properties /* extended properties     */
1234 };
1235 
1236 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_5_define =
1237 {
1238     "radio_button_5",
1239     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1240     ID_BOUNCE_EASE_OUT,                      /* widget id                      */
1241     #if defined(GX_WIDGET_USER_DATA)
1242     0,                                       /* user data                      */
1243     #endif
1244     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1245     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1246     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1247     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1248     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1249     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1250     gx_studio_radio_button_create,           /* create function                */
1251     GX_NULL,                                 /* drawing function override      */
1252     GX_NULL,                                 /* event function override        */
1253     {20, 148, 184, 171},                     /* widget size                    */
1254     &main_screen_radio_button_6_define,      /* next widget definition         */
1255     GX_NULL,                                 /* no child widgets               */
1256     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_5), /* control block */
1257     (void *) &main_screen_radio_button_5_properties /* extended properties     */
1258 };
1259 
1260 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_4_define =
1261 {
1262     "radio_button_4",
1263     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1264     ID_BOUNCE_EASE_IN,                       /* widget id                      */
1265     #if defined(GX_WIDGET_USER_DATA)
1266     0,                                       /* user data                      */
1267     #endif
1268     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1269     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1270     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1271     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1272     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1273     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1274     gx_studio_radio_button_create,           /* create function                */
1275     GX_NULL,                                 /* drawing function override      */
1276     GX_NULL,                                 /* event function override        */
1277     {20, 119, 157, 142},                     /* widget size                    */
1278     &main_screen_radio_button_5_define,      /* next widget definition         */
1279     GX_NULL,                                 /* no child widgets               */
1280     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_4), /* control block */
1281     (void *) &main_screen_radio_button_4_properties /* extended properties     */
1282 };
1283 
1284 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_3_define =
1285 {
1286     "radio_button_3",
1287     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1288     ID_BACK_EASE_IN_OUT,                     /* widget id                      */
1289     #if defined(GX_WIDGET_USER_DATA)
1290     0,                                       /* user data                      */
1291     #endif
1292     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1293     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1294     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1295     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1296     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1297     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1298     gx_studio_radio_button_create,           /* create function                */
1299     GX_NULL,                                 /* drawing function override      */
1300     GX_NULL,                                 /* event function override        */
1301     {20, 90, 162, 113},                      /* widget size                    */
1302     &main_screen_radio_button_4_define,      /* next widget definition         */
1303     GX_NULL,                                 /* no child widgets               */
1304     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_3), /* control block */
1305     (void *) &main_screen_radio_button_3_properties /* extended properties     */
1306 };
1307 
1308 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_2_define =
1309 {
1310     "radio_button_2",
1311     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1312     ID_BACK_EASE_OUT,                        /* widget id                      */
1313     #if defined(GX_WIDGET_USER_DATA)
1314     0,                                       /* user data                      */
1315     #endif
1316     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1317     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1318     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1319     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1320     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1321     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1322     gx_studio_radio_button_create,           /* create function                */
1323     GX_NULL,                                 /* drawing function override      */
1324     GX_NULL,                                 /* event function override        */
1325     {20, 61, 146, 84},                       /* widget size                    */
1326     &main_screen_radio_button_3_define,      /* next widget definition         */
1327     GX_NULL,                                 /* no child widgets               */
1328     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_2), /* control block */
1329     (void *) &main_screen_radio_button_2_properties /* extended properties     */
1330 };
1331 
1332 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_1_define =
1333 {
1334     "radio_button_1",
1335     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1336     ID_BACK_EASE_IN,                         /* widget id                      */
1337     #if defined(GX_WIDGET_USER_DATA)
1338     0,                                       /* user data                      */
1339     #endif
1340     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1341     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1342     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1343     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1344     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1345     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1346     gx_studio_radio_button_create,           /* create function                */
1347     GX_NULL,                                 /* drawing function override      */
1348     GX_NULL,                                 /* event function override        */
1349     {20, 32, 147, 55},                       /* widget size                    */
1350     &main_screen_radio_button_2_define,      /* next widget definition         */
1351     GX_NULL,                                 /* no child widgets               */
1352     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button_1), /* control block */
1353     (void *) &main_screen_radio_button_1_properties /* extended properties     */
1354 };
1355 
1356 GX_CONST GX_STUDIO_WIDGET main_screen_radio_button_define =
1357 {
1358     "radio_button",
1359     GX_TYPE_RADIO_BUTTON,                    /* widget type                    */
1360     ID_LINEAR,                               /* widget id                      */
1361     #if defined(GX_WIDGET_USER_DATA)
1362     0,                                       /* user data                      */
1363     #endif
1364     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_PUSHED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT,   /* style flags */
1365     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1366     sizeof(GX_RADIO_BUTTON),                 /* control block size             */
1367     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
1368     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
1369     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
1370     gx_studio_radio_button_create,           /* create function                */
1371     GX_NULL,                                 /* drawing function override      */
1372     GX_NULL,                                 /* event function override        */
1373     {344, 205, 455, 228},                    /* widget size                    */
1374     &main_screen_radio_button_1_define,      /* next widget definition         */
1375     GX_NULL,                                 /* no child widgets               */
1376     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radio_button), /* control block */
1377     (void *) &main_screen_radio_button_properties /* extended properties       */
1378 };
1379 
1380 GX_CONST GX_STUDIO_WIDGET main_screen_title_define =
1381 {
1382     "title",
1383     GX_TYPE_PROMPT,                          /* widget type                    */
1384     GX_ID_NONE,                              /* widget id                      */
1385     #if defined(GX_WIDGET_USER_DATA)
1386     0,                                       /* user data                      */
1387     #endif
1388     GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER,   /* style flags */
1389     0,                                       /* status flags                   */
1390     sizeof(GX_PROMPT),                       /* control block size             */
1391     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
1392     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
1393     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
1394     gx_studio_prompt_create,                 /* create function                */
1395     GX_NULL,                                 /* drawing function override      */
1396     GX_NULL,                                 /* event function override        */
1397     {607, 17, 782, 48},                      /* widget size                    */
1398     &main_screen_radio_button_define,        /* next widget definition         */
1399     GX_NULL,                                 /* no child widgets               */
1400     offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_title), /* control block   */
1401     (void *) &main_screen_title_properties   /* extended properties            */
1402 };
1403 
1404 GX_CONST GX_STUDIO_WIDGET main_screen_define =
1405 {
1406     "main_screen",
1407     GX_TYPE_WINDOW,                          /* widget type                    */
1408     GX_ID_NONE,                              /* widget id                      */
1409     #if defined(GX_WIDGET_USER_DATA)
1410     0,                                       /* user data                      */
1411     #endif
1412     GX_STYLE_BORDER_THICK,                   /* style flags                    */
1413     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
1414     sizeof(MAIN_SCREEN_CONTROL_BLOCK),       /* control block size             */
1415     GX_COLOR_ID_SLIDER_GROOVE_TOP,           /* normal color id                */
1416     GX_COLOR_ID_SLIDER_GROOVE_TOP,           /* selected color id              */
1417     GX_COLOR_ID_SLIDER_GROOVE_TOP,           /* disabled color id              */
1418     gx_studio_window_create,                 /* create function                */
1419     GX_NULL,                                 /* drawing function override      */
1420     (UINT (*)(GX_WIDGET *, GX_EVENT *)) main_screen_event_process, /* event function override */
1421     {0, 0, 799, 399},                        /* widget size                    */
1422     GX_NULL,                                 /* next widget                    */
1423     &main_screen_title_define,               /* child widget                   */
1424     0,                                       /* control block                  */
1425     (void *) &main_screen_properties         /* extended properties            */
1426 };
1427 GX_CONST GX_STUDIO_WIDGET_ENTRY non_linear_animation_widget_table[] =
1428 {
1429     { &main_screen_define, (GX_WIDGET *) &main_screen },
1430     {GX_NULL, GX_NULL}
1431 };
1432 
gx_studio_nested_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)1433 static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
1434 {
1435     UINT status = GX_SUCCESS;
1436     GX_WIDGET *widget = GX_NULL;
1437     GX_VALUE   list_count = 0;
1438     GX_VALUE   list_total_count = 0;
1439 
1440     if(parent && (parent->gx_widget_type == GX_TYPE_MENU))
1441     {
1442         list_total_count = ((GX_MENU *)parent)->gx_menu_list_total_count;
1443     }
1444 
1445     while(definition && status == GX_SUCCESS)
1446     {
1447         if (definition->create_function)
1448         {
1449             if (definition->style & GX_STYLE_DYNAMICALLY_ALLOCATED)
1450             {
1451                 status = gx_widget_allocate(&widget, definition->control_block_size);
1452                 if (status != GX_SUCCESS)
1453                 {
1454                     return GX_NULL;
1455                 }
1456             }
1457             else
1458             {
1459                 if (control == GX_NULL)
1460                 {
1461                     return GX_NULL;
1462                 }
1463                 widget = (GX_WIDGET *) (control + definition->control_block_offset);
1464             }
1465 
1466             status = definition->create_function(definition, widget, parent);
1467 
1468             if(list_count < list_total_count)
1469             {
1470                 gx_menu_insert((GX_MENU *)parent, widget);
1471                 ((GX_MENU *)parent)->gx_menu_list_total_count--;
1472                 list_count++;
1473             }
1474 
1475             if (status == GX_SUCCESS)
1476             {
1477                 if (definition->widget_type != GX_TYPE_TEMPLATE)
1478                 {
1479 #if defined(GUIX_5_4_0_COMPATIBILITY)
1480                     gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id);
1481 #else
1482                     gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id, definition->disabled_fill_color_id);
1483 #endif
1484                 }
1485 
1486                 if (!(definition->status & GX_STATUS_ACCEPTS_FOCUS))
1487                 {
1488                     gx_widget_status_remove(widget, GX_STATUS_ACCEPTS_FOCUS);
1489                 }
1490 
1491                 if (definition->draw_function)
1492                 {
1493                     gx_widget_draw_set(widget, definition->draw_function);
1494                 }
1495                 if (definition->event_function)
1496                 {
1497                     gx_widget_event_process_set(widget, definition->event_function);
1498                 }
1499 
1500                 #if defined(GX_WIDGET_USER_DATA)
1501                 widget->gx_widget_user_data = definition->user_data;
1502                 #endif
1503 
1504                 if (definition->child_widget)
1505                 {
1506                     gx_studio_nested_widget_create(control, definition->child_widget, widget);
1507                 }
1508             }
1509             definition = definition->next_widget;
1510         }
1511     }
1512     return widget;
1513 }
1514 
gx_studio_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)1515 GX_WIDGET *gx_studio_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
1516 {
1517     GX_WIDGET *widget;
1518     widget = gx_studio_nested_widget_create(control, definition, GX_NULL);
1519 
1520     if (parent && widget)
1521     {
1522         gx_widget_attach(parent, widget);
1523     }
1524     return widget;
1525 }
1526 
gx_studio_named_widget_create(char * name,GX_WIDGET * parent,GX_WIDGET ** new_widget)1527 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget)
1528 {
1529     UINT status = GX_FAILURE;
1530     GX_CONST GX_STUDIO_WIDGET_ENTRY *entry = non_linear_animation_widget_table;
1531     GX_WIDGET *widget = GX_NULL;
1532 
1533     while(entry->widget_information)
1534     {
1535         if (!strcmp(name, entry->widget_information->widget_name))
1536         {
1537             widget = gx_studio_widget_create((GX_BYTE *) entry->widget, entry->widget_information, parent);
1538             if (widget)
1539             {
1540                 status = GX_SUCCESS;
1541             }
1542             break;
1543         }
1544         entry++;
1545     }
1546 
1547     if (new_widget)
1548     {
1549         *new_widget = widget;
1550     }
1551     return status;
1552 }
1553 
1554 
gx_studio_display_configure(USHORT display,UINT (* driver)(GX_DISPLAY *),GX_UBYTE language,USHORT theme,GX_WINDOW_ROOT ** return_root)1555 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *),
1556     GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root)
1557 {
1558     GX_CONST GX_THEME *theme_ptr;
1559     GX_RECTANGLE size;
1560 
1561     GX_STUDIO_DISPLAY_INFO *display_info = &non_linear_animation_display_table[display];
1562 
1563 
1564 /* create the requested display                                                */
1565 
1566     gx_display_create(display_info->display,
1567                       display_info->name,
1568                       driver,
1569                       (GX_VALUE) display_info->x_resolution,
1570                       (GX_VALUE) display_info->y_resolution);
1571 
1572 
1573 /* install the request theme                                                   */
1574 
1575     if(display_info->theme_table)
1576     {
1577         theme_ptr = display_info->theme_table[theme];
1578         if(theme_ptr)
1579         {
1580             gx_display_color_table_set(display_info->display, theme_ptr->theme_color_table, theme_ptr->theme_color_table_size);
1581 
1582 /* install the color palette if required                                       */
1583             if (display_info->display->gx_display_driver_palette_set &&
1584                 theme_ptr->theme_palette != NULL)
1585             {
1586                 display_info->display->gx_display_driver_palette_set(display_info->display, theme_ptr->theme_palette, theme_ptr->theme_palette_size);
1587             }
1588 
1589             gx_display_font_table_set(display_info->display, theme_ptr->theme_font_table, theme_ptr->theme_font_table_size);
1590             gx_display_pixelmap_table_set(display_info->display, theme_ptr->theme_pixelmap_table, theme_ptr->theme_pixelmap_table_size);
1591             gx_system_scroll_appearance_set(theme_ptr->theme_vertical_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_vertical_scrollbar_appearance);
1592             gx_system_scroll_appearance_set(theme_ptr->theme_horizontal_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_horizontal_scrollbar_appearance);
1593         }
1594     }
1595 
1596 /* Install the language table.                                                 */
1597 
1598     if(display_info->language_table)
1599     {
1600         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);
1601         gx_display_active_language_set(display_info->display, language);
1602     }
1603 
1604 /* Set screen rotation angle.                                                  */
1605 
1606     display_info->display->gx_display_rotation_angle = display_info->rotation_angle;
1607 
1608 /* create the canvas for this display                                          */
1609 
1610     gx_canvas_create(display_info->canvas,
1611                      display_info->canvas_name,
1612                      display_info->display,
1613                      GX_CANVAS_MANAGED | GX_CANVAS_VISIBLE,
1614                      display_info->x_resolution,
1615                      display_info->y_resolution,
1616                      display_info->canvas_memory,
1617                      display_info->canvas_memory_size);
1618 
1619 /* Create the root window for this canvas                                      */
1620 
1621     gx_utility_rectangle_define(&size,
1622                                 0, 0,
1623                                 (GX_VALUE) (display_info->x_resolution - 1),
1624                                 (GX_VALUE) (display_info->y_resolution - 1));
1625 
1626     gx_window_root_create(display_info->root_window,
1627                           display_info->name,
1628                           display_info->canvas, GX_STYLE_NONE, 0, &size);
1629     if (return_root)
1630     {
1631         *return_root = display_info->root_window;
1632     }
1633     return GX_SUCCESS;
1634 }
1635 #undef GUIX_STUDIO_GENERATED_FILE
1636