/*******************************************************************************/ /* This file is auto-generated by Azure RTOS GUIX Studio. Do not edit this */ /* file by hand. Modifications to this file should only be made by running */ /* the Azure RTOS GUIX Studio application and re-generating the application */ /* specification file(s). For more information please refer to the Azure RTOS */ /* GUIX Studio User Guide, or visit our web site at azure.com/rtos */ /* */ /* GUIX Studio Revision 6.2.0.1 */ /* Date (dd.mm.yyyy): 31.10.2022 Time (hh:mm): 14:09 */ /*******************************************************************************/ #define GUIX_STUDIO_GENERATED_FILE #include #include "folder_output_test_MAIN_DISPLAY_resources.h" #include "folder_output_test_SECONDARY_resources.h" #include "folder_output_test_specifications.h" static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent); MAIN_DISPLAY_POPUP_MODAL_DERIVED_DERIVED_1_CONTROL_BLOCK MAIN_DISPLAY_popup_modal_derived_derived_1; MAIN_DISPLAY_BASE_DERIVED_1_CONTROL_BLOCK MAIN_DISPLAY_base_derived_1; MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK MAIN_DISPLAY_window_screen; MAIN_DISPLAY_CHILD_TEMPLATE_SCREEN_CONTROL_BLOCK MAIN_DISPLAY_child_template_screen; MAIN_DISPLAY_ROTATE_SCREEN_CONTROL_BLOCK MAIN_DISPLAY_rotate_screen; MAIN_DISPLAY_GAUGE_SCREEN_CONTROL_BLOCK MAIN_DISPLAY_gauge_screen; MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK MAIN_DISPLAY_text_screen; MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK MAIN_DISPLAY_button_screen; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_scroll_wheel_screen_define; SECONDARY_ROTATE_SCREEN_CONTROL_BLOCK SECONDARY_rotate_screen; SECONDARY_GAUGE_SCREEN_CONTROL_BLOCK SECONDARY_gauge_screen; SECONDARY_TEXT_SCREEN_CONTROL_BLOCK SECONDARY_text_screen; SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK SECONDARY_window_screen; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_define; GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_derived_derived_define; GX_CONST GX_STUDIO_WIDGET SECONDARY_scroll_wheel_screen_define; GX_DISPLAY MAIN_DISPLAY_control_block; GX_WINDOW_ROOT MAIN_DISPLAY_root_window; GX_CANVAS MAIN_DISPLAY_canvas_control_block; ULONG MAIN_DISPLAY_canvas_memory[307200]; GX_DISPLAY SECONDARY_control_block; GX_WINDOW_ROOT SECONDARY_root_window; GX_CANVAS SECONDARY_canvas_control_block; ULONG SECONDARY_canvas_memory[307200]; extern GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_derived_1_define; extern MAIN_DISPLAY_POPUP_MODAL_DERIVED_1_CONTROL_BLOCK MAIN_DISPLAY_popup_modal_derived_1; extern GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_menu_screen_define; extern MAIN_DISPLAY_MENU_SCREEN_CONTROL_BLOCK MAIN_DISPLAY_menu_screen; extern GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_sprite_screen_define; extern MAIN_DISPLAY_SPRITE_SCREEN_CONTROL_BLOCK MAIN_DISPLAY_sprite_screen; extern GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_indicator_screen_define; extern GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_derived_derived_define; extern GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_derived_define; extern GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_derived_1_define; extern SECONDARY_POPUP_MODAL_DERIVED_1_CONTROL_BLOCK SECONDARY_popup_modal_derived_1; extern GX_CONST GX_STUDIO_WIDGET SECONDARY_sprite_screen_define; extern SECONDARY_SPRITE_SCREEN_CONTROL_BLOCK SECONDARY_sprite_screen; extern GX_CONST GX_STUDIO_WIDGET SECONDARY_menu_screen_define; extern SECONDARY_MENU_SCREEN_CONTROL_BLOCK SECONDARY_menu_screen; extern GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_define; extern SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK SECONDARY_button_screen; extern GX_CONST GX_THEME *MAIN_DISPLAY_theme_table[]; extern GX_CONST GX_STRING *MAIN_DISPLAY_language_table[]; extern GX_CONST GX_THEME *SECONDARY_theme_table[]; extern GX_CONST GX_STRING *SECONDARY_language_table[]; GX_STUDIO_DISPLAY_INFO folder_output_test_display_table[2] = { { "MAIN_DISPLAY", "MAIN_DISPLAY_canvas", MAIN_DISPLAY_theme_table, MAIN_DISPLAY_language_table, MAIN_DISPLAY_THEME_TABLE_SIZE, MAIN_DISPLAY_LANGUAGE_TABLE_SIZE, MAIN_DISPLAY_STRING_TABLE_SIZE, 640, /* x resolution */ 480, /* y resolution */ &MAIN_DISPLAY_control_block, &MAIN_DISPLAY_canvas_control_block, &MAIN_DISPLAY_root_window, MAIN_DISPLAY_canvas_memory, /* canvas memory area */ 1228800, /* canvas memory size in bytes */ 0 /* rotation angle */ }, { "SECONDARY", "SECONDARY_canvas", SECONDARY_theme_table, SECONDARY_language_table, SECONDARY_THEME_TABLE_SIZE, SECONDARY_LANGUAGE_TABLE_SIZE, SECONDARY_STRING_TABLE_SIZE, 640, /* x resolution */ 480, /* y resolution */ &SECONDARY_control_block, &SECONDARY_canvas_control_block, &SECONDARY_root_window, SECONDARY_canvas_memory, /* canvas memory area */ 1228800, /* canvas memory size in bytes */ 0 /* rotation angle */ } }; static VOID gx_studio_screen_toggle(GX_WIDGET *target1, GX_WIDGET *target2) { GX_WIDGET *parent = target1->gx_widget_parent; if (parent) { gx_widget_detach(target1); gx_widget_attach(parent, target2); if (target1->gx_widget_status & GX_STATUS_STUDIO_CREATED) { gx_widget_delete(target1); } } } static GX_WIDGET *gx_studio_action_target_get(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action) { GX_WIDGET *parent = GX_NULL; GX_WIDGET *target = GX_NULL; INT search_depth; GX_STUDIO_WIDGET *widget_define; if (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET) { /* dynamically create the target widget */ widget_define = (GX_STUDIO_WIDGET *) action->target; if(action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT) { gx_window_root_find(current, (GX_WINDOW_ROOT **)&parent); search_depth = GX_SEARCH_DEPTH_INFINITE; } else { parent = (GX_WIDGET *)action->parent; search_depth = 1; } gx_widget_find(parent, widget_define->widget_id, search_depth, &target); if (target == GX_NULL) { target = gx_studio_widget_create(GX_NULL, widget_define, GX_NULL); } if (target) { target->gx_widget_status |= GX_STATUS_STUDIO_CREATED; } } else { target = (GX_WIDGET *) action->target; } return target; } static GX_WIDGET *gx_studio_action_target_find(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action) { GX_WIDGET *parent = GX_NULL; GX_WIDGET *target = GX_NULL; GX_STUDIO_WIDGET *widget_define; if (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET) { /* Find the dynamically created target */ widget_define = (GX_STUDIO_WIDGET *) action->target; if(action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT) { gx_window_root_find(current, (GX_WINDOW_ROOT **)&parent); } else { parent = (GX_WIDGET *)action->parent; } gx_widget_find(parent, widget_define->widget_id, GX_SEARCH_DEPTH_INFINITE, &target); } else { target = (GX_WIDGET *) action->target; } return target; } static GX_WIDGET *gx_studio_action_parent_find(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action) { GX_WIDGET *parent = GX_NULL; GX_STUDIO_WIDGET *widget_define; if (action->flags & GX_ACTION_FLAG_DYNAMIC_PARENT) { /* Find the dynamically created target */ widget_define = (GX_STUDIO_WIDGET *)action->parent; gx_window_root_find(current, (GX_WINDOW_ROOT **)&parent); gx_widget_find(parent, widget_define->widget_id, GX_SEARCH_DEPTH_INFINITE, &parent); } else { parent = (GX_WIDGET *)action->parent; } return parent; } static VOID gx_studio_animation_execute(GX_WIDGET *current, GX_CONST GX_STUDIO_ACTION *action) { GX_ANIMATION *animation; GX_ANIMATION_INFO animation_info; GX_WIDGET *parent = GX_NULL; GX_WIDGET *target = GX_NULL; gx_system_animation_get(&animation); if (animation) { animation_info = *action->animation; if((action->flags & GX_ACTION_FLAG_POP_TARGET) || (action->flags & GX_ACTION_FLAG_POP_PARENT)) { gx_system_screen_stack_get((GX_WIDGET **)&parent, &target); } if(action->flags & GX_ACTION_FLAG_POP_TARGET) { animation_info.gx_animation_target = target; } if(action->flags & GX_ACTION_FLAG_POP_PARENT) { animation_info.gx_animation_parent = (GX_WIDGET *)parent; } if ((!animation_info.gx_animation_target) && (action->flags & GX_ACTION_FLAG_DYNAMIC_TARGET)) { target = gx_studio_action_target_get(current, action); animation_info.gx_animation_target = target; } if (!animation_info.gx_animation_parent) { animation_info.gx_animation_parent = gx_studio_action_parent_find(current, action); } if (animation_info.gx_animation_target && animation_info.gx_animation_parent) { gx_animation_start(animation, &animation_info); } } } UINT gx_studio_auto_event_handler(GX_WIDGET *widget, GX_EVENT *event_ptr, GX_CONST GX_STUDIO_EVENT_PROCESS *record) { UINT status = GX_SUCCESS; GX_CONST GX_STUDIO_ACTION *action; GX_CONST GX_WIDGET *parent = GX_NULL; GX_WIDGET *target = GX_NULL; GX_CONST GX_STUDIO_EVENT_ENTRY *entry = record->event_table; while(entry->event_type) { if (entry->event_type == event_ptr->gx_event_type) { if((entry->event_type == GX_EVENT_ANIMATION_COMPLETE) && (entry->event_sender != event_ptr->gx_event_sender)) { entry++; continue; } action = entry->action_list; while(action->opcode) { switch(action->opcode) { case GX_ACTION_TYPE_ATTACH: if((action->flags & GX_ACTION_FLAG_POP_TARGET) || (action->flags & GX_ACTION_FLAG_POP_PARENT)) { gx_system_screen_stack_get((GX_WIDGET **)&parent, &target); } if(!(action->flags & GX_ACTION_FLAG_POP_PARENT)) { parent = action->parent; } if(!(action->flags & GX_ACTION_FLAG_POP_TARGET)) { target = gx_studio_action_target_get(widget, action); } if (parent && target) { gx_widget_attach(parent, target); } break; case GX_ACTION_TYPE_DETACH: target = gx_studio_action_target_find(widget, action); if (target) { gx_widget_detach(target); if (target->gx_widget_status & GX_STATUS_STUDIO_CREATED) { gx_widget_delete(target); } } break; case GX_ACTION_TYPE_TOGGLE: if(action->flags & GX_ACTION_FLAG_POP_TARGET) { gx_system_screen_stack_get(GX_NULL, &target); } else { target = gx_studio_action_target_get(widget, action); } gx_studio_screen_toggle(widget, target); break; case GX_ACTION_TYPE_SHOW: target = gx_studio_action_target_get(widget, action); if(target) { gx_widget_show(target); } break; case GX_ACTION_TYPE_HIDE: target = gx_studio_action_target_find(widget, action); if(target) { gx_widget_hide(target); } break; case GX_ACTION_TYPE_ANIMATION: gx_studio_animation_execute(widget, action); break; case GX_ACTION_TYPE_WINDOW_EXECUTE: if((action->flags & GX_ACTION_FLAG_POP_TARGET) || (action->flags & GX_ACTION_FLAG_POP_PARENT)) { gx_system_screen_stack_get((GX_WIDGET **)&parent, &target); } if(!(action->flags & GX_ACTION_FLAG_POP_PARENT)) { parent = widget->gx_widget_parent; } if(!(action->flags & GX_ACTION_FLAG_POP_TARGET)) { target = gx_studio_action_target_get(widget, action); } if (parent && target) { gx_widget_attach(parent, target); gx_window_execute((GX_WINDOW *) target, GX_NULL); } break; case GX_ACTION_TYPE_WINDOW_EXECUTE_STOP: return event_ptr->gx_event_sender; case GX_ACTION_TYPE_SCREEN_STACK_PUSH: target = gx_studio_action_target_get(widget, action); if(target) { gx_system_screen_stack_push(target); } break; case GX_ACTION_TYPE_SCREEN_STACK_POP: gx_system_screen_stack_pop(); break; case GX_ACTION_TYPE_SCREEN_STACK_RESET: gx_system_screen_stack_reset(); break; default: break; } action++; } } entry++; } if (record->chain_event_handler) { status = record->chain_event_handler(widget, event_ptr); } return status; } UINT gx_studio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_BUTTON *button = (GX_BUTTON *) control_block; status = gx_button_create(button, info->widget_name, parent, info->style, info->widget_id, &info->size); return status; } UINT gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_TEXT_BUTTON *button = (GX_TEXT_BUTTON *) control_block; GX_TEXT_BUTTON_PROPERTIES *props = (GX_TEXT_BUTTON_PROPERTIES *) info->properties; status = gx_text_button_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { gx_text_button_font_set(button, props->font_id); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_text_button_text_color_set(button, props->normal_text_color_id, props->selected_text_color_id); #else gx_text_button_text_color_set(button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id); #endif } return status; } UINT gx_studio_multi_line_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_MULTI_LINE_TEXT_BUTTON *button = (GX_MULTI_LINE_TEXT_BUTTON *) control_block; GX_ML_TEXT_BUTTON_PROPERTIES *props = (GX_ML_TEXT_BUTTON_PROPERTIES *) info->properties; status = gx_multi_line_text_button_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { gx_text_button_font_set((GX_TEXT_BUTTON *) button, props->font_id); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_text_button_text_color_set((GX_TEXT_BUTTON *) button, props->normal_text_color_id, props->selected_text_color_id); #else gx_text_button_text_color_set((GX_TEXT_BUTTON *) button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id); #endif } return status; } UINT gx_studio_checkbox_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_CHECKBOX *button = (GX_CHECKBOX *) control_block; GX_TEXT_BUTTON *text_button = (GX_TEXT_BUTTON *) button; GX_CHECKBOX_PROPERTIES *props = (GX_CHECKBOX_PROPERTIES *) info->properties; status = gx_checkbox_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { gx_text_button_font_set(text_button, props->font_id); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id); #else gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id); #endif if (props->unchecked_pixelmap_id || props->checked_pixelmap_id || props->unchecked_disabled_pixelmap_id || props->checked_disabled_pixelmap_id) { gx_checkbox_pixelmap_set(button, props->unchecked_pixelmap_id, props->checked_pixelmap_id, props->unchecked_disabled_pixelmap_id, props->checked_disabled_pixelmap_id); } } return status; } UINT gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_RADIO_BUTTON *button = (GX_RADIO_BUTTON *) control_block; GX_TEXT_BUTTON *text_button = (GX_TEXT_BUTTON *) button; GX_RADIO_BUTTON_PROPERTIES *props = (GX_RADIO_BUTTON_PROPERTIES *) info->properties; status = gx_radio_button_create(button, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { gx_text_button_font_set(text_button, props->font_id); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id); #else gx_text_button_text_color_set(text_button, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id); #endif if (props->off_pixelmap_id || props->on_pixelmap_id || props->off_disabled_pixelmap_id || props->on_disabled_pixelmap_id) { gx_radio_button_pixelmap_set(button, props->off_pixelmap_id, props->on_pixelmap_id, props->off_disabled_pixelmap_id, props->on_disabled_pixelmap_id); } } return status; } UINT gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_ICON_BUTTON *button = (GX_ICON_BUTTON *) control_block; GX_ICON_BUTTON_PROPERTIES *props = (GX_ICON_BUTTON_PROPERTIES *) info->properties; status = gx_icon_button_create(button, info->widget_name, parent, props->pixelmap_id, info->style, info->widget_id, &info->size); return status; } UINT gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_PIXELMAP_BUTTON *button = (GX_PIXELMAP_BUTTON *) control_block; GX_PIXELMAP_BUTTON_PROPERTIES *props = (GX_PIXELMAP_BUTTON_PROPERTIES *) info->properties; status = gx_pixelmap_button_create(button, info->widget_name, parent, props->normal_pixelmap_id, props->selected_pixelmap_id, props->disabled_pixelmap_id, info->style, info->widget_id, &info->size); return status; } UINT gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_ICON *icon = (GX_ICON *) control_block; GX_ICON_PROPERTIES *props = (GX_ICON_PROPERTIES *) info->properties; 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); if (props->selected_pixelmap_id) { gx_icon_pixelmap_set(icon, props->normal_pixelmap_id, props->selected_pixelmap_id); } else { gx_widget_resize((GX_WIDGET *)icon, (GX_RECTANGLE *)&info->size); } return status; } UINT gx_studio_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_SLIDER *slider = (GX_SLIDER *) control_block; GX_SLIDER_PROPERTIES *props = (GX_SLIDER_PROPERTIES *) info->properties; GX_SLIDER_INFO slider_info; slider_info.gx_slider_info_min_val = props->minval; slider_info.gx_slider_info_max_val = props->maxval; slider_info.gx_slider_info_current_val = props->current_val; slider_info.gx_slider_info_increment = props->increment; slider_info.gx_slider_info_min_travel = props->min_travel; slider_info.gx_slider_info_max_travel = props->max_travel; slider_info.gx_slider_info_needle_width = props->needle_width; slider_info.gx_slider_info_needle_height = props->needle_height; slider_info.gx_slider_info_needle_inset = props->needle_inset; slider_info.gx_slider_info_needle_hotspot_offset = props->needle_hotspot; status = gx_slider_create(slider, info->widget_name, parent, props->tickmark_count, &slider_info, info->style, info->widget_id, &info->size); return status; } UINT gx_studio_pixelmap_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_PIXELMAP_SLIDER *slider = (GX_PIXELMAP_SLIDER *) control_block; GX_PIXELMAP_SLIDER_PROPERTIES *props = (GX_PIXELMAP_SLIDER_PROPERTIES *) info->properties; GX_PIXELMAP_SLIDER_INFO pixelmap_info; GX_SLIDER_INFO slider_info; slider_info.gx_slider_info_min_val = props->min_val; slider_info.gx_slider_info_max_val = props->max_val; slider_info.gx_slider_info_current_val = props->current_val; slider_info.gx_slider_info_increment = props->increment; slider_info.gx_slider_info_min_travel = props->min_travel; slider_info.gx_slider_info_max_travel = props->max_travel; slider_info.gx_slider_info_needle_width = props->needle_width; slider_info.gx_slider_info_needle_height = props->needle_height; slider_info.gx_slider_info_needle_inset = props->needle_inset; slider_info.gx_slider_info_needle_hotspot_offset = props->needle_hotspot; pixelmap_info.gx_pixelmap_slider_info_lower_background_pixelmap = props->lower_pixelmap; pixelmap_info.gx_pixelmap_slider_info_upper_background_pixelmap = props->upper_pixelmap; pixelmap_info.gx_pixelmap_slider_info_needle_pixelmap = props->needle_pixelmap; status = gx_pixelmap_slider_create(slider, info->widget_name, parent, &slider_info, &pixelmap_info, info->style, info->widget_id, &info->size); return status; } UINT gx_studio_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_PROGRESS_BAR *bar = (GX_PROGRESS_BAR *) control_block; GX_PROGRESS_BAR_INFO *bar_info = (GX_PROGRESS_BAR_INFO *) info->properties; status = gx_progress_bar_create(bar, info->widget_name, parent, bar_info, info->style, info->widget_id, &info->size); return status; } UINT gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_RADIAL_PROGRESS_BAR *bar = (GX_RADIAL_PROGRESS_BAR *) control_block; GX_RADIAL_PROGRESS_BAR_INFO *bar_info = (GX_RADIAL_PROGRESS_BAR_INFO *) info->properties; status = gx_radial_progress_bar_create(bar, info->widget_name, parent, bar_info, info->style, info->widget_id); return status; } UINT gx_studio_sprite_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_SPRITE *sprite = (GX_SPRITE *) control_block; GX_SPRITE_PROPERTIES *props = (GX_SPRITE_PROPERTIES *) info->properties; status = gx_sprite_create(sprite, info->widget_name, parent, props->frame_list, props->frame_count, info->style, info->widget_id, &info->size); return status; } UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_PROMPT *prompt = (GX_PROMPT *) control_block; GX_PROMPT_PROPERTIES *props = (GX_PROMPT_PROPERTIES *) info->properties; status = gx_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { gx_prompt_font_set(prompt, props->font_id); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id); #else gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id); #endif } return status; } UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_NUMERIC_PROMPT *prompt = (GX_NUMERIC_PROMPT *) control_block; GX_NUMERIC_PROMPT_PROPERTIES *props = (GX_NUMERIC_PROMPT_PROPERTIES *) info->properties; status = gx_numeric_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { gx_prompt_font_set((GX_PROMPT *)prompt, props->font_id); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_prompt_text_color_set((GX_PROMPT *)prompt, props->normal_text_color_id, props->selected_text_color_id); #else gx_prompt_text_color_set((GX_PROMPT *)prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id); #endif if(!props->string_id) { gx_numeric_prompt_value_set(prompt, props->numeric_prompt_value); } if(props->format_func) { gx_numeric_prompt_format_function_set(prompt, props->format_func); } } return status; } UINT gx_studio_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_PIXELMAP_PROMPT *pix_prompt = (GX_PIXELMAP_PROMPT *) control_block; GX_PROMPT *prompt = (GX_PROMPT *) pix_prompt; GX_PIXELMAP_PROMPT_PROPERTIES *props = (GX_PIXELMAP_PROMPT_PROPERTIES *) info->properties; status = gx_pixelmap_prompt_create(pix_prompt, info->widget_name, parent, props->string_id, props->fill_map_id, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { gx_pixelmap_prompt_pixelmap_set(pix_prompt, props->left_map_id, props->fill_map_id, props->right_map_id, props->selected_left_map_id, props->selected_fill_map_id, props->selected_right_map_id); gx_prompt_font_set(prompt, props->font_id); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id); #else gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id); #endif } return status; } UINT gx_studio_numeric_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_NUMERIC_PIXELMAP_PROMPT *pix_prompt = (GX_NUMERIC_PIXELMAP_PROMPT *) control_block; GX_PROMPT *prompt = (GX_PROMPT *) pix_prompt; GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES *props = (GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES *) info->properties; status = gx_numeric_pixelmap_prompt_create(pix_prompt, info->widget_name, parent, props->string_id, props->fill_map_id, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { if(!props->string_id) { gx_numeric_pixelmap_prompt_value_set(pix_prompt, props->numeric_prompt_value); } if(props->format_func) { gx_numeric_pixelmap_prompt_format_function_set(pix_prompt, props->format_func); } gx_pixelmap_prompt_pixelmap_set((GX_PIXELMAP_PROMPT *)pix_prompt, props->left_map_id, props->fill_map_id, props->right_map_id, props->selected_left_map_id, props->selected_fill_map_id, props->selected_right_map_id); gx_prompt_font_set(prompt, props->font_id); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id); #else gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id); #endif } return status; } UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_WINDOW *window = (GX_WINDOW *) control_block; GX_WINDOW_PROPERTIES *props = (GX_WINDOW_PROPERTIES *) info->properties; status = gx_window_create(window, info->widget_name, parent, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { if (props->wallpaper_id) { gx_window_wallpaper_set(window, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER); } } return status; } UINT gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_VERTICAL_LIST *list = (GX_VERTICAL_LIST *) control_block; GX_VERTICAL_LIST_PROPERTIES *props = (GX_VERTICAL_LIST_PROPERTIES *) info->properties; status = gx_vertical_list_create(list, info->widget_name, parent, props->total_rows, props->callback, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { if (props->wallpaper_id) { gx_window_wallpaper_set((GX_WINDOW *) list, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER); } } return status; } UINT gx_studio_horizontal_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_HORIZONTAL_LIST *list = (GX_HORIZONTAL_LIST *) control_block; GX_HORIZONTAL_LIST_PROPERTIES *props = (GX_HORIZONTAL_LIST_PROPERTIES *) info->properties; status = gx_horizontal_list_create(list, info->widget_name, parent, props->total_rows, props->callback, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { if (props->wallpaper_id) { gx_window_wallpaper_set((GX_WINDOW *) list, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER); } } return status; } UINT gx_studio_drop_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_DROP_LIST *list = (GX_DROP_LIST *) control_block; GX_DROP_LIST_PROPERTIES *props = (GX_DROP_LIST_PROPERTIES *) info->properties; status = gx_drop_list_create(list, info->widget_name, parent, props->total_rows, props->open_height, props->callback, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { if (props->pixelmap_id) { gx_drop_list_pixelmap_set(list, props->pixelmap_id); } if (props->wallpaper_id) { gx_window_wallpaper_set((GX_WINDOW *)&list->gx_drop_list_popup.gx_popup_list_list, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER); } } return status; } UINT gx_studio_string_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_STRING_SCROLL_WHEEL *wheel = (GX_STRING_SCROLL_WHEEL *) control_block; GX_STRING_SCROLL_WHEEL_PROPERTIES *props = (GX_STRING_SCROLL_WHEEL_PROPERTIES *) info->properties; status = gx_string_scroll_wheel_create_ext(wheel, info->widget_name, parent, props->total_rows, GX_NULL, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { if(props->string_id_list) { gx_string_scroll_wheel_string_id_list_set(wheel, props->string_id_list, props->total_rows); } if (props->wallpaper_id) { gx_window_wallpaper_set((GX_WINDOW *) wheel, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER); } if(props->selected_background) { gx_scroll_wheel_selected_background_set((GX_SCROLL_WHEEL *)wheel, props->selected_background); } gx_scroll_wheel_selected_set((GX_SCROLL_WHEEL *)wheel, props->selected_row); gx_scroll_wheel_gradient_alpha_set((GX_SCROLL_WHEEL *)wheel, props->start_alpha, props->end_alpha); gx_scroll_wheel_row_height_set((GX_SCROLL_WHEEL *)wheel, props->row_height); gx_text_scroll_wheel_font_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_font, props->selected_font); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_text_scroll_wheel_text_color_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_text_color, props->selected_text_color); #else gx_text_scroll_wheel_text_color_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_text_color, props->selected_text_color, props->disabled_text_color); #endif if(props->callback) { gx_text_scroll_wheel_callback_set_ext((GX_TEXT_SCROLL_WHEEL *)wheel, (UINT (*)(GX_TEXT_SCROLL_WHEEL*, INT, GX_STRING *))props->callback); } } return status; } UINT gx_studio_numeric_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_NUMERIC_SCROLL_WHEEL *wheel = (GX_NUMERIC_SCROLL_WHEEL *) control_block; GX_NUMERIC_SCROLL_WHEEL_PROPERTIES *props = (GX_NUMERIC_SCROLL_WHEEL_PROPERTIES *) info->properties; status = gx_numeric_scroll_wheel_create(wheel, info->widget_name, parent, props->start_val, props->end_val, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { if (props->wallpaper_id) { gx_window_wallpaper_set((GX_WINDOW *) wheel, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER); } if(props->selected_background) { gx_scroll_wheel_selected_background_set((GX_SCROLL_WHEEL *)wheel, props->selected_background); } if (props->total_rows) { gx_scroll_wheel_total_rows_set((GX_SCROLL_WHEEL *)wheel, props->total_rows); } gx_scroll_wheel_selected_set((GX_SCROLL_WHEEL *)wheel, props->selected_row); gx_scroll_wheel_gradient_alpha_set((GX_SCROLL_WHEEL *)wheel, props->start_alpha, props->end_alpha); gx_scroll_wheel_row_height_set((GX_SCROLL_WHEEL *)wheel, props->row_height); gx_text_scroll_wheel_font_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_font, props->selected_font); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_text_scroll_wheel_text_color_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_text_color, props->selected_text_color); #else gx_text_scroll_wheel_text_color_set((GX_TEXT_SCROLL_WHEEL *)wheel, props->normal_text_color, props->selected_text_color, props->disabled_text_color); #endif if(props->callback) { gx_text_scroll_wheel_callback_set_ext((GX_TEXT_SCROLL_WHEEL *)wheel, (UINT (*)(GX_TEXT_SCROLL_WHEEL*, INT, GX_STRING *))props->callback); } } return status; } UINT gx_studio_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_STRING text; GX_SINGLE_LINE_TEXT_INPUT *input = (GX_SINGLE_LINE_TEXT_INPUT *) control_block; GX_PROMPT *prompt = (GX_PROMPT *) input; GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES *props = (GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES *) info->properties; status = gx_single_line_text_input_create(input, info->widget_name, parent, props->buffer, props->buffer_size, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { gx_prompt_font_set(prompt, props->font_id); gx_single_line_text_input_text_color_set(input, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id, props->readonly_text_color_id); gx_single_line_text_input_fill_color_set(input, input->gx_widget_normal_fill_color, input->gx_widget_selected_fill_color, input->gx_widget_disabled_fill_color, props->readonly_fill_color_id); if (props->buffer && props->buffer_size > 0 && props->string_id) { gx_display_string_get_ext(folder_output_test_display_table[0].display, props->string_id, &text); if (text.gx_string_ptr) { gx_single_line_text_input_text_set_ext(input, &text); } } } return status; } UINT gx_studio_multi_line_text_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_MULTI_LINE_TEXT_VIEW *view = (GX_MULTI_LINE_TEXT_VIEW *) control_block; GX_ML_TEXT_VIEW_PROPERTIES *props = (GX_ML_TEXT_VIEW_PROPERTIES *) info->properties; status = gx_multi_line_text_view_create(view, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { gx_multi_line_text_view_font_set(view, props->font_id); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_multi_line_text_view_text_color_set(view, props->normal_text_color_id, props->selected_text_color_id); #else gx_multi_line_text_view_text_color_set(view, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id); #endif gx_multi_line_text_view_whitespace_set(view, props->whitespace); gx_multi_line_text_view_line_space_set(view, props->line_space); } return status; } UINT gx_studio_multi_line_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_STRING text; GX_MULTI_LINE_TEXT_INPUT *input = (GX_MULTI_LINE_TEXT_INPUT *) control_block; GX_MULTI_LINE_TEXT_INPUT_PROPERTIES *props = (GX_MULTI_LINE_TEXT_INPUT_PROPERTIES *) info->properties; status = gx_multi_line_text_input_create(input, info->widget_name, parent, props->buffer, props->buffer_size, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { gx_multi_line_text_view_font_set((GX_MULTI_LINE_TEXT_VIEW *) input, props->font_id); gx_multi_line_text_input_fill_color_set(input, info->normal_fill_color_id, info->selected_fill_color_id, info->disabled_fill_color_id, props->readonly_fill_color_id); gx_multi_line_text_input_text_color_set(input, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id, props->readonly_text_color_id); gx_multi_line_text_view_whitespace_set((GX_MULTI_LINE_TEXT_VIEW *) input, props->whitespace); gx_multi_line_text_view_line_space_set((GX_MULTI_LINE_TEXT_VIEW *) input, props->line_space); if(props->buffer && (props->buffer_size > 0) && props->string_id) { gx_display_string_get_ext(folder_output_test_display_table[0].display, props->string_id, &text); if(text.gx_string_ptr) { gx_multi_line_text_input_text_set_ext(input, &text); } } } return status; } UINT gx_studio_horizontal_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_SCROLLBAR *scroll = (GX_SCROLLBAR *) control_block; GX_SCROLLBAR_APPEARANCE *appearance = (GX_SCROLLBAR_APPEARANCE *) info->properties; status = gx_horizontal_scrollbar_create(scroll, info->widget_name, parent, appearance, info->style); return status; } UINT gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_SCROLLBAR *scroll = (GX_SCROLLBAR *) control_block; GX_SCROLLBAR_APPEARANCE *appearance = (GX_SCROLLBAR_APPEARANCE *) info->properties; status = gx_vertical_scrollbar_create(scroll, info->widget_name, parent, appearance, info->style); return status; } UINT gx_studio_circular_gauge_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_CIRCULAR_GAUGE *gauge = (GX_CIRCULAR_GAUGE *) control_block; GX_CIRCULAR_GAUGE_PROPERTIES *props = (GX_CIRCULAR_GAUGE_PROPERTIES *) info->properties; GX_CIRCULAR_GAUGE_INFO gauge_info; gauge_info.gx_circular_gauge_info_needle_pixelmap = props->needle_pixelmap_id; gauge_info.gx_circular_gauge_info_needle_xpos = props->needle_xpos; gauge_info.gx_circular_gauge_info_needle_ypos = props->needle_ypos; gauge_info.gx_circular_gauge_info_needle_xcor = props->needle_xcor; gauge_info.gx_circular_gauge_info_needle_ycor = props->needle_ycor; gauge_info.gx_circular_gauge_info_animation_steps = props->animation_steps; gauge_info.gx_circular_gauge_info_animation_delay = props->animation_delay; gauge->gx_icon_normal_pixelmap = props->normal_pixelmap_id; gauge->gx_icon_selected_pixelmap = props->selected_pixelmap_id; status = gx_circular_gauge_create(gauge, info->widget_name, parent, &gauge_info, props->normal_pixelmap_id, info->style, info->widget_id, info->size.gx_rectangle_left, info->size.gx_rectangle_top); return status; } UINT gx_studio_line_chart_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_LINE_CHART *chart = (GX_LINE_CHART *) control_block; GX_LINE_CHART_INFO *chart_info = (GX_LINE_CHART_INFO *) info->properties; status = gx_line_chart_create(chart, info->widget_name, parent, chart_info, info->style, info->widget_id, &info->size); return status; } UINT gx_studio_template_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status = GX_SUCCESS; GX_STUDIO_WIDGET derived; GX_TEMPLATE_PROPERTIES *props = (GX_TEMPLATE_PROPERTIES *) info->properties; /* create base widget and children */ derived = *props->base_info; derived.widget_id = info->widget_id; derived.widget_name = info->widget_name; if (info->style & GX_STYLE_ENABLED) { derived.style |= GX_STYLE_ENABLED; } else { derived.style &= ~GX_STYLE_ENABLED; } if (info->status & GX_STATUS_ACCEPTS_FOCUS) { derived.status |= GX_STATUS_ACCEPTS_FOCUS; } else { derived.status &= ~GX_STATUS_ACCEPTS_FOCUS; } #if defined(GX_WIDGET_USER_DATA) derived.user_data = info->user_data; #endif control_block = gx_studio_widget_create((GX_BYTE *) control_block, &derived, parent); if (control_block) { if (info->style & GX_STYLE_DYNAMICALLY_ALLOCATED) { control_block->gx_widget_status |= GX_STATUS_DYNAMICALLY_ALLOCATED; } if (derived.size.gx_rectangle_left != info->size.gx_rectangle_left || derived.size.gx_rectangle_top != info->size.gx_rectangle_top) { gx_widget_shift(control_block, info->size.gx_rectangle_left - derived.size.gx_rectangle_left, info->size.gx_rectangle_top - derived.size.gx_rectangle_top, GX_FALSE); } } else { status = GX_FAILURE; } return status; } UINT gx_studio_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_MENU *menu = (GX_MENU *) control_block; GX_MENU_PROPERTIES *props = (GX_MENU_PROPERTIES *) info->properties; status = gx_menu_create(menu, info->widget_name, parent, props->string_id, props->fill_map_id, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { menu->gx_menu_list_total_count = props->list_total_count; gx_menu_text_offset_set(menu, props->text_x_offset, props->text_y_offset); gx_pixelmap_prompt_pixelmap_set((GX_PIXELMAP_PROMPT *)menu, props->left_map_id, props->fill_map_id, props->right_map_id, props->selected_left_map_id, props->selected_fill_map_id, props->selected_right_map_id); gx_prompt_font_set((GX_PROMPT *)menu, props->font_id); #if defined(GUIX_5_4_0_COMPATIBILITY) gx_prompt_text_color_set((GX_PROMPT *)menu, props->normal_text_color_id, props->selected_text_color_id); #else gx_prompt_text_color_set((GX_PROMPT *)menu, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id); #endif } return status; } UINT gx_studio_accordion_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_ACCORDION_MENU *accordion = (GX_ACCORDION_MENU *) control_block; status = gx_accordion_menu_create(accordion, info->widget_name, parent, info->style, info->widget_id, &info->size); return status; } UINT gx_studio_tree_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent) { UINT status; GX_TREE_VIEW *tree = (GX_TREE_VIEW *) control_block; GX_TREE_VIEW_PROPERTIES *props = (GX_TREE_VIEW_PROPERTIES *) info->properties; status = gx_tree_view_create(tree, info->widget_name, parent, info->style, info->widget_id, &info->size); if (status == GX_SUCCESS) { if (props->expand_map_id || props->collapse_map_id) { gx_tree_view_root_pixelmap_set(tree, props->expand_map_id, props->collapse_map_id); } gx_tree_view_indentation_set(tree, props->indentation); gx_tree_view_root_line_color_set(tree, props->root_line_color_id); } return status; } GX_WINDOW_PROPERTIES MAIN_DISPLAY_window_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_window_screen_window_5_properties = { 0 /* wallpaper pixelmap id */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_window_screen_window_6_properties = { 0 /* wallpaper pixelmap id */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_window_screen_window_8_properties = { 0 /* wallpaper pixelmap id */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_window_screen_scroll_frame_1_properties = { 0 /* wallpaper pixelmap id */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_window_screen_window_4_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_FISH /* wallpaper pixelmap id */ }; GX_SCROLLBAR_APPEARANCE MAIN_DISPLAY_window_screen_hscroll_1_properties = { 20, /* scroll width */ 10, /* thumb width */ 2, /* thumb travel min */ 2, /* thumb travel max */ 4, /* thumb border style */ GX_PIXELMAP_ID_MAIN_DISPLAY_I_ORANGEFILL_MIDDLE_HORIZONTAL, /* scroll fill pixelmap */ 0, /* scroll thumb pixelmap */ 0, /* scroll up pixelmap */ 0, /* scroll down pixelmap */ GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */ GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb border color */ GX_COLOR_ID_BTN_UPPER, /* scroll button color */ }; GX_SCROLLBAR_APPEARANCE MAIN_DISPLAY_window_screen_vertical_scroll_1_properties = { 20, /* scroll width */ 12, /* thumb width */ 20, /* thumb travel min */ 20, /* thumb travel max */ 4, /* thumb border style */ 0, /* scroll fill pixelmap */ 0, /* scroll thumb pixelmap */ 0, /* scroll up pixelmap */ 0, /* scroll down pixelmap */ GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */ GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb border color */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* scroll button color */ }; GX_VERTICAL_LIST_PROPERTIES MAIN_DISPLAY_window_screen_vertical_list_properties = { 0, /* wallpaper id */ GX_NULL, /* callback function */ 4 /* total rows */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_window_screen_button_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_19, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_window_screen_button_2_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_20, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_window_screen_button_3_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_21, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_window_screen_button_4_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_22, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_window_screen_nested_label_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_16, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_window_screen_frame_label_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_17, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_window_screen_vlist_label_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_18, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_HORIZONTAL_LIST_PROPERTIES MAIN_DISPLAY_window_screen_horizontal_list_1_properties = { 0, /* wallpaper id */ GX_NULL, /* callback function */ 5 /* total columns */ }; GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_window_screen_icon_button_1_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_I_HISTORY_LG /* pixelmap id */ }; GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_window_screen_icon_button_2_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_I_MEDICATIONSGREEN_LG /* pixelmap id */ }; GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_window_screen_icon_button_3_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_I_PATIENTLIST_LG /* pixelmap id */ }; GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_window_screen_icon_button_4_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_I_MEDICATIONSRED_LG /* pixelmap id */ }; GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_window_screen_icon_button_5_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_BLACK_PAUSE /* pixelmap id */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_window_screen_hlist_label_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_23, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_window_screen_next_button_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */ }; GX_DROP_LIST_PROPERTIES MAIN_DISPLAY_window_screen_drop_list_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_TOP_BAR_BACKGROUND, /* widget pixelmap id */ GX_PIXELMAP_ID_MAIN_DISPLAY_DROP_LIST_BG, /* popup list wallpaper pixelmap id */ drop_list_row_create, /* callback function */ 100, /* total rows */ 100 /* open height */ }; GX_PIXELMAP_BUTTON_PROPERTIES MAIN_DISPLAY_window_screen_pixelmap_button_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_DROP_LIST_BUTTON, /* normal pixelmap id */ 0, /* selected pixelmap id */ 0 /* disabled pixelmap id */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_window_screen_hlist_label_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_37, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_LINE_CHART_INFO MAIN_DISPLAY_window_screen_line_chart_properties = { 0, /* min data value */ 100, /* max data value */ GX_NULL, /* data pointer */ 0, /* left margin */ 0, /* top margin */ 0, /* right margin */ 0, /* bottom margin */ 100, /* max data items */ 0, /* active data items */ 3, /* axis line width */ 2, /* data line width */ GX_COLOR_ID_DEFAULT_BORDER, /* axis line color */ GX_COLOR_ID_SHINE /* data line color */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_window_8_define = { "window_8", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {211, 88, 304, 160}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_window_8), /* control block */ (void *) &MAIN_DISPLAY_window_screen_window_8_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_window_6_define = { "window_6", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {73, 56, 319, 170}, /* widget size */ GX_NULL, /* no next widget */ &MAIN_DISPLAY_window_screen_window_8_define, /* child widget definition */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_window_6), /* control block */ (void *) &MAIN_DISPLAY_window_screen_window_6_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_vertical_scroll_1_define = { "vertical_scroll_1", GX_TYPE_VERTICAL_SCROLL, /* widget type */ ID_VERTICAL_SCROLLBAR, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_END_BUTTONS|GX_SCROLLBAR_VERTICAL, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SCROLLBAR), /* control block size */ GX_COLOR_ID_SCROLL_FILL, /* normal color id */ GX_COLOR_ID_SCROLL_FILL, /* selected color id */ GX_COLOR_ID_SCROLL_FILL, /* disabled color id */ gx_studio_vertical_scrollbar_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {542, 46, 561, 159}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_vertical_scroll_1), /* control block */ (void *) &MAIN_DISPLAY_window_screen_vertical_scroll_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_hscroll_1_define = { "hscroll_1", GX_TYPE_HORIZONTAL_SCROLL, /* widget type */ ID_HORIZONTAL_SCROLLBAR, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_TILE_BACKGROUND|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_HORIZONTAL, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SCROLLBAR), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* normal color id */ GX_COLOR_ID_SCROLL_FILL, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* disabled color id */ gx_studio_horizontal_scrollbar_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {352, 160, 541, 179}, /* widget size */ &MAIN_DISPLAY_window_screen_vertical_scroll_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_hscroll_1), /* control block */ (void *) &MAIN_DISPLAY_window_screen_hscroll_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_window_4_define = { "window_4", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {351, 45, 750, 444}, /* widget size */ &MAIN_DISPLAY_window_screen_hscroll_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_window_4), /* control block */ (void *) &MAIN_DISPLAY_window_screen_window_4_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_button_4_define = { "button_4", GX_TYPE_TEXT_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {59, 324, 156, 358}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_button_4), /* control block */ (void *) &MAIN_DISPLAY_window_screen_button_4_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_button_3_define = { "button_3", GX_TYPE_TEXT_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {59, 289, 156, 323}, /* widget size */ &MAIN_DISPLAY_window_screen_button_4_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_button_3), /* control block */ (void *) &MAIN_DISPLAY_window_screen_button_3_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_button_2_define = { "button_2", GX_TYPE_TEXT_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {59, 254, 156, 288}, /* widget size */ &MAIN_DISPLAY_window_screen_button_3_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_button_2), /* control block */ (void *) &MAIN_DISPLAY_window_screen_button_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_button_1_define = { "button_1", GX_TYPE_TEXT_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {59, 219, 156, 253}, /* widget size */ &MAIN_DISPLAY_window_screen_button_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_button_1), /* control block */ (void *) &MAIN_DISPLAY_window_screen_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_icon_button_5_define = { "icon_button_5", GX_TYPE_ICON_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_icon_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {385, 218, 435, 279}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_icon_button_5), /* control block */ (void *) &MAIN_DISPLAY_window_screen_icon_button_5_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_icon_button_4_define = { "icon_button_4", GX_TYPE_ICON_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_icon_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {334, 218, 384, 279}, /* widget size */ &MAIN_DISPLAY_window_screen_icon_button_5_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_icon_button_4), /* control block */ (void *) &MAIN_DISPLAY_window_screen_icon_button_4_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_icon_button_3_define = { "icon_button_3", GX_TYPE_ICON_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_icon_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {283, 218, 333, 279}, /* widget size */ &MAIN_DISPLAY_window_screen_icon_button_4_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_icon_button_3), /* control block */ (void *) &MAIN_DISPLAY_window_screen_icon_button_3_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_icon_button_2_define = { "icon_button_2", GX_TYPE_ICON_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_icon_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {232, 218, 282, 279}, /* widget size */ &MAIN_DISPLAY_window_screen_icon_button_3_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_icon_button_2), /* control block */ (void *) &MAIN_DISPLAY_window_screen_icon_button_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_icon_button_1_define = { "icon_button_1", GX_TYPE_ICON_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_icon_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {181, 218, 231, 279}, /* widget size */ &MAIN_DISPLAY_window_screen_icon_button_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_icon_button_1), /* control block */ (void *) &MAIN_DISPLAY_window_screen_icon_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_pixelmap_button_define = { "pixelmap_button", GX_TYPE_PIXELMAP_BUTTON, /* widget type */ ID_DROP_LIST_BUTTON, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PIXELMAP_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_pixelmap_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {393, 319, 434, 360}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_pixelmap_button), /* control block */ (void *) &MAIN_DISPLAY_window_screen_pixelmap_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_line_chart_define = { "line_chart", GX_TYPE_LINE_CHART, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_LINE_CHART), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_line_chart_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {53, 387, 144, 445}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_line_chart), /* control block */ (void *) &MAIN_DISPLAY_window_screen_line_chart_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_hlist_label_define = { "hlist_label", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {253, 296, 341, 319}, /* widget size */ &MAIN_DISPLAY_window_screen_line_chart_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_hlist_label), /* control block */ (void *) &MAIN_DISPLAY_window_screen_hlist_label_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_drop_list_define = { "drop_list", GX_TYPE_DROP_LIST, /* widget type */ ID_DROP_LIST, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TILE_BACKGROUND, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_DROP_LIST), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_WIDGET_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_drop_list_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {183, 319, 430, 356}, /* widget size */ &MAIN_DISPLAY_window_screen_hlist_label_define, /* next widget definition */ &MAIN_DISPLAY_window_screen_pixelmap_button_define, /* child widget definition */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_drop_list), /* control block */ (void *) &MAIN_DISPLAY_window_screen_drop_list_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_next_button_1_define = { "next_button_1", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {491, 432, 570, 456}, /* widget size */ &MAIN_DISPLAY_window_screen_drop_list_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_next_button_1), /* control block */ (void *) &MAIN_DISPLAY_window_screen_next_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_hlist_label_1_define = { "hlist_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {242, 191, 373, 214}, /* widget size */ &MAIN_DISPLAY_window_screen_next_button_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_hlist_label_1), /* control block */ (void *) &MAIN_DISPLAY_window_screen_hlist_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_horizontal_list_1_define = { "horizontal_list_1", GX_TYPE_HORIZONTAL_LIST, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_HORIZONTAL_LIST), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_horizontal_list_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {180, 217, 437, 280}, /* widget size */ &MAIN_DISPLAY_window_screen_hlist_label_1_define, /* next widget definition */ &MAIN_DISPLAY_window_screen_icon_button_1_define, /* child widget definition */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_horizontal_list_1), /* control block */ (void *) &MAIN_DISPLAY_window_screen_horizontal_list_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_vlist_label_1_define = { "vlist_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {45, 191, 176, 214}, /* widget size */ &MAIN_DISPLAY_window_screen_horizontal_list_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_vlist_label_1), /* control block */ (void *) &MAIN_DISPLAY_window_screen_vlist_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_frame_label_1_define = { "frame_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {389, 19, 520, 42}, /* widget size */ &MAIN_DISPLAY_window_screen_vlist_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_frame_label_1), /* control block */ (void *) &MAIN_DISPLAY_window_screen_frame_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_nested_label_1_define = { "nested_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {118, 19, 249, 42}, /* widget size */ &MAIN_DISPLAY_window_screen_frame_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_nested_label_1), /* control block */ (void *) &MAIN_DISPLAY_window_screen_nested_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_vertical_list_define = { "vertical_list", GX_TYPE_VERTICAL_LIST, /* widget type */ ID_VERTICAL_LIST, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_VERTICAL_LIST), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_vertical_list_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {57, 217, 158, 360}, /* widget size */ &MAIN_DISPLAY_window_screen_nested_label_1_define, /* next widget definition */ &MAIN_DISPLAY_window_screen_button_1_define, /* child widget definition */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_vertical_list), /* control block */ (void *) &MAIN_DISPLAY_window_screen_vertical_list_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_scroll_frame_1_define = { "scroll_frame_1", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ 0, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_SCROLL_FILL, /* normal color id */ GX_COLOR_ID_SCROLL_FILL, /* selected color id */ GX_COLOR_ID_SCROLL_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {351, 45, 562, 180}, /* widget size */ &MAIN_DISPLAY_window_screen_vertical_list_define, /* next widget definition */ &MAIN_DISPLAY_window_screen_window_4_define, /* child widget definition */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_scroll_frame_1), /* control block */ (void *) &MAIN_DISPLAY_window_screen_scroll_frame_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_window_5_define = { "window_5", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THICK, /* style flags */ 0, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 44, 341, 182}, /* widget size */ &MAIN_DISPLAY_window_screen_scroll_frame_1_define, /* next widget definition */ &MAIN_DISPLAY_window_screen_window_6_define, /* child widget definition */ offsetof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_window_screen_window_5), /* control block */ (void *) &MAIN_DISPLAY_window_screen_window_5_properties /* extended properties */ }; GX_STUDIO_ACTION MAIN_DISPLAY_window_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, GX_ACTION_FLAG_DYNAMIC_TARGET, &MAIN_DISPLAY_root_window, &MAIN_DISPLAY_indicator_screen_define, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_MAIN_DISPLAY_window_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, MAIN_DISPLAY_window_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS MAIN_DISPLAY_window_screen_event_chain = {gx_studio_MAIN_DISPLAY_window_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))window_screen_event_handler}; static UINT gx_studio_MAIN_DISPLAY_window_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &MAIN_DISPLAY_window_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_window_screen_define = { "MAIN_DISPLAY_window_screen", GX_TYPE_WINDOW, /* widget type */ ID_WINDOW_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_WINDOW_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_MAIN_DISPLAY_window_screen_event_process, /* event function override */ {24, 10, 578, 464}, /* widget size */ GX_NULL, /* next widget */ &MAIN_DISPLAY_window_screen_window_5_define, /* child widget */ 0, /* control block */ (void *) &MAIN_DISPLAY_window_screen_properties /* extended properties */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_base_properties = { 0 /* wallpaper pixelmap id */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_base_prompt_14_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_100, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE /* disabled text color */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_base_prompt_14_define = { "prompt_14", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ 0, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {114, 129, 327, 146}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BASE_CONTROL_BLOCK, MAIN_DISPLAY_base_prompt_14), /* control block */ (void *) &MAIN_DISPLAY_base_prompt_14_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_base_define = { "MAIN_DISPLAY_base", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_BASE_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {107, 120, 560, 307}, /* widget size */ GX_NULL, /* next widget */ &MAIN_DISPLAY_base_prompt_14_define, /* child widget */ 0, /* control block */ (void *) &MAIN_DISPLAY_base_properties /* extended properties */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_popup_modal_properties = { 0 /* wallpaper pixelmap id */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_popup_modal_OK_button_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_41, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_popup_modal_cancel_button_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_42, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_ML_TEXT_VIEW_PROPERTIES MAIN_DISPLAY_popup_modal_text_view_2_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_99, /* string id */ GX_FONT_ID_TEXT_INPUT, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* disabled text color */ 0, /* whitespace */ 0 /* line_space */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_popup_modal_window_1_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_TOP_BAR_BACKGROUND /* wallpaper pixelmap id */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_popup_modal_prompt_5_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_45, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_prompt_5_define = { "prompt_5", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {277, 125, 356, 148}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_POPUP_MODAL_CONTROL_BLOCK, MAIN_DISPLAY_popup_modal_prompt_5), /* control block */ (void *) &MAIN_DISPLAY_popup_modal_prompt_5_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_window_1_define = { "window_1", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TILE_WALLPAPER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {157, 121, 476, 153}, /* widget size */ GX_NULL, /* no next widget */ &MAIN_DISPLAY_popup_modal_prompt_5_define, /* child widget definition */ offsetof(MAIN_DISPLAY_POPUP_MODAL_CONTROL_BLOCK, MAIN_DISPLAY_popup_modal_window_1), /* control block */ (void *) &MAIN_DISPLAY_popup_modal_window_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_text_view_2_define = { "text_view_2", GX_TYPE_MULTI_LINE_TEXT_VIEW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_DRAW_SELECTED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_MULTI_LINE_TEXT_VIEW), /* control block size */ GX_COLOR_ID_CANVAS, /* normal color id */ GX_COLOR_ID_CANVAS, /* selected color id */ GX_COLOR_ID_CANVAS, /* disabled color id */ gx_studio_multi_line_text_view_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {172, 176, 464, 293}, /* widget size */ &MAIN_DISPLAY_popup_modal_window_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_POPUP_MODAL_CONTROL_BLOCK, MAIN_DISPLAY_popup_modal_text_view_2), /* control block */ (void *) &MAIN_DISPLAY_popup_modal_text_view_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_cancel_button_define = { "cancel_button", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_CANCEL, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 20, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {200, 309, 279, 343}, /* widget size */ &MAIN_DISPLAY_popup_modal_text_view_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_POPUP_MODAL_CONTROL_BLOCK, MAIN_DISPLAY_popup_modal_cancel_button), /* control block */ (void *) &MAIN_DISPLAY_popup_modal_cancel_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_OK_button_define = { "OK_button", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_OK, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {364, 309, 443, 343}, /* widget size */ &MAIN_DISPLAY_popup_modal_cancel_button_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_POPUP_MODAL_CONTROL_BLOCK, MAIN_DISPLAY_popup_modal_OK_button), /* control block */ (void *) &MAIN_DISPLAY_popup_modal_OK_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_define = { "MAIN_DISPLAY_popup_modal", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_POPUP_MODAL_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {160, 120, 479, 359}, /* widget size */ GX_NULL, /* next widget */ &MAIN_DISPLAY_popup_modal_OK_button_define, /* child widget */ 0, /* control block */ (void *) &MAIN_DISPLAY_popup_modal_properties /* extended properties */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_rotate_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_rotate_screen_next_button_8_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */ }; GX_CHECKBOX_PROPERTIES MAIN_DISPLAY_rotate_screen_checkbox_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_39_1, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT, /* disabled text color */ 0, /* unchecked pixelmap id */ 0, /* checked pixelmap id */ 0, /* unchecked disabled pixelmap id */ 0 /* checked disabled pixelmap id */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_rotate_screen_prompt_11_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_40_1, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_SLIDER_PROPERTIES MAIN_DISPLAY_rotate_screen_slider_3_properties = { 10, /* tickmark count */ 0, /* mimimun value */ 359, /* maximum value */ 30, /* current value */ 10, /* increment */ 10, /* minimum travel */ 10, /* maximum travel */ 5, /* needle width */ 10, /* needle height */ 5, /* needle inset */ 2 /* needle hotspot */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_rotate_screen_prompt_12_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_41_1, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_rotate_screen_pixelmap_window_properties = { 0 /* wallpaper pixelmap id */ }; GX_RADIO_BUTTON_PROPERTIES MAIN_DISPLAY_rotate_screen_radio_button_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_42_1, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT, /* disabled text color */ 0, /* off pixelmap id */ 0, /* on pixelmap id */ 0, /* off disabled pixelmap id */ 0 /* on disabled pixelmap id */ }; GX_RADIO_BUTTON_PROPERTIES MAIN_DISPLAY_rotate_screen_radio_button_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_43_1, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT, /* disabled text color */ 0, /* off pixelmap id */ 0, /* on pixelmap id */ 0, /* off disabled pixelmap id */ 0 /* on disabled pixelmap id */ }; GX_RADIO_BUTTON_PROPERTIES MAIN_DISPLAY_rotate_screen_radio_button_2_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_44_1, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT, /* disabled text color */ 0, /* off pixelmap id */ 0, /* on pixelmap id */ 0, /* off disabled pixelmap id */ 0 /* on disabled pixelmap id */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_rotate_screen_radio_button_2_define = { "radio_button_2", GX_TYPE_RADIO_BUTTON, /* widget type */ ID_RADIO_FISH, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_RADIO_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_radio_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {388, 425, 467, 448}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_ROTATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_rotate_screen_radio_button_2), /* control block */ (void *) &MAIN_DISPLAY_rotate_screen_radio_button_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_rotate_screen_radio_button_1_define = { "radio_button_1", GX_TYPE_RADIO_BUTTON, /* widget type */ ID_RADIO_APPLE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_RADIO_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_radio_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {236, 425, 315, 448}, /* widget size */ &MAIN_DISPLAY_rotate_screen_radio_button_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_ROTATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_rotate_screen_radio_button_1), /* control block */ (void *) &MAIN_DISPLAY_rotate_screen_radio_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_rotate_screen_radio_button_define = { "radio_button", GX_TYPE_RADIO_BUTTON, /* widget type */ ID_RADIO_FOOT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_PUSHED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_RADIO_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_radio_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {84, 425, 163, 448}, /* widget size */ &MAIN_DISPLAY_rotate_screen_radio_button_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_ROTATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_rotate_screen_radio_button), /* control block */ (void *) &MAIN_DISPLAY_rotate_screen_radio_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_rotate_screen_pixelmap_window_define = { "pixelmap_window", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* disabled color id */ gx_studio_window_create, /* create function */ (VOID (*)(GX_WIDGET *)) pixelmap_draw, /* drawing function override */ GX_NULL, /* event function override */ {31, 69, 613, 400}, /* widget size */ &MAIN_DISPLAY_rotate_screen_radio_button_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_ROTATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_rotate_screen_pixelmap_window), /* control block */ (void *) &MAIN_DISPLAY_rotate_screen_pixelmap_window_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_rotate_screen_prompt_12_define = { "prompt_12", GX_TYPE_PROMPT, /* widget type */ ID_ANGLE_DISPLAY, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {574, 26, 617, 49}, /* widget size */ &MAIN_DISPLAY_rotate_screen_pixelmap_window_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_ROTATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_rotate_screen_prompt_12), /* control block */ (void *) &MAIN_DISPLAY_rotate_screen_prompt_12_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_rotate_screen_slider_3_define = { "slider_3", GX_TYPE_SLIDER, /* widget type */ ID_SLIDER_ANGLE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_SHOW_NEEDLE|GX_STYLE_SHOW_TICKMARKS, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SLIDER), /* control block size */ GX_COLOR_ID_BTN_UPPER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_UPPER, /* disabled color id */ gx_studio_slider_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {388, 26, 553, 49}, /* widget size */ &MAIN_DISPLAY_rotate_screen_prompt_12_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_ROTATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_rotate_screen_slider_3), /* control block */ (void *) &MAIN_DISPLAY_rotate_screen_slider_3_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_rotate_screen_prompt_11_define = { "prompt_11", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {248, 26, 367, 49}, /* widget size */ &MAIN_DISPLAY_rotate_screen_slider_3_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_ROTATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_rotate_screen_prompt_11), /* control block */ (void *) &MAIN_DISPLAY_rotate_screen_prompt_11_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_rotate_screen_checkbox_1_define = { "checkbox_1", GX_TYPE_CHECKBOX, /* widget type */ ID_DIRECT_ROTATE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_CHECKBOX), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_checkbox_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {49, 26, 198, 49}, /* widget size */ &MAIN_DISPLAY_rotate_screen_prompt_11_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_ROTATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_rotate_screen_checkbox_1), /* control block */ (void *) &MAIN_DISPLAY_rotate_screen_checkbox_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_rotate_screen_next_button_8_define = { "next_button_8", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {532, 426, 611, 450}, /* widget size */ &MAIN_DISPLAY_rotate_screen_checkbox_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_ROTATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_rotate_screen_next_button_8), /* control block */ (void *) &MAIN_DISPLAY_rotate_screen_next_button_8_properties /* extended properties */ }; GX_STUDIO_ACTION MAIN_DISPLAY_rotate_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &MAIN_DISPLAY_root_window, &MAIN_DISPLAY_child_template_screen, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_MAIN_DISPLAY_rotate_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, MAIN_DISPLAY_rotate_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS MAIN_DISPLAY_rotate_screen_event_chain = {gx_studio_MAIN_DISPLAY_rotate_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))rotate_event_handler}; static UINT gx_studio_MAIN_DISPLAY_rotate_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &MAIN_DISPLAY_rotate_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_rotate_screen_define = { "MAIN_DISPLAY_rotate_screen", GX_TYPE_WINDOW, /* widget type */ ID_ROTATE_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_ROTATE_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_MAIN_DISPLAY_rotate_screen_event_process, /* event function override */ {0, 0, 639, 479}, /* widget size */ GX_NULL, /* next widget */ &MAIN_DISPLAY_rotate_screen_next_button_8_define, /* child widget */ 0, /* control block */ (void *) &MAIN_DISPLAY_rotate_screen_properties /* extended properties */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_scroll_wheel_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_scroll_wheel_screen_next_button_6_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_scroll_wheel_screen_prompt_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_48, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_NUMERIC_SCROLL_WHEEL_PROPERTIES MAIN_DISPLAY_scroll_wheel_screen_day_wheel_properties = { 31, /* total rows */ 0, /* selected row */ 45, /* row height */ 240, /* start alpha */ 0, /* end alpha */ GX_FONT_ID_MAIN_DISPLAY_NORMAL_FONT, /* normal font id */ GX_FONT_ID_MAIN_DISPLAY_SELECTED_FONT, /* selected font id */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* normal text color id */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* selected text color id */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* disabled text color id */ 0, /* wallpaper id */ GX_PIXELMAP_ID_MAIN_DISPLAY_FILL, /* selected background */ day_wheel_value_format, /* format callback */ 1, /* start val */ 31, /* end val */ }; GX_CONST GX_RESOURCE_ID MAIN_DISPLAY_scroll_wheel_screen_month_wheel_string_id_list[]={ GX_STRING_ID_MAIN_DISPLAY_STRING_63, GX_STRING_ID_MAIN_DISPLAY_STRING_69, GX_STRING_ID_MAIN_DISPLAY_STRING_70, GX_STRING_ID_MAIN_DISPLAY_STRING_71, GX_STRING_ID_MAIN_DISPLAY_STRING_72, GX_STRING_ID_MAIN_DISPLAY_STRING_73, GX_STRING_ID_MAIN_DISPLAY_STRING_74, GX_STRING_ID_MAIN_DISPLAY_STRING_75, GX_STRING_ID_MAIN_DISPLAY_STRING_76, GX_STRING_ID_MAIN_DISPLAY_STRING_77, GX_STRING_ID_MAIN_DISPLAY_STRING_78, GX_STRING_ID_MAIN_DISPLAY_STRING_79 }; GX_STRING_SCROLL_WHEEL_PROPERTIES MAIN_DISPLAY_scroll_wheel_screen_month_wheel_properties = { 12, /* total rows */ 4, /* selected row */ 45, /* row height */ 240, /* start alpha */ 0, /* end alpha */ GX_FONT_ID_MAIN_DISPLAY_NORMAL_FONT, /* normal font id */ GX_FONT_ID_MAIN_DISPLAY_SELECTED_FONT, /* selected font id */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* normal text color id */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* selected text color id */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* disabled text color id */ 0, /* wallpaper id */ GX_PIXELMAP_ID_MAIN_DISPLAY_FILL, /* selected background */ MAIN_DISPLAY_scroll_wheel_screen_month_wheel_string_id_list, /* string list */ GX_NULL /* callback */ }; GX_NUMERIC_SCROLL_WHEEL_PROPERTIES MAIN_DISPLAY_scroll_wheel_screen_year_wheel_properties = { 9, /* total rows */ 7, /* selected row */ 45, /* row height */ 240, /* start alpha */ 0, /* end alpha */ GX_FONT_ID_MAIN_DISPLAY_NORMAL_FONT, /* normal font id */ GX_FONT_ID_MAIN_DISPLAY_SELECTED_FONT, /* selected font id */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* normal text color id */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* selected text color id */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* disabled text color id */ 0, /* wallpaper id */ GX_PIXELMAP_ID_MAIN_DISPLAY_FILL, /* selected background */ GX_NULL, /* format callback */ 1980, /* start val */ 2020, /* end val */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_scroll_wheel_screen_button_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_50, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_CHAR MAIN_DISPLAY_scroll_wheel_screen_text_input_buffer[3]; GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES MAIN_DISPLAY_scroll_wheel_screen_text_input_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_51, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_BLACK, /* disabled text color */ GX_COLOR_ID_READONLY_FILL, /* readonly fill color */ GX_COLOR_ID_READONLY_TEXT, /* readonly text color */ MAIN_DISPLAY_scroll_wheel_screen_text_input_buffer, /* buffer */ 3, /* buffer size */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_scroll_wheel_screen_text_input_define = { "text_input", GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* widget type */ ID_DAY_INPUT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RECESSED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_RIGHT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SINGLE_LINE_TEXT_INPUT), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_text_input_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {47, 399, 84, 432}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &MAIN_DISPLAY_scroll_wheel_screen_text_input_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_scroll_wheel_screen_button_define = { "button", GX_TYPE_TEXT_BUTTON, /* widget type */ ID_DAY_SELECT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {93, 400, 174, 433}, /* widget size */ &MAIN_DISPLAY_scroll_wheel_screen_text_input_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &MAIN_DISPLAY_scroll_wheel_screen_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_scroll_wheel_screen_year_wheel_define = { "year_wheel", GX_TYPE_NUMERIC_SCROLL_WHEEL, /* widget type */ ID_YEAR_WHEEL, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_WRAP|GX_STYLE_TEXT_SCROLL_WHEEL_ROUND|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_NUMERIC_SCROLL_WHEEL), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_numeric_scroll_wheel_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {380, 117, 524, 352}, /* widget size */ &MAIN_DISPLAY_scroll_wheel_screen_button_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &MAIN_DISPLAY_scroll_wheel_screen_year_wheel_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_scroll_wheel_screen_month_wheel_define = { "month_wheel", GX_TYPE_STRING_SCROLL_WHEEL, /* widget type */ ID_MONTH_WHEEL, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_SCROLL_WHEEL_ROUND|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_STRING_SCROLL_WHEEL), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_string_scroll_wheel_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {210, 117, 379, 352}, /* widget size */ &MAIN_DISPLAY_scroll_wheel_screen_year_wheel_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &MAIN_DISPLAY_scroll_wheel_screen_month_wheel_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_scroll_wheel_screen_day_wheel_define = { "day_wheel", GX_TYPE_NUMERIC_SCROLL_WHEEL, /* widget type */ ID_DAY_WHEEL, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_WRAP|GX_STYLE_TEXT_SCROLL_WHEEL_ROUND|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_NUMERIC_SCROLL_WHEEL), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_numeric_scroll_wheel_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {100, 117, 209, 352}, /* widget size */ &MAIN_DISPLAY_scroll_wheel_screen_month_wheel_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &MAIN_DISPLAY_scroll_wheel_screen_day_wheel_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_scroll_wheel_screen_prompt_define = { "prompt", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER, /* style flags */ 0, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {223, 53, 384, 70}, /* widget size */ &MAIN_DISPLAY_scroll_wheel_screen_day_wheel_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &MAIN_DISPLAY_scroll_wheel_screen_prompt_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_scroll_wheel_screen_next_button_6_define = { "next_button_6", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {493, 405, 572, 429}, /* widget size */ &MAIN_DISPLAY_scroll_wheel_screen_prompt_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &MAIN_DISPLAY_scroll_wheel_screen_next_button_6_properties /* extended properties */ }; GX_STUDIO_ACTION MAIN_DISPLAY_scroll_wheel_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &MAIN_DISPLAY_root_window, &MAIN_DISPLAY_menu_screen, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_MAIN_DISPLAY_scroll_wheel_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, MAIN_DISPLAY_scroll_wheel_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS MAIN_DISPLAY_scroll_wheel_screen_event_chain = {gx_studio_MAIN_DISPLAY_scroll_wheel_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))scroll_wheel_screen_event_handler}; static UINT gx_studio_MAIN_DISPLAY_scroll_wheel_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &MAIN_DISPLAY_scroll_wheel_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_scroll_wheel_screen_define = { "MAIN_DISPLAY_scroll_wheel_screen", GX_TYPE_WINDOW, /* widget type */ ID_SCROLL_WHEEL_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THICK|GX_STYLE_DYNAMICALLY_ALLOCATED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_SCROLL_WHEEL_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_MAIN_DISPLAY_scroll_wheel_screen_event_process, /* event function override */ {30, 30, 609, 449}, /* widget size */ GX_NULL, /* next widget */ &MAIN_DISPLAY_scroll_wheel_screen_next_button_6_define, /* child widget */ 0, /* control block */ (void *) &MAIN_DISPLAY_scroll_wheel_screen_properties /* extended properties */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_gauge_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_gauge_screen_prompt_6_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_44, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_gauge_screen_next_button_4_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */ }; GX_CIRCULAR_GAUGE_PROPERTIES MAIN_DISPLAY_gauge_screen_gauge_1_properties = { 0, /* start angle */ 30, /* animation steps */ 1, /* animation delay */ 140, /* needle xpos */ 140, /* needle yos */ 20, /* needle xcor */ 88, /* needle ycor */ GX_PIXELMAP_ID_MAIN_DISPLAY_GUAGEMETER, /* normal pixelmap id */ 0, /* selected pixelmap id */ GX_PIXELMAP_ID_MAIN_DISPLAY_NEEDLE /* needle pixelmap id */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_gauge_screen_gauge_1_define = { "gauge_1", GX_TYPE_CIRCULAR_GAUGE, /* widget type */ ID_GAUGE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_CIRCULAR_GAUGE), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_circular_gauge_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {167, 80, 446, 359}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_GAUGE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_gauge_screen_gauge_1), /* control block */ (void *) &MAIN_DISPLAY_gauge_screen_gauge_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_gauge_screen_next_button_4_define = { "next_button_4", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {515, 411, 594, 435}, /* widget size */ &MAIN_DISPLAY_gauge_screen_gauge_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_GAUGE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_gauge_screen_next_button_4), /* control block */ (void *) &MAIN_DISPLAY_gauge_screen_next_button_4_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_gauge_screen_prompt_6_define = { "prompt_6", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ 0, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ (VOID (*)(GX_WIDGET *)) gauge_prompt_draw, /* drawing function override */ GX_NULL, /* event function override */ {256, 380, 365, 397}, /* widget size */ &MAIN_DISPLAY_gauge_screen_next_button_4_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_GAUGE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_gauge_screen_prompt_6), /* control block */ (void *) &MAIN_DISPLAY_gauge_screen_prompt_6_properties /* extended properties */ }; GX_STUDIO_ACTION MAIN_DISPLAY_gauge_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &MAIN_DISPLAY_root_window, &MAIN_DISPLAY_sprite_screen, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_MAIN_DISPLAY_gauge_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, MAIN_DISPLAY_gauge_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS MAIN_DISPLAY_gauge_screen_event_chain = {gx_studio_MAIN_DISPLAY_gauge_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gauge_event_handle}; static UINT gx_studio_MAIN_DISPLAY_gauge_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &MAIN_DISPLAY_gauge_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_gauge_screen_define = { "MAIN_DISPLAY_gauge_screen", GX_TYPE_WINDOW, /* widget type */ ID_GAUGE_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THICK, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_GAUGE_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_MAIN_DISPLAY_gauge_screen_event_process, /* event function override */ {33, 28, 608, 448}, /* widget size */ GX_NULL, /* next widget */ &MAIN_DISPLAY_gauge_screen_prompt_6_define, /* child widget */ 0, /* control block */ (void *) &MAIN_DISPLAY_gauge_screen_properties /* extended properties */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_text_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_text_screen_prompt_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_24, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_text_screen_prompt_2_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_29, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_text_screen_prompt_3_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_27, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PIXELMAP_PROMPT_PROPERTIES MAIN_DISPLAY_text_screen_prompt_4_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_30, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT, /* disabled text color */ GX_PIXELMAP_ID_MAIN_DISPLAY_TFIELD_LEFT_SMALL, /* left pixelmap id */ GX_PIXELMAP_ID_MAIN_DISPLAY_TFIELD_FILL_SMALL, /* fill pixelmap id */ GX_PIXELMAP_ID_MAIN_DISPLAY_TFIELD_RIGHT_SMALL, /* right pixelmap id */ 0, /* selected left pixelmap id */ 0, /* selected fill pixelmap id */ 0 /* selected right pixelmap id */ }; GX_CHAR MAIN_DISPLAY_text_screen_text_input_1_buffer[100]; GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES MAIN_DISPLAY_text_screen_text_input_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_34, /* string id */ GX_FONT_ID_TEXT_INPUT, /* font id */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* selected text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* disabled text color */ GX_COLOR_ID_READONLY_FILL, /* readonly fill color */ GX_COLOR_ID_READONLY_TEXT, /* readonly text color */ MAIN_DISPLAY_text_screen_text_input_1_buffer, /* buffer */ 100, /* buffer size */ }; GX_ML_TEXT_VIEW_PROPERTIES MAIN_DISPLAY_text_screen_text_view_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_31, /* string id */ GX_FONT_ID_TEXT_INPUT, /* font id */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* selected text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* disabled text color */ 0, /* whitespace */ 0 /* line_space */ }; GX_CHAR MAIN_DISPLAY_text_screen_text_input_2_buffer[200]; GX_MULTI_LINE_TEXT_INPUT_PROPERTIES MAIN_DISPLAY_text_screen_text_input_2_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_33, /* string id */ GX_FONT_ID_TEXT_INPUT, /* font id */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* selected text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* disabled text color */ GX_COLOR_ID_READONLY_FILL, /* readonly fill color */ GX_COLOR_ID_READONLY_TEXT, /* readonly text color */ 0, /* whitespace */ 0, /* line_space */ MAIN_DISPLAY_text_screen_text_input_2_buffer, /* buffer */ 200 /* buffer size */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_text_screen_next_button_2_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */ }; GX_NUMERIC_PROMPT_PROPERTIES MAIN_DISPLAY_text_screen_numeric_prompt_properties = { 0, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_BLUE, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_BLUE, /* disabled text color */ format_func, /* format function */ 0 /* numeric prompt value */ }; GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES MAIN_DISPLAY_text_screen_numeric_pixelmap_prompt_properties = { 0, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT, /* disabled text color */ GX_PIXELMAP_ID_MAIN_DISPLAY_BUTTON_DISABLED, /* left pixelmap id */ 0, /* fill pixelmap id */ 0, /* right pixelmap id */ 0, /* selected left pixelmap id */ 0, /* selected fill pixelmap id */ 0, /* selected right pixelmap id */ numeric_pixelmap_format_func, /* format function */ 0 /* numeric prompt value */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_numeric_pixelmap_prompt_define = { "numeric_pixelmap_prompt", GX_TYPE_NUMERIC_PIXELMAP_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ 0, /* status flags */ sizeof(GX_NUMERIC_PIXELMAP_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_numeric_pixelmap_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {403, 131, 540, 209}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_text_screen_numeric_pixelmap_prompt), /* control block */ (void *) &MAIN_DISPLAY_text_screen_numeric_pixelmap_prompt_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_numeric_prompt_define = { "numeric_prompt", GX_TYPE_NUMERIC_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_RIGHT, /* style flags */ 0, /* status flags */ sizeof(GX_NUMERIC_PROMPT), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_ORANGE, /* disabled color id */ gx_studio_numeric_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {448, 32, 567, 55}, /* widget size */ &MAIN_DISPLAY_text_screen_numeric_pixelmap_prompt_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_text_screen_numeric_prompt), /* control block */ (void *) &MAIN_DISPLAY_text_screen_numeric_prompt_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_next_button_2_define = { "next_button_2", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {496, 414, 575, 438}, /* widget size */ &MAIN_DISPLAY_text_screen_numeric_prompt_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_text_screen_next_button_2), /* control block */ (void *) &MAIN_DISPLAY_text_screen_next_button_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_text_input_2_define = { "text_input_2", GX_TYPE_MULTI_LINE_TEXT_INPUT, /* widget type */ ID_ML_INPUT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_MULTI_LINE_TEXT_INPUT), /* control block size */ GX_COLOR_ID_TEXT_INPUT_FILL, /* normal color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* selected color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* disabled color id */ gx_studio_multi_line_text_input_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {321, 242, 572, 394}, /* widget size */ &MAIN_DISPLAY_text_screen_next_button_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_text_screen_text_input_2), /* control block */ (void *) &MAIN_DISPLAY_text_screen_text_input_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_text_view_1_define = { "text_view_1", GX_TYPE_MULTI_LINE_TEXT_VIEW, /* widget type */ ID_ML_VIEW, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_MULTI_LINE_TEXT_VIEW), /* control block size */ GX_COLOR_ID_TEXT_INPUT_FILL, /* normal color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* selected color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* disabled color id */ gx_studio_multi_line_text_view_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 242, 306, 394}, /* widget size */ &MAIN_DISPLAY_text_screen_text_input_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_text_screen_text_view_1), /* control block */ (void *) &MAIN_DISPLAY_text_screen_text_view_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_text_input_1_define = { "text_input_1", GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* widget type */ ID_SL_INPUT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RECESSED|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SINGLE_LINE_TEXT_INPUT), /* control block size */ GX_COLOR_ID_TEXT_INPUT_FILL, /* normal color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* selected color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* disabled color id */ gx_studio_text_input_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 196, 363, 231}, /* widget size */ &MAIN_DISPLAY_text_screen_text_view_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_text_screen_text_input_1), /* control block */ (void *) &MAIN_DISPLAY_text_screen_text_input_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_prompt_4_define = { "prompt_4", GX_TYPE_PIXELMAP_PROMPT, /* widget type */ ID_PROMPT_4, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PIXELMAP_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_pixelmap_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 151, 363, 186}, /* widget size */ &MAIN_DISPLAY_text_screen_text_input_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_text_screen_prompt_4), /* control block */ (void *) &MAIN_DISPLAY_text_screen_prompt_4_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_prompt_3_define = { "prompt_3", GX_TYPE_PROMPT, /* widget type */ ID_PROMPT_3, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 64, 363, 88}, /* widget size */ &MAIN_DISPLAY_text_screen_prompt_4_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_text_screen_prompt_3), /* control block */ (void *) &MAIN_DISPLAY_text_screen_prompt_3_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_prompt_2_define = { "prompt_2", GX_TYPE_PROMPT, /* widget type */ ID_PROMPT_2, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THICK|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 98, 363, 141}, /* widget size */ &MAIN_DISPLAY_text_screen_prompt_3_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_text_screen_prompt_2), /* control block */ (void *) &MAIN_DISPLAY_text_screen_prompt_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_prompt_1_define = { "prompt_1", GX_TYPE_PROMPT, /* widget type */ ID_PROMPT_1, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 31, 363, 54}, /* widget size */ &MAIN_DISPLAY_text_screen_prompt_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_text_screen_prompt_1), /* control block */ (void *) &MAIN_DISPLAY_text_screen_prompt_1_properties /* extended properties */ }; GX_STUDIO_ACTION MAIN_DISPLAY_text_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &MAIN_DISPLAY_root_window, &MAIN_DISPLAY_gauge_screen, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_MAIN_DISPLAY_text_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, MAIN_DISPLAY_text_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS MAIN_DISPLAY_text_screen_event_chain = {gx_studio_MAIN_DISPLAY_text_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))text_screen_event_handler}; static UINT gx_studio_MAIN_DISPLAY_text_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &MAIN_DISPLAY_text_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_text_screen_define = { "MAIN_DISPLAY_text_screen", GX_TYPE_WINDOW, /* widget type */ ID_TEXT_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_TEXT_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_MAIN_DISPLAY_text_screen_event_process, /* event function override */ {39, 25, 582, 443}, /* widget size */ GX_NULL, /* next widget */ &MAIN_DISPLAY_text_screen_prompt_1_define, /* child widget */ 0, /* control block */ (void *) &MAIN_DISPLAY_text_screen_properties /* extended properties */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_button_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_button_screen_title_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_1, /* string id */ GX_FONT_ID_MAIN_DISPLAY_CJK, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_button_screen_text_button_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_4, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_CHECKBOX_PROPERTIES MAIN_DISPLAY_button_screen_checkbox_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_3, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT, /* disabled text color */ 0, /* unchecked pixelmap id */ 0, /* checked pixelmap id */ 0, /* unchecked disabled pixelmap id */ 0 /* checked disabled pixelmap id */ }; GX_RADIO_BUTTON_PROPERTIES MAIN_DISPLAY_button_screen_radio_button1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_9, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT, /* disabled text color */ 0, /* off pixelmap id */ 0, /* on pixelmap id */ 0, /* off disabled pixelmap id */ 0 /* on disabled pixelmap id */ }; GX_PIXELMAP_BUTTON_PROPERTIES MAIN_DISPLAY_button_screen_pixelmap_button1_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_ORANGE_BUTTON, /* normal pixelmap id */ GX_PIXELMAP_ID_MAIN_DISPLAY_ORANGE_BUTTON_PRESSED, /* selected pixelmap id */ GX_PIXELMAP_ID_MAIN_DISPLAY_BUTTON_DISABLED /* disabled pixelmap id */ }; GX_ICON_PROPERTIES MAIN_DISPLAY_button_screen_icon_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_I_HISTORY_LG, /* normal pixelmap id */ 0 /* selected pixelmap id */ }; GX_ICON_BUTTON_PROPERTIES MAIN_DISPLAY_button_screen_icon_button_6_properties = { GX_PIXELMAP_ID_MAIN_DISPLAY_SAVE_ICON /* pixelmap id */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_button_screen_button_label_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_10, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_button_screen_radio_label_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_13, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_button_screen_pixbutton_label_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_11, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_button_screen_texbutton_label_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_2, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_button_screen_checkbox_label_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_12, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_button_screen_iconbutton_label_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_14, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_button_screen_icon_label_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_15, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_button_screen_next_button_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */ }; GX_ML_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_button_screen_multi_line_button_1_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_39, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_button_screen_texbutton_label_2_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_40, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_NUMERIC_PROMPT_PROPERTIES MAIN_DISPLAY_button_screen_count_prompt_properties = { 0, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT, /* disabled text color */ GX_NULL, /* format function */ 0 /* numeric prompt value */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_count_prompt_define = { "count_prompt", GX_TYPE_NUMERIC_PROMPT, /* widget type */ ID_COUNT_PROMPT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_NUMERIC_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_numeric_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {423, 102, 485, 125}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_count_prompt), /* control block */ (void *) &MAIN_DISPLAY_button_screen_count_prompt_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_texbutton_label_2_define = { "texbutton_label_2", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {295, 195, 541, 218}, /* widget size */ &MAIN_DISPLAY_button_screen_count_prompt_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_texbutton_label_2), /* control block */ (void *) &MAIN_DISPLAY_button_screen_texbutton_label_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_multi_line_button_1_define = { "multi_line_button_1", GX_TYPE_MULTI_LINE_TEXT_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_MULTI_LINE_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_multi_line_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {117, 176, 252, 244}, /* widget size */ &MAIN_DISPLAY_button_screen_texbutton_label_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_multi_line_button_1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_multi_line_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_next_button_define = { "next_button", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {484, 441, 563, 465}, /* widget size */ &MAIN_DISPLAY_button_screen_multi_line_button_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_next_button), /* control block */ (void *) &MAIN_DISPLAY_button_screen_next_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_icon_label_1_define = { "icon_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {297, 421, 371, 444}, /* widget size */ &MAIN_DISPLAY_button_screen_next_button_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_icon_label_1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_icon_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_iconbutton_label_1_define = { "iconbutton_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {297, 385, 447, 408}, /* widget size */ &MAIN_DISPLAY_button_screen_icon_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_iconbutton_label_1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_iconbutton_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_checkbox_label_1_define = { "checkbox_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {297, 325, 417, 348}, /* widget size */ &MAIN_DISPLAY_button_screen_iconbutton_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_checkbox_label_1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_checkbox_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_texbutton_label_1_define = { "texbutton_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {297, 146, 444, 169}, /* widget size */ &MAIN_DISPLAY_button_screen_checkbox_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_texbutton_label_1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_texbutton_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_pixbutton_label_1_define = { "pixbutton_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {297, 271, 479, 294}, /* widget size */ &MAIN_DISPLAY_button_screen_texbutton_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_pixbutton_label_1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_pixbutton_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_radio_label_1_define = { "radio_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {297, 353, 452, 376}, /* widget size */ &MAIN_DISPLAY_button_screen_pixbutton_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_radio_label_1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_radio_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_button_label_1_define = { "button_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {297, 103, 396, 126}, /* widget size */ &MAIN_DISPLAY_button_screen_radio_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_button_label_1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_button_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_icon_button_6_define = { "icon_button_6", GX_TYPE_ICON_BUTTON, /* widget type */ ID_ICON_BUTTON, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_icon_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {229, 386, 252, 409}, /* widget size */ &MAIN_DISPLAY_button_screen_button_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_icon_button_6), /* control block */ (void *) &MAIN_DISPLAY_button_screen_icon_button_6_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_icon_define = { "icon", GX_TYPE_ICON, /* widget type */ ID_ICON, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_icon_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {221, 416, 258, 453}, /* widget size */ &MAIN_DISPLAY_button_screen_icon_button_6_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_icon), /* control block */ (void *) &MAIN_DISPLAY_button_screen_icon_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_pixelmap_button1_define = { "pixelmap_button1", GX_TYPE_PIXELMAP_BUTTON, /* widget type */ ID_PIXELMAP_BUTTON, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PIXELMAP_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_pixelmap_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {131, 251, 252, 313}, /* widget size */ &MAIN_DISPLAY_button_screen_icon_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_pixelmap_button1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_pixelmap_button1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_radio_button1_define = { "radio_button1", GX_TYPE_RADIO_BUTTON, /* widget type */ ID_RADIO_BUTTON, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_RADIO_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_radio_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {125, 356, 252, 379}, /* widget size */ &MAIN_DISPLAY_button_screen_pixelmap_button1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_radio_button1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_radio_button1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_checkbox_define = { "checkbox", GX_TYPE_CHECKBOX, /* widget type */ ID_CHECKBOX, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_CHECKBOX), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_checkbox_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {150, 320, 252, 349}, /* widget size */ &MAIN_DISPLAY_button_screen_radio_button1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_checkbox), /* control block */ (void *) &MAIN_DISPLAY_button_screen_checkbox_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_text_button_1_define = { "text_button_1", GX_TYPE_TEXT_BUTTON, /* widget type */ ID_TEXT_BUTTON, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {117, 140, 252, 169}, /* widget size */ &MAIN_DISPLAY_button_screen_checkbox_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_text_button_1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_text_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_base_button_1_define = { "base_button_1", GX_TYPE_BUTTON, /* widget type */ ID_BUTTON, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_BUTTON_REPEAT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {117, 100, 252, 133}, /* widget size */ &MAIN_DISPLAY_button_screen_text_button_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_base_button_1), /* control block */ (void *) GX_NULL /* no extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_title_1_define = { "title_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THICK|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {179, 30, 442, 71}, /* widget size */ &MAIN_DISPLAY_button_screen_base_button_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_button_screen_title_1), /* control block */ (void *) &MAIN_DISPLAY_button_screen_title_1_properties /* extended properties */ }; GX_STUDIO_ACTION MAIN_DISPLAY_button_screen__id_text_button_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_WINDOW_EXECUTE, GX_ACTION_FLAG_DYNAMIC_TARGET, &MAIN_DISPLAY_root_window, &MAIN_DISPLAY_popup_modal_derived_derived_define, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; GX_STUDIO_ACTION MAIN_DISPLAY_button_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &MAIN_DISPLAY_root_window, &MAIN_DISPLAY_window_screen, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_MAIN_DISPLAY_button_screen_event_table[] = { {GX_SIGNAL(ID_TEXT_BUTTON, GX_EVENT_CLICKED), 0, MAIN_DISPLAY_button_screen__id_text_button_gx_event_clicked_actions}, {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, MAIN_DISPLAY_button_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS MAIN_DISPLAY_button_screen_event_chain = {gx_studio_MAIN_DISPLAY_button_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))buttons_handler}; static UINT gx_studio_MAIN_DISPLAY_button_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &MAIN_DISPLAY_button_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_button_screen_define = { "MAIN_DISPLAY_button_screen", GX_TYPE_WINDOW, /* widget type */ ID_BUTTON_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THICK, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_BUTTON_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_MAIN_DISPLAY_button_screen_event_process, /* event function override */ {73, 7, 575, 475}, /* widget size */ GX_NULL, /* next widget */ &MAIN_DISPLAY_button_screen_title_1_define, /* child widget */ 0, /* control block */ (void *) &MAIN_DISPLAY_button_screen_properties /* extended properties */ }; GX_TEMPLATE_PROPERTIES MAIN_DISPLAY_base_derived_1_properties = { &MAIN_DISPLAY_base_define, /* base info */ gx_studio_window_create, /* base create function */ {93, 146, 546, 333} /* widget size */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_base_derived_1_prompt_15_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_101, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_DISABLED_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_base_derived_1_next_button_7_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_base_derived_1_next_button_7_define = { "next_button_7", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {447, 294, 526, 318}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BASE_DERIVED_1_CONTROL_BLOCK, MAIN_DISPLAY_base_derived_1_next_button_7), /* control block */ (void *) &MAIN_DISPLAY_base_derived_1_next_button_7_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_base_derived_1_prompt_15_define = { "prompt_15", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ 0, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {100, 179, 304, 200}, /* widget size */ &MAIN_DISPLAY_base_derived_1_next_button_7_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_BASE_DERIVED_1_CONTROL_BLOCK, MAIN_DISPLAY_base_derived_1_prompt_15), /* control block */ (void *) &MAIN_DISPLAY_base_derived_1_prompt_15_properties /* extended properties */ }; GX_STUDIO_ACTION MAIN_DISPLAY_base_derived_1__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &MAIN_DISPLAY_root_window, &MAIN_DISPLAY_popup_modal_derived_1, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_MAIN_DISPLAY_base_derived_1_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, MAIN_DISPLAY_base_derived_1__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS MAIN_DISPLAY_base_derived_1_event_chain = {gx_studio_MAIN_DISPLAY_base_derived_1_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process}; static UINT gx_studio_MAIN_DISPLAY_base_derived_1_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &MAIN_DISPLAY_base_derived_1_event_chain)); } GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_base_derived_1_define = { "MAIN_DISPLAY_base_derived_1", GX_TYPE_TEMPLATE, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_BASE_DERIVED_1_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_template_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_MAIN_DISPLAY_base_derived_1_event_process, /* event function override */ {93, 146, 546, 333}, /* widget size */ GX_NULL, /* next widget */ &MAIN_DISPLAY_base_derived_1_prompt_15_define, /* child widget */ 0, /* control block */ (void *) &MAIN_DISPLAY_base_derived_1_properties /* extended properties */ }; GX_WINDOW_PROPERTIES MAIN_DISPLAY_child_template_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_TEMPLATE_PROPERTIES MAIN_DISPLAY_child_template_screen_base_derived_properties = { &MAIN_DISPLAY_base_define, /* base info */ gx_studio_window_create, /* base create function */ {34, 14, 487, 201} /* widget size */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_child_template_screen_prompt_13_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_96, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_DISABLED_TEXT /* disabled text color */ }; GX_TEMPLATE_PROPERTIES MAIN_DISPLAY_child_template_screen_base_derived_dynamic_properties = { &MAIN_DISPLAY_base_define, /* base info */ gx_studio_window_create, /* base create function */ {35, 215, 488, 402} /* widget size */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_child_template_screen_prompt_13_2_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_96, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_DISABLED_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES MAIN_DISPLAY_child_template_screen_prompt_13_3_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_95, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_DISABLED_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_child_template_screen_next_button_9_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_child_template_screen_prompt_13_define = { "prompt_13", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {116, 88, 406, 105}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_CHILD_TEMPLATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_child_template_screen_prompt_13), /* control block */ (void *) &MAIN_DISPLAY_child_template_screen_prompt_13_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_child_template_screen_prompt_13_3_define = { "prompt_13_3", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {113, 335, 237, 352}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &MAIN_DISPLAY_child_template_screen_prompt_13_3_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_child_template_screen_prompt_13_2_define = { "prompt_13_2", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {112, 287, 402, 304}, /* widget size */ &MAIN_DISPLAY_child_template_screen_prompt_13_3_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &MAIN_DISPLAY_child_template_screen_prompt_13_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_child_template_screen_next_button_9_define = { "next_button_9", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {535, 428, 614, 455}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_CHILD_TEMPLATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_child_template_screen_next_button_9), /* control block */ (void *) &MAIN_DISPLAY_child_template_screen_next_button_9_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_child_template_screen_base_derived_dynamic_define = { "base_derived_dynamic", GX_TYPE_TEMPLATE, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_BASE_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_template_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {35, 215, 488, 402}, /* widget size */ &MAIN_DISPLAY_child_template_screen_next_button_9_define, /* next widget definition */ &MAIN_DISPLAY_child_template_screen_prompt_13_2_define, /* child widget definition */ 0, /* runtime control block */ (void *) &MAIN_DISPLAY_child_template_screen_base_derived_dynamic_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_child_template_screen_base_derived_define = { "base_derived", GX_TYPE_TEMPLATE, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_BASE_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_template_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {34, 14, 487, 201}, /* widget size */ &MAIN_DISPLAY_child_template_screen_base_derived_dynamic_define, /* next widget definition */ &MAIN_DISPLAY_child_template_screen_prompt_13_define, /* child widget definition */ offsetof(MAIN_DISPLAY_CHILD_TEMPLATE_SCREEN_CONTROL_BLOCK, MAIN_DISPLAY_child_template_screen_base_derived), /* control block */ (void *) &MAIN_DISPLAY_child_template_screen_base_derived_properties /* extended properties */ }; GX_STUDIO_ACTION MAIN_DISPLAY_child_template_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &MAIN_DISPLAY_root_window, &MAIN_DISPLAY_base_derived_1, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_MAIN_DISPLAY_child_template_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, MAIN_DISPLAY_child_template_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS MAIN_DISPLAY_child_template_screen_event_chain = {gx_studio_MAIN_DISPLAY_child_template_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process}; static UINT gx_studio_MAIN_DISPLAY_child_template_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &MAIN_DISPLAY_child_template_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_child_template_screen_define = { "MAIN_DISPLAY_child_template_screen", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_CHILD_TEMPLATE_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_MAIN_DISPLAY_child_template_screen_event_process, /* event function override */ {0, 0, 639, 479}, /* widget size */ GX_NULL, /* next widget */ &MAIN_DISPLAY_child_template_screen_base_derived_define, /* child widget */ 0, /* control block */ (void *) &MAIN_DISPLAY_child_template_screen_properties /* extended properties */ }; GX_TEMPLATE_PROPERTIES MAIN_DISPLAY_popup_modal_derived_derived_1_properties = { &MAIN_DISPLAY_popup_modal_derived_define, /* base info */ gx_studio_template_create, /* base create function */ {160, 120, 479, 359} /* widget size */ }; GX_ML_TEXT_VIEW_PROPERTIES MAIN_DISPLAY_popup_modal_derived_derived_1_text_view_7_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_104, /* string id */ GX_FONT_ID_TEXT_INPUT, /* font id */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* selected text color */ GX_COLOR_ID_TEXT, /* disabled text color */ 0, /* whitespace */ 0 /* line_space */ }; GX_TEXT_BUTTON_PROPERTIES MAIN_DISPLAY_popup_modal_derived_derived_1_next_button_7_properties = { GX_STRING_ID_MAIN_DISPLAY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* normal text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE, /* selected text color */ GX_COLOR_ID_MAIN_DISPLAY_WHITE /* disabled text color */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_derived_derived_1_next_button_7_define = { "next_button_7", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_MAIN_DISPLAY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {366, 311, 445, 335}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_POPUP_MODAL_DERIVED_DERIVED_1_CONTROL_BLOCK, MAIN_DISPLAY_popup_modal_derived_derived_1_next_button_7), /* control block */ (void *) &MAIN_DISPLAY_popup_modal_derived_derived_1_next_button_7_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_derived_derived_1_text_view_7_define = { "text_view_7", GX_TYPE_MULTI_LINE_TEXT_VIEW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ 0, /* status flags */ sizeof(GX_MULTI_LINE_TEXT_VIEW), /* control block size */ GX_COLOR_ID_TEXT_INPUT_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_multi_line_text_view_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {186, 241, 434, 264}, /* widget size */ &MAIN_DISPLAY_popup_modal_derived_derived_1_next_button_7_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(MAIN_DISPLAY_POPUP_MODAL_DERIVED_DERIVED_1_CONTROL_BLOCK, MAIN_DISPLAY_popup_modal_derived_derived_1_text_view_7), /* control block */ (void *) &MAIN_DISPLAY_popup_modal_derived_derived_1_text_view_7_properties /* extended properties */ }; GX_STUDIO_ACTION MAIN_DISPLAY_popup_modal_derived_derived_1__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &MAIN_DISPLAY_root_window, &MAIN_DISPLAY_button_screen, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_MAIN_DISPLAY_popup_modal_derived_derived_1_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, MAIN_DISPLAY_popup_modal_derived_derived_1__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS MAIN_DISPLAY_popup_modal_derived_derived_1_event_chain = {gx_studio_MAIN_DISPLAY_popup_modal_derived_derived_1_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process}; static UINT gx_studio_MAIN_DISPLAY_popup_modal_derived_derived_1_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &MAIN_DISPLAY_popup_modal_derived_derived_1_event_chain)); } GX_CONST GX_STUDIO_WIDGET MAIN_DISPLAY_popup_modal_derived_derived_1_define = { "MAIN_DISPLAY_popup_modal_derived_derived_1", GX_TYPE_TEMPLATE, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(MAIN_DISPLAY_POPUP_MODAL_DERIVED_DERIVED_1_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_template_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_MAIN_DISPLAY_popup_modal_derived_derived_1_event_process, /* event function override */ {160, 120, 479, 359}, /* widget size */ GX_NULL, /* next widget */ &MAIN_DISPLAY_popup_modal_derived_derived_1_text_view_7_define, /* child widget */ 0, /* control block */ (void *) &MAIN_DISPLAY_popup_modal_derived_derived_1_properties /* extended properties */ }; GX_WINDOW_PROPERTIES SECONDARY_popup_modal_properties = { 0 /* wallpaper pixelmap id */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_popup_modal_OK_button_properties = { GX_STRING_ID_SECONDARY_STRING_41, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_popup_modal_cancel_button_properties = { GX_STRING_ID_SECONDARY_STRING_42, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_ML_TEXT_VIEW_PROPERTIES SECONDARY_popup_modal_text_view_2_properties = { GX_STRING_ID_SECONDARY_STRING_43, /* string id */ GX_FONT_ID_TEXT_INPUT, /* font id */ GX_COLOR_ID_SECONDARY_BLACK, /* normal text color */ GX_COLOR_ID_SECONDARY_BLACK, /* selected text color */ GX_COLOR_ID_SECONDARY_BLACK, /* disabled text color */ 0, /* whitespace */ 0 /* line_space */ }; GX_WINDOW_PROPERTIES SECONDARY_popup_modal_window_1_properties = { GX_PIXELMAP_ID_SECONDARY_TOP_BAR_BACKGROUND /* wallpaper pixelmap id */ }; GX_PROMPT_PROPERTIES SECONDARY_popup_modal_prompt_5_properties = { GX_STRING_ID_SECONDARY_STRING_45, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_SECONDARY_WHITE, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_SECONDARY_WHITE /* disabled text color */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_prompt_5_define = { "prompt_5", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {277, 125, 356, 148}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_POPUP_MODAL_CONTROL_BLOCK, SECONDARY_popup_modal_prompt_5), /* control block */ (void *) &SECONDARY_popup_modal_prompt_5_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_window_1_define = { "window_1", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TILE_WALLPAPER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {157, 121, 476, 153}, /* widget size */ GX_NULL, /* no next widget */ &SECONDARY_popup_modal_prompt_5_define, /* child widget definition */ offsetof(SECONDARY_POPUP_MODAL_CONTROL_BLOCK, SECONDARY_popup_modal_window_1), /* control block */ (void *) &SECONDARY_popup_modal_window_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_text_view_2_define = { "text_view_2", GX_TYPE_MULTI_LINE_TEXT_VIEW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_DRAW_SELECTED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_MULTI_LINE_TEXT_VIEW), /* control block size */ GX_COLOR_ID_CANVAS, /* normal color id */ GX_COLOR_ID_CANVAS, /* selected color id */ GX_COLOR_ID_CANVAS, /* disabled color id */ gx_studio_multi_line_text_view_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {172, 176, 464, 293}, /* widget size */ &SECONDARY_popup_modal_window_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_POPUP_MODAL_CONTROL_BLOCK, SECONDARY_popup_modal_text_view_2), /* control block */ (void *) &SECONDARY_popup_modal_text_view_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_cancel_button_define = { "cancel_button", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_CANCEL, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 20, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {200, 309, 279, 343}, /* widget size */ &SECONDARY_popup_modal_text_view_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_POPUP_MODAL_CONTROL_BLOCK, SECONDARY_popup_modal_cancel_button), /* control block */ (void *) &SECONDARY_popup_modal_cancel_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_OK_button_define = { "OK_button", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_OK, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {364, 309, 443, 343}, /* widget size */ &SECONDARY_popup_modal_cancel_button_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_POPUP_MODAL_CONTROL_BLOCK, SECONDARY_popup_modal_OK_button), /* control block */ (void *) &SECONDARY_popup_modal_OK_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_define = { "SECONDARY_popup_modal", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(SECONDARY_POPUP_MODAL_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {160, 120, 479, 359}, /* widget size */ GX_NULL, /* next widget */ &SECONDARY_popup_modal_OK_button_define, /* child widget */ 0, /* control block */ (void *) &SECONDARY_popup_modal_properties /* extended properties */ }; GX_TEMPLATE_PROPERTIES SECONDARY_popup_modal_derived_properties = { &SECONDARY_popup_modal_define, /* base info */ gx_studio_window_create, /* base create function */ {160, 120, 479, 359} /* widget size */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_derived_define = { "SECONDARY_popup_modal_derived", GX_TYPE_TEMPLATE, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(SECONDARY_POPUP_MODAL_DERIVED_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_template_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {160, 120, 479, 359}, /* widget size */ GX_NULL, /* next widget */ GX_NULL, /* child widget */ 0, /* control block */ (void *) &SECONDARY_popup_modal_derived_properties /* extended properties */ }; GX_WINDOW_PROPERTIES SECONDARY_indicator_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_SLIDER_PROPERTIES SECONDARY_indicator_screen_slider_properties = { 9, /* tickmark count */ 0, /* mimimun value */ 100, /* maximum value */ 50, /* current value */ 10, /* increment */ 10, /* minimum travel */ 10, /* maximum travel */ 5, /* needle width */ 20, /* needle height */ 5, /* needle inset */ 2 /* needle hotspot */ }; GX_SLIDER_PROPERTIES SECONDARY_indicator_screen_slider_1_properties = { 9, /* tickmark count */ 0, /* mimimun value */ 100, /* maximum value */ 50, /* current value */ 10, /* increment */ 10, /* minimum travel */ 10, /* maximum travel */ 20, /* needle width */ 5, /* needle height */ 5, /* needle inset */ 2 /* needle hotspot */ }; GX_PIXELMAP_SLIDER_PROPERTIES SECONDARY_indicator_screen_pixelmap_slider_properties = { 0, /* minimum value */ 100, /* maximum value */ 50, /* current value */ 10, /* increment */ 10, /* minimum travel */ 10, /* maximum travel */ 20, /* needle width */ 5, /* needle height */ 0, /* needle inset */ 10, /* needle hotspot */ GX_PIXELMAP_ID_SECONDARY_HORIZONTAL_FILL_BKGND, /* lower pixelmap id */ 0, /* upper pixelmap id */ GX_PIXELMAP_ID_SECONDARY_I_INDICATOR_HORIZONTAL /* needle pixelmap id */ }; GX_PIXELMAP_SLIDER_PROPERTIES SECONDARY_indicator_screen_pixelmap_slider_1_properties = { 0, /* minimum value */ 100, /* maximum value */ 50, /* current value */ 10, /* increment */ 10, /* minimum travel */ 10, /* maximum travel */ 0, /* needle width */ 0, /* needle height */ -2, /* needle inset */ 10, /* needle hotspot */ GX_PIXELMAP_ID_SECONDARY_I_ORANGEFILL_MIDDLE, /* lower pixelmap id */ GX_PIXELMAP_ID_SECONDARY_I_EMPTYFILL_MIDDLE, /* upper pixelmap id */ GX_PIXELMAP_ID_SECONDARY_I_INDICATOR /* needle pixelmap id */ }; GX_ICON_PROPERTIES SECONDARY_indicator_screen_icon_1_properties = { GX_PIXELMAP_ID_SECONDARY_I_EMPTYFILL_TOP, /* normal pixelmap id */ 0 /* selected pixelmap id */ }; GX_ICON_PROPERTIES SECONDARY_indicator_screen_icon_2_properties = { GX_PIXELMAP_ID_SECONDARY_I_ORANGEFILL_BOTTOM, /* normal pixelmap id */ 0 /* selected pixelmap id */ }; GX_PROMPT_PROPERTIES SECONDARY_indicator_screen_slider_title_properties = { GX_STRING_ID_SECONDARY_STRING_38, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_indicator_screen_next_button_3_properties = { GX_STRING_ID_SECONDARY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_SECONDARY_WHITE, /* normal text color */ GX_COLOR_ID_SECONDARY_WHITE, /* selected text color */ GX_COLOR_ID_SECONDARY_WHITE /* disabled text color */ }; GX_PROGRESS_BAR_INFO SECONDARY_indicator_screen_progress_bar_1_properties = { 0, /* mimimun value */ 100, /* maximum value */ 50, /* current value */ GX_FONT_ID_SYSTEM, /* font_id */ GX_COLOR_ID_SHINE, /* normal text color */ GX_COLOR_ID_SHINE, /* selected text color */ GX_COLOR_ID_SHINE, /* disabled text color */ 0 /* fill pixelmap */ }; GX_PIXELMAP_SLIDER_PROPERTIES SECONDARY_indicator_screen_pixelmap_slider_2_properties = { 0, /* minimum value */ 100, /* maximum value */ 80, /* current value */ 10, /* increment */ 10, /* minimum travel */ 10, /* maximum travel */ 0, /* needle width */ 20, /* needle height */ 4, /* needle inset */ 10, /* needle hotspot */ GX_PIXELMAP_ID_SECONDARY_I_ORANGEFILL_MIDDLE_HORIZONTAL, /* lower pixelmap id */ GX_PIXELMAP_ID_SECONDARY_I_EMPTYFILL_MIDDLE_HORIZONTAL, /* upper pixelmap id */ GX_PIXELMAP_ID_SECONDARY_I_INDICATOR_HORIZONTAL /* needle pixelmap id */ }; GX_RADIAL_PROGRESS_BAR_INFO SECONDARY_indicator_screen_radial_progress_bar_properties = { 414, /* xcenter */ 311, /* ycenter */ 23, /* radius */ -80, /* current val */ 90, /* anchor val */ GX_FONT_ID_SYSTEM, /* font_id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT, /* disabled text color */ 8, /* normal brush width */ 8, /* selected brush width */ GX_COLOR_ID_SLIDER_NEEDLE_FILL, /* normal brush color */ GX_COLOR_ID_SELECTED_FILL, /* selected brush color */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_radial_progress_bar_define = { "radial_progress_bar", GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_PROGRESS_PERCENT|GX_STYLE_PROGRESS_TEXT_DRAW|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */ 0, /* status flags */ sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_radial_progress_bar_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {387, 284, 441, 338}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_indicator_screen_radial_progress_bar_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_pixelmap_slider_2_define = { "pixelmap_slider_2", GX_TYPE_PIXELMAP_SLIDER, /* widget type */ ID_PIXELMAP_SLIDER1, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TILE_BACKGROUND, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PIXELMAP_SLIDER), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_WIDGET_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_pixelmap_slider_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {171, 289, 331, 326}, /* widget size */ &SECONDARY_indicator_screen_radial_progress_bar_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_indicator_screen_pixelmap_slider_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_progress_bar_1_define = { "progress_bar_1", GX_TYPE_PROGRESS_BAR, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_PROGRESS_PERCENT|GX_STYLE_PROGRESS_TEXT_DRAW, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROGRESS_BAR), /* control block size */ GX_COLOR_ID_SHADOW, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_SHADOW, /* disabled color id */ gx_studio_progress_bar_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {276, 225, 441, 263}, /* widget size */ &SECONDARY_indicator_screen_pixelmap_slider_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_indicator_screen_progress_bar_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_next_button_3_define = { "next_button_3", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {375, 351, 454, 378}, /* widget size */ &SECONDARY_indicator_screen_progress_bar_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_indicator_screen_next_button_3_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_slider_title_define = { "slider_title", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {235, 68, 372, 91}, /* widget size */ &SECONDARY_indicator_screen_next_button_3_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_indicator_screen_slider_title_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_icon_2_define = { "icon_2", GX_TYPE_ICON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_icon_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {163, 262, 184, 271}, /* widget size */ &SECONDARY_indicator_screen_slider_title_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_indicator_screen_icon_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_icon_1_define = { "icon_1", GX_TYPE_ICON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_icon_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {163, 134, 184, 143}, /* widget size */ &SECONDARY_indicator_screen_icon_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_indicator_screen_icon_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_pixelmap_slider_1_define = { "pixelmap_slider_1", GX_TYPE_PIXELMAP_SLIDER, /* widget type */ ID_PIXELMAP_SLIDER1, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_SLIDER_VERTICAL|GX_STYLE_TILE_BACKGROUND, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PIXELMAP_SLIDER), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_WIDGET_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_pixelmap_slider_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {160, 144, 188, 264}, /* widget size */ &SECONDARY_indicator_screen_icon_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_indicator_screen_pixelmap_slider_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_pixelmap_slider_define = { "pixelmap_slider", GX_TYPE_PIXELMAP_SLIDER, /* widget type */ ID_PIXELMAP_SLIDER_H, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PIXELMAP_SLIDER), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_LOWER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_pixelmap_slider_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {283, 185, 426, 206}, /* widget size */ &SECONDARY_indicator_screen_pixelmap_slider_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_indicator_screen_pixelmap_slider_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_slider_1_define = { "slider_1", GX_TYPE_SLIDER, /* widget type */ ID_SLIDER_1, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RECESSED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_SHOW_NEEDLE|GX_STYLE_SHOW_TICKMARKS|GX_STYLE_SLIDER_VERTICAL, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SLIDER), /* control block size */ GX_COLOR_ID_BTN_UPPER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_UPPER, /* disabled color id */ gx_studio_slider_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {207, 133, 240, 272}, /* widget size */ &SECONDARY_indicator_screen_pixelmap_slider_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_indicator_screen_slider_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_slider_define = { "slider", GX_TYPE_SLIDER, /* widget type */ ID_SLIDER_HORIZONTAL, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_SHOW_NEEDLE|GX_STYLE_SHOW_TICKMARKS, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SLIDER), /* control block size */ GX_COLOR_ID_SECONDARY_ORANGE, /* normal color id */ GX_COLOR_ID_SECONDARY_ORANGE, /* selected color id */ GX_COLOR_ID_SECONDARY_ORANGE, /* disabled color id */ gx_studio_slider_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {263, 130, 446, 166}, /* widget size */ &SECONDARY_indicator_screen_slider_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_indicator_screen_slider_properties /* extended properties */ }; GX_STUDIO_ACTION SECONDARY_indicator_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &SECONDARY_root_window, &SECONDARY_button_screen, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_SECONDARY_indicator_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, SECONDARY_indicator_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS SECONDARY_indicator_screen_event_chain = {gx_studio_SECONDARY_indicator_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process}; static UINT gx_studio_SECONDARY_indicator_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &SECONDARY_indicator_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET SECONDARY_indicator_screen_define = { "SECONDARY_indicator_screen", GX_TYPE_WINDOW, /* widget type */ ID_INDICATOR_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_DYNAMICALLY_ALLOCATED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(SECONDARY_INDICATOR_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_SECONDARY_indicator_screen_event_process, /* event function override */ {146, 53, 465, 386}, /* widget size */ GX_NULL, /* next widget */ &SECONDARY_indicator_screen_slider_define, /* child widget */ 0, /* control block */ (void *) &SECONDARY_indicator_screen_properties /* extended properties */ }; GX_TEMPLATE_PROPERTIES SECONDARY_popup_modal_derived_derived_properties = { &SECONDARY_popup_modal_derived_define, /* base info */ gx_studio_template_create, /* base create function */ {160, 120, 479, 359} /* widget size */ }; GX_STUDIO_ACTION SECONDARY_popup_modal_derived_derived__idb_cancel_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_WINDOW_EXECUTE_STOP, GX_ACTION_FLAG_DYNAMIC_TARGET, &SECONDARY_root_window, &SECONDARY_popup_modal_derived_derived_define, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; GX_STUDIO_ACTION SECONDARY_popup_modal_derived_derived__idb_ok_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_WINDOW_EXECUTE_STOP, GX_ACTION_FLAG_DYNAMIC_TARGET, &SECONDARY_root_window, &SECONDARY_popup_modal_derived_derived_define, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_SECONDARY_popup_modal_derived_derived_event_table[] = { {GX_SIGNAL(IDB_CANCEL, GX_EVENT_CLICKED), 0, SECONDARY_popup_modal_derived_derived__idb_cancel_gx_event_clicked_actions}, {GX_SIGNAL(IDB_OK, GX_EVENT_CLICKED), 0, SECONDARY_popup_modal_derived_derived__idb_ok_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS SECONDARY_popup_modal_derived_derived_event_chain = {gx_studio_SECONDARY_popup_modal_derived_derived_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process}; static UINT gx_studio_SECONDARY_popup_modal_derived_derived_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &SECONDARY_popup_modal_derived_derived_event_chain)); } GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_derived_derived_define = { "SECONDARY_popup_modal_derived_derived", GX_TYPE_TEMPLATE, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(SECONDARY_POPUP_MODAL_DERIVED_DERIVED_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_DISABLED_FILL, /* disabled color id */ gx_studio_template_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_SECONDARY_popup_modal_derived_derived_event_process, /* event function override */ {160, 120, 479, 359}, /* widget size */ GX_NULL, /* next widget */ GX_NULL, /* child widget */ 0, /* control block */ (void *) &SECONDARY_popup_modal_derived_derived_properties /* extended properties */ }; GX_WINDOW_PROPERTIES SECONDARY_rotate_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_rotate_screen_next_button_8_properties = { GX_STRING_ID_SECONDARY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_SECONDARY_WHITE, /* normal text color */ GX_COLOR_ID_SECONDARY_WHITE, /* selected text color */ GX_COLOR_ID_SECONDARY_WHITE /* disabled text color */ }; GX_CHECKBOX_PROPERTIES SECONDARY_rotate_screen_checkbox_1_properties = { GX_STRING_ID_SECONDARY_STRING_39_1, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT, /* disabled text color */ 0, /* unchecked pixelmap id */ 0, /* checked pixelmap id */ 0, /* unchecked disabled pixelmap id */ 0 /* checked disabled pixelmap id */ }; GX_PROMPT_PROPERTIES SECONDARY_rotate_screen_prompt_11_properties = { GX_STRING_ID_SECONDARY_STRING_40_1, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_SLIDER_PROPERTIES SECONDARY_rotate_screen_slider_3_properties = { 10, /* tickmark count */ 0, /* mimimun value */ 359, /* maximum value */ 30, /* current value */ 10, /* increment */ 10, /* minimum travel */ 10, /* maximum travel */ 5, /* needle width */ 10, /* needle height */ 5, /* needle inset */ 2 /* needle hotspot */ }; GX_PROMPT_PROPERTIES SECONDARY_rotate_screen_prompt_12_properties = { GX_STRING_ID_SECONDARY_STRING_41_1, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_WINDOW_PROPERTIES SECONDARY_rotate_screen_pixelmap_window_properties = { 0 /* wallpaper pixelmap id */ }; GX_RADIO_BUTTON_PROPERTIES SECONDARY_rotate_screen_radio_button_properties = { GX_STRING_ID_SECONDARY_STRING_42_1, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT, /* disabled text color */ 0, /* off pixelmap id */ 0, /* on pixelmap id */ 0, /* off disabled pixelmap id */ 0 /* on disabled pixelmap id */ }; GX_RADIO_BUTTON_PROPERTIES SECONDARY_rotate_screen_radio_button_1_properties = { GX_STRING_ID_SECONDARY_STRING_43_1, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT, /* disabled text color */ 0, /* off pixelmap id */ 0, /* on pixelmap id */ 0, /* off disabled pixelmap id */ 0 /* on disabled pixelmap id */ }; GX_RADIO_BUTTON_PROPERTIES SECONDARY_rotate_screen_radio_button_2_properties = { GX_STRING_ID_SECONDARY_STRING_44_1, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT, /* disabled text color */ 0, /* off pixelmap id */ 0, /* on pixelmap id */ 0, /* off disabled pixelmap id */ 0 /* on disabled pixelmap id */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_rotate_screen_radio_button_2_define = { "radio_button_2", GX_TYPE_RADIO_BUTTON, /* widget type */ ID_RADIO_FISH, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_RADIO_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_radio_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {388, 425, 467, 448}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_ROTATE_SCREEN_CONTROL_BLOCK, SECONDARY_rotate_screen_radio_button_2), /* control block */ (void *) &SECONDARY_rotate_screen_radio_button_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_rotate_screen_radio_button_1_define = { "radio_button_1", GX_TYPE_RADIO_BUTTON, /* widget type */ ID_RADIO_APPLE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_RADIO_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_radio_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {236, 425, 315, 448}, /* widget size */ &SECONDARY_rotate_screen_radio_button_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_ROTATE_SCREEN_CONTROL_BLOCK, SECONDARY_rotate_screen_radio_button_1), /* control block */ (void *) &SECONDARY_rotate_screen_radio_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_rotate_screen_radio_button_define = { "radio_button", GX_TYPE_RADIO_BUTTON, /* widget type */ ID_RADIO_FOOT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_PUSHED|GX_STYLE_BUTTON_RADIO|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_RADIO_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_radio_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {84, 425, 163, 448}, /* widget size */ &SECONDARY_rotate_screen_radio_button_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_ROTATE_SCREEN_CONTROL_BLOCK, SECONDARY_rotate_screen_radio_button), /* control block */ (void *) &SECONDARY_rotate_screen_radio_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_rotate_screen_pixelmap_window_define = { "pixelmap_window", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_UPPER, /* normal color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_UPPER, /* disabled color id */ gx_studio_window_create, /* create function */ (VOID (*)(GX_WIDGET *)) pixelmap_draw, /* drawing function override */ GX_NULL, /* event function override */ {31, 69, 613, 400}, /* widget size */ &SECONDARY_rotate_screen_radio_button_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_ROTATE_SCREEN_CONTROL_BLOCK, SECONDARY_rotate_screen_pixelmap_window), /* control block */ (void *) &SECONDARY_rotate_screen_pixelmap_window_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_rotate_screen_prompt_12_define = { "prompt_12", GX_TYPE_PROMPT, /* widget type */ ID_ANGLE_DISPLAY, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {574, 26, 617, 49}, /* widget size */ &SECONDARY_rotate_screen_pixelmap_window_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_ROTATE_SCREEN_CONTROL_BLOCK, SECONDARY_rotate_screen_prompt_12), /* control block */ (void *) &SECONDARY_rotate_screen_prompt_12_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_rotate_screen_slider_3_define = { "slider_3", GX_TYPE_SLIDER, /* widget type */ ID_SLIDER_ANGLE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_SHOW_NEEDLE|GX_STYLE_SHOW_TICKMARKS, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SLIDER), /* control block size */ GX_COLOR_ID_BTN_UPPER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_UPPER, /* disabled color id */ gx_studio_slider_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {388, 26, 553, 49}, /* widget size */ &SECONDARY_rotate_screen_prompt_12_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_ROTATE_SCREEN_CONTROL_BLOCK, SECONDARY_rotate_screen_slider_3), /* control block */ (void *) &SECONDARY_rotate_screen_slider_3_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_rotate_screen_prompt_11_define = { "prompt_11", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {248, 26, 367, 49}, /* widget size */ &SECONDARY_rotate_screen_slider_3_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_ROTATE_SCREEN_CONTROL_BLOCK, SECONDARY_rotate_screen_prompt_11), /* control block */ (void *) &SECONDARY_rotate_screen_prompt_11_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_rotate_screen_checkbox_1_define = { "checkbox_1", GX_TYPE_CHECKBOX, /* widget type */ ID_DIRECT_ROTATE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_CHECKBOX), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_checkbox_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {49, 26, 198, 49}, /* widget size */ &SECONDARY_rotate_screen_prompt_11_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_ROTATE_SCREEN_CONTROL_BLOCK, SECONDARY_rotate_screen_checkbox_1), /* control block */ (void *) &SECONDARY_rotate_screen_checkbox_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_rotate_screen_next_button_8_define = { "next_button_8", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {532, 426, 611, 450}, /* widget size */ &SECONDARY_rotate_screen_checkbox_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_ROTATE_SCREEN_CONTROL_BLOCK, SECONDARY_rotate_screen_next_button_8), /* control block */ (void *) &SECONDARY_rotate_screen_next_button_8_properties /* extended properties */ }; GX_STUDIO_ACTION SECONDARY_rotate_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, GX_ACTION_FLAG_DYNAMIC_TARGET, &SECONDARY_root_window, &SECONDARY_scroll_wheel_screen_define, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_SECONDARY_rotate_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, SECONDARY_rotate_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS SECONDARY_rotate_screen_event_chain = {gx_studio_SECONDARY_rotate_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process}; static UINT gx_studio_SECONDARY_rotate_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &SECONDARY_rotate_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET SECONDARY_rotate_screen_define = { "SECONDARY_rotate_screen", GX_TYPE_WINDOW, /* widget type */ ID_ROTATE_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(SECONDARY_ROTATE_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_SECONDARY_rotate_screen_event_process, /* event function override */ {0, 0, 639, 479}, /* widget size */ GX_NULL, /* next widget */ &SECONDARY_rotate_screen_next_button_8_define, /* child widget */ 0, /* control block */ (void *) &SECONDARY_rotate_screen_properties /* extended properties */ }; GX_WINDOW_PROPERTIES SECONDARY_scroll_wheel_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_scroll_wheel_screen_next_button_6_properties = { GX_STRING_ID_SECONDARY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_SECONDARY_WHITE, /* normal text color */ GX_COLOR_ID_SECONDARY_WHITE, /* selected text color */ GX_COLOR_ID_SECONDARY_WHITE /* disabled text color */ }; GX_PROMPT_PROPERTIES SECONDARY_scroll_wheel_screen_prompt_properties = { GX_STRING_ID_SECONDARY_STRING_48, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_NUMERIC_SCROLL_WHEEL_PROPERTIES SECONDARY_scroll_wheel_screen_day_wheel_properties = { 31, /* total rows */ 0, /* selected row */ 45, /* row height */ 240, /* start alpha */ 0, /* end alpha */ GX_FONT_ID_SECONDARY_NORMAL_FONT, /* normal font id */ GX_FONT_ID_SECONDARY_SELECTED_FONT, /* selected font id */ GX_COLOR_ID_SECONDARY_BLACK, /* normal text color id */ GX_COLOR_ID_SECONDARY_ORANGE, /* selected text color id */ GX_COLOR_ID_SECONDARY_BLACK, /* disabled text color id */ 0, /* wallpaper id */ GX_PIXELMAP_ID_SECONDARY_FILL, /* selected background */ day_wheel_value_format, /* format callback */ 1, /* start val */ 31, /* end val */ }; GX_CONST GX_RESOURCE_ID SECONDARY_scroll_wheel_screen_month_wheel_string_id_list[]={ GX_STRING_ID_SECONDARY_STRING_63, GX_STRING_ID_SECONDARY_STRING_69, GX_STRING_ID_SECONDARY_STRING_70, GX_STRING_ID_SECONDARY_STRING_71, GX_STRING_ID_SECONDARY_STRING_72, GX_STRING_ID_SECONDARY_STRING_73, GX_STRING_ID_SECONDARY_STRING_74, GX_STRING_ID_SECONDARY_STRING_75, GX_STRING_ID_SECONDARY_STRING_76, GX_STRING_ID_SECONDARY_STRING_77, GX_STRING_ID_SECONDARY_STRING_78, GX_STRING_ID_SECONDARY_STRING_79 }; GX_STRING_SCROLL_WHEEL_PROPERTIES SECONDARY_scroll_wheel_screen_month_wheel_properties = { 12, /* total rows */ 4, /* selected row */ 45, /* row height */ 240, /* start alpha */ 0, /* end alpha */ GX_FONT_ID_SECONDARY_NORMAL_FONT, /* normal font id */ GX_FONT_ID_SECONDARY_SELECTED_FONT, /* selected font id */ GX_COLOR_ID_SECONDARY_BLACK, /* normal text color id */ GX_COLOR_ID_SECONDARY_ORANGE, /* selected text color id */ GX_COLOR_ID_SECONDARY_BLACK, /* disabled text color id */ 0, /* wallpaper id */ GX_PIXELMAP_ID_SECONDARY_FILL, /* selected background */ SECONDARY_scroll_wheel_screen_month_wheel_string_id_list, /* string list */ GX_NULL /* callback */ }; GX_NUMERIC_SCROLL_WHEEL_PROPERTIES SECONDARY_scroll_wheel_screen_year_wheel_properties = { 9, /* total rows */ 7, /* selected row */ 45, /* row height */ 240, /* start alpha */ 0, /* end alpha */ GX_FONT_ID_SECONDARY_NORMAL_FONT, /* normal font id */ GX_FONT_ID_SECONDARY_SELECTED_FONT, /* selected font id */ GX_COLOR_ID_SECONDARY_BLACK, /* normal text color id */ GX_COLOR_ID_SECONDARY_ORANGE, /* selected text color id */ GX_COLOR_ID_SECONDARY_BLACK, /* disabled text color id */ 0, /* wallpaper id */ GX_PIXELMAP_ID_SECONDARY_FILL, /* selected background */ GX_NULL, /* format callback */ 1980, /* start val */ 2020, /* end val */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_scroll_wheel_screen_button_properties = { GX_STRING_ID_SECONDARY_STRING_50, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_CHAR SECONDARY_scroll_wheel_screen_text_input_buffer[3]; GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES SECONDARY_scroll_wheel_screen_text_input_properties = { GX_STRING_ID_SECONDARY_STRING_51, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_SECONDARY_BLACK, /* normal text color */ GX_COLOR_ID_SECONDARY_BLACK, /* selected text color */ GX_COLOR_ID_SECONDARY_BLACK, /* disabled text color */ GX_COLOR_ID_READONLY_FILL, /* readonly fill color */ GX_COLOR_ID_READONLY_TEXT, /* readonly text color */ SECONDARY_scroll_wheel_screen_text_input_buffer, /* buffer */ 3, /* buffer size */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_scroll_wheel_screen_text_input_define = { "text_input", GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* widget type */ ID_DAY_INPUT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RECESSED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_RIGHT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SINGLE_LINE_TEXT_INPUT), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_text_input_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {47, 399, 84, 432}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_scroll_wheel_screen_text_input_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_scroll_wheel_screen_button_define = { "button", GX_TYPE_TEXT_BUTTON, /* widget type */ ID_DAY_SELECT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {93, 400, 174, 433}, /* widget size */ &SECONDARY_scroll_wheel_screen_text_input_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_scroll_wheel_screen_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_scroll_wheel_screen_year_wheel_define = { "year_wheel", GX_TYPE_NUMERIC_SCROLL_WHEEL, /* widget type */ ID_YEAR_WHEEL, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_WRAP|GX_STYLE_TEXT_SCROLL_WHEEL_ROUND|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_NUMERIC_SCROLL_WHEEL), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_numeric_scroll_wheel_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {380, 117, 524, 352}, /* widget size */ &SECONDARY_scroll_wheel_screen_button_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_scroll_wheel_screen_year_wheel_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_scroll_wheel_screen_month_wheel_define = { "month_wheel", GX_TYPE_STRING_SCROLL_WHEEL, /* widget type */ ID_MONTH_WHEEL, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_SCROLL_WHEEL_ROUND|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_STRING_SCROLL_WHEEL), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_string_scroll_wheel_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {210, 117, 379, 352}, /* widget size */ &SECONDARY_scroll_wheel_screen_year_wheel_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_scroll_wheel_screen_month_wheel_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_scroll_wheel_screen_day_wheel_define = { "day_wheel", GX_TYPE_NUMERIC_SCROLL_WHEEL, /* widget type */ ID_DAY_WHEEL, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_WRAP|GX_STYLE_TEXT_SCROLL_WHEEL_ROUND|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_NUMERIC_SCROLL_WHEEL), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_numeric_scroll_wheel_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {100, 117, 209, 352}, /* widget size */ &SECONDARY_scroll_wheel_screen_month_wheel_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_scroll_wheel_screen_day_wheel_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_scroll_wheel_screen_prompt_define = { "prompt", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER, /* style flags */ 0, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {223, 53, 384, 70}, /* widget size */ &SECONDARY_scroll_wheel_screen_day_wheel_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_scroll_wheel_screen_prompt_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_scroll_wheel_screen_next_button_6_define = { "next_button_6", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_DYNAMICALLY_ALLOCATED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {493, 405, 572, 429}, /* widget size */ &SECONDARY_scroll_wheel_screen_prompt_define, /* next widget definition */ GX_NULL, /* no child widgets */ 0, /* runtime control block */ (void *) &SECONDARY_scroll_wheel_screen_next_button_6_properties /* extended properties */ }; GX_STUDIO_ACTION SECONDARY_scroll_wheel_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &SECONDARY_root_window, &SECONDARY_menu_screen, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_SECONDARY_scroll_wheel_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, SECONDARY_scroll_wheel_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS SECONDARY_scroll_wheel_screen_event_chain = {gx_studio_SECONDARY_scroll_wheel_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process}; static UINT gx_studio_SECONDARY_scroll_wheel_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &SECONDARY_scroll_wheel_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET SECONDARY_scroll_wheel_screen_define = { "SECONDARY_scroll_wheel_screen", GX_TYPE_WINDOW, /* widget type */ ID_SCROLL_WHEEL_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THICK|GX_STYLE_DYNAMICALLY_ALLOCATED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(SECONDARY_SCROLL_WHEEL_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_SECONDARY_scroll_wheel_screen_event_process, /* event function override */ {30, 30, 609, 449}, /* widget size */ GX_NULL, /* next widget */ &SECONDARY_scroll_wheel_screen_next_button_6_define, /* child widget */ 0, /* control block */ (void *) &SECONDARY_scroll_wheel_screen_properties /* extended properties */ }; GX_WINDOW_PROPERTIES SECONDARY_gauge_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_PROMPT_PROPERTIES SECONDARY_gauge_screen_prompt_6_properties = { GX_STRING_ID_SECONDARY_STRING_44, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_gauge_screen_next_button_4_properties = { GX_STRING_ID_SECONDARY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_SECONDARY_WHITE, /* normal text color */ GX_COLOR_ID_SECONDARY_WHITE, /* selected text color */ GX_COLOR_ID_SECONDARY_WHITE /* disabled text color */ }; GX_CIRCULAR_GAUGE_PROPERTIES SECONDARY_gauge_screen_gauge_1_properties = { 0, /* start angle */ 30, /* animation steps */ 1, /* animation delay */ 140, /* needle xpos */ 140, /* needle yos */ 20, /* needle xcor */ 88, /* needle ycor */ GX_PIXELMAP_ID_SECONDARY_GUAGEMETER, /* normal pixelmap id */ 0, /* selected pixelmap id */ GX_PIXELMAP_ID_SECONDARY_NEEDLE /* needle pixelmap id */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_gauge_screen_gauge_1_define = { "gauge_1", GX_TYPE_CIRCULAR_GAUGE, /* widget type */ ID_GAUGE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_CIRCULAR_GAUGE), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_circular_gauge_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {167, 80, 446, 359}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_GAUGE_SCREEN_CONTROL_BLOCK, SECONDARY_gauge_screen_gauge_1), /* control block */ (void *) &SECONDARY_gauge_screen_gauge_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_gauge_screen_next_button_4_define = { "next_button_4", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {515, 411, 594, 435}, /* widget size */ &SECONDARY_gauge_screen_gauge_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_GAUGE_SCREEN_CONTROL_BLOCK, SECONDARY_gauge_screen_next_button_4), /* control block */ (void *) &SECONDARY_gauge_screen_next_button_4_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_gauge_screen_prompt_6_define = { "prompt_6", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ 0, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ (VOID (*)(GX_WIDGET *)) gauge_prompt_draw, /* drawing function override */ GX_NULL, /* event function override */ {256, 380, 365, 397}, /* widget size */ &SECONDARY_gauge_screen_next_button_4_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_GAUGE_SCREEN_CONTROL_BLOCK, SECONDARY_gauge_screen_prompt_6), /* control block */ (void *) &SECONDARY_gauge_screen_prompt_6_properties /* extended properties */ }; GX_STUDIO_ACTION SECONDARY_gauge_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, GX_ACTION_FLAG_DYNAMIC_TARGET, &SECONDARY_root_window, &SECONDARY_indicator_screen_define, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_SECONDARY_gauge_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, SECONDARY_gauge_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS SECONDARY_gauge_screen_event_chain = {gx_studio_SECONDARY_gauge_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process}; static UINT gx_studio_SECONDARY_gauge_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &SECONDARY_gauge_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET SECONDARY_gauge_screen_define = { "SECONDARY_gauge_screen", GX_TYPE_WINDOW, /* widget type */ ID_GAUGE_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THICK, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(SECONDARY_GAUGE_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_SECONDARY_gauge_screen_event_process, /* event function override */ {33, 28, 608, 448}, /* widget size */ GX_NULL, /* next widget */ &SECONDARY_gauge_screen_prompt_6_define, /* child widget */ 0, /* control block */ (void *) &SECONDARY_gauge_screen_properties /* extended properties */ }; GX_WINDOW_PROPERTIES SECONDARY_text_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_PROMPT_PROPERTIES SECONDARY_text_screen_prompt_1_properties = { GX_STRING_ID_SECONDARY_STRING_24, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES SECONDARY_text_screen_prompt_2_properties = { GX_STRING_ID_SECONDARY_STRING_29, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_SECONDARY_WHITE, /* normal text color */ GX_COLOR_ID_SECONDARY_WHITE, /* selected text color */ GX_COLOR_ID_SECONDARY_WHITE /* disabled text color */ }; GX_PROMPT_PROPERTIES SECONDARY_text_screen_prompt_3_properties = { GX_STRING_ID_SECONDARY_STRING_27, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PIXELMAP_PROMPT_PROPERTIES SECONDARY_text_screen_prompt_4_properties = { GX_STRING_ID_SECONDARY_STRING_30, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT, /* disabled text color */ GX_PIXELMAP_ID_SECONDARY_TFIELD_LEFT_SMALL, /* left pixelmap id */ GX_PIXELMAP_ID_SECONDARY_TFIELD_FILL_SMALL, /* fill pixelmap id */ GX_PIXELMAP_ID_SECONDARY_TFIELD_RIGHT_SMALL, /* right pixelmap id */ 0, /* selected left pixelmap id */ 0, /* selected fill pixelmap id */ 0 /* selected right pixelmap id */ }; GX_CHAR SECONDARY_text_screen_text_input_1_buffer[100]; GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES SECONDARY_text_screen_text_input_1_properties = { GX_STRING_ID_SECONDARY_STRING_34, /* string id */ GX_FONT_ID_TEXT_INPUT, /* font id */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* selected text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* disabled text color */ GX_COLOR_ID_READONLY_FILL, /* readonly fill color */ GX_COLOR_ID_READONLY_TEXT, /* readonly text color */ SECONDARY_text_screen_text_input_1_buffer, /* buffer */ 100, /* buffer size */ }; GX_ML_TEXT_VIEW_PROPERTIES SECONDARY_text_screen_text_view_1_properties = { GX_STRING_ID_SECONDARY_STRING_31, /* string id */ GX_FONT_ID_TEXT_INPUT, /* font id */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* selected text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* disabled text color */ 0, /* whitespace */ 0 /* line_space */ }; GX_CHAR SECONDARY_text_screen_text_input_2_buffer[200]; GX_MULTI_LINE_TEXT_INPUT_PROPERTIES SECONDARY_text_screen_text_input_2_properties = { GX_STRING_ID_SECONDARY_STRING_33, /* string id */ GX_FONT_ID_TEXT_INPUT, /* font id */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* selected text color */ GX_COLOR_ID_TEXT_INPUT_TEXT, /* disabled text color */ GX_COLOR_ID_READONLY_FILL, /* readonly fill color */ GX_COLOR_ID_READONLY_TEXT, /* readonly text color */ 0, /* whitespace */ 0, /* line_space */ SECONDARY_text_screen_text_input_2_buffer, /* buffer */ 200 /* buffer size */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_text_screen_next_button_2_properties = { GX_STRING_ID_SECONDARY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_SECONDARY_WHITE, /* normal text color */ GX_COLOR_ID_SECONDARY_WHITE, /* selected text color */ GX_COLOR_ID_SECONDARY_WHITE /* disabled text color */ }; GX_NUMERIC_PROMPT_PROPERTIES SECONDARY_text_screen_numeric_prompt_properties = { 0, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_SECONDARY_BLUE, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_SECONDARY_BLUE, /* disabled text color */ format_func, /* format function */ 0 /* numeric prompt value */ }; GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES SECONDARY_text_screen_numeric_pixelmap_prompt_properties = { 0, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT, /* disabled text color */ GX_PIXELMAP_ID_SECONDARY_BUTTON_DISABLED, /* left pixelmap id */ 0, /* fill pixelmap id */ 0, /* right pixelmap id */ 0, /* selected left pixelmap id */ 0, /* selected fill pixelmap id */ 0, /* selected right pixelmap id */ numeric_pixelmap_format_func, /* format function */ 0 /* numeric prompt value */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_text_screen_numeric_pixelmap_prompt_define = { "numeric_pixelmap_prompt", GX_TYPE_NUMERIC_PIXELMAP_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ 0, /* status flags */ sizeof(GX_NUMERIC_PIXELMAP_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_numeric_pixelmap_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {403, 131, 540, 209}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_TEXT_SCREEN_CONTROL_BLOCK, SECONDARY_text_screen_numeric_pixelmap_prompt), /* control block */ (void *) &SECONDARY_text_screen_numeric_pixelmap_prompt_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_text_screen_numeric_prompt_define = { "numeric_prompt", GX_TYPE_NUMERIC_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_RIGHT, /* style flags */ 0, /* status flags */ sizeof(GX_NUMERIC_PROMPT), /* control block size */ GX_COLOR_ID_SECONDARY_ORANGE, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_SECONDARY_ORANGE, /* disabled color id */ gx_studio_numeric_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {448, 32, 567, 55}, /* widget size */ &SECONDARY_text_screen_numeric_pixelmap_prompt_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_TEXT_SCREEN_CONTROL_BLOCK, SECONDARY_text_screen_numeric_prompt), /* control block */ (void *) &SECONDARY_text_screen_numeric_prompt_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_text_screen_next_button_2_define = { "next_button_2", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {496, 414, 575, 438}, /* widget size */ &SECONDARY_text_screen_numeric_prompt_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_TEXT_SCREEN_CONTROL_BLOCK, SECONDARY_text_screen_next_button_2), /* control block */ (void *) &SECONDARY_text_screen_next_button_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_text_screen_text_input_2_define = { "text_input_2", GX_TYPE_MULTI_LINE_TEXT_INPUT, /* widget type */ ID_ML_INPUT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_MULTI_LINE_TEXT_INPUT), /* control block size */ GX_COLOR_ID_TEXT_INPUT_FILL, /* normal color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* selected color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* disabled color id */ gx_studio_multi_line_text_input_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {321, 242, 572, 394}, /* widget size */ &SECONDARY_text_screen_next_button_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_TEXT_SCREEN_CONTROL_BLOCK, SECONDARY_text_screen_text_input_2), /* control block */ (void *) &SECONDARY_text_screen_text_input_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_text_screen_text_view_1_define = { "text_view_1", GX_TYPE_MULTI_LINE_TEXT_VIEW, /* widget type */ ID_ML_VIEW, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_MULTI_LINE_TEXT_VIEW), /* control block size */ GX_COLOR_ID_TEXT_INPUT_FILL, /* normal color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* selected color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* disabled color id */ gx_studio_multi_line_text_view_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 242, 306, 394}, /* widget size */ &SECONDARY_text_screen_text_input_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_TEXT_SCREEN_CONTROL_BLOCK, SECONDARY_text_screen_text_view_1), /* control block */ (void *) &SECONDARY_text_screen_text_view_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_text_screen_text_input_1_define = { "text_input_1", GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* widget type */ ID_SL_INPUT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RECESSED|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SINGLE_LINE_TEXT_INPUT), /* control block size */ GX_COLOR_ID_TEXT_INPUT_FILL, /* normal color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* selected color id */ GX_COLOR_ID_TEXT_INPUT_FILL, /* disabled color id */ gx_studio_text_input_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 196, 363, 231}, /* widget size */ &SECONDARY_text_screen_text_view_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_TEXT_SCREEN_CONTROL_BLOCK, SECONDARY_text_screen_text_input_1), /* control block */ (void *) &SECONDARY_text_screen_text_input_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_text_screen_prompt_4_define = { "prompt_4", GX_TYPE_PIXELMAP_PROMPT, /* widget type */ ID_PROMPT_4, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PIXELMAP_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_pixelmap_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 151, 363, 186}, /* widget size */ &SECONDARY_text_screen_text_input_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_TEXT_SCREEN_CONTROL_BLOCK, SECONDARY_text_screen_prompt_4), /* control block */ (void *) &SECONDARY_text_screen_prompt_4_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_text_screen_prompt_3_define = { "prompt_3", GX_TYPE_PROMPT, /* widget type */ ID_PROMPT_3, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 64, 363, 88}, /* widget size */ &SECONDARY_text_screen_prompt_4_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_TEXT_SCREEN_CONTROL_BLOCK, SECONDARY_text_screen_prompt_3), /* control block */ (void *) &SECONDARY_text_screen_prompt_3_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_text_screen_prompt_2_define = { "prompt_2", GX_TYPE_PROMPT, /* widget type */ ID_PROMPT_2, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THICK|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 98, 363, 141}, /* widget size */ &SECONDARY_text_screen_prompt_3_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_TEXT_SCREEN_CONTROL_BLOCK, SECONDARY_text_screen_prompt_2), /* control block */ (void *) &SECONDARY_text_screen_prompt_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_text_screen_prompt_1_define = { "prompt_1", GX_TYPE_PROMPT, /* widget type */ ID_PROMPT_1, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 31, 363, 54}, /* widget size */ &SECONDARY_text_screen_prompt_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_TEXT_SCREEN_CONTROL_BLOCK, SECONDARY_text_screen_prompt_1), /* control block */ (void *) &SECONDARY_text_screen_prompt_1_properties /* extended properties */ }; GX_STUDIO_ACTION SECONDARY_text_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &SECONDARY_root_window, &SECONDARY_sprite_screen, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_SECONDARY_text_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, SECONDARY_text_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS SECONDARY_text_screen_event_chain = {gx_studio_SECONDARY_text_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process}; static UINT gx_studio_SECONDARY_text_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &SECONDARY_text_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET SECONDARY_text_screen_define = { "SECONDARY_text_screen", GX_TYPE_WINDOW, /* widget type */ ID_TEXT_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(SECONDARY_TEXT_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_SECONDARY_text_screen_event_process, /* event function override */ {39, 25, 582, 443}, /* widget size */ GX_NULL, /* next widget */ &SECONDARY_text_screen_prompt_1_define, /* child widget */ 0, /* control block */ (void *) &SECONDARY_text_screen_properties /* extended properties */ }; GX_WINDOW_PROPERTIES SECONDARY_window_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_WINDOW_PROPERTIES SECONDARY_window_screen_window_5_properties = { 0 /* wallpaper pixelmap id */ }; GX_WINDOW_PROPERTIES SECONDARY_window_screen_window_6_properties = { 0 /* wallpaper pixelmap id */ }; GX_WINDOW_PROPERTIES SECONDARY_window_screen_window_8_properties = { 0 /* wallpaper pixelmap id */ }; GX_WINDOW_PROPERTIES SECONDARY_window_screen_scroll_frame_1_properties = { 0 /* wallpaper pixelmap id */ }; GX_WINDOW_PROPERTIES SECONDARY_window_screen_window_4_properties = { GX_PIXELMAP_ID_SECONDARY_FISH /* wallpaper pixelmap id */ }; GX_SCROLLBAR_APPEARANCE SECONDARY_window_screen_hscroll_1_properties = { 20, /* scroll width */ 10, /* thumb width */ 2, /* thumb travel min */ 2, /* thumb travel max */ 4, /* thumb border style */ GX_PIXELMAP_ID_SECONDARY_I_ORANGEFILL_MIDDLE_HORIZONTAL, /* scroll fill pixelmap */ 0, /* scroll thumb pixelmap */ 0, /* scroll up pixelmap */ 0, /* scroll down pixelmap */ GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */ GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb border color */ GX_COLOR_ID_BTN_UPPER, /* scroll button color */ }; GX_SCROLLBAR_APPEARANCE SECONDARY_window_screen_vertical_scroll_1_properties = { 20, /* scroll width */ 12, /* thumb width */ 20, /* thumb travel min */ 20, /* thumb travel max */ 4, /* thumb border style */ 0, /* scroll fill pixelmap */ 0, /* scroll thumb pixelmap */ 0, /* scroll up pixelmap */ 0, /* scroll down pixelmap */ GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */ GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb border color */ GX_COLOR_ID_SECONDARY_ORANGE, /* scroll button color */ }; GX_VERTICAL_LIST_PROPERTIES SECONDARY_window_screen_vertical_list_properties = { 0, /* wallpaper id */ GX_NULL, /* callback function */ 4 /* total rows */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_window_screen_button_1_properties = { GX_STRING_ID_SECONDARY_STRING_19, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_window_screen_button_2_properties = { GX_STRING_ID_SECONDARY_STRING_20, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_window_screen_button_3_properties = { GX_STRING_ID_SECONDARY_STRING_21, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_window_screen_button_4_properties = { GX_STRING_ID_SECONDARY_STRING_22, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_BTN_TEXT, /* normal text color */ GX_COLOR_ID_BTN_TEXT, /* selected text color */ GX_COLOR_ID_BTN_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES SECONDARY_window_screen_nested_label_1_properties = { GX_STRING_ID_SECONDARY_STRING_16, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES SECONDARY_window_screen_frame_label_1_properties = { GX_STRING_ID_SECONDARY_STRING_17, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_PROMPT_PROPERTIES SECONDARY_window_screen_vlist_label_1_properties = { GX_STRING_ID_SECONDARY_STRING_18, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_HORIZONTAL_LIST_PROPERTIES SECONDARY_window_screen_horizontal_list_1_properties = { 0, /* wallpaper id */ GX_NULL, /* callback function */ 5 /* total columns */ }; GX_ICON_BUTTON_PROPERTIES SECONDARY_window_screen_icon_button_1_properties = { GX_PIXELMAP_ID_SECONDARY_I_HISTORY_LG /* pixelmap id */ }; GX_ICON_BUTTON_PROPERTIES SECONDARY_window_screen_icon_button_2_properties = { GX_PIXELMAP_ID_SECONDARY_I_MEDICATIONSGREEN_LG /* pixelmap id */ }; GX_ICON_BUTTON_PROPERTIES SECONDARY_window_screen_icon_button_3_properties = { GX_PIXELMAP_ID_SECONDARY_I_PATIENTLIST_LG /* pixelmap id */ }; GX_ICON_BUTTON_PROPERTIES SECONDARY_window_screen_icon_button_4_properties = { GX_PIXELMAP_ID_SECONDARY_I_MEDICATIONSRED_LG /* pixelmap id */ }; GX_ICON_BUTTON_PROPERTIES SECONDARY_window_screen_icon_button_5_properties = { GX_PIXELMAP_ID_SECONDARY_BLACK_PAUSE /* pixelmap id */ }; GX_PROMPT_PROPERTIES SECONDARY_window_screen_hlist_label_1_properties = { GX_STRING_ID_SECONDARY_STRING_23, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_TEXT_BUTTON_PROPERTIES SECONDARY_window_screen_next_button_1_properties = { GX_STRING_ID_SECONDARY_STRING_36, /* string id */ GX_FONT_ID_BUTTON, /* font id */ GX_COLOR_ID_SECONDARY_WHITE, /* normal text color */ GX_COLOR_ID_SECONDARY_WHITE, /* selected text color */ GX_COLOR_ID_SECONDARY_WHITE /* disabled text color */ }; GX_DROP_LIST_PROPERTIES SECONDARY_window_screen_drop_list_properties = { GX_PIXELMAP_ID_SECONDARY_TOP_BAR_BACKGROUND, /* widget pixelmap id */ GX_PIXELMAP_ID_SECONDARY_DROP_LIST_BG, /* popup list wallpaper pixelmap id */ drop_list_row_create, /* callback function */ 100, /* total rows */ 100 /* open height */ }; GX_PIXELMAP_BUTTON_PROPERTIES SECONDARY_window_screen_pixelmap_button_properties = { GX_PIXELMAP_ID_SECONDARY_DROP_LIST_BUTTON, /* normal pixelmap id */ 0, /* selected pixelmap id */ 0 /* disabled pixelmap id */ }; GX_PROMPT_PROPERTIES SECONDARY_window_screen_hlist_label_properties = { GX_STRING_ID_SECONDARY_STRING_37, /* string id */ GX_FONT_ID_PROMPT, /* font id */ GX_COLOR_ID_TEXT, /* normal text color */ GX_COLOR_ID_SELECTED_TEXT, /* selected text color */ GX_COLOR_ID_TEXT /* disabled text color */ }; GX_LINE_CHART_INFO SECONDARY_window_screen_line_chart_properties = { 0, /* min data value */ 100, /* max data value */ GX_NULL, /* data pointer */ 0, /* left margin */ 0, /* top margin */ 0, /* right margin */ 0, /* bottom margin */ 100, /* max data items */ 0, /* active data items */ 3, /* axis line width */ 2, /* data line width */ GX_COLOR_ID_DEFAULT_BORDER, /* axis line color */ GX_COLOR_ID_SHINE /* data line color */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_window_8_define = { "window_8", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {211, 88, 304, 160}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_window_8), /* control block */ (void *) &SECONDARY_window_screen_window_8_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_window_6_define = { "window_6", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_SECONDARY_BLACK, /* normal color id */ GX_COLOR_ID_SECONDARY_BLACK, /* selected color id */ GX_COLOR_ID_SECONDARY_BLACK, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {73, 56, 319, 170}, /* widget size */ GX_NULL, /* no next widget */ &SECONDARY_window_screen_window_8_define, /* child widget definition */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_window_6), /* control block */ (void *) &SECONDARY_window_screen_window_6_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_vertical_scroll_1_define = { "vertical_scroll_1", GX_TYPE_VERTICAL_SCROLL, /* widget type */ ID_VERTICAL_SCROLLBAR, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_END_BUTTONS|GX_SCROLLBAR_VERTICAL, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SCROLLBAR), /* control block size */ GX_COLOR_ID_SCROLL_FILL, /* normal color id */ GX_COLOR_ID_SCROLL_FILL, /* selected color id */ GX_COLOR_ID_SCROLL_FILL, /* disabled color id */ gx_studio_vertical_scrollbar_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {542, 46, 561, 159}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_vertical_scroll_1), /* control block */ (void *) &SECONDARY_window_screen_vertical_scroll_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_hscroll_1_define = { "hscroll_1", GX_TYPE_HORIZONTAL_SCROLL, /* widget type */ ID_HORIZONTAL_SCROLLBAR, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_TILE_BACKGROUND|GX_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_HORIZONTAL, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_SCROLLBAR), /* control block size */ GX_COLOR_ID_SECONDARY_ORANGE, /* normal color id */ GX_COLOR_ID_SCROLL_FILL, /* selected color id */ GX_COLOR_ID_SECONDARY_ORANGE, /* disabled color id */ gx_studio_horizontal_scrollbar_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {352, 160, 541, 179}, /* widget size */ &SECONDARY_window_screen_vertical_scroll_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_hscroll_1), /* control block */ (void *) &SECONDARY_window_screen_hscroll_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_window_4_define = { "window_4", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {351, 45, 750, 444}, /* widget size */ &SECONDARY_window_screen_hscroll_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_window_4), /* control block */ (void *) &SECONDARY_window_screen_window_4_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_button_4_define = { "button_4", GX_TYPE_TEXT_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {59, 324, 156, 358}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_button_4), /* control block */ (void *) &SECONDARY_window_screen_button_4_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_button_3_define = { "button_3", GX_TYPE_TEXT_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {59, 289, 156, 323}, /* widget size */ &SECONDARY_window_screen_button_4_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_button_3), /* control block */ (void *) &SECONDARY_window_screen_button_3_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_button_2_define = { "button_2", GX_TYPE_TEXT_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {59, 254, 156, 288}, /* widget size */ &SECONDARY_window_screen_button_3_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_button_2), /* control block */ (void *) &SECONDARY_window_screen_button_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_button_1_define = { "button_1", GX_TYPE_TEXT_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {59, 219, 156, 253}, /* widget size */ &SECONDARY_window_screen_button_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_button_1), /* control block */ (void *) &SECONDARY_window_screen_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_icon_button_5_define = { "icon_button_5", GX_TYPE_ICON_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_icon_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {385, 218, 435, 279}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_icon_button_5), /* control block */ (void *) &SECONDARY_window_screen_icon_button_5_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_icon_button_4_define = { "icon_button_4", GX_TYPE_ICON_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_icon_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {334, 218, 384, 279}, /* widget size */ &SECONDARY_window_screen_icon_button_5_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_icon_button_4), /* control block */ (void *) &SECONDARY_window_screen_icon_button_4_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_icon_button_3_define = { "icon_button_3", GX_TYPE_ICON_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_icon_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {283, 218, 333, 279}, /* widget size */ &SECONDARY_window_screen_icon_button_4_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_icon_button_3), /* control block */ (void *) &SECONDARY_window_screen_icon_button_3_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_icon_button_2_define = { "icon_button_2", GX_TYPE_ICON_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_icon_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {232, 218, 282, 279}, /* widget size */ &SECONDARY_window_screen_icon_button_3_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_icon_button_2), /* control block */ (void *) &SECONDARY_window_screen_icon_button_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_icon_button_1_define = { "icon_button_1", GX_TYPE_ICON_BUTTON, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_ICON_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_icon_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {181, 218, 231, 279}, /* widget size */ &SECONDARY_window_screen_icon_button_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_icon_button_1), /* control block */ (void *) &SECONDARY_window_screen_icon_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_pixelmap_button_define = { "pixelmap_button", GX_TYPE_PIXELMAP_BUTTON, /* widget type */ ID_DROP_LIST_BUTTON, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PIXELMAP_BUTTON), /* control block size */ GX_COLOR_ID_BTN_LOWER, /* normal color id */ GX_COLOR_ID_BTN_UPPER, /* selected color id */ GX_COLOR_ID_BTN_LOWER, /* disabled color id */ gx_studio_pixelmap_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {393, 319, 434, 360}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_pixelmap_button), /* control block */ (void *) &SECONDARY_window_screen_pixelmap_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_line_chart_define = { "line_chart", GX_TYPE_LINE_CHART, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_LINE_CHART), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_line_chart_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {53, 387, 144, 445}, /* widget size */ GX_NULL, /* no next widget */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_line_chart), /* control block */ (void *) &SECONDARY_window_screen_line_chart_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_hlist_label_define = { "hlist_label", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {253, 296, 341, 319}, /* widget size */ &SECONDARY_window_screen_line_chart_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_hlist_label), /* control block */ (void *) &SECONDARY_window_screen_hlist_label_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_drop_list_define = { "drop_list", GX_TYPE_DROP_LIST, /* widget type */ ID_DROP_LIST, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_TILE_BACKGROUND, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_DROP_LIST), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_WIDGET_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_drop_list_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {183, 319, 430, 356}, /* widget size */ &SECONDARY_window_screen_hlist_label_define, /* next widget definition */ &SECONDARY_window_screen_pixelmap_button_define, /* child widget definition */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_drop_list), /* control block */ (void *) &SECONDARY_window_screen_drop_list_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_next_button_1_define = { "next_button_1", GX_TYPE_TEXT_BUTTON, /* widget type */ IDB_NEXT, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_TEXT_BUTTON), /* control block size */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* normal color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_UPPER, /* selected color id */ GX_COLOR_ID_SECONDARY_NEXT_BUTTON_LOWER, /* disabled color id */ gx_studio_text_button_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {491, 432, 570, 456}, /* widget size */ &SECONDARY_window_screen_drop_list_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_next_button_1), /* control block */ (void *) &SECONDARY_window_screen_next_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_hlist_label_1_define = { "hlist_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {242, 191, 373, 214}, /* widget size */ &SECONDARY_window_screen_next_button_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_hlist_label_1), /* control block */ (void *) &SECONDARY_window_screen_hlist_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_horizontal_list_1_define = { "horizontal_list_1", GX_TYPE_HORIZONTAL_LIST, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_HORIZONTAL_LIST), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_horizontal_list_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {180, 217, 437, 280}, /* widget size */ &SECONDARY_window_screen_hlist_label_1_define, /* next widget definition */ &SECONDARY_window_screen_icon_button_1_define, /* child widget definition */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_horizontal_list_1), /* control block */ (void *) &SECONDARY_window_screen_horizontal_list_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_vlist_label_1_define = { "vlist_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {45, 191, 176, 214}, /* widget size */ &SECONDARY_window_screen_horizontal_list_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_vlist_label_1), /* control block */ (void *) &SECONDARY_window_screen_vlist_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_frame_label_1_define = { "frame_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {389, 19, 520, 42}, /* widget size */ &SECONDARY_window_screen_vlist_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_frame_label_1), /* control block */ (void *) &SECONDARY_window_screen_frame_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_nested_label_1_define = { "nested_label_1", GX_TYPE_PROMPT, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_PROMPT), /* control block size */ GX_COLOR_ID_WIDGET_FILL, /* normal color id */ GX_COLOR_ID_SELECTED_FILL, /* selected color id */ GX_COLOR_ID_WIDGET_FILL, /* disabled color id */ gx_studio_prompt_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {118, 19, 249, 42}, /* widget size */ &SECONDARY_window_screen_frame_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_nested_label_1), /* control block */ (void *) &SECONDARY_window_screen_nested_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_vertical_list_define = { "vertical_list", GX_TYPE_VERTICAL_LIST, /* widget type */ ID_VERTICAL_LIST, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_RAISED, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(GX_VERTICAL_LIST), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_vertical_list_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {57, 217, 158, 360}, /* widget size */ &SECONDARY_window_screen_nested_label_1_define, /* next widget definition */ &SECONDARY_window_screen_button_1_define, /* child widget definition */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_vertical_list), /* control block */ (void *) &SECONDARY_window_screen_vertical_list_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_scroll_frame_1_define = { "scroll_frame_1", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ 0, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_SCROLL_FILL, /* normal color id */ GX_COLOR_ID_SCROLL_FILL, /* selected color id */ GX_COLOR_ID_SCROLL_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {351, 45, 562, 180}, /* widget size */ &SECONDARY_window_screen_vertical_list_define, /* next widget definition */ &SECONDARY_window_screen_window_4_define, /* child widget definition */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_scroll_frame_1), /* control block */ (void *) &SECONDARY_window_screen_scroll_frame_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_window_5_define = { "window_5", GX_TYPE_WINDOW, /* widget type */ GX_ID_NONE, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THICK, /* style flags */ 0, /* status flags */ sizeof(GX_WINDOW), /* control block size */ GX_COLOR_ID_SECONDARY_ORANGE, /* normal color id */ GX_COLOR_ID_SECONDARY_ORANGE, /* selected color id */ GX_COLOR_ID_SECONDARY_ORANGE, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ GX_NULL, /* event function override */ {56, 44, 341, 182}, /* widget size */ &SECONDARY_window_screen_scroll_frame_1_define, /* next widget definition */ &SECONDARY_window_screen_window_6_define, /* child widget definition */ offsetof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK, SECONDARY_window_screen_window_5), /* control block */ (void *) &SECONDARY_window_screen_window_5_properties /* extended properties */ }; GX_STUDIO_ACTION SECONDARY_window_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &SECONDARY_root_window, &SECONDARY_text_screen, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; static GX_STUDIO_EVENT_ENTRY gx_studio_SECONDARY_window_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, SECONDARY_window_screen__idb_next_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS SECONDARY_window_screen_event_chain = {gx_studio_SECONDARY_window_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process}; static UINT gx_studio_SECONDARY_window_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &SECONDARY_window_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_define = { "SECONDARY_window_screen", GX_TYPE_WINDOW, /* widget type */ ID_WINDOW_SCREEN, /* widget id */ #if defined(GX_WIDGET_USER_DATA) 0, /* user data */ #endif GX_STYLE_BORDER_THIN, /* style flags */ GX_STATUS_ACCEPTS_FOCUS, /* status flags */ sizeof(SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK), /* control block size */ GX_COLOR_ID_WINDOW_FILL, /* normal color id */ GX_COLOR_ID_WINDOW_FILL, /* selected color id */ GX_COLOR_ID_WINDOW_FILL, /* disabled color id */ gx_studio_window_create, /* create function */ GX_NULL, /* drawing function override */ (UINT (*)(GX_WIDGET *, GX_EVENT *)) gx_studio_SECONDARY_window_screen_event_process, /* event function override */ {24, 10, 578, 464}, /* widget size */ GX_NULL, /* next widget */ &SECONDARY_window_screen_window_5_define, /* child widget */ 0, /* control block */ (void *) &SECONDARY_window_screen_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET_ENTRY folder_output_test_widget_table[] = { { &MAIN_DISPLAY_popup_modal_derived_1_define, (GX_WIDGET *) &MAIN_DISPLAY_popup_modal_derived_1 }, { &MAIN_DISPLAY_popup_modal_derived_derived_1_define, (GX_WIDGET *) &MAIN_DISPLAY_popup_modal_derived_derived_1 }, { &MAIN_DISPLAY_base_derived_1_define, (GX_WIDGET *) &MAIN_DISPLAY_base_derived_1 }, { &MAIN_DISPLAY_window_screen_define, (GX_WIDGET *) &MAIN_DISPLAY_window_screen }, { &MAIN_DISPLAY_child_template_screen_define, (GX_WIDGET *) &MAIN_DISPLAY_child_template_screen }, { &MAIN_DISPLAY_menu_screen_define, (GX_WIDGET *) &MAIN_DISPLAY_menu_screen }, { &MAIN_DISPLAY_sprite_screen_define, (GX_WIDGET *) &MAIN_DISPLAY_sprite_screen }, { &MAIN_DISPLAY_indicator_screen_define, GX_NULL }, { &MAIN_DISPLAY_popup_modal_derived_derived_define, GX_NULL }, { &MAIN_DISPLAY_rotate_screen_define, (GX_WIDGET *) &MAIN_DISPLAY_rotate_screen }, { &MAIN_DISPLAY_scroll_wheel_screen_define, GX_NULL }, { &MAIN_DISPLAY_gauge_screen_define, (GX_WIDGET *) &MAIN_DISPLAY_gauge_screen }, { &MAIN_DISPLAY_text_screen_define, (GX_WIDGET *) &MAIN_DISPLAY_text_screen }, { &MAIN_DISPLAY_button_screen_define, (GX_WIDGET *) &MAIN_DISPLAY_button_screen }, { &SECONDARY_popup_modal_derived_1_define, (GX_WIDGET *) &SECONDARY_popup_modal_derived_1 }, { &SECONDARY_sprite_screen_define, (GX_WIDGET *) &SECONDARY_sprite_screen }, { &SECONDARY_menu_screen_define, (GX_WIDGET *) &SECONDARY_menu_screen }, { &SECONDARY_button_screen_define, (GX_WIDGET *) &SECONDARY_button_screen }, { &SECONDARY_indicator_screen_define, GX_NULL }, { &SECONDARY_popup_modal_derived_derived_define, GX_NULL }, { &SECONDARY_rotate_screen_define, (GX_WIDGET *) &SECONDARY_rotate_screen }, { &SECONDARY_scroll_wheel_screen_define, GX_NULL }, { &SECONDARY_gauge_screen_define, (GX_WIDGET *) &SECONDARY_gauge_screen }, { &SECONDARY_text_screen_define, (GX_WIDGET *) &SECONDARY_text_screen }, { &SECONDARY_window_screen_define, (GX_WIDGET *) &SECONDARY_window_screen }, {GX_NULL, GX_NULL} }; static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent) { UINT status = GX_SUCCESS; GX_WIDGET *widget = GX_NULL; GX_VALUE list_count = 0; GX_VALUE list_total_count = 0; if(parent && (parent->gx_widget_type == GX_TYPE_MENU)) { list_total_count = ((GX_MENU *)parent)->gx_menu_list_total_count; } while(definition && status == GX_SUCCESS) { if (definition->create_function) { if (definition->style & GX_STYLE_DYNAMICALLY_ALLOCATED) { status = gx_widget_allocate(&widget, definition->control_block_size); if (status != GX_SUCCESS) { return GX_NULL; } } else { if (control == GX_NULL) { return GX_NULL; } widget = (GX_WIDGET *) (control + definition->control_block_offset); } status = definition->create_function(definition, widget, parent); if(list_count < list_total_count) { gx_menu_insert((GX_MENU *)parent, widget); ((GX_MENU *)parent)->gx_menu_list_total_count--; list_count++; } if (status == GX_SUCCESS) { if (definition->widget_type != GX_TYPE_TEMPLATE) { #if defined(GUIX_5_4_0_COMPATIBILITY) gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id); #else gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id, definition->disabled_fill_color_id); #endif } if (!(definition->status & GX_STATUS_ACCEPTS_FOCUS)) { gx_widget_status_remove(widget, GX_STATUS_ACCEPTS_FOCUS); } if (definition->draw_function) { gx_widget_draw_set(widget, definition->draw_function); } if (definition->event_function) { gx_widget_event_process_set(widget, definition->event_function); } #if defined(GX_WIDGET_USER_DATA) widget->gx_widget_user_data = definition->user_data; #endif if (definition->child_widget) { gx_studio_nested_widget_create(control, definition->child_widget, widget); } } definition = definition->next_widget; } } return widget; } GX_WIDGET *gx_studio_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent) { GX_WIDGET *widget; widget = gx_studio_nested_widget_create(control, definition, GX_NULL); if (parent && widget) { gx_widget_attach(parent, widget); } return widget; } UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget) { UINT status = GX_FAILURE; GX_CONST GX_STUDIO_WIDGET_ENTRY *entry = folder_output_test_widget_table; GX_WIDGET *widget = GX_NULL; while(entry->widget_information) { if (!strcmp(name, entry->widget_information->widget_name)) { widget = gx_studio_widget_create((GX_BYTE *) entry->widget, entry->widget_information, parent); if (widget) { status = GX_SUCCESS; } break; } entry++; } if (new_widget) { *new_widget = widget; } return status; } UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *), GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root) { GX_CONST GX_THEME *theme_ptr; GX_RECTANGLE size; GX_STUDIO_DISPLAY_INFO *display_info = &folder_output_test_display_table[display]; /* create the requested display */ gx_display_create(display_info->display, display_info->name, driver, (GX_VALUE) display_info->x_resolution, (GX_VALUE) display_info->y_resolution); /* install the request theme */ if(display_info->theme_table) { theme_ptr = display_info->theme_table[theme]; if(theme_ptr) { gx_display_color_table_set(display_info->display, theme_ptr->theme_color_table, theme_ptr->theme_color_table_size); /* install the color palette if required */ if (display_info->display->gx_display_driver_palette_set && theme_ptr->theme_palette != NULL) { display_info->display->gx_display_driver_palette_set(display_info->display, theme_ptr->theme_palette, theme_ptr->theme_palette_size); } gx_display_font_table_set(display_info->display, theme_ptr->theme_font_table, theme_ptr->theme_font_table_size); gx_display_pixelmap_table_set(display_info->display, theme_ptr->theme_pixelmap_table, theme_ptr->theme_pixelmap_table_size); gx_system_scroll_appearance_set(theme_ptr->theme_vertical_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_vertical_scrollbar_appearance); gx_system_scroll_appearance_set(theme_ptr->theme_horizontal_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_horizontal_scrollbar_appearance); } } /* Install the language table. */ if(display_info->language_table) { 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); gx_display_active_language_set(display_info->display, language); } /* Set screen rotation angle. */ display_info->display->gx_display_rotation_angle = display_info->rotation_angle; /* create the canvas for this display */ gx_canvas_create(display_info->canvas, display_info->canvas_name, display_info->display, GX_CANVAS_MANAGED | GX_CANVAS_VISIBLE, display_info->x_resolution, display_info->y_resolution, display_info->canvas_memory, display_info->canvas_memory_size); /* Create the root window for this canvas */ gx_utility_rectangle_define(&size, 0, 0, (GX_VALUE) (display_info->x_resolution - 1), (GX_VALUE) (display_info->y_resolution - 1)); gx_window_root_create(display_info->root_window, display_info->name, display_info->canvas, GX_STYLE_NONE, 0, &size); if (return_root) { *return_root = display_info->root_window; } return GX_SUCCESS; } #undef GUIX_STUDIO_GENERATED_FILE