1 /*******************************************************************************/
2 /*  This file is auto-generated by Azure RTOS GUIX Studio. Do not edit this    */
3 /*  file by hand. Modifications to this file should only be made by running    */
4 /*  the Azure RTOS GUIX Studio application and re-generating the application   */
5 /*  specification file(s). For more information please refer to the Azure RTOS */
6 /*  GUIX Studio User Guide, or visit our web site at azure.com/rtos            */
7 /*                                                                             */
8 /*  GUIX Studio Revision 6.2.1.2                                               */
9 /*  Date (dd.mm.yyyy):  5. 6.2023   Time (hh:mm): 15:09                        */
10 /*******************************************************************************/
11 
12 
13 #define GUIX_STUDIO_GENERATED_FILE
14 #include <stddef.h>
15 #include "folder_output_test_MAIN_DISPLAY_resources.h"
16 #include "folder_output_test_SECONDARY_resources.h"
17 #include "folder_output_test_specifications.h"
18 
19 extern GX_WINDOW_ROOT MAIN_DISPLAY_root_window;
20 extern GX_WINDOW_ROOT SECONDARY_root_window;
21 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_define;
22 extern GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_define;
23 extern MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK MAIN_DISPLAY_text_screen;
24 GX_WINDOW_PROPERTIES MAIN_DISPLAY_indicator_screen_properties =
25 {
26     0                                        /* wallpaper pixelmap id          */
27 };
28 GX_SLIDER_PROPERTIES MAIN_DISPLAY_indicator_screen_slider_properties =
29 {
30     9,                                       /* tickmark count                 */
31     0,                                       /* mimimun value                  */
32     100,                                     /* maximum value                  */
33     50,                                      /* current value                  */
34     10,                                      /* increment                      */
35     10,                                      /* minimum travel                 */
36     10,                                      /* maximum travel                 */
37     5,                                       /* needle width                   */
38     20,                                      /* needle height                  */
39     5,                                       /* needle inset                   */
40     2                                        /* needle hotspot                 */
41 };
42 GX_SLIDER_PROPERTIES MAIN_DISPLAY_indicator_screen_slider_1_properties =
43 {
44     9,                                       /* tickmark count                 */
45     0,                                       /* mimimun value                  */
46     100,                                     /* maximum value                  */
47     50,                                      /* current value                  */
48     10,                                      /* increment                      */
49     10,                                      /* minimum travel                 */
50     10,                                      /* maximum travel                 */
51     20,                                      /* needle width                   */
52     5,                                       /* needle height                  */
53     5,                                       /* needle inset                   */
54     2                                        /* needle hotspot                 */
55 };
56 GX_PIXELMAP_SLIDER_PROPERTIES MAIN_DISPLAY_indicator_screen_pixelmap_slider_properties =
57 {
58     0,                                       /* minimum value                  */
59     100,                                     /* maximum value                  */
60     50,                                      /* current value                  */
61     10,                                      /* increment                      */
62     10,                                      /* minimum travel                 */
63     10,                                      /* maximum travel                 */
64     20,                                      /* needle width                   */
65     5,                                       /* needle height                  */
66     0,                                       /* needle inset                   */
67     10,                                      /* needle hotspot                 */
68     GX_PIXELMAP_ID_MAIN_DISPLAY_HORIZONTAL_FILL_BKGND, /* lower pixelmap id    */
69     0,                                       /* upper pixelmap id              */
70     GX_PIXELMAP_ID_MAIN_DISPLAY_I_INDICATOR_HORIZONTAL  /* needle pixelmap id  */
71 };
72 GX_PIXELMAP_SLIDER_PROPERTIES MAIN_DISPLAY_indicator_screen_pixelmap_slider_1_properties =
73 {
74     0,                                       /* minimum value                  */
75     100,                                     /* maximum value                  */
76     50,                                      /* current value                  */
77     10,                                      /* increment                      */
78     10,                                      /* minimum travel                 */
79     10,                                      /* maximum travel                 */
80     0,                                       /* needle width                   */
81     0,                                       /* needle height                  */
82     -2,                                      /* needle inset                   */
83     10,                                      /* needle hotspot                 */
84     GX_PIXELMAP_ID_MAIN_DISPLAY_I_ORANGEFILL_MIDDLE, /* lower pixelmap id      */
85     GX_PIXELMAP_ID_MAIN_DISPLAY_I_EMPTYFILL_MIDDLE, /* upper pixelmap id       */
86     GX_PIXELMAP_ID_MAIN_DISPLAY_I_INDICATOR  /* needle pixelmap id             */
87 };
88 GX_ICON_PROPERTIES MAIN_DISPLAY_indicator_screen_icon_1_properties =
89 {
90     GX_PIXELMAP_ID_MAIN_DISPLAY_I_EMPTYFILL_TOP, /* normal pixelmap id         */
91     0                                        /* selected pixelmap id           */
92 };
93 GX_ICON_PROPERTIES MAIN_DISPLAY_indicator_screen_icon_2_properties =
94 {
95     GX_PIXELMAP_ID_MAIN_DISPLAY_I_ORANGEFILL_BOTTOM, /* normal pixelmap id     */
96     0                                        /* selected pixelmap id           */
97 };
98 GX_PROMPT_PROPERTIES MAIN_DISPLAY_indicator_screen_slider_title_properties =
99 {
100     GX_STRING_ID_MAIN_DISPLAY_STRING_38,     /* string id                      */
101     GX_FONT_ID_PROMPT,                       /* font id                        */
102     GX_COLOR_ID_TEXT,                        /* normal text color              */
103     GX_COLOR_ID_TEXT,                        /* selected text color            */
104     GX_COLOR_ID_TEXT                         /* disabled text color            */
105 };
106 GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_indicator_screen_next_button_3_properties =
107 {
108     GX_STRING_ID_MAIN_DISPLAY_STRING_36,     /* string id                      */
109     GX_FONT_ID_BUTTON,                       /* font id                        */
110     GX_COLOR_ID_MAIN_DISPLAY_WHITE,          /* normal text color              */
111     GX_COLOR_ID_MAIN_DISPLAY_WHITE,          /* selected text color            */
112     GX_COLOR_ID_MAIN_DISPLAY_WHITE           /* disabled text color            */
113 };
114 GX_PROGRESS_BAR_INFO MAIN_DISPLAY_indicator_screen_progress_bar_1_properties =
115 {
116     0,                                       /* mimimun value                  */
117     100,                                     /* maximum value                  */
118     50,                                      /* current value                  */
119     GX_FONT_ID_SYSTEM,                       /* font_id                        */
120     GX_COLOR_ID_SHINE,                       /* normal text color              */
121     GX_COLOR_ID_SHINE,                       /* selected text color            */
122     GX_COLOR_ID_SHINE,                       /* disabled text color            */
123     0                                        /* fill pixelmap                  */
124 };
125 GX_PIXELMAP_SLIDER_PROPERTIES MAIN_DISPLAY_indicator_screen_pixelmap_slider_2_properties =
126 {
127     0,                                       /* minimum value                  */
128     100,                                     /* maximum value                  */
129     80,                                      /* current value                  */
130     10,                                      /* increment                      */
131     10,                                      /* minimum travel                 */
132     10,                                      /* maximum travel                 */
133     0,                                       /* needle width                   */
134     20,                                      /* needle height                  */
135     4,                                       /* needle inset                   */
136     10,                                      /* needle hotspot                 */
137     GX_PIXELMAP_ID_MAIN_DISPLAY_I_ORANGEFILL_MIDDLE_HORIZONTAL, /* lower pixelmap id */
138     GX_PIXELMAP_ID_MAIN_DISPLAY_I_EMPTYFILL_MIDDLE_HORIZONTAL, /* upper pixelmap id */
139     GX_PIXELMAP_ID_MAIN_DISPLAY_I_INDICATOR_HORIZONTAL  /* needle pixelmap id  */
140 };
141 GX_RADIAL_PROGRESS_BAR_INFO MAIN_DISPLAY_indicator_screen_radial_progress_bar_properties =
142 {
143     414,                                     /* xcenter                        */
144     311,                                     /* ycenter                        */
145     23,                                      /* radius                         */
146     -80,                                     /* current val                    */
147     90,                                      /* anchor val                     */
148     GX_FONT_ID_SYSTEM,                       /* font_id                        */
149     GX_COLOR_ID_TEXT,                        /* normal text color              */
150     GX_COLOR_ID_SELECTED_TEXT,               /* selected text color            */
151     GX_COLOR_ID_TEXT,                        /* disabled text color            */
152     8,                                       /* normal brush width             */
153     8,                                       /* selected brush width           */
154     GX_COLOR_ID_SLIDER_NEEDLE_FILL,          /* normal brush color             */
155     GX_COLOR_ID_SELECTED_FILL,               /* selected brush color           */
156 };
157 
158 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_radial_progress_bar_define =
159 {
160     "radial_progress_bar",
161     GX_TYPE_RADIAL_PROGRESS_BAR,             /* widget type                    */
162     GX_ID_NONE,                              /* widget id                      */
163     #if defined(GX_WIDGET_USER_DATA)
164     0,                                       /* user data                      */
165     #endif
166     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_PROGRESS_PERCENT|GX_STYLE_PROGRESS_TEXT_DRAW|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND,   /* style flags */
167     0,                                       /* status flags                   */
168     sizeof(GX_RADIAL_PROGRESS_BAR),          /* control block size             */
169     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
170     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
171     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
172     gx_studio_radial_progress_bar_create,     /* create function               */
173     GX_NULL,                                 /* drawing function override      */
174     GX_NULL,                                 /* event function override        */
175     {387, 284, 441, 338},                    /* widget size                    */
176     GX_NULL,                                 /* no next widget                 */
177     GX_NULL,                                 /* no child widgets               */
178     0,                                       /* runtime control block          */
179     (void *) &MAIN_DISPLAY_indicator_screen_radial_progress_bar_properties /* extended properties */
180 };
181 
182 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_pixelmap_slider_2_define =
183 {
184     "pixelmap_slider_2",
185     GX_TYPE_PIXELMAP_SLIDER,                 /* widget type                    */
186     ID_PIXELMAP_SLIDER1,                     /* widget id                      */
187     #if defined(GX_WIDGET_USER_DATA)
188     0,                                       /* user data                      */
189     #endif
190     GX_STYLE_BORDER_RAISED|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TILE_BACKGROUND,   /* style flags */
191     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
192     sizeof(GX_PIXELMAP_SLIDER),              /* control block size             */
193     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
194     GX_COLOR_ID_WIDGET_FILL,                 /* selected color id              */
195     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
196     gx_studio_pixelmap_slider_create,        /* create function                */
197     GX_NULL,                                 /* drawing function override      */
198     GX_NULL,                                 /* event function override        */
199     {171, 289, 331, 326},                    /* widget size                    */
200     &MAIN_DISPLAY_indicator_screen_radial_progress_bar_define, /* next widget definition */
201     GX_NULL,                                 /* no child widgets               */
202     0,                                       /* runtime control block          */
203     (void *) &MAIN_DISPLAY_indicator_screen_pixelmap_slider_2_properties /* extended properties */
204 };
205 
206 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_progress_bar_1_define =
207 {
208     "progress_bar_1",
209     GX_TYPE_PROGRESS_BAR,                    /* widget type                    */
210     GX_ID_NONE,                              /* widget id                      */
211     #if defined(GX_WIDGET_USER_DATA)
212     0,                                       /* user data                      */
213     #endif
214     GX_STYLE_BORDER_RAISED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_PROGRESS_PERCENT|GX_STYLE_PROGRESS_TEXT_DRAW,   /* style flags */
215     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
216     sizeof(GX_PROGRESS_BAR),                 /* control block size             */
217     GX_COLOR_ID_SHADOW,                      /* normal color id                */
218     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
219     GX_COLOR_ID_SHADOW,                      /* disabled color id              */
220     gx_studio_progress_bar_create,           /* create function                */
221     GX_NULL,                                 /* drawing function override      */
222     GX_NULL,                                 /* event function override        */
223     {276, 225, 441, 263},                    /* widget size                    */
224     &MAIN_DISPLAY_indicator_screen_pixelmap_slider_2_define, /* next widget definition */
225     GX_NULL,                                 /* no child widgets               */
226     0,                                       /* runtime control block          */
227     (void *) &MAIN_DISPLAY_indicator_screen_progress_bar_1_properties /* extended properties */
228 };
229 
230 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_next_button_3_define =
231 {
232     "next_button_3",
233     GX_TYPE_TEXT_BUTTON,                     /* widget type                    */
234     IDB_NEXT,                                /* widget id                      */
235     #if defined(GX_WIDGET_USER_DATA)
236     0,                                       /* user data                      */
237     #endif
238     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER,   /* style flags */
239     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
240     sizeof(GX_TEXT_BUTTON),                  /* control block size             */
241     GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER,     /* normal color id         */
242     GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER,     /* selected color id       */
243     GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER,     /* disabled color id       */
244     gx_studio_text_button_create,            /* create function                */
245     GX_NULL,                                 /* drawing function override      */
246     GX_NULL,                                 /* event function override        */
247     {375, 351, 454, 378},                    /* widget size                    */
248     &MAIN_DISPLAY_indicator_screen_progress_bar_1_define, /* next widget definition */
249     GX_NULL,                                 /* no child widgets               */
250     0,                                       /* runtime control block          */
251     (void *) &MAIN_DISPLAY_indicator_screen_next_button_3_properties /* extended properties */
252 };
253 
254 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_slider_title_define =
255 {
256     "slider_title",
257     GX_TYPE_PROMPT,                          /* widget type                    */
258     GX_ID_NONE,                              /* widget id                      */
259     #if defined(GX_WIDGET_USER_DATA)
260     0,                                       /* user data                      */
261     #endif
262     GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER,   /* style flags */
263     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
264     sizeof(GX_PROMPT),                       /* control block size             */
265     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
266     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
267     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
268     gx_studio_prompt_create,                 /* create function                */
269     GX_NULL,                                 /* drawing function override      */
270     GX_NULL,                                 /* event function override        */
271     {235, 68, 372, 91},                      /* widget size                    */
272     &MAIN_DISPLAY_indicator_screen_next_button_3_define, /* next widget definition */
273     GX_NULL,                                 /* no child widgets               */
274     0,                                       /* runtime control block          */
275     (void *) &MAIN_DISPLAY_indicator_screen_slider_title_properties /* extended properties */
276 };
277 
278 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_icon_2_define =
279 {
280     "icon_2",
281     GX_TYPE_ICON,                            /* widget type                    */
282     GX_ID_NONE,                              /* widget id                      */
283     #if defined(GX_WIDGET_USER_DATA)
284     0,                                       /* user data                      */
285     #endif
286     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
287     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
288     sizeof(GX_ICON),                         /* control block size             */
289     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
290     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
291     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
292     gx_studio_icon_create,                   /* create function                */
293     GX_NULL,                                 /* drawing function override      */
294     GX_NULL,                                 /* event function override        */
295     {163, 262, 184, 271},                    /* widget size                    */
296     &MAIN_DISPLAY_indicator_screen_slider_title_define, /* next widget definition */
297     GX_NULL,                                 /* no child widgets               */
298     0,                                       /* runtime control block          */
299     (void *) &MAIN_DISPLAY_indicator_screen_icon_2_properties /* extended properties */
300 };
301 
302 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_icon_1_define =
303 {
304     "icon_1",
305     GX_TYPE_ICON,                            /* widget type                    */
306     GX_ID_NONE,                              /* widget id                      */
307     #if defined(GX_WIDGET_USER_DATA)
308     0,                                       /* user data                      */
309     #endif
310     GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP,   /* style flags */
311     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
312     sizeof(GX_ICON),                         /* control block size             */
313     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
314     GX_COLOR_ID_SELECTED_FILL,               /* selected color id              */
315     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
316     gx_studio_icon_create,                   /* create function                */
317     GX_NULL,                                 /* drawing function override      */
318     GX_NULL,                                 /* event function override        */
319     {163, 134, 184, 143},                    /* widget size                    */
320     &MAIN_DISPLAY_indicator_screen_icon_2_define, /* next widget definition    */
321     GX_NULL,                                 /* no child widgets               */
322     0,                                       /* runtime control block          */
323     (void *) &MAIN_DISPLAY_indicator_screen_icon_1_properties /* extended properties */
324 };
325 
326 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_pixelmap_slider_1_define =
327 {
328     "pixelmap_slider_1",
329     GX_TYPE_PIXELMAP_SLIDER,                 /* widget type                    */
330     ID_PIXELMAP_SLIDER1,                     /* widget id                      */
331     #if defined(GX_WIDGET_USER_DATA)
332     0,                                       /* user data                      */
333     #endif
334     GX_STYLE_BORDER_RAISED|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_SLIDER_VERTICAL|GX_STYLE_TILE_BACKGROUND,   /* style flags */
335     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
336     sizeof(GX_PIXELMAP_SLIDER),              /* control block size             */
337     GX_COLOR_ID_WIDGET_FILL,                 /* normal color id                */
338     GX_COLOR_ID_WIDGET_FILL,                 /* selected color id              */
339     GX_COLOR_ID_WIDGET_FILL,                 /* disabled color id              */
340     gx_studio_pixelmap_slider_create,        /* create function                */
341     GX_NULL,                                 /* drawing function override      */
342     GX_NULL,                                 /* event function override        */
343     {160, 144, 188, 264},                    /* widget size                    */
344     &MAIN_DISPLAY_indicator_screen_icon_1_define, /* next widget definition    */
345     GX_NULL,                                 /* no child widgets               */
346     0,                                       /* runtime control block          */
347     (void *) &MAIN_DISPLAY_indicator_screen_pixelmap_slider_1_properties /* extended properties */
348 };
349 
350 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_pixelmap_slider_define =
351 {
352     "pixelmap_slider",
353     GX_TYPE_PIXELMAP_SLIDER,                 /* widget type                    */
354     ID_PIXELMAP_SLIDER_H,                    /* widget id                      */
355     #if defined(GX_WIDGET_USER_DATA)
356     0,                                       /* user data                      */
357     #endif
358     GX_STYLE_BORDER_RAISED|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED,   /* style flags */
359     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
360     sizeof(GX_PIXELMAP_SLIDER),              /* control block size             */
361     GX_COLOR_ID_BTN_LOWER,                   /* normal color id                */
362     GX_COLOR_ID_BTN_LOWER,                   /* selected color id              */
363     GX_COLOR_ID_BTN_LOWER,                   /* disabled color id              */
364     gx_studio_pixelmap_slider_create,        /* create function                */
365     GX_NULL,                                 /* drawing function override      */
366     GX_NULL,                                 /* event function override        */
367     {283, 185, 426, 206},                    /* widget size                    */
368     &MAIN_DISPLAY_indicator_screen_pixelmap_slider_1_define, /* next widget definition */
369     GX_NULL,                                 /* no child widgets               */
370     0,                                       /* runtime control block          */
371     (void *) &MAIN_DISPLAY_indicator_screen_pixelmap_slider_properties /* extended properties */
372 };
373 
374 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_slider_1_define =
375 {
376     "slider_1",
377     GX_TYPE_SLIDER,                          /* widget type                    */
378     ID_SLIDER_1,                             /* widget id                      */
379     #if defined(GX_WIDGET_USER_DATA)
380     0,                                       /* user data                      */
381     #endif
382     GX_STYLE_BORDER_RECESSED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_SHOW_NEEDLE|GX_STYLE_SHOW_TICKMARKS|GX_STYLE_SLIDER_VERTICAL,   /* style flags */
383     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
384     sizeof(GX_SLIDER),                       /* control block size             */
385     GX_COLOR_ID_BTN_UPPER,                   /* normal color id                */
386     GX_COLOR_ID_BTN_UPPER,                   /* selected color id              */
387     GX_COLOR_ID_BTN_UPPER,                   /* disabled color id              */
388     gx_studio_slider_create,                 /* create function                */
389     GX_NULL,                                 /* drawing function override      */
390     GX_NULL,                                 /* event function override        */
391     {207, 133, 240, 272},                    /* widget size                    */
392     &MAIN_DISPLAY_indicator_screen_pixelmap_slider_define, /* next widget definition */
393     GX_NULL,                                 /* no child widgets               */
394     0,                                       /* runtime control block          */
395     (void *) &MAIN_DISPLAY_indicator_screen_slider_1_properties /* extended properties */
396 };
397 
398 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_slider_define =
399 {
400     "slider",
401     GX_TYPE_SLIDER,                          /* widget type                    */
402     ID_SLIDER_HORIZONTAL,                    /* widget id                      */
403     #if defined(GX_WIDGET_USER_DATA)
404     0,                                       /* user data                      */
405     #endif
406     GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_SHOW_NEEDLE|GX_STYLE_SHOW_TICKMARKS,   /* style flags */
407     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
408     sizeof(GX_SLIDER),                       /* control block size             */
409     GX_COLOR_ID_MAIN_DISPLAY_ORANGE,         /* normal color id                */
410     GX_COLOR_ID_MAIN_DISPLAY_ORANGE,         /* selected color id              */
411     GX_COLOR_ID_MAIN_DISPLAY_ORANGE,         /* disabled color id              */
412     gx_studio_slider_create,                 /* create function                */
413     GX_NULL,                                 /* drawing function override      */
414     GX_NULL,                                 /* event function override        */
415     {263, 130, 446, 166},                    /* widget size                    */
416     &MAIN_DISPLAY_indicator_screen_slider_1_define, /* next widget definition  */
417     GX_NULL,                                 /* no child widgets               */
418     0,                                       /* runtime control block          */
419     (void *) &MAIN_DISPLAY_indicator_screen_slider_properties /* extended properties */
420 };
421 
422 GX_STUDIO_ACTION MAIN_DISPLAY_indicator_screen__idb_next_gx_event_clicked_actions[2] = {
423     {GX_ACTION_TYPE_TOGGLE, 0, &MAIN_DISPLAY_root_window, &MAIN_DISPLAY_text_screen, GX_NULL},
424     {0, 0, GX_NULL, GX_NULL, GX_NULL}
425 };
426 
427 static GX_STUDIO_EVENT_ENTRY gx_studio_MAIN_DISPLAY_indicator_screen_event_table[] = {
428     {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, MAIN_DISPLAY_indicator_screen__idb_next_gx_event_clicked_actions},
429     {0, 0, GX_NULL}
430 };
431 
432 GX_STUDIO_EVENT_PROCESS MAIN_DISPLAY_indicator_screen_event_chain = {gx_studio_MAIN_DISPLAY_indicator_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process};
gx_studio_MAIN_DISPLAY_indicator_screen_event_process(GX_WIDGET * target,GX_EVENT * event_ptr)433 static UINT gx_studio_MAIN_DISPLAY_indicator_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr)
434 {
435     return (gx_studio_auto_event_handler(target, event_ptr, &MAIN_DISPLAY_indicator_screen_event_chain));
436 }
437 
438 
439 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_define =
440 {
441     "MAIN_DISPLAY_indicator_screen",
442     GX_TYPE_WINDOW,                          /* widget type                    */
443     ID_INDICATOR_SCREEN,                     /* widget id                      */
444     #if defined(GX_WIDGET_USER_DATA)
445     0,                                       /* user data                      */
446     #endif
447     GX_STYLE_BORDER_THIN|GX_STYLE_DYNAMICALLY_ALLOCATED,   /* style flags      */
448     GX_STATUS_ACCEPTS_FOCUS,                 /* status flags                   */
449     sizeof(MAIN_DISPLAY_INDICATOR_SCREEN_CONTROL_BLOCK), /* control block size */
450     GX_COLOR_ID_WINDOW_FILL,                 /* normal color id                */
451     GX_COLOR_ID_WINDOW_FILL,                 /* selected color id              */
452     GX_COLOR_ID_WINDOW_FILL,                 /* disabled color id              */
453     gx_studio_window_create,                 /* create function                */
454     GX_NULL,                                 /* drawing function override      */
455     (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_MAIN_DISPLAY_indicator_screen_event_process, /* event function override */
456     {146, 53, 465, 386},                     /* widget size                    */
457     GX_NULL,                                 /* next widget                    */
458     &MAIN_DISPLAY_indicator_screen_slider_define, /* child widget              */
459     0,                                       /* control block                  */
460     (void *) &MAIN_DISPLAY_indicator_screen_properties /* extended properties  */
461 };
462 #undef GUIX_STUDIO_GENERATED_FILE
463