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