/*******************************************************************************/ /* 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.1.2 */ /* Date (dd.mm.yyyy): 5. 6.2023 Time (hh:mm): 15: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" extern GX_WINDOW_ROOT MAIN_DISPLAY_root_window; extern GX_WINDOW_ROOT SECONDARY_root_window; SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK SECONDARY_button_screen; extern GX_CONST GX_STUDIO_WIDGET SECONDARY_window_screen_define; extern SECONDARY_WINDOW_SCREEN_CONTROL_BLOCK SECONDARY_window_screen; extern GX_CONST GX_STUDIO_WIDGET SECONDARY_popup_modal_derived_derived_define; GX_WINDOW_PROPERTIES SECONDARY_button_screen_properties = { 0 /* wallpaper pixelmap id */ }; GX_PROMPT_PROPERTIES SECONDARY_button_screen_title_1_properties = { GX_STRING_ID_SECONDARY_STRING_1, /* string id */ GX_FONT_ID_SECONDARY_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 SECONDARY_button_screen_text_button_1_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_button_screen_checkbox_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_button_screen_radio_button1_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_button_screen_pixelmap_button1_properties = { GX_PIXELMAP_ID_SECONDARY_ORANGE_BUTTON, /* normal pixelmap id */ GX_PIXELMAP_ID_SECONDARY_ORANGE_BUTTON_PRESSED, /* selected pixelmap id */ GX_PIXELMAP_ID_SECONDARY_BUTTON_DISABLED /* disabled pixelmap id */ }; GX_ICON_PROPERTIES SECONDARY_button_screen_icon_properties = { GX_PIXELMAP_ID_SECONDARY_I_HISTORY_LG, /* normal pixelmap id */ 0 /* selected pixelmap id */ }; GX_ICON_BUTTON_PROPERTIES SECONDARY_button_screen_icon_button_6_properties = { GX_PIXELMAP_ID_SECONDARY_SAVE_ICON /* pixelmap id */ }; GX_PROMPT_PROPERTIES SECONDARY_button_screen_button_label_1_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_button_screen_radio_label_1_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_button_screen_pixbutton_label_1_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_button_screen_texbutton_label_1_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_button_screen_checkbox_label_1_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_button_screen_iconbutton_label_1_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_button_screen_icon_label_1_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_button_screen_next_button_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_ML_TEXT_BUTTON_PROPERTIES SECONDARY_button_screen_multi_line_button_1_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_button_screen_texbutton_label_2_properties = { GX_STRING_ID_SECONDARY_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 SECONDARY_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 SECONDARY_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(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_count_prompt), /* control block */ (void *) &SECONDARY_button_screen_count_prompt_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_count_prompt_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_texbutton_label_2), /* control block */ (void *) &SECONDARY_button_screen_texbutton_label_2_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_texbutton_label_2_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_multi_line_button_1), /* control block */ (void *) &SECONDARY_button_screen_multi_line_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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_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 */ {484, 441, 563, 465}, /* widget size */ &SECONDARY_button_screen_multi_line_button_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_next_button), /* control block */ (void *) &SECONDARY_button_screen_next_button_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_next_button_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_icon_label_1), /* control block */ (void *) &SECONDARY_button_screen_icon_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_icon_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_iconbutton_label_1), /* control block */ (void *) &SECONDARY_button_screen_iconbutton_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_iconbutton_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_checkbox_label_1), /* control block */ (void *) &SECONDARY_button_screen_checkbox_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_checkbox_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_texbutton_label_1), /* control block */ (void *) &SECONDARY_button_screen_texbutton_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_texbutton_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_pixbutton_label_1), /* control block */ (void *) &SECONDARY_button_screen_pixbutton_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_pixbutton_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_radio_label_1), /* control block */ (void *) &SECONDARY_button_screen_radio_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_radio_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_button_label_1), /* control block */ (void *) &SECONDARY_button_screen_button_label_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_button_label_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_icon_button_6), /* control block */ (void *) &SECONDARY_button_screen_icon_button_6_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_icon_button_6_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_icon), /* control block */ (void *) &SECONDARY_button_screen_icon_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_icon_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_pixelmap_button1), /* control block */ (void *) &SECONDARY_button_screen_pixelmap_button1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_pixelmap_button1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_radio_button1), /* control block */ (void *) &SECONDARY_button_screen_radio_button1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_radio_button1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_checkbox), /* control block */ (void *) &SECONDARY_button_screen_checkbox_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_checkbox_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_text_button_1), /* control block */ (void *) &SECONDARY_button_screen_text_button_1_properties /* extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_text_button_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_base_button_1), /* control block */ (void *) GX_NULL /* no extended properties */ }; GX_CONST GX_STUDIO_WIDGET SECONDARY_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 */ &SECONDARY_button_screen_base_button_1_define, /* next widget definition */ GX_NULL, /* no child widgets */ offsetof(SECONDARY_BUTTON_SCREEN_CONTROL_BLOCK, SECONDARY_button_screen_title_1), /* control block */ (void *) &SECONDARY_button_screen_title_1_properties /* extended properties */ }; GX_STUDIO_ACTION SECONDARY_button_screen__idb_next_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_TOGGLE, 0, &SECONDARY_root_window, &SECONDARY_window_screen, GX_NULL}, {0, 0, GX_NULL, GX_NULL, GX_NULL} }; GX_STUDIO_ACTION SECONDARY_button_screen__id_text_button_gx_event_clicked_actions[2] = { {GX_ACTION_TYPE_WINDOW_EXECUTE, 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_button_screen_event_table[] = { {GX_SIGNAL(IDB_NEXT, GX_EVENT_CLICKED), 0, SECONDARY_button_screen__idb_next_gx_event_clicked_actions}, {GX_SIGNAL(ID_TEXT_BUTTON, GX_EVENT_CLICKED), 0, SECONDARY_button_screen__id_text_button_gx_event_clicked_actions}, {0, 0, GX_NULL} }; GX_STUDIO_EVENT_PROCESS SECONDARY_button_screen_event_chain = {gx_studio_SECONDARY_button_screen_event_table, (UINT (*)(GX_WIDGET *, GX_EVENT *))gx_window_event_process}; static UINT gx_studio_SECONDARY_button_screen_event_process(GX_WIDGET *target, GX_EVENT *event_ptr) { return (gx_studio_auto_event_handler(target, event_ptr, &SECONDARY_button_screen_event_chain)); } GX_CONST GX_STUDIO_WIDGET SECONDARY_button_screen_define = { "SECONDARY_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(SECONDARY_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_SECONDARY_button_screen_event_process, /* event function override */ {73, 7, 575, 475}, /* widget size */ GX_NULL, /* next widget */ &SECONDARY_button_screen_title_1_define, /* child widget */ 0, /* control block */ (void *) &SECONDARY_button_screen_properties /* extended properties */ }; #undef GUIX_STUDIO_GENERATED_FILE