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