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:09 */
10 /*******************************************************************************/
11
12
13 #define GUIX_STUDIO_GENERATED_FILE
14 #include <stddef.h>
15 #include "demo_display_resolution_MAIN_DISPLAY_resources.h"
16 #include "demo_display_resolution_SECONDARY_resources.h"
17 #include "demo_display_resolution_specifications.h"
18
19 static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent);
20 MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK MAIN_DISPLAY_main_window;
21 SECONDARY_WINDOW_CONTROL_BLOCK SECONDARY_window;
22 GX_DISPLAY MAIN_DISPLAY_control_block;
23 GX_WINDOW_ROOT MAIN_DISPLAY_root_window;
24 GX_CANVAS MAIN_DISPLAY_canvas_control_block;
25 ULONG MAIN_DISPLAY_canvas_memory[153360];
26
27 GX_DISPLAY SECONDARY_control_block;
28 GX_WINDOW_ROOT SECONDARY_root_window;
29 GX_CANVAS SECONDARY_canvas_control_block;
30 ULONG SECONDARY_canvas_memory[76920];
31
32 extern GX_CONST GX_THEME *MAIN_DISPLAY_theme_table[];
33 extern GX_CONST GX_STRING *MAIN_DISPLAY_language_table[];
34 extern GX_CONST GX_THEME *SECONDARY_theme_table[];
35 extern GX_CONST GX_STRING *SECONDARY_language_table[];
36
37 GX_STUDIO_DISPLAY_INFO demo_display_resolution_display_table[2] =
38 {
39 {
40 "MAIN_DISPLAY",
41 "MAIN_DISPLAY_canvas",
42 MAIN_DISPLAY_theme_table,
43 MAIN_DISPLAY_language_table,
44 MAIN_DISPLAY_THEME_TABLE_SIZE,
45 MAIN_DISPLAY_LANGUAGE_TABLE_SIZE,
46 MAIN_DISPLAY_STRING_TABLE_SIZE,
47 639, /* x resolution */
48 480, /* y resolution */
49 &MAIN_DISPLAY_control_block,
50 &MAIN_DISPLAY_canvas_control_block,
51 &MAIN_DISPLAY_root_window,
52 MAIN_DISPLAY_canvas_memory, /* canvas memory area */
53 613440, /* canvas memory size in bytes */
54 0 /* rotation angle */
55 },
56 {
57 "SECONDARY",
58 "SECONDARY_canvas",
59 SECONDARY_theme_table,
60 SECONDARY_language_table,
61 SECONDARY_THEME_TABLE_SIZE,
62 SECONDARY_LANGUAGE_TABLE_SIZE,
63 SECONDARY_STRING_TABLE_SIZE,
64 641, /* x resolution */
65 480, /* y resolution */
66 &SECONDARY_control_block,
67 &SECONDARY_canvas_control_block,
68 &SECONDARY_root_window,
69 SECONDARY_canvas_memory, /* canvas memory area */
70 307680, /* canvas memory size in bytes */
71 0 /* rotation angle */
72 }
73 };
74
75
gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)76 UINT gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
77 {
78 UINT status;
79 GX_TEXT_BUTTON *button = (GX_TEXT_BUTTON *) control_block;
80 GX_TEXT_BUTTON_PROPERTIES *props = (GX_TEXT_BUTTON_PROPERTIES *) info->properties;
81 status = gx_text_button_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
82 if (status == GX_SUCCESS)
83 {
84 gx_text_button_font_set(button, props->font_id);
85 #if defined(GUIX_5_4_0_COMPATIBILITY)
86 gx_text_button_text_color_set(button, props->normal_text_color_id, props->selected_text_color_id);
87 #else
88 gx_text_button_text_color_set(button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
89 #endif
90 }
91 return status;
92 }
93
gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)94 UINT gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
95 {
96 UINT status;
97 GX_ICON_BUTTON *button = (GX_ICON_BUTTON *) control_block;
98 GX_ICON_BUTTON_PROPERTIES *props = (GX_ICON_BUTTON_PROPERTIES *) info->properties;
99 status = gx_icon_button_create(button, info->widget_name, parent, props->pixelmap_id, info->style, info->widget_id, &info->size);
100 return status;
101 }
102
gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)103 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
104 {
105 UINT status;
106 GX_PROMPT *prompt = (GX_PROMPT *) control_block;
107 GX_PROMPT_PROPERTIES *props = (GX_PROMPT_PROPERTIES *) info->properties;
108 status = gx_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
109 if (status == GX_SUCCESS)
110 {
111 gx_prompt_font_set(prompt, props->font_id);
112 #if defined(GUIX_5_4_0_COMPATIBILITY)
113 gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id);
114 #else
115 gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
116 #endif
117 }
118 return status;
119 }
120
gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)121 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
122 {
123 UINT status;
124 GX_WINDOW *window = (GX_WINDOW *) control_block;
125 GX_WINDOW_PROPERTIES *props = (GX_WINDOW_PROPERTIES *) info->properties;
126 status = gx_window_create(window, info->widget_name, parent, info->style, info->widget_id, &info->size);
127 if (status == GX_SUCCESS)
128 {
129 if (props->wallpaper_id)
130 {
131 gx_window_wallpaper_set(window, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
132 }
133 }
134 return status;
135 }
136
gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)137 UINT gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
138 {
139 UINT status;
140 GX_VERTICAL_LIST *list = (GX_VERTICAL_LIST *) control_block;
141 GX_VERTICAL_LIST_PROPERTIES *props = (GX_VERTICAL_LIST_PROPERTIES *) info->properties;
142 status = gx_vertical_list_create(list, info->widget_name, parent, props->total_rows,
143 props->callback, info->style, info->widget_id, &info->size);
144 if (status == GX_SUCCESS)
145 {
146 if (props->wallpaper_id)
147 {
148 gx_window_wallpaper_set((GX_WINDOW *) list, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
149 }
150 }
151 return status;
152 }
153
gx_studio_horizontal_list_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)154 UINT gx_studio_horizontal_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
155 {
156 UINT status;
157 GX_HORIZONTAL_LIST *list = (GX_HORIZONTAL_LIST *) control_block;
158 GX_HORIZONTAL_LIST_PROPERTIES *props = (GX_HORIZONTAL_LIST_PROPERTIES *) info->properties;
159 status = gx_horizontal_list_create(list, info->widget_name, parent, props->total_rows,
160 props->callback, info->style, info->widget_id, &info->size);
161 if (status == GX_SUCCESS)
162 {
163 if (props->wallpaper_id)
164 {
165 gx_window_wallpaper_set((GX_WINDOW *) list, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
166 }
167 }
168 return status;
169 }
170
gx_studio_drop_list_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)171 UINT gx_studio_drop_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
172 {
173 UINT status;
174 GX_DROP_LIST *list = (GX_DROP_LIST *) control_block;
175 GX_DROP_LIST_PROPERTIES *props = (GX_DROP_LIST_PROPERTIES *) info->properties;
176 status = gx_drop_list_create(list, info->widget_name, parent,
177 props->total_rows, props->open_height,
178 props->callback, info->style, info->widget_id, &info->size);
179 if (status == GX_SUCCESS)
180 {
181 if (props->pixelmap_id)
182 {
183 gx_drop_list_pixelmap_set(list, props->pixelmap_id);
184 }
185 if (props->wallpaper_id)
186 {
187 gx_window_wallpaper_set((GX_WINDOW *)&list->gx_drop_list_popup.gx_popup_list_list, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
188 }
189 }
190 return status;
191 }
192
gx_studio_horizontal_scrollbar_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)193 UINT gx_studio_horizontal_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
194 {
195 UINT status;
196 GX_SCROLLBAR *scroll = (GX_SCROLLBAR *) control_block;
197 GX_SCROLLBAR_APPEARANCE *appearance = (GX_SCROLLBAR_APPEARANCE *) info->properties;
198 status = gx_horizontal_scrollbar_create(scroll, info->widget_name, parent, appearance, info->style);
199 return status;
200 }
201
gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)202 UINT gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
203 {
204 UINT status;
205 GX_SCROLLBAR *scroll = (GX_SCROLLBAR *) control_block;
206 GX_SCROLLBAR_APPEARANCE *appearance = (GX_SCROLLBAR_APPEARANCE *) info->properties;
207 status = gx_vertical_scrollbar_create(scroll, info->widget_name, parent, appearance, info->style);
208 return status;
209 }
210 GX_WINDOW_PROPERTIES MAIN_DISPLAY_main_window_properties =
211 {
212 GX_PIXELMAP_ID_MAIN_DISPLAY_FISH /* wallpaper pixelmap id */
213 };
214 GX_WINDOW_PROPERTIES MAIN_DISPLAY_main_window_window_5_properties =
215 {
216 0 /* wallpaper pixelmap id */
217 };
218 GX_WINDOW_PROPERTIES MAIN_DISPLAY_main_window_window_6_properties =
219 {
220 0 /* wallpaper pixelmap id */
221 };
222 GX_WINDOW_PROPERTIES MAIN_DISPLAY_main_window_window_8_properties =
223 {
224 0 /* wallpaper pixelmap id */
225 };
226 GX_WINDOW_PROPERTIES MAIN_DISPLAY_main_window_scroll_frame_1_properties =
227 {
228 0 /* wallpaper pixelmap id */
229 };
230 GX_WINDOW_PROPERTIES MAIN_DISPLAY_main_window_window_4_properties =
231 {
232 GX_PIXELMAP_ID_MAIN_DISPLAY_RED_APPLE /* wallpaper pixelmap id */
233 };
234 GX_SCROLLBAR_APPEARANCE MAIN_DISPLAY_main_window_hscroll_1_properties =
235 {
236 20, /* scroll width */
237 10, /* thumb width */
238 2, /* thumb travel min */
239 2, /* thumb travel max */
240 4, /* thumb border style */
241 0, /* scroll fill pixelmap */
242 0, /* scroll thumb pixelmap */
243 0, /* scroll up pixelmap */
244 0, /* scroll down pixelmap */
245 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */
246 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb border color */
247 GX_COLOR_ID_BTN_UPPER, /* scroll button color */
248 };
249 GX_SCROLLBAR_APPEARANCE MAIN_DISPLAY_main_window_vertical_scroll_1_properties =
250 {
251 20, /* scroll width */
252 12, /* thumb width */
253 20, /* thumb travel min */
254 20, /* thumb travel max */
255 4, /* thumb border style */
256 0, /* scroll fill pixelmap */
257 0, /* scroll thumb pixelmap */
258 0, /* scroll up pixelmap */
259 0, /* scroll down pixelmap */
260 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */
261 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb border color */
262 GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* scroll button color */
263 };
264 GX_VERTICAL_LIST_PROPERTIES MAIN_DISPLAY_main_window_vertical_list_properties =
265 {
266 0, /* wallpaper id */
267 GX_NULL, /* callback function */
268 4 /* total rows */
269 };
270 GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_main_window_button_1_properties =
271 {
272 GX_STRING_ID_MAIN_DISPLAY_STRING_19, /* string id */
273 GX_FONT_ID_BUTTON, /* font id */
274 GX_COLOR_ID_BTN_TEXT, /* normal text color */
275 GX_COLOR_ID_BTN_TEXT, /* selected text color */
276 GX_COLOR_ID_BTN_TEXT /* disabled text color */
277 };
278 GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_main_window_button_2_properties =
279 {
280 GX_STRING_ID_MAIN_DISPLAY_STRING_20, /* string id */
281 GX_FONT_ID_BUTTON, /* font id */
282 GX_COLOR_ID_BTN_TEXT, /* normal text color */
283 GX_COLOR_ID_BTN_TEXT, /* selected text color */
284 GX_COLOR_ID_BTN_TEXT /* disabled text color */
285 };
286 GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_main_window_button_3_properties =
287 {
288 GX_STRING_ID_MAIN_DISPLAY_STRING_21, /* string id */
289 GX_FONT_ID_BUTTON, /* font id */
290 GX_COLOR_ID_BTN_TEXT, /* normal text color */
291 GX_COLOR_ID_BTN_TEXT, /* selected text color */
292 GX_COLOR_ID_BTN_TEXT /* disabled text color */
293 };
294 GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_main_window_button_4_properties =
295 {
296 GX_STRING_ID_MAIN_DISPLAY_STRING_22, /* string id */
297 GX_FONT_ID_BUTTON, /* font id */
298 GX_COLOR_ID_BTN_TEXT, /* normal text color */
299 GX_COLOR_ID_BTN_TEXT, /* selected text color */
300 GX_COLOR_ID_BTN_TEXT /* disabled text color */
301 };
302 GX_PROMPT_PROPERTIES MAIN_DISPLAY_main_window_nested_label_1_properties =
303 {
304 GX_STRING_ID_MAIN_DISPLAY_STRING_16, /* string id */
305 GX_FONT_ID_PROMPT, /* font id */
306 GX_COLOR_ID_TEXT, /* normal text color */
307 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
308 GX_COLOR_ID_TEXT /* disabled text color */
309 };
310 GX_PROMPT_PROPERTIES MAIN_DISPLAY_main_window_frame_label_1_properties =
311 {
312 GX_STRING_ID_MAIN_DISPLAY_STRING_17, /* string id */
313 GX_FONT_ID_PROMPT, /* font id */
314 GX_COLOR_ID_TEXT, /* normal text color */
315 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
316 GX_COLOR_ID_TEXT /* disabled text color */
317 };
318 GX_PROMPT_PROPERTIES MAIN_DISPLAY_main_window_vlist_label_1_properties =
319 {
320 GX_STRING_ID_MAIN_DISPLAY_STRING_18, /* string id */
321 GX_FONT_ID_PROMPT, /* font id */
322 GX_COLOR_ID_TEXT, /* normal text color */
323 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
324 GX_COLOR_ID_TEXT /* disabled text color */
325 };
326 GX_HORIZONTAL_LIST_PROPERTIES MAIN_DISPLAY_main_window_horizontal_list_1_properties =
327 {
328 0, /* wallpaper id */
329 GX_NULL, /* callback function */
330 5 /* total columns */
331 };
332 GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_main_window_icon_button_1_properties =
333 {
334 GX_PIXELMAP_ID_MAIN_DISPLAY_I_HISTORY_LG /* pixelmap id */
335 };
336 GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_main_window_icon_button_2_properties =
337 {
338 GX_PIXELMAP_ID_MAIN_DISPLAY_I_MEDICATIONSGREEN_LG /* pixelmap id */
339 };
340 GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_main_window_icon_button_3_properties =
341 {
342 GX_PIXELMAP_ID_MAIN_DISPLAY_I_PATIENTLIST_LG /* pixelmap id */
343 };
344 GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_main_window_icon_button_4_properties =
345 {
346 GX_PIXELMAP_ID_MAIN_DISPLAY_I_MEDICATIONSRED_LG /* pixelmap id */
347 };
348 GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_main_window_icon_button_5_properties =
349 {
350 GX_PIXELMAP_ID_MAIN_DISPLAY_SAVE_ICON /* pixelmap id */
351 };
352 GX_PROMPT_PROPERTIES MAIN_DISPLAY_main_window_hlist_label_1_properties =
353 {
354 GX_STRING_ID_MAIN_DISPLAY_STRING_23, /* string id */
355 GX_FONT_ID_PROMPT, /* font id */
356 GX_COLOR_ID_TEXT, /* normal text color */
357 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
358 GX_COLOR_ID_TEXT /* disabled text color */
359 };
360 GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_main_window_next_button_1_properties =
361 {
362 GX_STRING_ID_MAIN_DISPLAY_STRING_36, /* string id */
363 GX_FONT_ID_BUTTON, /* font id */
364 GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */
365 GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* selected text color */
366 GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */
367 };
368 GX_DROP_LIST_PROPERTIES MAIN_DISPLAY_main_window_drop_list_properties =
369 {
370 0, /* widget pixelmap id */
371 0, /* popup list wallpaper pixelmap id */
372 GX_NULL, /* callback function */
373 100, /* total rows */
374 100 /* open height */
375 };
376 GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_main_window_icon_button_properties =
377 {
378 GX_PIXELMAP_ID_RADIO_ON /* pixelmap id */
379 };
380 GX_PROMPT_PROPERTIES MAIN_DISPLAY_main_window_hlist_label_properties =
381 {
382 GX_STRING_ID_MAIN_DISPLAY_STRING_37, /* string id */
383 GX_FONT_ID_PROMPT, /* font id */
384 GX_COLOR_ID_TEXT, /* normal text color */
385 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
386 GX_COLOR_ID_TEXT /* disabled text color */
387 };
388
389 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_window_8_define =
390 {
391 "window_8",
392 GX_TYPE_WINDOW, /* widget type */
393 GX_ID_NONE, /* widget id */
394 #if defined(GX_WIDGET_USER_DATA)
395 0, /* user data */
396 #endif
397 GX_STYLE_BORDER_THIN, /* style flags */
398 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
399 sizeof(GX_WINDOW), /* control block size */
400 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
401 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
402 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
403 gx_studio_window_create, /* create function */
404 GX_NULL, /* drawing function override */
405 GX_NULL, /* event function override */
406 {187, 78, 280, 150}, /* widget size */
407 GX_NULL, /* no next widget */
408 GX_NULL, /* no child widgets */
409 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_window_8), /* control block */
410 (void *) &MAIN_DISPLAY_main_window_window_8_properties /* extended properties */
411 };
412
413 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_window_6_define =
414 {
415 "window_6",
416 GX_TYPE_WINDOW, /* widget type */
417 GX_ID_NONE, /* widget id */
418 #if defined(GX_WIDGET_USER_DATA)
419 0, /* user data */
420 #endif
421 GX_STYLE_BORDER_THIN, /* style flags */
422 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
423 sizeof(GX_WINDOW), /* control block size */
424 GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* normal color id */
425 GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* selected color id */
426 GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* disabled color id */
427 gx_studio_window_create, /* create function */
428 GX_NULL, /* drawing function override */
429 GX_NULL, /* event function override */
430 {49, 46, 295, 160}, /* widget size */
431 GX_NULL, /* no next widget */
432 &MAIN_DISPLAY_main_window_window_8_define, /* child widget definition */
433 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_window_6), /* control block */
434 (void *) &MAIN_DISPLAY_main_window_window_6_properties /* extended properties */
435 };
436
437 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_vertical_scroll_1_define =
438 {
439 "vertical_scroll_1",
440 GX_TYPE_VERTICAL_SCROLL, /* widget type */
441 ID_VERTICAL_SCROLLBAR, /* widget id */
442 #if defined(GX_WIDGET_USER_DATA)
443 0, /* user data */
444 #endif
445 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_END_BUTTONS|GX_SCROLLBAR_VERTICAL, /* style flags */
446 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
447 sizeof(GX_SCROLLBAR), /* control block size */
448 GX_COLOR_ID_SCROLL_FILL, /* normal color id */
449 GX_COLOR_ID_SCROLL_FILL, /* selected color id */
450 GX_COLOR_ID_SCROLL_FILL, /* disabled color id */
451 gx_studio_vertical_scrollbar_create, /* create function */
452 GX_NULL, /* drawing function override */
453 GX_NULL, /* event function override */
454 {518, 36, 537, 149}, /* widget size */
455 GX_NULL, /* no next widget */
456 GX_NULL, /* no child widgets */
457 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_vertical_scroll_1), /* control block */
458 (void *) &MAIN_DISPLAY_main_window_vertical_scroll_1_properties /* extended properties */
459 };
460
461 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_hscroll_1_define =
462 {
463 "hscroll_1",
464 GX_TYPE_HORIZONTAL_SCROLL, /* widget type */
465 ID_HORIZONTAL_SCROLLBAR, /* widget id */
466 #if defined(GX_WIDGET_USER_DATA)
467 0, /* user data */
468 #endif
469 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_TILE_BACKGROUND|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_HORIZONTAL, /* style flags */
470 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
471 sizeof(GX_SCROLLBAR), /* control block size */
472 GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* normal color id */
473 GX_COLOR_ID_SCROLL_FILL, /* selected color id */
474 GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* disabled color id */
475 gx_studio_horizontal_scrollbar_create, /* create function */
476 GX_NULL, /* drawing function override */
477 GX_NULL, /* event function override */
478 {328, 150, 517, 169}, /* widget size */
479 &MAIN_DISPLAY_main_window_vertical_scroll_1_define, /* next widget definition */
480 GX_NULL, /* no child widgets */
481 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_hscroll_1), /* control block */
482 (void *) &MAIN_DISPLAY_main_window_hscroll_1_properties /* extended properties */
483 };
484
485 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_window_4_define =
486 {
487 "window_4",
488 GX_TYPE_WINDOW, /* widget type */
489 GX_ID_NONE, /* widget id */
490 #if defined(GX_WIDGET_USER_DATA)
491 0, /* user data */
492 #endif
493 GX_STYLE_BORDER_THIN, /* style flags */
494 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
495 sizeof(GX_WINDOW), /* control block size */
496 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
497 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
498 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
499 gx_studio_window_create, /* create function */
500 GX_NULL, /* drawing function override */
501 GX_NULL, /* event function override */
502 {327, 35, 726, 434}, /* widget size */
503 &MAIN_DISPLAY_main_window_hscroll_1_define, /* next widget definition */
504 GX_NULL, /* no child widgets */
505 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_window_4), /* control block */
506 (void *) &MAIN_DISPLAY_main_window_window_4_properties /* extended properties */
507 };
508
509 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_button_4_define =
510 {
511 "button_4",
512 GX_TYPE_TEXT_BUTTON, /* widget type */
513 GX_ID_NONE, /* widget id */
514 #if defined(GX_WIDGET_USER_DATA)
515 0, /* user data */
516 #endif
517 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
518 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
519 sizeof(GX_TEXT_BUTTON), /* control block size */
520 GX_COLOR_ID_BTN_LOWER, /* normal color id */
521 GX_COLOR_ID_BTN_UPPER, /* selected color id */
522 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
523 gx_studio_text_button_create, /* create function */
524 GX_NULL, /* drawing function override */
525 GX_NULL, /* event function override */
526 {35, 314, 132, 348}, /* widget size */
527 GX_NULL, /* no next widget */
528 GX_NULL, /* no child widgets */
529 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_button_4), /* control block */
530 (void *) &MAIN_DISPLAY_main_window_button_4_properties /* extended properties */
531 };
532
533 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_button_3_define =
534 {
535 "button_3",
536 GX_TYPE_TEXT_BUTTON, /* widget type */
537 GX_ID_NONE, /* widget id */
538 #if defined(GX_WIDGET_USER_DATA)
539 0, /* user data */
540 #endif
541 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
542 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
543 sizeof(GX_TEXT_BUTTON), /* control block size */
544 GX_COLOR_ID_BTN_LOWER, /* normal color id */
545 GX_COLOR_ID_BTN_UPPER, /* selected color id */
546 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
547 gx_studio_text_button_create, /* create function */
548 GX_NULL, /* drawing function override */
549 GX_NULL, /* event function override */
550 {35, 279, 132, 313}, /* widget size */
551 &MAIN_DISPLAY_main_window_button_4_define, /* next widget definition */
552 GX_NULL, /* no child widgets */
553 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_button_3), /* control block */
554 (void *) &MAIN_DISPLAY_main_window_button_3_properties /* extended properties */
555 };
556
557 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_button_2_define =
558 {
559 "button_2",
560 GX_TYPE_TEXT_BUTTON, /* widget type */
561 GX_ID_NONE, /* widget id */
562 #if defined(GX_WIDGET_USER_DATA)
563 0, /* user data */
564 #endif
565 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
566 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
567 sizeof(GX_TEXT_BUTTON), /* control block size */
568 GX_COLOR_ID_BTN_LOWER, /* normal color id */
569 GX_COLOR_ID_BTN_UPPER, /* selected color id */
570 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
571 gx_studio_text_button_create, /* create function */
572 GX_NULL, /* drawing function override */
573 GX_NULL, /* event function override */
574 {35, 244, 132, 278}, /* widget size */
575 &MAIN_DISPLAY_main_window_button_3_define, /* next widget definition */
576 GX_NULL, /* no child widgets */
577 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_button_2), /* control block */
578 (void *) &MAIN_DISPLAY_main_window_button_2_properties /* extended properties */
579 };
580
581 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_button_1_define =
582 {
583 "button_1",
584 GX_TYPE_TEXT_BUTTON, /* widget type */
585 GX_ID_NONE, /* widget id */
586 #if defined(GX_WIDGET_USER_DATA)
587 0, /* user data */
588 #endif
589 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
590 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
591 sizeof(GX_TEXT_BUTTON), /* control block size */
592 GX_COLOR_ID_BTN_LOWER, /* normal color id */
593 GX_COLOR_ID_BTN_UPPER, /* selected color id */
594 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
595 gx_studio_text_button_create, /* create function */
596 GX_NULL, /* drawing function override */
597 GX_NULL, /* event function override */
598 {35, 209, 132, 243}, /* widget size */
599 &MAIN_DISPLAY_main_window_button_2_define, /* next widget definition */
600 GX_NULL, /* no child widgets */
601 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_button_1), /* control block */
602 (void *) &MAIN_DISPLAY_main_window_button_1_properties /* extended properties */
603 };
604
605 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_icon_button_5_define =
606 {
607 "icon_button_5",
608 GX_TYPE_ICON_BUTTON, /* widget type */
609 GX_ID_NONE, /* widget id */
610 #if defined(GX_WIDGET_USER_DATA)
611 0, /* user data */
612 #endif
613 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
614 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
615 sizeof(GX_ICON_BUTTON), /* control block size */
616 GX_COLOR_ID_BTN_LOWER, /* normal color id */
617 GX_COLOR_ID_BTN_UPPER, /* selected color id */
618 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
619 gx_studio_icon_button_create, /* create function */
620 GX_NULL, /* drawing function override */
621 GX_NULL, /* event function override */
622 {361, 208, 411, 269}, /* widget size */
623 GX_NULL, /* no next widget */
624 GX_NULL, /* no child widgets */
625 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_icon_button_5), /* control block */
626 (void *) &MAIN_DISPLAY_main_window_icon_button_5_properties /* extended properties */
627 };
628
629 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_icon_button_4_define =
630 {
631 "icon_button_4",
632 GX_TYPE_ICON_BUTTON, /* widget type */
633 GX_ID_NONE, /* widget id */
634 #if defined(GX_WIDGET_USER_DATA)
635 0, /* user data */
636 #endif
637 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
638 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
639 sizeof(GX_ICON_BUTTON), /* control block size */
640 GX_COLOR_ID_BTN_LOWER, /* normal color id */
641 GX_COLOR_ID_BTN_UPPER, /* selected color id */
642 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
643 gx_studio_icon_button_create, /* create function */
644 GX_NULL, /* drawing function override */
645 GX_NULL, /* event function override */
646 {310, 208, 360, 269}, /* widget size */
647 &MAIN_DISPLAY_main_window_icon_button_5_define, /* next widget definition */
648 GX_NULL, /* no child widgets */
649 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_icon_button_4), /* control block */
650 (void *) &MAIN_DISPLAY_main_window_icon_button_4_properties /* extended properties */
651 };
652
653 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_icon_button_3_define =
654 {
655 "icon_button_3",
656 GX_TYPE_ICON_BUTTON, /* widget type */
657 GX_ID_NONE, /* widget id */
658 #if defined(GX_WIDGET_USER_DATA)
659 0, /* user data */
660 #endif
661 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
662 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
663 sizeof(GX_ICON_BUTTON), /* control block size */
664 GX_COLOR_ID_BTN_LOWER, /* normal color id */
665 GX_COLOR_ID_BTN_UPPER, /* selected color id */
666 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
667 gx_studio_icon_button_create, /* create function */
668 GX_NULL, /* drawing function override */
669 GX_NULL, /* event function override */
670 {259, 208, 309, 269}, /* widget size */
671 &MAIN_DISPLAY_main_window_icon_button_4_define, /* next widget definition */
672 GX_NULL, /* no child widgets */
673 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_icon_button_3), /* control block */
674 (void *) &MAIN_DISPLAY_main_window_icon_button_3_properties /* extended properties */
675 };
676
677 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_icon_button_2_define =
678 {
679 "icon_button_2",
680 GX_TYPE_ICON_BUTTON, /* widget type */
681 GX_ID_NONE, /* widget id */
682 #if defined(GX_WIDGET_USER_DATA)
683 0, /* user data */
684 #endif
685 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
686 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
687 sizeof(GX_ICON_BUTTON), /* control block size */
688 GX_COLOR_ID_BTN_LOWER, /* normal color id */
689 GX_COLOR_ID_BTN_UPPER, /* selected color id */
690 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
691 gx_studio_icon_button_create, /* create function */
692 GX_NULL, /* drawing function override */
693 GX_NULL, /* event function override */
694 {208, 208, 258, 269}, /* widget size */
695 &MAIN_DISPLAY_main_window_icon_button_3_define, /* next widget definition */
696 GX_NULL, /* no child widgets */
697 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_icon_button_2), /* control block */
698 (void *) &MAIN_DISPLAY_main_window_icon_button_2_properties /* extended properties */
699 };
700
701 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_icon_button_1_define =
702 {
703 "icon_button_1",
704 GX_TYPE_ICON_BUTTON, /* widget type */
705 GX_ID_NONE, /* widget id */
706 #if defined(GX_WIDGET_USER_DATA)
707 0, /* user data */
708 #endif
709 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
710 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
711 sizeof(GX_ICON_BUTTON), /* control block size */
712 GX_COLOR_ID_BTN_LOWER, /* normal color id */
713 GX_COLOR_ID_BTN_UPPER, /* selected color id */
714 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
715 gx_studio_icon_button_create, /* create function */
716 GX_NULL, /* drawing function override */
717 GX_NULL, /* event function override */
718 {157, 208, 207, 269}, /* widget size */
719 &MAIN_DISPLAY_main_window_icon_button_2_define, /* next widget definition */
720 GX_NULL, /* no child widgets */
721 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_icon_button_1), /* control block */
722 (void *) &MAIN_DISPLAY_main_window_icon_button_1_properties /* extended properties */
723 };
724
725 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_icon_button_define =
726 {
727 "icon_button",
728 GX_TYPE_ICON_BUTTON, /* widget type */
729 ID_DROP_LIST_BUTTON, /* widget id */
730 #if defined(GX_WIDGET_USER_DATA)
731 0, /* user data */
732 #endif
733 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
734 0, /* status flags */
735 sizeof(GX_ICON_BUTTON), /* control block size */
736 GX_COLOR_ID_BTN_LOWER, /* normal color id */
737 GX_COLOR_ID_BTN_UPPER, /* selected color id */
738 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
739 gx_studio_icon_button_create, /* create function */
740 GX_NULL, /* drawing function override */
741 GX_NULL, /* event function override */
742 {375, 308, 406, 339}, /* widget size */
743 GX_NULL, /* no next widget */
744 GX_NULL, /* no child widgets */
745 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_icon_button), /* control block */
746 (void *) &MAIN_DISPLAY_main_window_icon_button_properties /* extended properties */
747 };
748
749 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_hlist_label_define =
750 {
751 "hlist_label",
752 GX_TYPE_PROMPT, /* widget type */
753 GX_ID_NONE, /* widget id */
754 #if defined(GX_WIDGET_USER_DATA)
755 0, /* user data */
756 #endif
757 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
758 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
759 sizeof(GX_PROMPT), /* control block size */
760 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
761 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
762 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
763 gx_studio_prompt_create, /* create function */
764 GX_NULL, /* drawing function override */
765 GX_NULL, /* event function override */
766 {229, 286, 317, 309}, /* widget size */
767 GX_NULL, /* no next widget */
768 GX_NULL, /* no child widgets */
769 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_hlist_label), /* control block */
770 (void *) &MAIN_DISPLAY_main_window_hlist_label_properties /* extended properties */
771 };
772
773 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_drop_list_define =
774 {
775 "drop_list",
776 GX_TYPE_DROP_LIST, /* widget type */
777 ID_DROP_LIST, /* widget id */
778 #if defined(GX_WIDGET_USER_DATA)
779 0, /* user data */
780 #endif
781 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_TILE_WALLPAPER, /* style flags */
782 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
783 sizeof(GX_DROP_LIST), /* control block size */
784 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
785 GX_COLOR_ID_WIDGET_FILL, /* selected color id */
786 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
787 gx_studio_drop_list_create, /* create function */
788 GX_NULL, /* drawing function override */
789 GX_NULL, /* event function override */
790 {159, 309, 406, 337}, /* widget size */
791 &MAIN_DISPLAY_main_window_hlist_label_define, /* next widget definition */
792 &MAIN_DISPLAY_main_window_icon_button_define, /* child widget definition */
793 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_drop_list), /* control block */
794 (void *) &MAIN_DISPLAY_main_window_drop_list_properties /* extended properties */
795 };
796
797 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_next_button_1_define =
798 {
799 "next_button_1",
800 GX_TYPE_TEXT_BUTTON, /* widget type */
801 IDB_NEXT, /* widget id */
802 #if defined(GX_WIDGET_USER_DATA)
803 0, /* user data */
804 #endif
805 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
806 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
807 sizeof(GX_TEXT_BUTTON), /* control block size */
808 GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* normal color id */
809 GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* selected color id */
810 GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* disabled color id */
811 gx_studio_text_button_create, /* create function */
812 GX_NULL, /* drawing function override */
813 GX_NULL, /* event function override */
814 {467, 422, 546, 446}, /* widget size */
815 &MAIN_DISPLAY_main_window_drop_list_define, /* next widget definition */
816 GX_NULL, /* no child widgets */
817 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_next_button_1), /* control block */
818 (void *) &MAIN_DISPLAY_main_window_next_button_1_properties /* extended properties */
819 };
820
821 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_hlist_label_1_define =
822 {
823 "hlist_label_1",
824 GX_TYPE_PROMPT, /* widget type */
825 GX_ID_NONE, /* widget id */
826 #if defined(GX_WIDGET_USER_DATA)
827 0, /* user data */
828 #endif
829 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
830 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
831 sizeof(GX_PROMPT), /* control block size */
832 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
833 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
834 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
835 gx_studio_prompt_create, /* create function */
836 GX_NULL, /* drawing function override */
837 GX_NULL, /* event function override */
838 {218, 181, 349, 204}, /* widget size */
839 &MAIN_DISPLAY_main_window_next_button_1_define, /* next widget definition */
840 GX_NULL, /* no child widgets */
841 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_hlist_label_1), /* control block */
842 (void *) &MAIN_DISPLAY_main_window_hlist_label_1_properties /* extended properties */
843 };
844
845 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_horizontal_list_1_define =
846 {
847 "horizontal_list_1",
848 GX_TYPE_HORIZONTAL_LIST, /* widget type */
849 GX_ID_NONE, /* widget id */
850 #if defined(GX_WIDGET_USER_DATA)
851 0, /* user data */
852 #endif
853 GX_STYLE_BORDER_THIN, /* style flags */
854 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
855 sizeof(GX_HORIZONTAL_LIST), /* control block size */
856 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
857 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
858 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
859 gx_studio_horizontal_list_create, /* create function */
860 GX_NULL, /* drawing function override */
861 GX_NULL, /* event function override */
862 {156, 207, 413, 270}, /* widget size */
863 &MAIN_DISPLAY_main_window_hlist_label_1_define, /* next widget definition */
864 &MAIN_DISPLAY_main_window_icon_button_1_define, /* child widget definition */
865 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_horizontal_list_1), /* control block */
866 (void *) &MAIN_DISPLAY_main_window_horizontal_list_1_properties /* extended properties */
867 };
868
869 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_vlist_label_1_define =
870 {
871 "vlist_label_1",
872 GX_TYPE_PROMPT, /* widget type */
873 GX_ID_NONE, /* widget id */
874 #if defined(GX_WIDGET_USER_DATA)
875 0, /* user data */
876 #endif
877 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
878 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
879 sizeof(GX_PROMPT), /* control block size */
880 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
881 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
882 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
883 gx_studio_prompt_create, /* create function */
884 GX_NULL, /* drawing function override */
885 GX_NULL, /* event function override */
886 {21, 181, 152, 204}, /* widget size */
887 &MAIN_DISPLAY_main_window_horizontal_list_1_define, /* next widget definition */
888 GX_NULL, /* no child widgets */
889 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_vlist_label_1), /* control block */
890 (void *) &MAIN_DISPLAY_main_window_vlist_label_1_properties /* extended properties */
891 };
892
893 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_frame_label_1_define =
894 {
895 "frame_label_1",
896 GX_TYPE_PROMPT, /* widget type */
897 GX_ID_NONE, /* widget id */
898 #if defined(GX_WIDGET_USER_DATA)
899 0, /* user data */
900 #endif
901 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
902 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
903 sizeof(GX_PROMPT), /* control block size */
904 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
905 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
906 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
907 gx_studio_prompt_create, /* create function */
908 GX_NULL, /* drawing function override */
909 GX_NULL, /* event function override */
910 {365, 9, 496, 32}, /* widget size */
911 &MAIN_DISPLAY_main_window_vlist_label_1_define, /* next widget definition */
912 GX_NULL, /* no child widgets */
913 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_frame_label_1), /* control block */
914 (void *) &MAIN_DISPLAY_main_window_frame_label_1_properties /* extended properties */
915 };
916
917 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_nested_label_1_define =
918 {
919 "nested_label_1",
920 GX_TYPE_PROMPT, /* widget type */
921 GX_ID_NONE, /* widget id */
922 #if defined(GX_WIDGET_USER_DATA)
923 0, /* user data */
924 #endif
925 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
926 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
927 sizeof(GX_PROMPT), /* control block size */
928 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
929 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
930 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
931 gx_studio_prompt_create, /* create function */
932 GX_NULL, /* drawing function override */
933 GX_NULL, /* event function override */
934 {94, 9, 225, 32}, /* widget size */
935 &MAIN_DISPLAY_main_window_frame_label_1_define, /* next widget definition */
936 GX_NULL, /* no child widgets */
937 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_nested_label_1), /* control block */
938 (void *) &MAIN_DISPLAY_main_window_nested_label_1_properties /* extended properties */
939 };
940
941 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_vertical_list_define =
942 {
943 "vertical_list",
944 GX_TYPE_VERTICAL_LIST, /* widget type */
945 ID_VERTICAL_LIST, /* widget id */
946 #if defined(GX_WIDGET_USER_DATA)
947 0, /* user data */
948 #endif
949 GX_STYLE_BORDER_RAISED, /* style flags */
950 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
951 sizeof(GX_VERTICAL_LIST), /* control block size */
952 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
953 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
954 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
955 gx_studio_vertical_list_create, /* create function */
956 GX_NULL, /* drawing function override */
957 GX_NULL, /* event function override */
958 {33, 207, 134, 350}, /* widget size */
959 &MAIN_DISPLAY_main_window_nested_label_1_define, /* next widget definition */
960 &MAIN_DISPLAY_main_window_button_1_define, /* child widget definition */
961 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_vertical_list), /* control block */
962 (void *) &MAIN_DISPLAY_main_window_vertical_list_properties /* extended properties */
963 };
964
965 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_scroll_frame_1_define =
966 {
967 "scroll_frame_1",
968 GX_TYPE_WINDOW, /* widget type */
969 GX_ID_NONE, /* widget id */
970 #if defined(GX_WIDGET_USER_DATA)
971 0, /* user data */
972 #endif
973 GX_STYLE_BORDER_THIN, /* style flags */
974 0, /* status flags */
975 sizeof(GX_WINDOW), /* control block size */
976 GX_COLOR_ID_SCROLL_FILL, /* normal color id */
977 GX_COLOR_ID_SCROLL_FILL, /* selected color id */
978 GX_COLOR_ID_SCROLL_FILL, /* disabled color id */
979 gx_studio_window_create, /* create function */
980 GX_NULL, /* drawing function override */
981 GX_NULL, /* event function override */
982 {327, 35, 538, 170}, /* widget size */
983 &MAIN_DISPLAY_main_window_vertical_list_define, /* next widget definition */
984 &MAIN_DISPLAY_main_window_window_4_define, /* child widget definition */
985 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_scroll_frame_1), /* control block */
986 (void *) &MAIN_DISPLAY_main_window_scroll_frame_1_properties /* extended properties */
987 };
988
989 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_window_5_define =
990 {
991 "window_5",
992 GX_TYPE_WINDOW, /* widget type */
993 GX_ID_NONE, /* widget id */
994 #if defined(GX_WIDGET_USER_DATA)
995 0, /* user data */
996 #endif
997 GX_STYLE_BORDER_THICK, /* style flags */
998 0, /* status flags */
999 sizeof(GX_WINDOW), /* control block size */
1000 GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* normal color id */
1001 GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* selected color id */
1002 GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* disabled color id */
1003 gx_studio_window_create, /* create function */
1004 GX_NULL, /* drawing function override */
1005 GX_NULL, /* event function override */
1006 {32, 34, 317, 172}, /* widget size */
1007 &MAIN_DISPLAY_main_window_scroll_frame_1_define, /* next widget definition */
1008 &MAIN_DISPLAY_main_window_window_6_define, /* child widget definition */
1009 offsetof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK, MAIN_DISPLAY_main_window_window_5), /* control block */
1010 (void *) &MAIN_DISPLAY_main_window_window_5_properties /* extended properties */
1011 };
1012
1013 GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_main_window_define =
1014 {
1015 "MAIN_DISPLAY_main_window",
1016 GX_TYPE_WINDOW, /* widget type */
1017 GX_ID_NONE, /* widget id */
1018 #if defined(GX_WIDGET_USER_DATA)
1019 0, /* user data */
1020 #endif
1021 GX_STYLE_BORDER_THIN, /* style flags */
1022 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1023 sizeof(MAIN_DISPLAY_MAIN_WINDOW_CONTROL_BLOCK), /* control block size */
1024 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
1025 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
1026 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
1027 gx_studio_window_create, /* create function */
1028 GX_NULL, /* drawing function override */
1029 GX_NULL, /* event function override */
1030 {0, 0, 599, 479}, /* widget size */
1031 GX_NULL, /* next widget */
1032 &MAIN_DISPLAY_main_window_window_5_define, /* child widget */
1033 0, /* control block */
1034 (void *) &MAIN_DISPLAY_main_window_properties /* extended properties */
1035 };
1036 GX_WINDOW_PROPERTIES SECONDARY_window_properties =
1037 {
1038 GX_PIXELMAP_ID_SECONDARY_FISH /* wallpaper pixelmap id */
1039 };
1040 GX_WINDOW_PROPERTIES SECONDARY_window_window_5_properties =
1041 {
1042 0 /* wallpaper pixelmap id */
1043 };
1044 GX_WINDOW_PROPERTIES SECONDARY_window_window_6_properties =
1045 {
1046 0 /* wallpaper pixelmap id */
1047 };
1048 GX_WINDOW_PROPERTIES SECONDARY_window_window_8_properties =
1049 {
1050 0 /* wallpaper pixelmap id */
1051 };
1052 GX_WINDOW_PROPERTIES SECONDARY_window_scroll_frame_1_properties =
1053 {
1054 0 /* wallpaper pixelmap id */
1055 };
1056 GX_WINDOW_PROPERTIES SECONDARY_window_window_4_properties =
1057 {
1058 GX_PIXELMAP_ID_SECONDARY_RED_APPLE /* wallpaper pixelmap id */
1059 };
1060 GX_SCROLLBAR_APPEARANCE SECONDARY_window_hscroll_1_properties =
1061 {
1062 20, /* scroll width */
1063 10, /* thumb width */
1064 2, /* thumb travel min */
1065 2, /* thumb travel max */
1066 4, /* thumb border style */
1067 0, /* scroll fill pixelmap */
1068 0, /* scroll thumb pixelmap */
1069 0, /* scroll up pixelmap */
1070 0, /* scroll down pixelmap */
1071 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */
1072 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb border color */
1073 GX_COLOR_ID_BTN_UPPER, /* scroll button color */
1074 };
1075 GX_SCROLLBAR_APPEARANCE SECONDARY_window_vertical_scroll_1_properties =
1076 {
1077 20, /* scroll width */
1078 12, /* thumb width */
1079 20, /* thumb travel min */
1080 20, /* thumb travel max */
1081 4, /* thumb border style */
1082 0, /* scroll fill pixelmap */
1083 0, /* scroll thumb pixelmap */
1084 0, /* scroll up pixelmap */
1085 0, /* scroll down pixelmap */
1086 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */
1087 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb border color */
1088 GX_COLOR_ID_SECONDARY_ORANGE, /* scroll button color */
1089 };
1090 GX_VERTICAL_LIST_PROPERTIES SECONDARY_window_vertical_list_properties =
1091 {
1092 0, /* wallpaper id */
1093 GX_NULL, /* callback function */
1094 4 /* total rows */
1095 };
1096 GX_TEXT_BUTTON_PROPERTIES SECONDARY_window_button_1_properties =
1097 {
1098 GX_STRING_ID_SECONDARY_STRING_1, /* string id */
1099 GX_FONT_ID_BUTTON, /* font id */
1100 GX_COLOR_ID_BTN_TEXT, /* normal text color */
1101 GX_COLOR_ID_BTN_TEXT, /* selected text color */
1102 GX_COLOR_ID_BTN_TEXT /* disabled text color */
1103 };
1104 GX_TEXT_BUTTON_PROPERTIES SECONDARY_window_button_2_properties =
1105 {
1106 GX_STRING_ID_SECONDARY_STRING_2, /* string id */
1107 GX_FONT_ID_BUTTON, /* font id */
1108 GX_COLOR_ID_BTN_TEXT, /* normal text color */
1109 GX_COLOR_ID_BTN_TEXT, /* selected text color */
1110 GX_COLOR_ID_BTN_TEXT /* disabled text color */
1111 };
1112 GX_TEXT_BUTTON_PROPERTIES SECONDARY_window_button_3_properties =
1113 {
1114 GX_STRING_ID_SECONDARY_STRING_3, /* string id */
1115 GX_FONT_ID_BUTTON, /* font id */
1116 GX_COLOR_ID_BTN_TEXT, /* normal text color */
1117 GX_COLOR_ID_BTN_TEXT, /* selected text color */
1118 GX_COLOR_ID_BTN_TEXT /* disabled text color */
1119 };
1120 GX_TEXT_BUTTON_PROPERTIES SECONDARY_window_button_4_properties =
1121 {
1122 GX_STRING_ID_SECONDARY_STRING_4, /* string id */
1123 GX_FONT_ID_BUTTON, /* font id */
1124 GX_COLOR_ID_BTN_TEXT, /* normal text color */
1125 GX_COLOR_ID_BTN_TEXT, /* selected text color */
1126 GX_COLOR_ID_BTN_TEXT /* disabled text color */
1127 };
1128 GX_PROMPT_PROPERTIES SECONDARY_window_nested_label_1_properties =
1129 {
1130 GX_STRING_ID_SECONDARY_STRING_5, /* string id */
1131 GX_FONT_ID_PROMPT, /* font id */
1132 GX_COLOR_ID_TEXT, /* normal text color */
1133 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
1134 GX_COLOR_ID_TEXT /* disabled text color */
1135 };
1136 GX_PROMPT_PROPERTIES SECONDARY_window_frame_label_1_properties =
1137 {
1138 GX_STRING_ID_SECONDARY_STRING_6, /* string id */
1139 GX_FONT_ID_PROMPT, /* font id */
1140 GX_COLOR_ID_TEXT, /* normal text color */
1141 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
1142 GX_COLOR_ID_TEXT /* disabled text color */
1143 };
1144 GX_PROMPT_PROPERTIES SECONDARY_window_vlist_label_1_properties =
1145 {
1146 GX_STRING_ID_SECONDARY_STRING_7, /* string id */
1147 GX_FONT_ID_PROMPT, /* font id */
1148 GX_COLOR_ID_TEXT, /* normal text color */
1149 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
1150 GX_COLOR_ID_TEXT /* disabled text color */
1151 };
1152 GX_HORIZONTAL_LIST_PROPERTIES SECONDARY_window_horizontal_list_1_properties =
1153 {
1154 0, /* wallpaper id */
1155 GX_NULL, /* callback function */
1156 5 /* total columns */
1157 };
1158 GX_ICON_BUTTON_PROPERTIES SECONDARY_window_icon_button_1_properties =
1159 {
1160 GX_PIXELMAP_ID_SECONDARY_I_HISTORY_LG /* pixelmap id */
1161 };
1162 GX_ICON_BUTTON_PROPERTIES SECONDARY_window_icon_button_2_properties =
1163 {
1164 GX_PIXELMAP_ID_SECONDARY_I_MEDICATIONSGREEN_LG /* pixelmap id */
1165 };
1166 GX_ICON_BUTTON_PROPERTIES SECONDARY_window_icon_button_3_properties =
1167 {
1168 GX_PIXELMAP_ID_SECONDARY_I_PATIENTLIST_LG /* pixelmap id */
1169 };
1170 GX_ICON_BUTTON_PROPERTIES SECONDARY_window_icon_button_4_properties =
1171 {
1172 GX_PIXELMAP_ID_SECONDARY_I_MEDICATIONSRED_LG /* pixelmap id */
1173 };
1174 GX_ICON_BUTTON_PROPERTIES SECONDARY_window_icon_button_5_properties =
1175 {
1176 GX_PIXELMAP_ID_SECONDARY_SAVE_ICON /* pixelmap id */
1177 };
1178 GX_PROMPT_PROPERTIES SECONDARY_window_hlist_label_1_properties =
1179 {
1180 GX_STRING_ID_SECONDARY_STRING_8, /* string id */
1181 GX_FONT_ID_PROMPT, /* font id */
1182 GX_COLOR_ID_TEXT, /* normal text color */
1183 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
1184 GX_COLOR_ID_TEXT /* disabled text color */
1185 };
1186 GX_TEXT_BUTTON_PROPERTIES SECONDARY_window_next_button_1_properties =
1187 {
1188 GX_STRING_ID_SECONDARY_STRING_9, /* string id */
1189 GX_FONT_ID_BUTTON, /* font id */
1190 GX_COLOR_ID_SECONDARY_WHITE, /* normal text color */
1191 GX_COLOR_ID_SECONDARY_WHITE, /* selected text color */
1192 GX_COLOR_ID_SECONDARY_WHITE /* disabled text color */
1193 };
1194 GX_DROP_LIST_PROPERTIES SECONDARY_window_drop_list_properties =
1195 {
1196 0, /* widget pixelmap id */
1197 0, /* popup list wallpaper pixelmap id */
1198 GX_NULL, /* callback function */
1199 100, /* total rows */
1200 100 /* open height */
1201 };
1202 GX_ICON_BUTTON_PROPERTIES SECONDARY_window_icon_button_properties =
1203 {
1204 GX_PIXELMAP_ID_RADIO_ON /* pixelmap id */
1205 };
1206 GX_PROMPT_PROPERTIES SECONDARY_window_hlist_label_properties =
1207 {
1208 GX_STRING_ID_SECONDARY_STRING_10, /* string id */
1209 GX_FONT_ID_PROMPT, /* font id */
1210 GX_COLOR_ID_TEXT, /* normal text color */
1211 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
1212 GX_COLOR_ID_TEXT /* disabled text color */
1213 };
1214
1215 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_window_8_define =
1216 {
1217 "window_8",
1218 GX_TYPE_WINDOW, /* widget type */
1219 GX_ID_NONE, /* widget id */
1220 #if defined(GX_WIDGET_USER_DATA)
1221 0, /* user data */
1222 #endif
1223 GX_STYLE_BORDER_THIN, /* style flags */
1224 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1225 sizeof(GX_WINDOW), /* control block size */
1226 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
1227 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
1228 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
1229 gx_studio_window_create, /* create function */
1230 GX_NULL, /* drawing function override */
1231 GX_NULL, /* event function override */
1232 {187, 78, 280, 150}, /* widget size */
1233 GX_NULL, /* no next widget */
1234 GX_NULL, /* no child widgets */
1235 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_window_8), /* control block */
1236 (void *) &SECONDARY_window_window_8_properties /* extended properties */
1237 };
1238
1239 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_window_6_define =
1240 {
1241 "window_6",
1242 GX_TYPE_WINDOW, /* widget type */
1243 GX_ID_NONE, /* widget id */
1244 #if defined(GX_WIDGET_USER_DATA)
1245 0, /* user data */
1246 #endif
1247 GX_STYLE_BORDER_THIN, /* style flags */
1248 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1249 sizeof(GX_WINDOW), /* control block size */
1250 GX_COLOR_ID_SECONDARY_BLACK, /* normal color id */
1251 GX_COLOR_ID_SECONDARY_BLACK, /* selected color id */
1252 GX_COLOR_ID_SECONDARY_BLACK, /* disabled color id */
1253 gx_studio_window_create, /* create function */
1254 GX_NULL, /* drawing function override */
1255 GX_NULL, /* event function override */
1256 {49, 46, 295, 160}, /* widget size */
1257 GX_NULL, /* no next widget */
1258 &SECONDARY_window_window_8_define, /* child widget definition */
1259 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_window_6), /* control block */
1260 (void *) &SECONDARY_window_window_6_properties /* extended properties */
1261 };
1262
1263 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_vertical_scroll_1_define =
1264 {
1265 "vertical_scroll_1",
1266 GX_TYPE_VERTICAL_SCROLL, /* widget type */
1267 ID_VERTICAL_SCROLLBAR, /* widget id */
1268 #if defined(GX_WIDGET_USER_DATA)
1269 0, /* user data */
1270 #endif
1271 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_END_BUTTONS|GX_SCROLLBAR_VERTICAL, /* style flags */
1272 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1273 sizeof(GX_SCROLLBAR), /* control block size */
1274 GX_COLOR_ID_SCROLL_FILL, /* normal color id */
1275 GX_COLOR_ID_SCROLL_FILL, /* selected color id */
1276 GX_COLOR_ID_SCROLL_FILL, /* disabled color id */
1277 gx_studio_vertical_scrollbar_create, /* create function */
1278 GX_NULL, /* drawing function override */
1279 GX_NULL, /* event function override */
1280 {518, 36, 537, 149}, /* widget size */
1281 GX_NULL, /* no next widget */
1282 GX_NULL, /* no child widgets */
1283 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_vertical_scroll_1), /* control block */
1284 (void *) &SECONDARY_window_vertical_scroll_1_properties /* extended properties */
1285 };
1286
1287 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_hscroll_1_define =
1288 {
1289 "hscroll_1",
1290 GX_TYPE_HORIZONTAL_SCROLL, /* widget type */
1291 ID_HORIZONTAL_SCROLLBAR, /* widget id */
1292 #if defined(GX_WIDGET_USER_DATA)
1293 0, /* user data */
1294 #endif
1295 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_TILE_BACKGROUND|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_HORIZONTAL, /* style flags */
1296 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1297 sizeof(GX_SCROLLBAR), /* control block size */
1298 GX_COLOR_ID_SECONDARY_ORANGE, /* normal color id */
1299 GX_COLOR_ID_SCROLL_FILL, /* selected color id */
1300 GX_COLOR_ID_SECONDARY_ORANGE, /* disabled color id */
1301 gx_studio_horizontal_scrollbar_create, /* create function */
1302 GX_NULL, /* drawing function override */
1303 GX_NULL, /* event function override */
1304 {328, 150, 517, 169}, /* widget size */
1305 &SECONDARY_window_vertical_scroll_1_define, /* next widget definition */
1306 GX_NULL, /* no child widgets */
1307 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_hscroll_1), /* control block */
1308 (void *) &SECONDARY_window_hscroll_1_properties /* extended properties */
1309 };
1310
1311 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_window_4_define =
1312 {
1313 "window_4",
1314 GX_TYPE_WINDOW, /* widget type */
1315 GX_ID_NONE, /* widget id */
1316 #if defined(GX_WIDGET_USER_DATA)
1317 0, /* user data */
1318 #endif
1319 GX_STYLE_BORDER_THIN, /* style flags */
1320 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1321 sizeof(GX_WINDOW), /* control block size */
1322 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
1323 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
1324 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
1325 gx_studio_window_create, /* create function */
1326 GX_NULL, /* drawing function override */
1327 GX_NULL, /* event function override */
1328 {327, 35, 726, 434}, /* widget size */
1329 &SECONDARY_window_hscroll_1_define, /* next widget definition */
1330 GX_NULL, /* no child widgets */
1331 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_window_4), /* control block */
1332 (void *) &SECONDARY_window_window_4_properties /* extended properties */
1333 };
1334
1335 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_button_4_define =
1336 {
1337 "button_4",
1338 GX_TYPE_TEXT_BUTTON, /* widget type */
1339 GX_ID_NONE, /* widget id */
1340 #if defined(GX_WIDGET_USER_DATA)
1341 0, /* user data */
1342 #endif
1343 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1344 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1345 sizeof(GX_TEXT_BUTTON), /* control block size */
1346 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1347 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1348 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
1349 gx_studio_text_button_create, /* create function */
1350 GX_NULL, /* drawing function override */
1351 GX_NULL, /* event function override */
1352 {35, 314, 132, 348}, /* widget size */
1353 GX_NULL, /* no next widget */
1354 GX_NULL, /* no child widgets */
1355 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_button_4), /* control block */
1356 (void *) &SECONDARY_window_button_4_properties /* extended properties */
1357 };
1358
1359 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_button_3_define =
1360 {
1361 "button_3",
1362 GX_TYPE_TEXT_BUTTON, /* widget type */
1363 GX_ID_NONE, /* widget id */
1364 #if defined(GX_WIDGET_USER_DATA)
1365 0, /* user data */
1366 #endif
1367 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1368 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1369 sizeof(GX_TEXT_BUTTON), /* control block size */
1370 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1371 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1372 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
1373 gx_studio_text_button_create, /* create function */
1374 GX_NULL, /* drawing function override */
1375 GX_NULL, /* event function override */
1376 {35, 279, 132, 313}, /* widget size */
1377 &SECONDARY_window_button_4_define, /* next widget definition */
1378 GX_NULL, /* no child widgets */
1379 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_button_3), /* control block */
1380 (void *) &SECONDARY_window_button_3_properties /* extended properties */
1381 };
1382
1383 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_button_2_define =
1384 {
1385 "button_2",
1386 GX_TYPE_TEXT_BUTTON, /* widget type */
1387 GX_ID_NONE, /* widget id */
1388 #if defined(GX_WIDGET_USER_DATA)
1389 0, /* user data */
1390 #endif
1391 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1392 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1393 sizeof(GX_TEXT_BUTTON), /* control block size */
1394 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1395 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1396 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
1397 gx_studio_text_button_create, /* create function */
1398 GX_NULL, /* drawing function override */
1399 GX_NULL, /* event function override */
1400 {35, 244, 132, 278}, /* widget size */
1401 &SECONDARY_window_button_3_define, /* next widget definition */
1402 GX_NULL, /* no child widgets */
1403 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_button_2), /* control block */
1404 (void *) &SECONDARY_window_button_2_properties /* extended properties */
1405 };
1406
1407 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_button_1_define =
1408 {
1409 "button_1",
1410 GX_TYPE_TEXT_BUTTON, /* widget type */
1411 GX_ID_NONE, /* widget id */
1412 #if defined(GX_WIDGET_USER_DATA)
1413 0, /* user data */
1414 #endif
1415 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1416 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1417 sizeof(GX_TEXT_BUTTON), /* control block size */
1418 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1419 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1420 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
1421 gx_studio_text_button_create, /* create function */
1422 GX_NULL, /* drawing function override */
1423 GX_NULL, /* event function override */
1424 {35, 209, 132, 243}, /* widget size */
1425 &SECONDARY_window_button_2_define, /* next widget definition */
1426 GX_NULL, /* no child widgets */
1427 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_button_1), /* control block */
1428 (void *) &SECONDARY_window_button_1_properties /* extended properties */
1429 };
1430
1431 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_icon_button_5_define =
1432 {
1433 "icon_button_5",
1434 GX_TYPE_ICON_BUTTON, /* widget type */
1435 GX_ID_NONE, /* widget id */
1436 #if defined(GX_WIDGET_USER_DATA)
1437 0, /* user data */
1438 #endif
1439 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
1440 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1441 sizeof(GX_ICON_BUTTON), /* control block size */
1442 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1443 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1444 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
1445 gx_studio_icon_button_create, /* create function */
1446 GX_NULL, /* drawing function override */
1447 GX_NULL, /* event function override */
1448 {361, 208, 411, 269}, /* widget size */
1449 GX_NULL, /* no next widget */
1450 GX_NULL, /* no child widgets */
1451 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_icon_button_5), /* control block */
1452 (void *) &SECONDARY_window_icon_button_5_properties /* extended properties */
1453 };
1454
1455 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_icon_button_4_define =
1456 {
1457 "icon_button_4",
1458 GX_TYPE_ICON_BUTTON, /* widget type */
1459 GX_ID_NONE, /* widget id */
1460 #if defined(GX_WIDGET_USER_DATA)
1461 0, /* user data */
1462 #endif
1463 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
1464 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1465 sizeof(GX_ICON_BUTTON), /* control block size */
1466 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1467 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1468 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
1469 gx_studio_icon_button_create, /* create function */
1470 GX_NULL, /* drawing function override */
1471 GX_NULL, /* event function override */
1472 {310, 208, 360, 269}, /* widget size */
1473 &SECONDARY_window_icon_button_5_define, /* next widget definition */
1474 GX_NULL, /* no child widgets */
1475 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_icon_button_4), /* control block */
1476 (void *) &SECONDARY_window_icon_button_4_properties /* extended properties */
1477 };
1478
1479 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_icon_button_3_define =
1480 {
1481 "icon_button_3",
1482 GX_TYPE_ICON_BUTTON, /* widget type */
1483 GX_ID_NONE, /* widget id */
1484 #if defined(GX_WIDGET_USER_DATA)
1485 0, /* user data */
1486 #endif
1487 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
1488 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1489 sizeof(GX_ICON_BUTTON), /* control block size */
1490 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1491 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1492 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
1493 gx_studio_icon_button_create, /* create function */
1494 GX_NULL, /* drawing function override */
1495 GX_NULL, /* event function override */
1496 {259, 208, 309, 269}, /* widget size */
1497 &SECONDARY_window_icon_button_4_define, /* next widget definition */
1498 GX_NULL, /* no child widgets */
1499 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_icon_button_3), /* control block */
1500 (void *) &SECONDARY_window_icon_button_3_properties /* extended properties */
1501 };
1502
1503 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_icon_button_2_define =
1504 {
1505 "icon_button_2",
1506 GX_TYPE_ICON_BUTTON, /* widget type */
1507 GX_ID_NONE, /* widget id */
1508 #if defined(GX_WIDGET_USER_DATA)
1509 0, /* user data */
1510 #endif
1511 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
1512 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1513 sizeof(GX_ICON_BUTTON), /* control block size */
1514 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1515 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1516 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
1517 gx_studio_icon_button_create, /* create function */
1518 GX_NULL, /* drawing function override */
1519 GX_NULL, /* event function override */
1520 {208, 208, 258, 269}, /* widget size */
1521 &SECONDARY_window_icon_button_3_define, /* next widget definition */
1522 GX_NULL, /* no child widgets */
1523 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_icon_button_2), /* control block */
1524 (void *) &SECONDARY_window_icon_button_2_properties /* extended properties */
1525 };
1526
1527 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_icon_button_1_define =
1528 {
1529 "icon_button_1",
1530 GX_TYPE_ICON_BUTTON, /* widget type */
1531 GX_ID_NONE, /* widget id */
1532 #if defined(GX_WIDGET_USER_DATA)
1533 0, /* user data */
1534 #endif
1535 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
1536 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1537 sizeof(GX_ICON_BUTTON), /* control block size */
1538 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1539 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1540 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
1541 gx_studio_icon_button_create, /* create function */
1542 GX_NULL, /* drawing function override */
1543 GX_NULL, /* event function override */
1544 {157, 208, 207, 269}, /* widget size */
1545 &SECONDARY_window_icon_button_2_define, /* next widget definition */
1546 GX_NULL, /* no child widgets */
1547 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_icon_button_1), /* control block */
1548 (void *) &SECONDARY_window_icon_button_1_properties /* extended properties */
1549 };
1550
1551 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_icon_button_define =
1552 {
1553 "icon_button",
1554 GX_TYPE_ICON_BUTTON, /* widget type */
1555 ID_DROP_LIST_BUTTON, /* widget id */
1556 #if defined(GX_WIDGET_USER_DATA)
1557 0, /* user data */
1558 #endif
1559 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
1560 0, /* status flags */
1561 sizeof(GX_ICON_BUTTON), /* control block size */
1562 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1563 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1564 GX_COLOR_ID_BTN_LOWER, /* disabled color id */
1565 gx_studio_icon_button_create, /* create function */
1566 GX_NULL, /* drawing function override */
1567 GX_NULL, /* event function override */
1568 {375, 308, 406, 339}, /* widget size */
1569 GX_NULL, /* no next widget */
1570 GX_NULL, /* no child widgets */
1571 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_icon_button), /* control block */
1572 (void *) &SECONDARY_window_icon_button_properties /* extended properties */
1573 };
1574
1575 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_hlist_label_define =
1576 {
1577 "hlist_label",
1578 GX_TYPE_PROMPT, /* widget type */
1579 GX_ID_NONE, /* widget id */
1580 #if defined(GX_WIDGET_USER_DATA)
1581 0, /* user data */
1582 #endif
1583 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
1584 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1585 sizeof(GX_PROMPT), /* control block size */
1586 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1587 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1588 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
1589 gx_studio_prompt_create, /* create function */
1590 GX_NULL, /* drawing function override */
1591 GX_NULL, /* event function override */
1592 {229, 286, 317, 309}, /* widget size */
1593 GX_NULL, /* no next widget */
1594 GX_NULL, /* no child widgets */
1595 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_hlist_label), /* control block */
1596 (void *) &SECONDARY_window_hlist_label_properties /* extended properties */
1597 };
1598
1599 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_drop_list_define =
1600 {
1601 "drop_list",
1602 GX_TYPE_DROP_LIST, /* widget type */
1603 ID_DROP_LIST, /* widget id */
1604 #if defined(GX_WIDGET_USER_DATA)
1605 0, /* user data */
1606 #endif
1607 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_TILE_WALLPAPER, /* style flags */
1608 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1609 sizeof(GX_DROP_LIST), /* control block size */
1610 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1611 GX_COLOR_ID_WIDGET_FILL, /* selected color id */
1612 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
1613 gx_studio_drop_list_create, /* create function */
1614 GX_NULL, /* drawing function override */
1615 GX_NULL, /* event function override */
1616 {159, 309, 406, 337}, /* widget size */
1617 &SECONDARY_window_hlist_label_define, /* next widget definition */
1618 &SECONDARY_window_icon_button_define, /* child widget definition */
1619 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_drop_list), /* control block */
1620 (void *) &SECONDARY_window_drop_list_properties /* extended properties */
1621 };
1622
1623 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_next_button_1_define =
1624 {
1625 "next_button_1",
1626 GX_TYPE_TEXT_BUTTON, /* widget type */
1627 IDB_NEXT, /* widget id */
1628 #if defined(GX_WIDGET_USER_DATA)
1629 0, /* user data */
1630 #endif
1631 GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1632 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1633 sizeof(GX_TEXT_BUTTON), /* control block size */
1634 GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* normal color id */
1635 GX_COLOR_ID_SECONDARY_NEXT_BUTTON_UPPER, /* selected color id */
1636 GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* disabled color id */
1637 gx_studio_text_button_create, /* create function */
1638 GX_NULL, /* drawing function override */
1639 GX_NULL, /* event function override */
1640 {467, 422, 546, 446}, /* widget size */
1641 &SECONDARY_window_drop_list_define, /* next widget definition */
1642 GX_NULL, /* no child widgets */
1643 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_next_button_1), /* control block */
1644 (void *) &SECONDARY_window_next_button_1_properties /* extended properties */
1645 };
1646
1647 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_hlist_label_1_define =
1648 {
1649 "hlist_label_1",
1650 GX_TYPE_PROMPT, /* widget type */
1651 GX_ID_NONE, /* widget id */
1652 #if defined(GX_WIDGET_USER_DATA)
1653 0, /* user data */
1654 #endif
1655 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
1656 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1657 sizeof(GX_PROMPT), /* control block size */
1658 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1659 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1660 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
1661 gx_studio_prompt_create, /* create function */
1662 GX_NULL, /* drawing function override */
1663 GX_NULL, /* event function override */
1664 {218, 181, 349, 204}, /* widget size */
1665 &SECONDARY_window_next_button_1_define, /* next widget definition */
1666 GX_NULL, /* no child widgets */
1667 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_hlist_label_1), /* control block */
1668 (void *) &SECONDARY_window_hlist_label_1_properties /* extended properties */
1669 };
1670
1671 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_horizontal_list_1_define =
1672 {
1673 "horizontal_list_1",
1674 GX_TYPE_HORIZONTAL_LIST, /* widget type */
1675 GX_ID_NONE, /* widget id */
1676 #if defined(GX_WIDGET_USER_DATA)
1677 0, /* user data */
1678 #endif
1679 GX_STYLE_BORDER_THIN, /* style flags */
1680 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1681 sizeof(GX_HORIZONTAL_LIST), /* control block size */
1682 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
1683 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
1684 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
1685 gx_studio_horizontal_list_create, /* create function */
1686 GX_NULL, /* drawing function override */
1687 GX_NULL, /* event function override */
1688 {156, 207, 413, 270}, /* widget size */
1689 &SECONDARY_window_hlist_label_1_define, /* next widget definition */
1690 &SECONDARY_window_icon_button_1_define, /* child widget definition */
1691 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_horizontal_list_1), /* control block */
1692 (void *) &SECONDARY_window_horizontal_list_1_properties /* extended properties */
1693 };
1694
1695 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_vlist_label_1_define =
1696 {
1697 "vlist_label_1",
1698 GX_TYPE_PROMPT, /* widget type */
1699 GX_ID_NONE, /* widget id */
1700 #if defined(GX_WIDGET_USER_DATA)
1701 0, /* user data */
1702 #endif
1703 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
1704 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1705 sizeof(GX_PROMPT), /* control block size */
1706 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1707 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1708 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
1709 gx_studio_prompt_create, /* create function */
1710 GX_NULL, /* drawing function override */
1711 GX_NULL, /* event function override */
1712 {21, 181, 152, 204}, /* widget size */
1713 &SECONDARY_window_horizontal_list_1_define, /* next widget definition */
1714 GX_NULL, /* no child widgets */
1715 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_vlist_label_1), /* control block */
1716 (void *) &SECONDARY_window_vlist_label_1_properties /* extended properties */
1717 };
1718
1719 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_frame_label_1_define =
1720 {
1721 "frame_label_1",
1722 GX_TYPE_PROMPT, /* widget type */
1723 GX_ID_NONE, /* widget id */
1724 #if defined(GX_WIDGET_USER_DATA)
1725 0, /* user data */
1726 #endif
1727 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
1728 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1729 sizeof(GX_PROMPT), /* control block size */
1730 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1731 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1732 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
1733 gx_studio_prompt_create, /* create function */
1734 GX_NULL, /* drawing function override */
1735 GX_NULL, /* event function override */
1736 {365, 9, 496, 32}, /* widget size */
1737 &SECONDARY_window_vlist_label_1_define, /* next widget definition */
1738 GX_NULL, /* no child widgets */
1739 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_frame_label_1), /* control block */
1740 (void *) &SECONDARY_window_frame_label_1_properties /* extended properties */
1741 };
1742
1743 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_nested_label_1_define =
1744 {
1745 "nested_label_1",
1746 GX_TYPE_PROMPT, /* widget type */
1747 GX_ID_NONE, /* widget id */
1748 #if defined(GX_WIDGET_USER_DATA)
1749 0, /* user data */
1750 #endif
1751 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
1752 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1753 sizeof(GX_PROMPT), /* control block size */
1754 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1755 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1756 GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
1757 gx_studio_prompt_create, /* create function */
1758 GX_NULL, /* drawing function override */
1759 GX_NULL, /* event function override */
1760 {94, 9, 225, 32}, /* widget size */
1761 &SECONDARY_window_frame_label_1_define, /* next widget definition */
1762 GX_NULL, /* no child widgets */
1763 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_nested_label_1), /* control block */
1764 (void *) &SECONDARY_window_nested_label_1_properties /* extended properties */
1765 };
1766
1767 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_vertical_list_define =
1768 {
1769 "vertical_list",
1770 GX_TYPE_VERTICAL_LIST, /* widget type */
1771 ID_VERTICAL_LIST, /* widget id */
1772 #if defined(GX_WIDGET_USER_DATA)
1773 0, /* user data */
1774 #endif
1775 GX_STYLE_BORDER_RAISED, /* style flags */
1776 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1777 sizeof(GX_VERTICAL_LIST), /* control block size */
1778 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
1779 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
1780 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
1781 gx_studio_vertical_list_create, /* create function */
1782 GX_NULL, /* drawing function override */
1783 GX_NULL, /* event function override */
1784 {33, 207, 134, 350}, /* widget size */
1785 &SECONDARY_window_nested_label_1_define, /* next widget definition */
1786 &SECONDARY_window_button_1_define, /* child widget definition */
1787 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_vertical_list), /* control block */
1788 (void *) &SECONDARY_window_vertical_list_properties /* extended properties */
1789 };
1790
1791 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_scroll_frame_1_define =
1792 {
1793 "scroll_frame_1",
1794 GX_TYPE_WINDOW, /* widget type */
1795 GX_ID_NONE, /* widget id */
1796 #if defined(GX_WIDGET_USER_DATA)
1797 0, /* user data */
1798 #endif
1799 GX_STYLE_BORDER_THIN, /* style flags */
1800 0, /* status flags */
1801 sizeof(GX_WINDOW), /* control block size */
1802 GX_COLOR_ID_SCROLL_FILL, /* normal color id */
1803 GX_COLOR_ID_SCROLL_FILL, /* selected color id */
1804 GX_COLOR_ID_SCROLL_FILL, /* disabled color id */
1805 gx_studio_window_create, /* create function */
1806 GX_NULL, /* drawing function override */
1807 GX_NULL, /* event function override */
1808 {327, 35, 538, 170}, /* widget size */
1809 &SECONDARY_window_vertical_list_define, /* next widget definition */
1810 &SECONDARY_window_window_4_define, /* child widget definition */
1811 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_scroll_frame_1), /* control block */
1812 (void *) &SECONDARY_window_scroll_frame_1_properties /* extended properties */
1813 };
1814
1815 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_window_5_define =
1816 {
1817 "window_5",
1818 GX_TYPE_WINDOW, /* widget type */
1819 GX_ID_NONE, /* widget id */
1820 #if defined(GX_WIDGET_USER_DATA)
1821 0, /* user data */
1822 #endif
1823 GX_STYLE_BORDER_THICK, /* style flags */
1824 0, /* status flags */
1825 sizeof(GX_WINDOW), /* control block size */
1826 GX_COLOR_ID_SECONDARY_ORANGE, /* normal color id */
1827 GX_COLOR_ID_SECONDARY_ORANGE, /* selected color id */
1828 GX_COLOR_ID_SECONDARY_ORANGE, /* disabled color id */
1829 gx_studio_window_create, /* create function */
1830 GX_NULL, /* drawing function override */
1831 GX_NULL, /* event function override */
1832 {32, 34, 317, 172}, /* widget size */
1833 &SECONDARY_window_scroll_frame_1_define, /* next widget definition */
1834 &SECONDARY_window_window_6_define, /* child widget definition */
1835 offsetof(SECONDARY_WINDOW_CONTROL_BLOCK, SECONDARY_window_window_5), /* control block */
1836 (void *) &SECONDARY_window_window_5_properties /* extended properties */
1837 };
1838
1839 GX_CONST GX_STUDIO_WIDGET SECONDARY_window_define =
1840 {
1841 "SECONDARY_window",
1842 GX_TYPE_WINDOW, /* widget type */
1843 GX_ID_NONE, /* widget id */
1844 #if defined(GX_WIDGET_USER_DATA)
1845 0, /* user data */
1846 #endif
1847 GX_STYLE_BORDER_THIN, /* style flags */
1848 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1849 sizeof(SECONDARY_WINDOW_CONTROL_BLOCK), /* control block size */
1850 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
1851 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
1852 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
1853 gx_studio_window_create, /* create function */
1854 GX_NULL, /* drawing function override */
1855 GX_NULL, /* event function override */
1856 {0, 0, 599, 479}, /* widget size */
1857 GX_NULL, /* next widget */
1858 &SECONDARY_window_window_5_define, /* child widget */
1859 0, /* control block */
1860 (void *) &SECONDARY_window_properties /* extended properties */
1861 };
1862 GX_CONST GX_STUDIO_WIDGET_ENTRY demo_display_resolution_widget_table[] =
1863 {
1864 { &MAIN_DISPLAY_main_window_define, (GX_WIDGET *) &MAIN_DISPLAY_main_window },
1865 { &SECONDARY_window_define, (GX_WIDGET *) &SECONDARY_window },
1866 {GX_NULL, GX_NULL}
1867 };
1868
gx_studio_nested_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)1869 static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
1870 {
1871 UINT status = GX_SUCCESS;
1872 GX_WIDGET *widget = GX_NULL;
1873 GX_VALUE list_count = 0;
1874 GX_VALUE list_total_count = 0;
1875
1876 if(parent && (parent->gx_widget_type == GX_TYPE_MENU))
1877 {
1878 list_total_count = ((GX_MENU *)parent)->gx_menu_list_total_count;
1879 }
1880
1881 while(definition && status == GX_SUCCESS)
1882 {
1883 if (definition->create_function)
1884 {
1885 if (definition->style & GX_STYLE_DYNAMICALLY_ALLOCATED)
1886 {
1887 status = gx_widget_allocate(&widget, definition->control_block_size);
1888 if (status != GX_SUCCESS)
1889 {
1890 return GX_NULL;
1891 }
1892 }
1893 else
1894 {
1895 if (control == GX_NULL)
1896 {
1897 return GX_NULL;
1898 }
1899 widget = (GX_WIDGET *) (control + definition->control_block_offset);
1900 }
1901
1902 status = definition->create_function(definition, widget, parent);
1903
1904 if(list_count < list_total_count)
1905 {
1906 gx_menu_insert((GX_MENU *)parent, widget);
1907 ((GX_MENU *)parent)->gx_menu_list_total_count--;
1908 list_count++;
1909 }
1910
1911 if (status == GX_SUCCESS)
1912 {
1913 if (definition->widget_type != GX_TYPE_TEMPLATE)
1914 {
1915 #if defined(GUIX_5_4_0_COMPATIBILITY)
1916 gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id);
1917 #else
1918 gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id, definition->disabled_fill_color_id);
1919 #endif
1920 }
1921
1922 if (!(definition->status & GX_STATUS_ACCEPTS_FOCUS))
1923 {
1924 gx_widget_status_remove(widget, GX_STATUS_ACCEPTS_FOCUS);
1925 }
1926
1927 if (definition->draw_function)
1928 {
1929 gx_widget_draw_set(widget, definition->draw_function);
1930 }
1931 if (definition->event_function)
1932 {
1933 gx_widget_event_process_set(widget, definition->event_function);
1934 }
1935
1936 #if defined(GX_WIDGET_USER_DATA)
1937 widget->gx_widget_user_data = definition->user_data;
1938 #endif
1939
1940 if (definition->child_widget)
1941 {
1942 gx_studio_nested_widget_create(control, definition->child_widget, widget);
1943 }
1944 }
1945 definition = definition->next_widget;
1946 }
1947 }
1948 return widget;
1949 }
1950
gx_studio_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)1951 GX_WIDGET *gx_studio_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
1952 {
1953 GX_WIDGET *widget;
1954 widget = gx_studio_nested_widget_create(control, definition, GX_NULL);
1955
1956 if (parent && widget)
1957 {
1958 gx_widget_attach(parent, widget);
1959 }
1960 return widget;
1961 }
1962
gx_studio_named_widget_create(char * name,GX_WIDGET * parent,GX_WIDGET ** new_widget)1963 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget)
1964 {
1965 UINT status = GX_FAILURE;
1966 GX_CONST GX_STUDIO_WIDGET_ENTRY *entry = demo_display_resolution_widget_table;
1967 GX_WIDGET *widget = GX_NULL;
1968
1969 while(entry->widget_information)
1970 {
1971 if (!strcmp(name, entry->widget_information->widget_name))
1972 {
1973 widget = gx_studio_widget_create((GX_BYTE *) entry->widget, entry->widget_information, parent);
1974 if (widget)
1975 {
1976 status = GX_SUCCESS;
1977 }
1978 break;
1979 }
1980 entry++;
1981 }
1982
1983 if (new_widget)
1984 {
1985 *new_widget = widget;
1986 }
1987 return status;
1988 }
1989
1990
gx_studio_display_configure(USHORT display,UINT (* driver)(GX_DISPLAY *),GX_UBYTE language,USHORT theme,GX_WINDOW_ROOT ** return_root)1991 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *),
1992 GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root)
1993 {
1994 GX_CONST GX_THEME *theme_ptr;
1995 GX_RECTANGLE size;
1996
1997 GX_STUDIO_DISPLAY_INFO *display_info = &demo_display_resolution_display_table[display];
1998
1999
2000 /* create the requested display */
2001
2002 gx_display_create(display_info->display,
2003 display_info->name,
2004 driver,
2005 (GX_VALUE) display_info->x_resolution,
2006 (GX_VALUE) display_info->y_resolution);
2007
2008
2009 /* install the request theme */
2010
2011 if(display_info->theme_table)
2012 {
2013 theme_ptr = display_info->theme_table[theme];
2014 if(theme_ptr)
2015 {
2016 gx_display_color_table_set(display_info->display, theme_ptr->theme_color_table, theme_ptr->theme_color_table_size);
2017
2018 /* install the color palette if required */
2019 if (display_info->display->gx_display_driver_palette_set &&
2020 theme_ptr->theme_palette != NULL)
2021 {
2022 display_info->display->gx_display_driver_palette_set(display_info->display, theme_ptr->theme_palette, theme_ptr->theme_palette_size);
2023 }
2024
2025 gx_display_font_table_set(display_info->display, theme_ptr->theme_font_table, theme_ptr->theme_font_table_size);
2026 gx_display_pixelmap_table_set(display_info->display, theme_ptr->theme_pixelmap_table, theme_ptr->theme_pixelmap_table_size);
2027 gx_system_scroll_appearance_set(theme_ptr->theme_vertical_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_vertical_scrollbar_appearance);
2028 gx_system_scroll_appearance_set(theme_ptr->theme_horizontal_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_horizontal_scrollbar_appearance);
2029 }
2030 }
2031
2032 /* Install the language table. */
2033
2034 if(display_info->language_table)
2035 {
2036 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);
2037 gx_display_active_language_set(display_info->display, language);
2038 }
2039
2040 /* Set screen rotation angle. */
2041
2042 display_info->display->gx_display_rotation_angle = display_info->rotation_angle;
2043
2044 /* create the canvas for this display */
2045
2046 gx_canvas_create(display_info->canvas,
2047 display_info->canvas_name,
2048 display_info->display,
2049 GX_CANVAS_MANAGED | GX_CANVAS_VISIBLE,
2050 display_info->x_resolution,
2051 display_info->y_resolution,
2052 display_info->canvas_memory,
2053 display_info->canvas_memory_size);
2054
2055 /* Create the root window for this canvas */
2056
2057 gx_utility_rectangle_define(&size,
2058 0, 0,
2059 (GX_VALUE) (display_info->x_resolution - 1),
2060 (GX_VALUE) (display_info->y_resolution - 1));
2061
2062 gx_window_root_create(display_info->root_window,
2063 display_info->name,
2064 display_info->canvas, GX_STYLE_NONE, 0, &size);
2065 if (return_root)
2066 {
2067 *return_root = display_info->root_window;
2068 }
2069 return GX_SUCCESS;
2070 }
2071 #undef GUIX_STUDIO_GENERATED_FILE
2072