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