1
0
mirror of https://github.com/azure-rtos/guix.git synced 2025-02-04 07:13:17 +08:00
guix/samples/demo_guix_smart_watch/guix_smart_watch_specifications.c
2021-10-13 06:50:21 +00:00

8921 lines
538 KiB
C

/*******************************************************************************/
/* 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.1.8.1 */
/* Date (dd.mm.yyyy): 27. 9.2021 Time (hh:mm): 11:08 */
/*******************************************************************************/
#define GUIX_STUDIO_GENERATED_FILE
#include <stddef.h>
#include "guix_smart_watch_resources.h"
#include "guix_smart_watch_specifications.h"
static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent);
SETTINGS_LANGUAGE_CONTROL_BLOCK settings_language;
MAP_SCREEN_CONTROL_BLOCK map_screen;
CLOCK_ADD_SCREEN_CONTROL_BLOCK clock_add_screen;
ALARM_ADD_SCREEN_CONTROL_BLOCK alarm_add_screen;
ALARM_SCREEN_CONTROL_BLOCK alarm_screen;
STOPWATCH_SCREEN_CONTROL_BLOCK stopwatch_screen;
SETTINGS_SCREEN_CONTROL_BLOCK settings_screen;
KEYBOARD_SCREEN_CONTROL_BLOCK keyboard_screen;
MSG_SEND_SCREEN_CONTROL_BLOCK msg_send_screen;
MSG_SCREEN_CONTROL_BLOCK msg_screen;
HEALTHY_PACE_CONTROL_BLOCK healthy_pace;
HEALTHY_SCREEN_CONTROL_BLOCK healthy_screen;
WEATHER_LOSANGELES_CONTROL_BLOCK weather_LosAngeles;
WEATHER_SANFRANCISCO_CONTROL_BLOCK weather_SanFrancisco;
WEATHER_SCREEN_CONTROL_BLOCK weather_screen;
CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK contact_info_edit_list;
CONTACT_INFO_EDIT_SCREEN_CONTROL_BLOCK contact_info_edit_screen;
CONTACT_INFO_LIST_CONTROL_BLOCK contact_info_list;
CONTACT_INFO_SCREEN_CONTROL_BLOCK contact_info_screen;
CONTACT_SCREEN_CONTROL_BLOCK contact_screen;
GAME_SCREEN_CONTROL_BLOCK game_screen;
MAIN_SCREEN_CONTROL_BLOCK main_screen;
CLOCK_SCREEN_CONTROL_BLOCK clock_screen;
ABOUT_SCREEN_CONTROL_BLOCK about_screen;
LEFT_HOME_BUTTON_CONTROL_BLOCK left_home_button;
RIGHT_HOME_BUTTON_CONTROL_BLOCK right_home_button;
CALCULATOR_SCREEN_CONTROL_BLOCK calculator_screen;
MENU_WINDOW_3_CONTROL_BLOCK menu_window_3;
MENU_WINDOW_2_CONTROL_BLOCK menu_window_2;
GX_DISPLAY Main_Screen_control_block;
GX_WINDOW_ROOT Main_Screen_root_window;
GX_CANVAS Main_Screen_canvas_control_block;
ULONG Main_Screen_canvas_memory[307200];
extern GX_CONST GX_THEME *Main_Screen_theme_table[];
extern GX_CONST GX_STRING *Main_Screen_language_table[];
GX_STUDIO_DISPLAY_INFO guix_smart_watch_display_table[1] =
{
{
"Main_Screen",
"Main_Screen_canvas",
Main_Screen_theme_table,
Main_Screen_language_table,
MAIN_SCREEN_THEME_TABLE_SIZE,
MAIN_SCREEN_LANGUAGE_TABLE_SIZE,
MAIN_SCREEN_STRING_TABLE_SIZE,
640, /* x resolution */
480, /* y resolution */
&Main_Screen_control_block,
&Main_Screen_canvas_control_block,
&Main_Screen_root_window,
Main_Screen_canvas_memory, /* canvas memory area */
1228800, /* canvas memory size in bytes */
GX_SCREEN_ROTATION_NONE /* rotation angle */
}
};
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_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);
}
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_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_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_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(guix_smart_watch_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_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_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;
}
GX_WINDOW_PROPERTIES settings_language_properties =
{
0 /* wallpaper pixelmap id */
};
GX_RADIO_BUTTON_PROPERTIES settings_language_English_properties =
{
GX_STRING_ID_ENGLISH, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_WHITE, /* normal text color */
GX_COLOR_ID_WHITE, /* selected text color */
GX_COLOR_ID_WHITE, /* 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 settings_language_Spanish_properties =
{
GX_STRING_ID_SPANISH, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_WHITE, /* normal text color */
GX_COLOR_ID_WHITE, /* selected text color */
GX_COLOR_ID_WHITE, /* 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 settings_language_Chinese_properties =
{
GX_STRING_ID_CHINESE, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_WHITE, /* normal text color */
GX_COLOR_ID_WHITE, /* selected text color */
GX_COLOR_ID_WHITE, /* 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 settings_language_Japanese_properties =
{
GX_STRING_ID_JAPANESE, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_WHITE, /* normal text color */
GX_COLOR_ID_WHITE, /* selected text color */
GX_COLOR_ID_WHITE, /* 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 settings_language_Japanese_define =
{
"Japanese",
GX_TYPE_RADIO_BUTTON, /* widget type */
ID_JAPANESE, /* 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 */
{203, 306, 335, 337}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(SETTINGS_LANGUAGE_CONTROL_BLOCK, settings_language_Japanese), /* control block */
(void *) &settings_language_Japanese_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET settings_language_Chinese_define =
{
"Chinese",
GX_TYPE_RADIO_BUTTON, /* widget type */
ID_CHINESE, /* 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 */
{203, 255, 322, 286}, /* widget size */
&settings_language_Japanese_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(SETTINGS_LANGUAGE_CONTROL_BLOCK, settings_language_Chinese), /* control block */
(void *) &settings_language_Chinese_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET settings_language_Spanish_define =
{
"Spanish",
GX_TYPE_RADIO_BUTTON, /* widget type */
ID_SPANISH, /* 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 */
{203, 202, 339, 233}, /* widget size */
&settings_language_Chinese_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(SETTINGS_LANGUAGE_CONTROL_BLOCK, settings_language_Spanish), /* control block */
(void *) &settings_language_Spanish_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET settings_language_English_define =
{
"English",
GX_TYPE_RADIO_BUTTON, /* widget type */
ID_ENGLISH, /* 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 */
{203, 153, 322, 181}, /* widget size */
&settings_language_Spanish_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(SETTINGS_LANGUAGE_CONTROL_BLOCK, settings_language_English), /* control block */
(void *) &settings_language_English_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET settings_language_define =
{
"settings_language",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(SETTINGS_LANGUAGE_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 *)) settings_language_event_handler, /* event function override */
{181, 140, 438, 349}, /* widget size */
GX_NULL, /* next widget */
&settings_language_English_define, /* child widget */
0, /* control block */
(void *) &settings_language_properties /* extended properties */
};
GX_WINDOW_PROPERTIES map_screen_properties =
{
0 /* wallpaper pixelmap id */
};
GX_WINDOW_PROPERTIES map_screen_text_input_bg_properties =
{
GX_PIXELMAP_ID_CALCULATOR_FIELD /* wallpaper pixelmap id */
};
GX_CHAR map_screen_text_input_buffer[100];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES map_screen_text_input_properties =
{
0, /* string id */
GX_FONT_ID_TEXT_INPUT, /* font id */
GX_COLOR_ID_WHITE, /* normal text color */
GX_COLOR_ID_WHITE, /* selected text color */
GX_COLOR_ID_WHITE, /* disabled text color */
GX_COLOR_ID_READONLY_FILL, /* readonly fill color */
GX_COLOR_ID_READONLY_TEXT, /* readonly text color */
map_screen_text_input_buffer, /* buffer */
100, /* buffer size */
};
GX_PIXELMAP_BUTTON_PROPERTIES map_screen_search_properties =
{
GX_PIXELMAP_ID_SEARCH, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_WINDOW_PROPERTIES map_screen_window_2_properties =
{
GX_PIXELMAP_ID_ZOOM_BG /* wallpaper pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES map_screen_pixelmap_button_properties =
{
GX_PIXELMAP_ID_ZOOM_IN, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES map_screen_pixelmap_button_1_properties =
{
GX_PIXELMAP_ID_ZOOM_OUT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_ICON_PROPERTIES map_screen_icon_properties =
{
GX_PIXELMAP_ID_HORIZONTAL_LINE, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES map_screen_pixelmap_button_2_properties =
{
GX_PIXELMAP_ID_ARROW, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES map_screen_pixelmap_button_3_properties =
{
GX_PIXELMAP_ID_MAP_MARKER_RED, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET map_screen_search_define =
{
"search",
GX_TYPE_PIXELMAP_BUTTON, /* 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_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{417, 133, 447, 171}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MAP_SCREEN_CONTROL_BLOCK, map_screen_search), /* control block */
(void *) &map_screen_search_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET map_screen_text_input_define =
{
"text_input",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* 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_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 */
{199, 132, 416, 173}, /* widget size */
&map_screen_search_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAP_SCREEN_CONTROL_BLOCK, map_screen_text_input), /* control block */
(void *) &map_screen_text_input_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET map_screen_icon_define =
{
"icon",
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_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 */
{425, 360, 444, 360}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MAP_SCREEN_CONTROL_BLOCK, map_screen_icon), /* control block */
(void *) &map_screen_icon_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET map_screen_pixelmap_button_1_define =
{
"pixelmap_button_1",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_ZOOM_OUT, /* 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_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{421, 363, 447, 387}, /* widget size */
&map_screen_icon_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAP_SCREEN_CONTROL_BLOCK, map_screen_pixelmap_button_1), /* control block */
(void *) &map_screen_pixelmap_button_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET map_screen_pixelmap_button_define =
{
"pixelmap_button",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_ZOOM_IN, /* 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_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_HEALTHY_ICON, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_HEALTHY_ICON, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{421, 334, 447, 358}, /* widget size */
&map_screen_pixelmap_button_1_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAP_SCREEN_CONTROL_BLOCK, map_screen_pixelmap_button), /* control block */
(void *) &map_screen_pixelmap_button_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET map_screen_pixelmap_button_3_define =
{
"pixelmap_button_3",
GX_TYPE_PIXELMAP_BUTTON, /* 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, /* 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 */
{313, 215, 345, 251}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MAP_SCREEN_CONTROL_BLOCK, map_screen_pixelmap_button_3), /* control block */
(void *) &map_screen_pixelmap_button_3_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET map_screen_pixelmap_button_2_define =
{
"pixelmap_button_2",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
GX_ID_NONE, /* 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_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{194, 360, 227, 393}, /* widget size */
&map_screen_pixelmap_button_3_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAP_SCREEN_CONTROL_BLOCK, map_screen_pixelmap_button_2), /* control block */
(void *) &map_screen_pixelmap_button_2_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET map_screen_window_2_define =
{
"window_2",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* 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 */
{421, 333, 448, 387}, /* widget size */
&map_screen_pixelmap_button_2_define, /* next widget definition */
&map_screen_pixelmap_button_define, /* child widget definition */
offsetof(MAP_SCREEN_CONTROL_BLOCK, map_screen_window_2), /* control block */
(void *) &map_screen_window_2_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET map_screen_text_input_bg_define =
{
"text_input_bg",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_WINDOW), /* control block size */
GX_COLOR_ID_BLACK, /* normal color id */
GX_COLOR_ID_BLACK, /* selected color id */
GX_COLOR_ID_BLACK, /* disabled color id */
gx_studio_window_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{193, 131, 450, 174}, /* widget size */
&map_screen_window_2_define, /* next widget definition */
&map_screen_text_input_define, /* child widget definition */
offsetof(MAP_SCREEN_CONTROL_BLOCK, map_screen_text_input_bg), /* control block */
(void *) &map_screen_text_input_bg_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET map_screen_define =
{
"map_screen",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(MAP_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 */
(VOID (*)(GX_WIDGET *)) map_screen_draw, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) map_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&map_screen_text_input_bg_define, /* child widget */
0, /* control block */
(void *) &map_screen_properties /* extended properties */
};
GX_WINDOW_PROPERTIES keyboard_screen_properties =
{
GX_PIXELMAP_ID_KEYBOARD_BG /* wallpaper pixelmap id */
};
GX_WINDOW_PROPERTIES keyboard_screen_window_4_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES keyboard_screen_pixelmap_button_7_properties =
{
GX_PIXELMAP_ID_MICROPHONE, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CHAR keyboard_screen_input_field_buffer[100];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES keyboard_screen_input_field_properties =
{
GX_STRING_ID_REPLAY, /* string id */
GX_FONT_ID_NORMAL, /* 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 */
keyboard_screen_input_field_buffer, /* buffer */
100, /* buffer size */
};
GX_PIXELMAP_BUTTON_PROPERTIES keyboard_screen_send_properties =
{
GX_PIXELMAP_ID_BUTTON_SEND, /* normal pixelmap id */
GX_PIXELMAP_ID_BUTTON_SEND_ON, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_WINDOW_PROPERTIES keyboard_screen_keyboard_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PIXELMAP_PROMPT_PROPERTIES keyboard_screen_number_properties =
{
0, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_BLUE, /* selected text color */
GX_COLOR_ID_GRAY, /* disabled text color */
GX_PIXELMAP_ID_BUTTON_LEFT, /* left pixelmap id */
GX_PIXELMAP_ID_BUTTON_MIDDLE, /* fill pixelmap id */
GX_PIXELMAP_ID_BUTTON_RIGHT, /* right pixelmap id */
0, /* selected left pixelmap id */
0, /* selected fill pixelmap id */
0 /* selected right pixelmap id */
};
GX_PIXELMAP_PROMPT_PROPERTIES keyboard_screen_up_arrow_properties =
{
0, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_BLUE, /* selected text color */
GX_COLOR_ID_GRAY, /* disabled text color */
GX_PIXELMAP_ID_BUTTON_LEFT, /* left pixelmap id */
GX_PIXELMAP_ID_BUTTON_MIDDLE, /* fill pixelmap id */
GX_PIXELMAP_ID_BUTTON_RIGHT, /* right pixelmap id */
0, /* selected left pixelmap id */
0, /* selected fill pixelmap id */
0 /* selected right pixelmap id */
};
GX_PIXELMAP_PROMPT_PROPERTIES keyboard_screen_space_properties =
{
0, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY, /* disabled text color */
GX_PIXELMAP_ID_BUTTON_LEFT, /* left pixelmap id */
GX_PIXELMAP_ID_BUTTON_MIDDLE, /* fill pixelmap id */
GX_PIXELMAP_ID_BUTTON_RIGHT, /* right pixelmap id */
0, /* selected left pixelmap id */
0, /* selected fill pixelmap id */
0 /* selected right pixelmap id */
};
GX_PIXELMAP_PROMPT_PROPERTIES keyboard_screen_enter_properties =
{
0, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY, /* disabled text color */
GX_PIXELMAP_ID_BUTTON_LEFT, /* left pixelmap id */
GX_PIXELMAP_ID_BUTTON_MIDDLE, /* fill pixelmap id */
GX_PIXELMAP_ID_BUTTON_RIGHT, /* right pixelmap id */
0, /* selected left pixelmap id */
0, /* selected fill pixelmap id */
0 /* selected right pixelmap id */
};
GX_PIXELMAP_PROMPT_PROPERTIES keyboard_screen_simble_properties =
{
0, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY, /* disabled text color */
GX_PIXELMAP_ID_BUTTON_LEFT, /* left pixelmap id */
GX_PIXELMAP_ID_BUTTON_MIDDLE, /* fill pixelmap id */
GX_PIXELMAP_ID_BUTTON_RIGHT, /* right pixelmap id */
0, /* selected left pixelmap id */
0, /* selected fill pixelmap id */
0 /* selected right pixelmap id */
};
GX_PIXELMAP_PROMPT_PROPERTIES keyboard_screen_backspace_properties =
{
0, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_BLUE, /* selected text color */
GX_COLOR_ID_GRAY, /* disabled text color */
GX_PIXELMAP_ID_BUTTON_LEFT, /* left pixelmap id */
GX_PIXELMAP_ID_BUTTON_MIDDLE, /* fill pixelmap id */
GX_PIXELMAP_ID_BUTTON_RIGHT, /* right pixelmap id */
0, /* selected left pixelmap id */
0, /* selected fill pixelmap id */
0 /* selected right pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET keyboard_screen_input_field_define =
{
"input_field",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* 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_DRAW_SELECTED|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 */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) input_field_event_process, /* event function override */
{200, 248, 375, 281}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(KEYBOARD_SCREEN_CONTROL_BLOCK, keyboard_screen_input_field), /* control block */
(void *) &keyboard_screen_input_field_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET keyboard_screen_pixelmap_button_7_define =
{
"pixelmap_button_7",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
GX_ID_NONE, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{376, 253, 394, 278}, /* widget size */
&keyboard_screen_input_field_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(KEYBOARD_SCREEN_CONTROL_BLOCK, keyboard_screen_pixelmap_button_7), /* control block */
(void *) &keyboard_screen_pixelmap_button_7_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET keyboard_screen_backspace_define =
{
"backspace",
GX_TYPE_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_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_PROMPT), /* control block size */
GX_COLOR_ID_BUTTON, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_BUTTON, /* disabled color id */
gx_studio_pixelmap_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{208, 373, 247, 395}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(KEYBOARD_SCREEN_CONTROL_BLOCK, keyboard_screen_backspace), /* control block */
(void *) &keyboard_screen_backspace_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET keyboard_screen_simble_define =
{
"simble",
GX_TYPE_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_PIXELMAP_PROMPT), /* control block size */
GX_COLOR_ID_BUTTON, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_BUTTON, /* disabled color id */
gx_studio_pixelmap_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{417, 344, 440, 366}, /* widget size */
&keyboard_screen_backspace_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(KEYBOARD_SCREEN_CONTROL_BLOCK, keyboard_screen_simble), /* control block */
(void *) &keyboard_screen_simble_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET keyboard_screen_enter_define =
{
"enter",
GX_TYPE_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_PIXELMAP_PROMPT), /* control block size */
GX_COLOR_ID_BUTTON, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_BUTTON, /* disabled color id */
gx_studio_pixelmap_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{386, 374, 431, 396}, /* widget size */
&keyboard_screen_simble_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(KEYBOARD_SCREEN_CONTROL_BLOCK, keyboard_screen_enter), /* control block */
(void *) &keyboard_screen_enter_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET keyboard_screen_space_define =
{
"space",
GX_TYPE_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_PIXELMAP_PROMPT), /* control block size */
GX_COLOR_ID_BUTTON, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_BUTTON, /* disabled color id */
gx_studio_pixelmap_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{282, 373, 382, 395}, /* widget size */
&keyboard_screen_enter_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(KEYBOARD_SCREEN_CONTROL_BLOCK, keyboard_screen_space), /* control block */
(void *) &keyboard_screen_space_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET keyboard_screen_up_arrow_define =
{
"up_arrow",
GX_TYPE_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_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_PROMPT), /* control block size */
GX_COLOR_ID_BUTTON, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_BUTTON, /* disabled color id */
gx_studio_pixelmap_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{250, 373, 275, 395}, /* widget size */
&keyboard_screen_space_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(KEYBOARD_SCREEN_CONTROL_BLOCK, keyboard_screen_up_arrow), /* control block */
(void *) &keyboard_screen_up_arrow_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET keyboard_screen_number_define =
{
"number",
GX_TYPE_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_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_PROMPT), /* control block size */
GX_COLOR_ID_BUTTON, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_BUTTON, /* disabled color id */
gx_studio_pixelmap_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{200, 344, 231, 366}, /* widget size */
&keyboard_screen_up_arrow_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(KEYBOARD_SCREEN_CONTROL_BLOCK, keyboard_screen_number), /* control block */
(void *) &keyboard_screen_number_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET keyboard_screen_keyboard_define =
{
"keyboard",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* 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 */
{192, 292, 447, 396}, /* widget size */
GX_NULL, /* no next widget */
&keyboard_screen_number_define, /* child widget definition */
offsetof(KEYBOARD_SCREEN_CONTROL_BLOCK, keyboard_screen_keyboard), /* control block */
(void *) &keyboard_screen_keyboard_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET keyboard_screen_send_define =
{
"send",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_SEND, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|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 */
{403, 244, 447, 285}, /* widget size */
&keyboard_screen_keyboard_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(KEYBOARD_SCREEN_CONTROL_BLOCK, keyboard_screen_send), /* control block */
(void *) &keyboard_screen_send_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET keyboard_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_DARK_GRAY, /* normal color id */
GX_COLOR_ID_DARK_GRAY, /* selected color id */
GX_COLOR_ID_DARK_GRAY, /* disabled color id */
gx_studio_window_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{193, 244, 399, 285}, /* widget size */
&keyboard_screen_send_define, /* next widget definition */
&keyboard_screen_pixelmap_button_7_define, /* child widget definition */
offsetof(KEYBOARD_SCREEN_CONTROL_BLOCK, keyboard_screen_window_4), /* control block */
(void *) &keyboard_screen_window_4_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET keyboard_screen_define =
{
"keyboard_screen",
GX_TYPE_WINDOW, /* 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_DRAW_SELECTED|GX_STYLE_ENABLED|GX_STYLE_TILE_WALLPAPER, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(KEYBOARD_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_BLACK, /* normal color id */
GX_COLOR_ID_BLACK, /* selected color id */
GX_COLOR_ID_BLACK, /* disabled color id */
gx_studio_window_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) keyboard_screen_event_handler, /* event function override */
{192, 240, 448, 396}, /* widget size */
GX_NULL, /* next widget */
&keyboard_screen_window_4_define, /* child widget */
0, /* control block */
(void *) &keyboard_screen_properties /* extended properties */
};
GX_WINDOW_PROPERTIES healthy_pace_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PROMPT_PROPERTIES healthy_pace_title_properties =
{
GX_STRING_ID_STRING_29, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_ICON_PROPERTIES healthy_pace_icon_10_1_properties =
{
GX_PIXELMAP_ID_HEALTH_RUN, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_PROMPT_PROPERTIES healthy_pace_prompt_16_properties =
{
GX_STRING_ID_STRING_16, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_MILK_WHITE, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES healthy_pace_pace_properties =
{
GX_STRING_ID_STRING_9, /* string id */
GX_FONT_ID_BIG_NUMBER_70, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_MILK_WHITE, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_CONST GX_STUDIO_WIDGET healthy_pace_pace_define =
{
"pace",
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 */
{65, 87, 199, 159}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(HEALTHY_PACE_CONTROL_BLOCK, healthy_pace_pace), /* control block */
(void *) &healthy_pace_pace_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_pace_prompt_16_define =
{
"prompt_16",
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 */
{105, 158, 147, 178}, /* widget size */
&healthy_pace_pace_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(HEALTHY_PACE_CONTROL_BLOCK, healthy_pace_prompt_16), /* control block */
(void *) &healthy_pace_prompt_16_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_pace_icon_10_1_define =
{
"icon_10_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_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_HEALTHY_ICON, /* normal color id */
GX_COLOR_ID_DARK_GRAY, /* selected color id */
GX_COLOR_ID_HEALTHY_ICON, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{37, 45, 238, 216}, /* widget size */
GX_NULL, /* no next widget */
&healthy_pace_prompt_16_define, /* child widget definition */
offsetof(HEALTHY_PACE_CONTROL_BLOCK, healthy_pace_icon_10_1), /* control block */
(void *) &healthy_pace_icon_10_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_pace_title_define =
{
"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_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 */
{100, 3, 162, 24}, /* widget size */
&healthy_pace_icon_10_1_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(HEALTHY_PACE_CONTROL_BLOCK, healthy_pace_title), /* control block */
(void *) &healthy_pace_title_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_pace_define =
{
"healthy_pace",
GX_TYPE_WINDOW, /* 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, /* style flags */
0, /* status flags */
sizeof(HEALTHY_PACE_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 */
{0, 0, 274, 266}, /* widget size */
GX_NULL, /* next widget */
&healthy_pace_title_define, /* child widget */
0, /* control block */
(void *) &healthy_pace_properties /* extended properties */
};
GX_WINDOW_PROPERTIES weather_LosAngeles_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PROMPT_PROPERTIES weather_LosAngeles_city_name_2_properties =
{
GX_STRING_ID_LOS_ANGELES, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_WINDOW_PROPERTIES weather_LosAngeles_weather_frame_properties =
{
0 /* wallpaper pixelmap id */
};
GX_WINDOW_PROPERTIES weather_LosAngeles_weather_info_properties =
{
0 /* wallpaper pixelmap id */
};
GX_ICON_PROPERTIES weather_LosAngeles_icon_9_properties =
{
GX_PIXELMAP_ID_WEATHER_SUN_LARGE, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_PROMPT_PROPERTIES weather_LosAngeles_current_T_2_properties =
{
GX_STRING_ID_STRING_12, /* string id */
GX_FONT_ID_BIG_NUMBER_70, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_LosAngeles_prompt_14_2_properties =
{
GX_STRING_ID_CHARACTER_O, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_LosAngeles_prompt_15_7_properties =
{
GX_STRING_ID_STRING_5, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_LosAngeles_prompt_15_8_properties =
{
GX_STRING_ID_STRING_6, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_LosAngeles_prompt_15_9_properties =
{
GX_STRING_ID_STRING_13, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_LosAngeles_prompt_15_10_properties =
{
GX_STRING_ID_STRING_14, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_SCROLLBAR_APPEARANCE weather_LosAngeles_vertical_scroll_7_properties =
{
6, /* scroll width */
6, /* thumb width */
0, /* thumb travel min */
6, /* 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_LIGHT_GRAY, /* scroll thumb color */
GX_COLOR_ID_LIGHT_GRAY, /* scroll thumb border color */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_prompt_15_10_define =
{
"prompt_15_10",
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 */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{405, 267, 426, 284}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(WEATHER_LOSANGELES_CONTROL_BLOCK, weather_LosAngeles_prompt_15_10), /* control block */
(void *) &weather_LosAngeles_prompt_15_10_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_prompt_15_9_define =
{
"prompt_15_9",
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 */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{342, 267, 363, 284}, /* widget size */
&weather_LosAngeles_prompt_15_10_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_LOSANGELES_CONTROL_BLOCK, weather_LosAngeles_prompt_15_9), /* control block */
(void *) &weather_LosAngeles_prompt_15_9_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_prompt_15_8_define =
{
"prompt_15_8",
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_RIGHT, /* 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 */
{371, 266, 402, 283}, /* widget size */
&weather_LosAngeles_prompt_15_9_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_LOSANGELES_CONTROL_BLOCK, weather_LosAngeles_prompt_15_8), /* control block */
(void *) &weather_LosAngeles_prompt_15_8_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_prompt_15_7_define =
{
"prompt_15_7",
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_RIGHT, /* 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 */
{301, 266, 337, 283}, /* widget size */
&weather_LosAngeles_prompt_15_8_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_LOSANGELES_CONTROL_BLOCK, weather_LosAngeles_prompt_15_7), /* control block */
(void *) &weather_LosAngeles_prompt_15_7_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_prompt_14_2_define =
{
"prompt_14_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_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 */
{413, 197, 430, 227}, /* widget size */
&weather_LosAngeles_prompt_15_7_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_LOSANGELES_CONTROL_BLOCK, weather_LosAngeles_prompt_14_2), /* control block */
(void *) &weather_LosAngeles_prompt_14_2_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_current_T_2_define =
{
"current_T_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_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 */
{323, 201, 412, 273}, /* widget size */
&weather_LosAngeles_prompt_14_2_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_LOSANGELES_CONTROL_BLOCK, weather_LosAngeles_current_T_2), /* control block */
(void *) &weather_LosAngeles_current_T_2_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_icon_9_define =
{
"icon_9",
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_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_LIGHT_GRAY, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{217, 193, 279, 254}, /* widget size */
&weather_LosAngeles_current_T_2_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_LOSANGELES_CONTROL_BLOCK, weather_LosAngeles_icon_9), /* control block */
(void *) &weather_LosAngeles_icon_9_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_vertical_scroll_7_define =
{
"vertical_scroll_7",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
0, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_SCROLL_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_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 */
{445, 170, 450, 399}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(WEATHER_LOSANGELES_CONTROL_BLOCK, weather_LosAngeles_vertical_scroll_7), /* control block */
(void *) &weather_LosAngeles_vertical_scroll_7_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_weather_info_define =
{
"weather_info",
GX_TYPE_WINDOW, /* 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, /* style flags */
0, /* 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 */
{196, 170, 450, 599}, /* widget size */
&weather_LosAngeles_vertical_scroll_7_define, /* next widget definition */
&weather_LosAngeles_icon_9_define, /* child widget definition */
offsetof(WEATHER_LOSANGELES_CONTROL_BLOCK, weather_LosAngeles_weather_info), /* control block */
(void *) &weather_LosAngeles_weather_info_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_weather_frame_define =
{
"weather_frame",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* style flags */
0, /* 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 */
{196, 170, 450, 399}, /* widget size */
GX_NULL, /* no next widget */
&weather_LosAngeles_weather_info_define, /* child widget definition */
offsetof(WEATHER_LOSANGELES_CONTROL_BLOCK, weather_LosAngeles_weather_frame), /* control block */
(void *) &weather_LosAngeles_weather_frame_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_city_name_2_define =
{
"city_name_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_ENABLED|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 */
{266, 140, 385, 162}, /* widget size */
&weather_LosAngeles_weather_frame_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_LOSANGELES_CONTROL_BLOCK, weather_LosAngeles_city_name_2), /* control block */
(void *) &weather_LosAngeles_city_name_2_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_LosAngeles_define =
{
"weather_LosAngeles",
GX_TYPE_WINDOW, /* 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, /* style flags */
0, /* status flags */
sizeof(WEATHER_LOSANGELES_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 */
{182, 136, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&weather_LosAngeles_city_name_2_define, /* child widget */
0, /* control block */
(void *) &weather_LosAngeles_properties /* extended properties */
};
GX_WINDOW_PROPERTIES weather_SanFrancisco_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PROMPT_PROPERTIES weather_SanFrancisco_city_name_1_properties =
{
GX_STRING_ID_SAN_FRANCISCO, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_WINDOW_PROPERTIES weather_SanFrancisco_weather_frame_properties =
{
0 /* wallpaper pixelmap id */
};
GX_WINDOW_PROPERTIES weather_SanFrancisco_weather_info_properties =
{
0 /* wallpaper pixelmap id */
};
GX_ICON_PROPERTIES weather_SanFrancisco_icon_7_properties =
{
GX_PIXELMAP_ID_WEATHER_SUN_LARGE, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_PROMPT_PROPERTIES weather_SanFrancisco_current_T_properties =
{
GX_STRING_ID_STRING_10, /* string id */
GX_FONT_ID_BIG_NUMBER_70, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_MILK_WHITE, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_SanFrancisco_prompt_14_properties =
{
GX_STRING_ID_CHARACTER_O, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_MILK_WHITE, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_SanFrancisco_prompt_15_3_properties =
{
GX_STRING_ID_STRING_5, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_GRAY, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_SanFrancisco_prompt_15_4_properties =
{
GX_STRING_ID_STRING_6, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_GRAY, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_SanFrancisco_prompt_15_5_properties =
{
GX_STRING_ID_STRING_7, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_LIGHT_GRAY, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_SanFrancisco_prompt_15_6_properties =
{
GX_STRING_ID_STRING_8, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_LIGHT_GRAY, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_SCROLLBAR_APPEARANCE weather_SanFrancisco_vertical_scroll_6_properties =
{
6, /* scroll width */
6, /* thumb width */
0, /* thumb travel min */
6, /* 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_LIGHT_GRAY, /* scroll thumb color */
GX_COLOR_ID_LIGHT_GRAY, /* scroll thumb border color */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_prompt_15_6_define =
{
"prompt_15_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 */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{405, 267, 426, 284}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SANFRANCISCO_CONTROL_BLOCK, weather_SanFrancisco_prompt_15_6), /* control block */
(void *) &weather_SanFrancisco_prompt_15_6_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_prompt_15_5_define =
{
"prompt_15_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_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 */
{342, 267, 363, 284}, /* widget size */
&weather_SanFrancisco_prompt_15_6_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SANFRANCISCO_CONTROL_BLOCK, weather_SanFrancisco_prompt_15_5), /* control block */
(void *) &weather_SanFrancisco_prompt_15_5_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_prompt_15_4_define =
{
"prompt_15_4",
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_RIGHT, /* 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 */
{371, 266, 402, 283}, /* widget size */
&weather_SanFrancisco_prompt_15_5_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SANFRANCISCO_CONTROL_BLOCK, weather_SanFrancisco_prompt_15_4), /* control block */
(void *) &weather_SanFrancisco_prompt_15_4_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_prompt_15_3_define =
{
"prompt_15_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_TEXT_RIGHT, /* 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 */
{303, 266, 337, 283}, /* widget size */
&weather_SanFrancisco_prompt_15_4_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SANFRANCISCO_CONTROL_BLOCK, weather_SanFrancisco_prompt_15_3), /* control block */
(void *) &weather_SanFrancisco_prompt_15_3_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_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_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 */
{413, 197, 430, 227}, /* widget size */
&weather_SanFrancisco_prompt_15_3_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SANFRANCISCO_CONTROL_BLOCK, weather_SanFrancisco_prompt_14), /* control block */
(void *) &weather_SanFrancisco_prompt_14_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_current_T_define =
{
"current_T",
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 */
{323, 201, 412, 273}, /* widget size */
&weather_SanFrancisco_prompt_14_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SANFRANCISCO_CONTROL_BLOCK, weather_SanFrancisco_current_T), /* control block */
(void *) &weather_SanFrancisco_current_T_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_icon_7_define =
{
"icon_7",
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_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_LIGHT_GRAY, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{217, 193, 279, 254}, /* widget size */
&weather_SanFrancisco_current_T_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SANFRANCISCO_CONTROL_BLOCK, weather_SanFrancisco_icon_7), /* control block */
(void *) &weather_SanFrancisco_icon_7_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_vertical_scroll_6_define =
{
"vertical_scroll_6",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
0, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_SCROLL_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_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 */
{445, 170, 450, 399}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SANFRANCISCO_CONTROL_BLOCK, weather_SanFrancisco_vertical_scroll_6), /* control block */
(void *) &weather_SanFrancisco_vertical_scroll_6_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_weather_info_define =
{
"weather_info",
GX_TYPE_WINDOW, /* 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, /* style flags */
0, /* 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 */
{196, 170, 450, 599}, /* widget size */
&weather_SanFrancisco_vertical_scroll_6_define, /* next widget definition */
&weather_SanFrancisco_icon_7_define, /* child widget definition */
offsetof(WEATHER_SANFRANCISCO_CONTROL_BLOCK, weather_SanFrancisco_weather_info), /* control block */
(void *) &weather_SanFrancisco_weather_info_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_weather_frame_define =
{
"weather_frame",
GX_TYPE_WINDOW, /* 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, /* style flags */
0, /* 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 */
{196, 170, 450, 399}, /* widget size */
GX_NULL, /* no next widget */
&weather_SanFrancisco_weather_info_define, /* child widget definition */
offsetof(WEATHER_SANFRANCISCO_CONTROL_BLOCK, weather_SanFrancisco_weather_frame), /* control block */
(void *) &weather_SanFrancisco_weather_frame_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_city_name_1_define =
{
"city_name_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 */
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 */
{238, 140, 408, 160}, /* widget size */
&weather_SanFrancisco_weather_frame_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SANFRANCISCO_CONTROL_BLOCK, weather_SanFrancisco_city_name_1), /* control block */
(void *) &weather_SanFrancisco_city_name_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_SanFrancisco_define =
{
"weather_SanFrancisco",
GX_TYPE_WINDOW, /* 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, /* style flags */
0, /* status flags */
sizeof(WEATHER_SANFRANCISCO_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 */
{182, 136, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&weather_SanFrancisco_city_name_1_define, /* child widget */
0, /* control block */
(void *) &weather_SanFrancisco_properties /* extended properties */
};
GX_WINDOW_PROPERTIES contact_info_edit_list_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PROMPT_PROPERTIES contact_info_edit_list_title_firstname_properties =
{
GX_STRING_ID_BEIJING, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_GRAY, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES contact_info_edit_list_title_mobile_properties =
{
GX_STRING_ID_MOBILE, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES contact_info_edit_list_title_office_properties =
{
GX_STRING_ID_OFFICE, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES contact_info_edit_list_title_email_properties =
{
GX_STRING_ID_EMAIL, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES contact_info_edit_list_title_address_properties =
{
GX_STRING_ID_ADDRESS, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_CHAR contact_info_edit_list_firstname_buffer[30];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES contact_info_edit_list_firstname_properties =
{
0, /* string id */
GX_FONT_ID_NORMAL, /* 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 */
contact_info_edit_list_firstname_buffer, /* buffer */
30, /* buffer size */
};
GX_CHAR contact_info_edit_list_mobile_buffer[15];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES contact_info_edit_list_mobile_properties =
{
0, /* string id */
GX_FONT_ID_NORMAL, /* 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 */
contact_info_edit_list_mobile_buffer, /* buffer */
15, /* buffer size */
};
GX_CHAR contact_info_edit_list_office_buffer[15];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES contact_info_edit_list_office_properties =
{
0, /* string id */
GX_FONT_ID_NORMAL, /* 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 */
contact_info_edit_list_office_buffer, /* buffer */
15, /* buffer size */
};
GX_CHAR contact_info_edit_list_email_buffer[50];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES contact_info_edit_list_email_properties =
{
0, /* string id */
GX_FONT_ID_NORMAL, /* 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 */
contact_info_edit_list_email_buffer, /* buffer */
50, /* buffer size */
};
GX_CHAR contact_info_edit_list_address_buffer[50];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES contact_info_edit_list_address_properties =
{
0, /* string id */
GX_FONT_ID_NORMAL, /* 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 */
contact_info_edit_list_address_buffer, /* buffer */
50, /* buffer size */
};
GX_PROMPT_PROPERTIES contact_info_edit_list_title_lastname_properties =
{
GX_STRING_ID_FIRST_NAME, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_CHAR contact_info_edit_list_lastname_buffer[20];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES contact_info_edit_list_lastname_properties =
{
0, /* string id */
GX_FONT_ID_NORMAL, /* 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 */
contact_info_edit_list_lastname_buffer, /* buffer */
20, /* buffer size */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_lastname_define =
{
"lastname",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* 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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_SINGLE_LINE_TEXT_INPUT), /* control block size */
GX_COLOR_ID_CURSOR, /* normal color id */
GX_COLOR_ID_CURSOR, /* selected color id */
GX_COLOR_ID_CURSOR, /* disabled color id */
gx_studio_text_input_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_text_input_draw, /* drawing function override */
GX_NULL, /* event function override */
{1, 91, 252, 122}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_lastname), /* control block */
(void *) &contact_info_edit_list_lastname_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_title_lastname_define =
{
"title_lastname",
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 */
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 */
{1, 71, 130, 88}, /* widget size */
&contact_info_edit_list_lastname_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_title_lastname), /* control block */
(void *) &contact_info_edit_list_title_lastname_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_address_define =
{
"address",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* 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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_SINGLE_LINE_TEXT_INPUT), /* control block size */
GX_COLOR_ID_CURSOR, /* normal color id */
GX_COLOR_ID_CURSOR, /* selected color id */
GX_COLOR_ID_CURSOR, /* disabled color id */
gx_studio_text_input_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_text_input_draw, /* drawing function override */
GX_NULL, /* event function override */
{1, 314, 252, 345}, /* widget size */
&contact_info_edit_list_title_lastname_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_address), /* control block */
(void *) &contact_info_edit_list_address_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_email_define =
{
"email",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* 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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_SINGLE_LINE_TEXT_INPUT), /* control block size */
GX_COLOR_ID_CURSOR, /* normal color id */
GX_COLOR_ID_CURSOR, /* selected color id */
GX_COLOR_ID_CURSOR, /* disabled color id */
gx_studio_text_input_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_text_input_draw, /* drawing function override */
GX_NULL, /* event function override */
{1, 259, 252, 290}, /* widget size */
&contact_info_edit_list_address_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_email), /* control block */
(void *) &contact_info_edit_list_email_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_office_define =
{
"office",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* 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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_SINGLE_LINE_TEXT_INPUT), /* control block size */
GX_COLOR_ID_CURSOR, /* normal color id */
GX_COLOR_ID_CURSOR, /* selected color id */
GX_COLOR_ID_CURSOR, /* disabled color id */
gx_studio_text_input_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_text_input_draw, /* drawing function override */
GX_NULL, /* event function override */
{1, 203, 252, 234}, /* widget size */
&contact_info_edit_list_email_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_office), /* control block */
(void *) &contact_info_edit_list_office_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_mobile_define =
{
"mobile",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* 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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_SINGLE_LINE_TEXT_INPUT), /* control block size */
GX_COLOR_ID_CURSOR, /* normal color id */
GX_COLOR_ID_CURSOR, /* selected color id */
GX_COLOR_ID_CURSOR, /* disabled color id */
gx_studio_text_input_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_text_input_draw, /* drawing function override */
GX_NULL, /* event function override */
{2, 147, 253, 178}, /* widget size */
&contact_info_edit_list_office_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_mobile), /* control block */
(void *) &contact_info_edit_list_mobile_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_firstname_define =
{
"firstname",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* 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_DRAW_SELECTED|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_CURSOR, /* normal color id */
GX_COLOR_ID_CURSOR, /* selected color id */
GX_COLOR_ID_CURSOR, /* disabled color id */
gx_studio_text_input_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_text_input_draw, /* drawing function override */
GX_NULL, /* event function override */
{1, 35, 252, 66}, /* widget size */
&contact_info_edit_list_mobile_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_firstname), /* control block */
(void *) &contact_info_edit_list_firstname_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_title_address_define =
{
"title_address",
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 */
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 */
{1, 295, 67, 312}, /* widget size */
&contact_info_edit_list_firstname_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_title_address), /* control block */
(void *) &contact_info_edit_list_title_address_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_title_email_define =
{
"title_email",
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 */
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 */
{1, 240, 138, 257}, /* widget size */
&contact_info_edit_list_title_address_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_title_email), /* control block */
(void *) &contact_info_edit_list_title_email_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_title_office_define =
{
"title_office",
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 */
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 */
{1, 183, 83, 200}, /* widget size */
&contact_info_edit_list_title_email_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_title_office), /* control block */
(void *) &contact_info_edit_list_title_office_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_title_mobile_define =
{
"title_mobile",
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 */
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 */
{1, 127, 84, 144}, /* widget size */
&contact_info_edit_list_title_office_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_title_mobile), /* control block */
(void *) &contact_info_edit_list_title_mobile_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_title_firstname_define =
{
"title_firstname",
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_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 */
{1, 14, 81, 31}, /* widget size */
&contact_info_edit_list_title_mobile_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_LIST_CONTROL_BLOCK, contact_info_edit_list_title_firstname), /* control block */
(void *) &contact_info_edit_list_title_firstname_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_list_define =
{
"contact_info_edit_list",
GX_TYPE_WINDOW, /* 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, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(CONTACT_INFO_EDIT_LIST_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 */
{0, 0, 257, 346}, /* widget size */
GX_NULL, /* next widget */
&contact_info_edit_list_title_firstname_define, /* child widget */
0, /* control block */
(void *) &contact_info_edit_list_properties /* extended properties */
};
GX_WINDOW_PROPERTIES contact_info_list_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PROMPT_PROPERTIES contact_info_list_title_mobile_properties =
{
GX_STRING_ID_MOBILE, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES contact_info_list_title_office_properties =
{
GX_STRING_ID_OFFICE, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES contact_info_list_title_email_properties =
{
GX_STRING_ID_EMAIL, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES contact_info_list_mobile_properties =
{
GX_STRING_ID_STATIC, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES contact_info_list_office_properties =
{
GX_STRING_ID_STATIC, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PIXELMAP_BUTTON_PROPERTIES contact_info_list_text2mobile_properties =
{
GX_PIXELMAP_ID_GX_CONTACT_COMMENT_OFF, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES contact_info_list_text2office_properties =
{
GX_PIXELMAP_ID_GX_CONTACT_COMMENT_OFF, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PROMPT_PROPERTIES contact_info_list_email_properties =
{
GX_STRING_ID_STATIC, /* string id */
GX_FONT_ID_PROMPT, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES contact_info_list_title_address_properties =
{
GX_STRING_ID_ADDRESS, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_ML_TEXT_VIEW_PROPERTIES contact_info_list_address_properties =
{
GX_STRING_ID_STATIC, /* string id */
GX_FONT_ID_NORMAL, /* 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 */
5 /* line_space */
};
GX_CONST GX_STUDIO_WIDGET contact_info_list_address_define =
{
"address",
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_DRAW_SELECTED|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 */
{13, 205, 249, 254}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_LIST_CONTROL_BLOCK, contact_info_list_address), /* control block */
(void *) &contact_info_list_address_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_list_title_address_define =
{
"title_address",
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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{13, 184, 79, 201}, /* widget size */
&contact_info_list_address_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_LIST_CONTROL_BLOCK, contact_info_list_title_address), /* control block */
(void *) &contact_info_list_title_address_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_list_email_define =
{
"email",
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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{14, 152, 263, 169}, /* widget size */
&contact_info_list_title_address_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_LIST_CONTROL_BLOCK, contact_info_list_email), /* control block */
(void *) &contact_info_list_email_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_list_text2office_define =
{
"text2office",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_TEXT_OFFICE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_GREEN, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{241, 95, 265, 116}, /* widget size */
&contact_info_list_email_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_LIST_CONTROL_BLOCK, contact_info_list_text2office), /* control block */
(void *) &contact_info_list_text2office_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_list_text2mobile_define =
{
"text2mobile",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_TEXT_MOBILE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_GREEN, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{241, 37, 265, 58}, /* widget size */
&contact_info_list_text2office_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_LIST_CONTROL_BLOCK, contact_info_list_text2mobile), /* control block */
(void *) &contact_info_list_text2mobile_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_list_office_define =
{
"office",
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_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 */
{14, 93, 235, 116}, /* widget size */
&contact_info_list_text2mobile_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_LIST_CONTROL_BLOCK, contact_info_list_office), /* control block */
(void *) &contact_info_list_office_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_list_mobile_define =
{
"mobile",
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_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 */
{14, 34, 235, 57}, /* widget size */
&contact_info_list_office_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_LIST_CONTROL_BLOCK, contact_info_list_mobile), /* control block */
(void *) &contact_info_list_mobile_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_list_title_email_define =
{
"title_email",
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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{13, 131, 153, 148}, /* widget size */
&contact_info_list_mobile_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_LIST_CONTROL_BLOCK, contact_info_list_title_email), /* control block */
(void *) &contact_info_list_title_email_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_list_title_office_define =
{
"title_office",
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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{13, 73, 97, 90}, /* widget size */
&contact_info_list_title_email_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_LIST_CONTROL_BLOCK, contact_info_list_title_office), /* control block */
(void *) &contact_info_list_title_office_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_list_title_mobile_define =
{
"title_mobile",
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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{13, 13, 101, 30}, /* widget size */
&contact_info_list_title_office_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_LIST_CONTROL_BLOCK, contact_info_list_title_mobile), /* control block */
(void *) &contact_info_list_title_mobile_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_list_define =
{
"contact_info_list",
GX_TYPE_WINDOW, /* 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, /* style flags */
0, /* status flags */
sizeof(CONTACT_INFO_LIST_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 */
{0, 0, 274, 257}, /* widget size */
GX_NULL, /* next widget */
&contact_info_list_title_mobile_define, /* child widget */
0, /* control block */
(void *) &contact_info_list_properties /* extended properties */
};
GX_WINDOW_PROPERTIES contact_info_screen_properties =
{
GX_PIXELMAP_ID_USER_FEMALE /* wallpaper pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES contact_info_screen_contact_info_back_properties =
{
GX_PIXELMAP_ID_ARROW_LEFT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PROMPT_PROPERTIES contact_info_screen_last_name_properties =
{
GX_STRING_ID_BEIJING, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_NAME, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_NAME /* disabled text color */
};
GX_PROMPT_PROPERTIES contact_info_screen_first_name_properties =
{
GX_STRING_ID_FIRST_NAME, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_NAME, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_NAME /* disabled text color */
};
GX_PIXELMAP_BUTTON_PROPERTIES contact_info_screen_contact_info_edit_properties =
{
GX_PIXELMAP_ID_PENCIL_EDIT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_WINDOW_PROPERTIES contact_info_screen_contact_info_window_properties =
{
GX_PIXELMAP_ID_CONTACT_INFO_BG /* wallpaper pixelmap id */
};
GX_SCROLLBAR_APPEARANCE contact_info_screen_contact_info_list_scroll_properties =
{
6, /* scroll width */
6, /* thumb width */
5, /* thumb travel min */
8, /* 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_LIGHT_GRAY, /* scroll thumb color */
GX_COLOR_ID_LIGHT_GRAY, /* scroll thumb border color */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
};
GX_CONST GX_STUDIO_WIDGET contact_info_screen_contact_info_list_scroll_define =
{
"contact_info_list_scroll",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
0, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_vertical_scrollbar_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{451, 233, 456, 401}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_SCREEN_CONTROL_BLOCK, contact_info_screen_contact_info_list_scroll), /* control block */
(void *) &contact_info_screen_contact_info_list_scroll_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_screen_contact_info_window_define =
{
"contact_info_window",
GX_TYPE_WINDOW, /* 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_TILE_WALLPAPER, /* style flags */
0, /* status flags */
sizeof(GX_WINDOW), /* control block size */
GX_COLOR_ID_BLACK, /* normal color id */
GX_COLOR_ID_BLACK, /* selected color id */
GX_COLOR_ID_BLACK, /* disabled color id */
gx_studio_window_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{182, 233, 456, 401}, /* widget size */
GX_NULL, /* no next widget */
&contact_info_screen_contact_info_list_scroll_define, /* child widget definition */
offsetof(CONTACT_INFO_SCREEN_CONTROL_BLOCK, contact_info_screen_contact_info_window), /* control block */
(void *) &contact_info_screen_contact_info_window_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_screen_contact_info_edit_define =
{
"contact_info_edit",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_EDIT, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_DARK_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_DARK_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{429, 168, 448, 187}, /* widget size */
&contact_info_screen_contact_info_window_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_SCREEN_CONTROL_BLOCK, contact_info_screen_contact_info_edit), /* control block */
(void *) &contact_info_screen_contact_info_edit_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_screen_first_name_define =
{
"first_name",
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_RIGHT, /* 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 */
{323, 206, 449, 229}, /* widget size */
&contact_info_screen_contact_info_edit_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_SCREEN_CONTROL_BLOCK, contact_info_screen_first_name), /* control block */
(void *) &contact_info_screen_first_name_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_screen_last_name_define =
{
"last_name",
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_RIGHT, /* 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 */
{344, 187, 449, 210}, /* widget size */
&contact_info_screen_first_name_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_SCREEN_CONTROL_BLOCK, contact_info_screen_last_name), /* control block */
(void *) &contact_info_screen_last_name_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_screen_contact_info_back_define =
{
"contact_info_back",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_BACK, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{192, 201, 209, 227}, /* widget size */
&contact_info_screen_last_name_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_SCREEN_CONTROL_BLOCK, contact_info_screen_contact_info_back), /* control block */
(void *) &contact_info_screen_contact_info_back_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_screen_define =
{
"contact_info_screen",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(CONTACT_INFO_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 *)) contact_info_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&contact_info_screen_contact_info_back_define, /* child widget */
0, /* control block */
(void *) &contact_info_screen_properties /* extended properties */
};
GX_WINDOW_PROPERTIES about_screen_properties =
{
GX_PIXELMAP_ID_GUIX_BG /* wallpaper pixelmap id */
};
GX_WINDOW_PROPERTIES about_screen_transparent_cover_properties =
{
GX_PIXELMAP_ID_GUIX_TRANSPERENT_COVER /* wallpaper pixelmap id */
};
GX_PROMPT_PROPERTIES about_screen_prompt_8_properties =
{
GX_STRING_ID_ABOUT_GUIX, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES about_screen_prompt_9_properties =
{
GX_STRING_ID_COMPANY, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES about_screen_prompt_10_properties =
{
GX_STRING_ID_COMPANY_NAME, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_WHITE, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES about_screen_prompt_10_2_properties =
{
GX_STRING_ID_COMPANY_CONTACT, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES about_screen_prompt_11_properties =
{
GX_STRING_ID_COMPANY_WEBSITE, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_CONST GX_STUDIO_WIDGET about_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_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_LEFT, /* style flags */
0, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{200, 257, 340, 274}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(ABOUT_SCREEN_CONTROL_BLOCK, about_screen_prompt_11), /* control block */
(void *) &about_screen_prompt_11_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET about_screen_prompt_10_2_define =
{
"prompt_10_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 */
0, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{200, 238, 330, 255}, /* widget size */
&about_screen_prompt_11_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ABOUT_SCREEN_CONTROL_BLOCK, about_screen_prompt_10_2), /* control block */
(void *) &about_screen_prompt_10_2_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET about_screen_prompt_10_define =
{
"prompt_10",
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 */
0, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{200, 202, 405, 226}, /* widget size */
&about_screen_prompt_10_2_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ABOUT_SCREEN_CONTROL_BLOCK, about_screen_prompt_10), /* control block */
(void *) &about_screen_prompt_10_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET about_screen_prompt_9_define =
{
"prompt_9",
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 */
0, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{200, 183, 283, 203}, /* widget size */
&about_screen_prompt_10_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ABOUT_SCREEN_CONTROL_BLOCK, about_screen_prompt_9), /* control block */
(void *) &about_screen_prompt_9_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET about_screen_prompt_8_define =
{
"prompt_8",
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 */
0, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{200, 153, 349, 173}, /* widget size */
&about_screen_prompt_9_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ABOUT_SCREEN_CONTROL_BLOCK, about_screen_prompt_8), /* control block */
(void *) &about_screen_prompt_8_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET about_screen_transparent_cover_define =
{
"transparent_cover",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_WINDOW), /* control block size */
GX_COLOR_ID_BLACK, /* normal color id */
GX_COLOR_ID_BLACK, /* selected color id */
GX_COLOR_ID_BLACK, /* disabled color id */
gx_studio_window_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{182, 140, 408, 279}, /* widget size */
GX_NULL, /* no next widget */
&about_screen_prompt_8_define, /* child widget definition */
offsetof(ABOUT_SCREEN_CONTROL_BLOCK, about_screen_transparent_cover), /* control block */
(void *) &about_screen_transparent_cover_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET about_screen_define =
{
"about_screen",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(ABOUT_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 */
GX_NULL, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&about_screen_transparent_cover_define, /* child widget */
0, /* control block */
(void *) &about_screen_properties /* extended properties */
};
GX_PIXELMAP_BUTTON_PROPERTIES left_home_button_properties =
{
GX_PIXELMAP_ID_WATCH_LEFT_BUTTON, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET left_home_button_define =
{
"left_home_button",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_HOME, /* 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(LEFT_HOME_BUTTON_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_BLUE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_BLUE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) root_home_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{161, 135, 176, 179}, /* widget size */
GX_NULL, /* next widget */
GX_NULL, /* child widget */
0, /* control block */
(void *) &left_home_button_properties /* extended properties */
};
GX_PIXELMAP_BUTTON_PROPERTIES right_home_button_properties =
{
GX_PIXELMAP_ID_WATCH_RIGHT_BUTTON, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET right_home_button_define =
{
"right_home_button",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_HOME, /* 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(RIGHT_HOME_BUTTON_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_BLUE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_BLUE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) root_home_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{466, 135, 481, 179}, /* widget size */
GX_NULL, /* next widget */
GX_NULL, /* child widget */
0, /* control block */
(void *) &right_home_button_properties /* extended properties */
};
GX_WINDOW_PROPERTIES template_main_properties =
{
0 /* wallpaper pixelmap id */
};
GX_ICON_PROPERTIES template_main_battery_properties =
{
GX_PIXELMAP_ID_BATTERY, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_ICON_PROPERTIES template_main_sound_properties =
{
GX_PIXELMAP_ID_SOUND, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_ICON_PROPERTIES template_main_wifi_properties =
{
GX_PIXELMAP_ID_WIFI, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_ICON_PROPERTIES template_main_bluetooth_properties =
{
GX_PIXELMAP_ID_BLUETOOTH, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET template_main_bluetooth_define =
{
"bluetooth",
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_TRANSPARENT|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{388, 99, 401, 124}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(TEMPLATE_MAIN_CONTROL_BLOCK, template_main_bluetooth), /* control block */
(void *) &template_main_bluetooth_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET template_main_wifi_define =
{
"wifi",
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_TRANSPARENT|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{351, 103, 377, 121}, /* widget size */
&template_main_bluetooth_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(TEMPLATE_MAIN_CONTROL_BLOCK, template_main_wifi), /* control block */
(void *) &template_main_wifi_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET template_main_sound_define =
{
"sound",
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_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_GRAY, /* normal color id */
GX_COLOR_ID_GRAY, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{312, 99, 339, 123}, /* widget size */
&template_main_wifi_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(TEMPLATE_MAIN_CONTROL_BLOCK, template_main_sound), /* control block */
(void *) &template_main_sound_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET template_main_battery_define =
{
"battery",
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_TRANSPARENT|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_GREEN, /* normal color id */
GX_COLOR_ID_GREEN, /* selected color id */
GX_COLOR_ID_GREEN, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{414, 103, 444, 120}, /* widget size */
&template_main_sound_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(TEMPLATE_MAIN_CONTROL_BLOCK, template_main_battery), /* control block */
(void *) &template_main_battery_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET template_main_define =
{
"template_main",
GX_TYPE_WINDOW, /* 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_DRAW_SELECTED|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(TEMPLATE_MAIN_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 *)) template_main_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&template_main_battery_define, /* child widget */
0, /* control block */
(void *) &template_main_properties /* extended properties */
};
GX_WINDOW_PROPERTIES menu_window_3_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES menu_window_3_map_properties =
{
GX_PIXELMAP_ID_MAP_ON, /* normal pixelmap id */
GX_PIXELMAP_ID_MAP_PUSHED, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES menu_window_3_settings_properties =
{
GX_PIXELMAP_ID_SETTINGS_ON, /* normal pixelmap id */
GX_PIXELMAP_ID_SETTINGS_PUSHED, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET menu_window_3_settings_define =
{
"settings",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_SETTINGS, /* 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 */
{259, 337, 313, 389}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MENU_WINDOW_3_CONTROL_BLOCK, menu_window_3_settings), /* control block */
(void *) &menu_window_3_settings_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET menu_window_3_map_define =
{
"map",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_MAP, /* 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 */
{192, 337, 246, 389}, /* widget size */
&menu_window_3_settings_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MENU_WINDOW_3_CONTROL_BLOCK, menu_window_3_map), /* control block */
(void *) &menu_window_3_map_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET menu_window_3_define =
{
"menu_window_3",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(MENU_WINDOW_3_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 */
{182, 337, 458, 389}, /* widget size */
GX_NULL, /* next widget */
&menu_window_3_map_define, /* child widget */
0, /* control block */
(void *) &menu_window_3_properties /* extended properties */
};
GX_WINDOW_PROPERTIES menu_window_2_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES menu_window_2_games_properties =
{
GX_PIXELMAP_ID_GAMES_ON, /* normal pixelmap id */
GX_PIXELMAP_ID_GAMES_PUSHED, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES menu_window_2_clock_properties =
{
GX_PIXELMAP_ID_CLOCK_ON, /* normal pixelmap id */
GX_PIXELMAP_ID_CLOCK_PUSHED, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES menu_window_2_contacts_properties =
{
GX_PIXELMAP_ID_CONTACTS_ON, /* normal pixelmap id */
GX_PIXELMAP_ID_CONTACTS_PUSHED, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES menu_window_2_about_properties =
{
GX_PIXELMAP_ID_ABOUT_ON, /* normal pixelmap id */
GX_PIXELMAP_ID_ABOUT_PUSHED, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET menu_window_2_about_define =
{
"about",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_ABOUT, /* 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, 337, 447, 389}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MENU_WINDOW_2_CONTROL_BLOCK, menu_window_2_about), /* control block */
(void *) &menu_window_2_about_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET menu_window_2_contacts_define =
{
"contacts",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CONTACTS, /* 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 */
{326, 337, 380, 389}, /* widget size */
&menu_window_2_about_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MENU_WINDOW_2_CONTROL_BLOCK, menu_window_2_contacts), /* control block */
(void *) &menu_window_2_contacts_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET menu_window_2_clock_define =
{
"clock",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CLOCK, /* 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 */
{259, 337, 313, 389}, /* widget size */
&menu_window_2_contacts_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MENU_WINDOW_2_CONTROL_BLOCK, menu_window_2_clock), /* control block */
(void *) &menu_window_2_clock_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET menu_window_2_games_define =
{
"games",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_GAMES, /* 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 */
{192, 337, 246, 389}, /* widget size */
&menu_window_2_clock_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MENU_WINDOW_2_CONTROL_BLOCK, menu_window_2_games), /* control block */
(void *) &menu_window_2_games_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET menu_window_2_define =
{
"menu_window_2",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(MENU_WINDOW_2_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 */
{182, 337, 458, 389}, /* widget size */
GX_NULL, /* next widget */
&menu_window_2_games_define, /* child widget */
0, /* control block */
(void *) &menu_window_2_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES clock_add_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_PIXELMAP_BUTTON_PROPERTIES clock_add_screen_clock_add_time_properties =
{
GX_PIXELMAP_ID_TIME, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES clock_add_screen_clock_add_alarm_properties =
{
GX_PIXELMAP_ID_ALARM, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES clock_add_screen_clock_add_stopwatch_properties =
{
GX_PIXELMAP_ID_STOP_WATCH, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_VERTICAL_LIST_PROPERTIES clock_add_screen_city_list_properties =
{
0, /* wallpaper id */
city_list_row_create, /* callback function */
19 /* total rows */
};
GX_SCROLLBAR_APPEARANCE clock_add_screen_vertical_scroll_2_properties =
{
14, /* scroll width */
6, /* thumb width */
0, /* thumb travel min */
0, /* 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_DARK_GRAY, /* scroll thumb color */
GX_COLOR_ID_DARK_GRAY, /* scroll thumb border color */
GX_COLOR_ID_GRAY, /* scroll button color */
};
GX_PIXELMAP_BUTTON_PROPERTIES clock_add_screen_clock_add_close_properties =
{
GX_PIXELMAP_ID_CALCULATOR_MULTIPLY, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_WINDOW_PROPERTIES clock_add_screen_window_properties =
{
0 /* wallpaper pixelmap id */
};
GX_CHAR clock_add_screen_time_add_text_input_buffer[100];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES clock_add_screen_time_add_text_input_properties =
{
0, /* string id */
GX_FONT_ID_NORMAL, /* 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 */
clock_add_screen_time_add_text_input_buffer, /* buffer */
100, /* buffer size */
};
GX_PIXELMAP_BUTTON_PROPERTIES clock_add_screen_clock_add_search_properties =
{
GX_PIXELMAP_ID_SEARCH, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET clock_add_screen_vertical_scroll_2_define =
{
"vertical_scroll_2",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
0, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_BLACK, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_BLACK, /* disabled color id */
gx_studio_vertical_scrollbar_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{443, 186, 456, 354}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CLOCK_ADD_SCREEN_CONTROL_BLOCK, clock_add_screen_vertical_scroll_2), /* control block */
(void *) &clock_add_screen_vertical_scroll_2_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_add_screen_clock_add_search_define =
{
"clock_add_search",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_SEARCH, /* 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_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{427, 149, 445, 167}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CLOCK_ADD_SCREEN_CONTROL_BLOCK, clock_add_screen_clock_add_search), /* control block */
(void *) &clock_add_screen_clock_add_search_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_add_screen_time_add_text_input_define =
{
"time_add_text_input",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* 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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_SINGLE_LINE_TEXT_INPUT), /* control block size */
GX_COLOR_ID_DARK_GRAY, /* normal color id */
GX_COLOR_ID_DARK_GRAY, /* selected color id */
GX_COLOR_ID_DARK_GRAY, /* disabled color id */
gx_studio_text_input_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{196, 145, 421, 173}, /* widget size */
&clock_add_screen_clock_add_search_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CLOCK_ADD_SCREEN_CONTROL_BLOCK, clock_add_screen_time_add_text_input), /* control block */
(void *) &clock_add_screen_time_add_text_input_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_add_screen_window_define =
{
"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_DARK_GRAY, /* normal color id */
GX_COLOR_ID_DARK_GRAY, /* selected color id */
GX_COLOR_ID_DARK_GRAY, /* disabled color id */
gx_studio_window_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{193, 142, 453, 174}, /* widget size */
GX_NULL, /* no next widget */
&clock_add_screen_time_add_text_input_define, /* child widget definition */
offsetof(CLOCK_ADD_SCREEN_CONTROL_BLOCK, clock_add_screen_window), /* control block */
(void *) &clock_add_screen_window_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_add_screen_clock_add_close_define =
{
"clock_add_close",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CLOSE, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{422, 364, 444, 386}, /* widget size */
&clock_add_screen_window_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CLOCK_ADD_SCREEN_CONTROL_BLOCK, clock_add_screen_clock_add_close), /* control block */
(void *) &clock_add_screen_clock_add_close_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_add_screen_city_list_define =
{
"city_list",
GX_TYPE_VERTICAL_LIST, /* 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, /* 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 */
{193, 186, 456, 354}, /* widget size */
&clock_add_screen_clock_add_close_define, /* next widget definition */
&clock_add_screen_vertical_scroll_2_define, /* child widget definition */
offsetof(CLOCK_ADD_SCREEN_CONTROL_BLOCK, clock_add_screen_city_list), /* control block */
(void *) &clock_add_screen_city_list_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_add_screen_clock_add_stopwatch_define =
{
"clock_add_stopwatch",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_STOPWATCH, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{263, 364, 287, 388}, /* widget size */
&clock_add_screen_city_list_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CLOCK_ADD_SCREEN_CONTROL_BLOCK, clock_add_screen_clock_add_stopwatch), /* control block */
(void *) &clock_add_screen_clock_add_stopwatch_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_add_screen_clock_add_alarm_define =
{
"clock_add_alarm",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_ALARM, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_GRAY, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{229, 364, 253, 388}, /* widget size */
&clock_add_screen_clock_add_stopwatch_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CLOCK_ADD_SCREEN_CONTROL_BLOCK, clock_add_screen_clock_add_alarm), /* control block */
(void *) &clock_add_screen_clock_add_alarm_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_add_screen_clock_add_time_define =
{
"clock_add_time",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_TIME, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_BLUE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_BLUE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{195, 364, 219, 388}, /* widget size */
&clock_add_screen_clock_add_alarm_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CLOCK_ADD_SCREEN_CONTROL_BLOCK, clock_add_screen_clock_add_time), /* control block */
(void *) &clock_add_screen_clock_add_time_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_add_screen_define =
{
"clock_add_screen",
GX_TYPE_TEMPLATE, /* 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(CLOCK_ADD_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) clock_add_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&clock_add_screen_clock_add_time_define, /* child widget */
0, /* control block */
(void *) &clock_add_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES alarm_add_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_add_screen_alarm_add_time_properties =
{
GX_PIXELMAP_ID_TIME, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_add_screen_alarm_add_alarm_properties =
{
GX_PIXELMAP_ID_ALARM, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_add_screen_alarm_add_stopwatch_properties =
{
GX_PIXELMAP_ID_STOP_WATCH, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PROMPT_PROPERTIES alarm_add_screen_alarm_add_title_properties =
{
GX_STRING_ID_EDIT_ALARM, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_add_screen_close_properties =
{
GX_PIXELMAP_ID_CALCULATOR_MULTIPLY, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_add_screen_hour_down_properties =
{
GX_PIXELMAP_ID_ARROW_DOWN, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_add_screen_minute_up_properties =
{
GX_PIXELMAP_ID_ARROW_UP, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_add_screen_am_pm_properties =
{
GX_PIXELMAP_ID_BUTTON_AM_PM, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PROMPT_PROPERTIES alarm_add_screen_prompt_12_1_properties =
{
GX_STRING_ID_SEPARATOR, /* string id */
GX_FONT_ID_MIDDLE, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES alarm_add_screen_prompt_13_properties =
{
GX_STRING_ID_TIME_AM, /* string id */
GX_FONT_ID_MIDDLE, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_LIGHT_GRAY, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES alarm_add_screen_prompt_12_3_properties =
{
GX_STRING_ID_TIME_PM, /* string id */
GX_FONT_ID_MIDDLE, /* font id */
GX_COLOR_ID_WHITE, /* normal text color */
GX_COLOR_ID_WHITE, /* selected text color */
GX_COLOR_ID_WHITE /* disabled text color */
};
GX_CHAR alarm_add_screen_text_input_hour_buffer[3];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES alarm_add_screen_text_input_hour_properties =
{
GX_STRING_ID_DOUBLE_ZERO, /* string id */
GX_FONT_ID_BIG_NUMBER_70, /* 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 */
alarm_add_screen_text_input_hour_buffer, /* buffer */
3, /* buffer size */
};
GX_CHAR alarm_add_screen_text_input_minute_buffer[3];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES alarm_add_screen_text_input_minute_properties =
{
GX_STRING_ID_DOUBLE_ZERO, /* string id */
GX_FONT_ID_BIG_NUMBER_70, /* 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 */
alarm_add_screen_text_input_minute_buffer, /* buffer */
3, /* buffer size */
};
GX_ICON_PROPERTIES alarm_add_screen_icon_1_properties =
{
GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_ICON_PROPERTIES alarm_add_screen_icon_3_properties =
{
GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_add_screen_hour_up_properties =
{
GX_PIXELMAP_ID_ARROW_UP, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_add_screen_minute_down_properties =
{
GX_PIXELMAP_ID_ARROW_DOWN, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_prompt_12_3_define =
{
"prompt_12_3",
GX_TYPE_PROMPT, /* widget type */
ID_PM, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_WHITE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{390, 359, 439, 384}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_prompt_12_3), /* control block */
(void *) &alarm_add_screen_prompt_12_3_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_prompt_13_define =
{
"prompt_13",
GX_TYPE_PROMPT, /* widget type */
ID_AM, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_WHITE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{322, 359, 371, 384}, /* widget size */
&alarm_add_screen_prompt_12_3_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_prompt_13), /* control block */
(void *) &alarm_add_screen_prompt_13_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_prompt_12_1_define =
{
"prompt_12_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 */
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 */
{376, 358, 388, 383}, /* widget size */
&alarm_add_screen_prompt_13_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_prompt_12_1), /* control block */
(void *) &alarm_add_screen_prompt_12_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_minute_down_define =
{
"minute_down",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_MINUTE_DOWN, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{363, 294, 399, 318}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_minute_down), /* control block */
(void *) &alarm_add_screen_minute_down_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_hour_up_define =
{
"hour_up",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_HOUR_UP, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{250, 179, 286, 203}, /* widget size */
&alarm_add_screen_minute_down_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_hour_up), /* control block */
(void *) &alarm_add_screen_hour_up_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_icon_3_define =
{
"icon_3",
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_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{321, 227, 325, 231}, /* widget size */
&alarm_add_screen_hour_up_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_icon_3), /* control block */
(void *) &alarm_add_screen_icon_3_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_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_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{321, 259, 325, 263}, /* widget size */
&alarm_add_screen_icon_3_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_icon_1), /* control block */
(void *) &alarm_add_screen_icon_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_text_input_minute_define =
{
"text_input_minute",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* widget type */
ID_MINUTE, /* 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_RIGHT, /* 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 */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) custom_text_input_process, /* event function override */
{333, 214, 427, 291}, /* widget size */
&alarm_add_screen_icon_1_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_text_input_minute), /* control block */
(void *) &alarm_add_screen_text_input_minute_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_text_input_hour_define =
{
"text_input_hour",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* widget type */
ID_HOUR, /* 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_RIGHT, /* 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 */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) custom_text_input_process, /* event function override */
{222, 214, 316, 286}, /* widget size */
&alarm_add_screen_text_input_minute_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_text_input_hour), /* control block */
(void *) &alarm_add_screen_text_input_hour_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_am_pm_define =
{
"am_pm",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
GX_ID_NONE, /* 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 */
{311, 350, 451, 396}, /* widget size */
&alarm_add_screen_text_input_hour_define, /* next widget definition */
&alarm_add_screen_prompt_12_1_define, /* child widget definition */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_am_pm), /* control block */
(void *) &alarm_add_screen_am_pm_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_minute_up_define =
{
"minute_up",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_MINUTE_UP, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{362, 179, 398, 203}, /* widget size */
&alarm_add_screen_am_pm_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_minute_up), /* control block */
(void *) &alarm_add_screen_minute_up_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_hour_down_define =
{
"hour_down",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_HOUR_DOWN, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{250, 294, 286, 318}, /* widget size */
&alarm_add_screen_minute_up_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_hour_down), /* control block */
(void *) &alarm_add_screen_hour_down_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_close_define =
{
"close",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CLOSE, /* 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_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{424, 146, 444, 167}, /* widget size */
&alarm_add_screen_hour_down_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_close), /* control block */
(void *) &alarm_add_screen_close_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_alarm_add_title_define =
{
"alarm_add_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_TEXT_LEFT, /* style flags */
0, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{198, 145, 400, 165}, /* widget size */
&alarm_add_screen_close_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_alarm_add_title), /* control block */
(void *) &alarm_add_screen_alarm_add_title_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_alarm_add_stopwatch_define =
{
"alarm_add_stopwatch",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_STOPWATCH, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{264, 364, 288, 388}, /* widget size */
&alarm_add_screen_alarm_add_title_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_alarm_add_stopwatch), /* control block */
(void *) &alarm_add_screen_alarm_add_stopwatch_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_alarm_add_alarm_define =
{
"alarm_add_alarm",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_ALARM, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_BLUE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_BLUE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{229, 364, 253, 388}, /* widget size */
&alarm_add_screen_alarm_add_stopwatch_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_alarm_add_alarm), /* control block */
(void *) &alarm_add_screen_alarm_add_alarm_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_alarm_add_time_define =
{
"alarm_add_time",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_TIME, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{195, 364, 219, 388}, /* widget size */
&alarm_add_screen_alarm_add_alarm_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_ADD_SCREEN_CONTROL_BLOCK, alarm_add_screen_alarm_add_time), /* control block */
(void *) &alarm_add_screen_alarm_add_time_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_add_screen_define =
{
"alarm_add_screen",
GX_TYPE_TEMPLATE, /* 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(ALARM_ADD_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) alarm_add_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&alarm_add_screen_alarm_add_time_define, /* child widget */
0, /* control block */
(void *) &alarm_add_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES alarm_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_screen_alarm_time_properties =
{
GX_PIXELMAP_ID_TIME, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_screen_alarm_alarm_properties =
{
GX_PIXELMAP_ID_ALARM, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_screen_alarm_stopwatch_properties =
{
GX_PIXELMAP_ID_STOP_WATCH, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_VERTICAL_LIST_PROPERTIES alarm_screen_alarm_list_properties =
{
0, /* wallpaper id */
alarm_list_row_create, /* callback function */
6 /* total rows */
};
GX_SCROLLBAR_APPEARANCE alarm_screen_vertical_scroll_9_properties =
{
6, /* scroll width */
6, /* thumb width */
0, /* thumb travel min */
0, /* 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_DARK_GRAY, /* scroll thumb color */
GX_COLOR_ID_DARK_GRAY, /* scroll thumb border color */
GX_COLOR_ID_GRAY, /* scroll button color */
};
GX_PIXELMAP_BUTTON_PROPERTIES alarm_screen_alarm_add_properties =
{
GX_PIXELMAP_ID_CALCULATOR_PLUS, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET alarm_screen_vertical_scroll_9_define =
{
"vertical_scroll_9",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
0, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_BLACK, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_BLACK, /* disabled color id */
gx_studio_vertical_scrollbar_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{449, 135, 454, 354}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(ALARM_SCREEN_CONTROL_BLOCK, alarm_screen_vertical_scroll_9), /* control block */
(void *) &alarm_screen_vertical_scroll_9_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_screen_alarm_add_define =
{
"alarm_add",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_ADD, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{422, 364, 444, 386}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(ALARM_SCREEN_CONTROL_BLOCK, alarm_screen_alarm_add), /* control block */
(void *) &alarm_screen_alarm_add_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_screen_alarm_list_define =
{
"alarm_list",
GX_TYPE_VERTICAL_LIST, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* 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 */
{196, 135, 454, 354}, /* widget size */
&alarm_screen_alarm_add_define, /* next widget definition */
&alarm_screen_vertical_scroll_9_define, /* child widget definition */
offsetof(ALARM_SCREEN_CONTROL_BLOCK, alarm_screen_alarm_list), /* control block */
(void *) &alarm_screen_alarm_list_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_screen_alarm_stopwatch_define =
{
"alarm_stopwatch",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_STOPWATCH, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{263, 364, 287, 388}, /* widget size */
&alarm_screen_alarm_list_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_SCREEN_CONTROL_BLOCK, alarm_screen_alarm_stopwatch), /* control block */
(void *) &alarm_screen_alarm_stopwatch_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_screen_alarm_alarm_define =
{
"alarm_alarm",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_ALARM, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_BLUE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_BLUE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{229, 364, 253, 388}, /* widget size */
&alarm_screen_alarm_stopwatch_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_SCREEN_CONTROL_BLOCK, alarm_screen_alarm_alarm), /* control block */
(void *) &alarm_screen_alarm_alarm_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_screen_alarm_time_define =
{
"alarm_time",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_TIME, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{195, 364, 219, 388}, /* widget size */
&alarm_screen_alarm_alarm_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(ALARM_SCREEN_CONTROL_BLOCK, alarm_screen_alarm_time), /* control block */
(void *) &alarm_screen_alarm_time_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET alarm_screen_define =
{
"alarm_screen",
GX_TYPE_TEMPLATE, /* 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(ALARM_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) alarm_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&alarm_screen_alarm_time_define, /* child widget */
0, /* control block */
(void *) &alarm_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES stopwatch_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_PIXELMAP_BUTTON_PROPERTIES stopwatch_screen_stopwatch_time_properties =
{
GX_PIXELMAP_ID_TIME, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES stopwatch_screen_stopwatch_alarm_properties =
{
GX_PIXELMAP_ID_ALARM, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES stopwatch_screen_stopwatch_stopwatch_properties =
{
GX_PIXELMAP_ID_STOP_WATCH, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PROMPT_PROPERTIES stopwatch_screen_title_properties =
{
GX_STRING_ID_STOPWATCH, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES stopwatch_screen_prompt_minute_properties =
{
GX_STRING_ID_DOUBLE_ZERO, /* string id */
GX_FONT_ID_BIG_NUMBER_50, /* font id */
GX_COLOR_ID_WHITE, /* normal text color */
GX_COLOR_ID_WHITE, /* selected text color */
GX_COLOR_ID_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES stopwatch_screen_prompt_second_properties =
{
GX_STRING_ID_DOUBLE_ZERO, /* string id */
GX_FONT_ID_BIG_NUMBER_50, /* font id */
GX_COLOR_ID_WHITE, /* normal text color */
GX_COLOR_ID_WHITE, /* selected text color */
GX_COLOR_ID_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES stopwatch_screen_prompt_micro_second_properties =
{
GX_STRING_ID_DOUBLE_ZERO, /* string id */
GX_FONT_ID_BIG_NUMBER_50, /* font id */
GX_COLOR_ID_WHITE, /* normal text color */
GX_COLOR_ID_WHITE, /* selected text color */
GX_COLOR_ID_WHITE /* disabled text color */
};
GX_PIXELMAP_BUTTON_PROPERTIES stopwatch_screen_stopwatch_start_stop_properties =
{
GX_PIXELMAP_ID_BUTTON_START_RESET, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES stopwatch_screen_stopwatch_reset_properties =
{
GX_PIXELMAP_ID_BUTTON_START_RESET, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_ICON_PROPERTIES stopwatch_screen_icon_5_properties =
{
GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_ICON_PROPERTIES stopwatch_screen_icon_6_properties =
{
GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_ICON_PROPERTIES stopwatch_screen_icon_10_properties =
{
GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_icon_10_define =
{
"icon_10",
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_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{278, 220, 282, 224}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_icon_10), /* control block */
(void *) &stopwatch_screen_icon_10_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_icon_6_define =
{
"icon_6",
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_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{278, 243, 282, 247}, /* widget size */
&stopwatch_screen_icon_10_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_icon_6), /* control block */
(void *) &stopwatch_screen_icon_6_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_icon_5_define =
{
"icon_5",
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_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{360, 243, 364, 247}, /* widget size */
&stopwatch_screen_icon_6_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_icon_5), /* control block */
(void *) &stopwatch_screen_icon_5_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_stopwatch_reset_define =
{
"stopwatch_reset",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_STOPWATCH_RESET, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BTN_UPPER, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) stopwatch_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{328, 282, 427, 328}, /* widget size */
&stopwatch_screen_icon_5_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_stopwatch_reset), /* control block */
(void *) &stopwatch_screen_stopwatch_reset_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_stopwatch_start_stop_define =
{
"stopwatch_start_stop",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_STOPWATCH_START_STOP, /* 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_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BTN_UPPER, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) stopwatch_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{219, 282, 318, 328}, /* widget size */
&stopwatch_screen_stopwatch_reset_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_stopwatch_start_stop), /* control block */
(void *) &stopwatch_screen_stopwatch_start_stop_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_prompt_micro_second_define =
{
"prompt_micro_second",
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 */
{374, 208, 437, 259}, /* widget size */
&stopwatch_screen_stopwatch_start_stop_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_prompt_micro_second), /* control block */
(void *) &stopwatch_screen_prompt_micro_second_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_prompt_second_define =
{
"prompt_second",
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 */
{291, 208, 354, 259}, /* widget size */
&stopwatch_screen_prompt_micro_second_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_prompt_second), /* control block */
(void *) &stopwatch_screen_prompt_second_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_prompt_minute_define =
{
"prompt_minute",
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 */
{208, 208, 271, 259}, /* widget size */
&stopwatch_screen_prompt_second_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_prompt_minute), /* control block */
(void *) &stopwatch_screen_prompt_minute_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_title_define =
{
"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_TEXT_LEFT, /* style flags */
0, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{200, 147, 363, 167}, /* widget size */
&stopwatch_screen_prompt_minute_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_title), /* control block */
(void *) &stopwatch_screen_title_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_stopwatch_stopwatch_define =
{
"stopwatch_stopwatch",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_STOPWATCH, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_BLUE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_BLUE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{263, 364, 287, 388}, /* widget size */
&stopwatch_screen_title_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_stopwatch_stopwatch), /* control block */
(void *) &stopwatch_screen_stopwatch_stopwatch_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_stopwatch_alarm_define =
{
"stopwatch_alarm",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_ALARM, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{229, 364, 253, 388}, /* widget size */
&stopwatch_screen_stopwatch_stopwatch_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_stopwatch_alarm), /* control block */
(void *) &stopwatch_screen_stopwatch_alarm_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_stopwatch_time_define =
{
"stopwatch_time",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_TIME, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{195, 364, 219, 388}, /* widget size */
&stopwatch_screen_stopwatch_alarm_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(STOPWATCH_SCREEN_CONTROL_BLOCK, stopwatch_screen_stopwatch_time), /* control block */
(void *) &stopwatch_screen_stopwatch_time_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET stopwatch_screen_define =
{
"stopwatch_screen",
GX_TYPE_TEMPLATE, /* 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(STOPWATCH_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) stopwatch_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&stopwatch_screen_stopwatch_time_define, /* child widget */
0, /* control block */
(void *) &stopwatch_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES settings_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_PIXELMAP_BUTTON_PROPERTIES settings_screen_dashboard_properties =
{
GX_PIXELMAP_ID_DASHBOARD, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES settings_screen_brush_properties =
{
GX_PIXELMAP_ID_BRUSH, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES settings_screen_language_properties =
{
GX_PIXELMAP_ID_GLOB, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES settings_screen_sound_properties =
{
GX_PIXELMAP_ID_MICROPHONE, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET settings_screen_sound_define =
{
"sound",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_SOUND, /* 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, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{300, 366, 314, 387}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(SETTINGS_SCREEN_CONTROL_BLOCK, settings_screen_sound), /* control block */
(void *) &settings_screen_sound_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET settings_screen_language_define =
{
"language",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_LANGUAGE, /* 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, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{266, 366, 290, 390}, /* widget size */
&settings_screen_sound_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(SETTINGS_SCREEN_CONTROL_BLOCK, settings_screen_language), /* control block */
(void *) &settings_screen_language_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET settings_screen_brush_define =
{
"brush",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_BRUSH, /* 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, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{232, 366, 256, 390}, /* widget size */
&settings_screen_language_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(SETTINGS_SCREEN_CONTROL_BLOCK, settings_screen_brush), /* control block */
(void *) &settings_screen_brush_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET settings_screen_dashboard_define =
{
"dashboard",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_DASHBOARD, /* 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, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{195, 367, 222, 390}, /* widget size */
&settings_screen_brush_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(SETTINGS_SCREEN_CONTROL_BLOCK, settings_screen_dashboard), /* control block */
(void *) &settings_screen_dashboard_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET settings_screen_define =
{
"settings_screen",
GX_TYPE_TEMPLATE, /* 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(SETTINGS_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) settings_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&settings_screen_dashboard_define, /* child widget */
0, /* control block */
(void *) &settings_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES msg_send_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_PIXELMAP_BUTTON_PROPERTIES msg_send_screen_back_properties =
{
GX_PIXELMAP_ID_ARROW_LEFT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PROMPT_PROPERTIES msg_send_screen_prompt_1_properties =
{
GX_STRING_ID_STRING_22, /* string id */
GX_FONT_ID_PROMPT, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_BLUE, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_WINDOW_PROPERTIES msg_send_screen_dialog_frame_properties =
{
0 /* wallpaper pixelmap id */
};
GX_WINDOW_PROPERTIES msg_send_screen_dialog_properties =
{
0 /* wallpaper pixelmap id */
};
GX_SCROLLBAR_APPEARANCE msg_send_screen_scroll_properties =
{
6, /* scroll width */
6, /* thumb width */
0, /* thumb travel min */
0, /* 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_DARK_GRAY, /* scroll thumb color */
GX_COLOR_ID_DARK_GRAY, /* scroll thumb border color */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
};
GX_WINDOW_PROPERTIES msg_send_screen_window_3_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PROMPT_PROPERTIES msg_send_screen_input_field_properties =
{
GX_STRING_ID_REPLAY, /* string id */
GX_FONT_ID_PROMPT, /* font id */
GX_COLOR_ID_HINT_TEXT, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_HINT_TEXT /* disabled text color */
};
GX_PIXELMAP_BUTTON_PROPERTIES msg_send_screen_pixelmap_button_4_properties =
{
GX_PIXELMAP_ID_MICROPHONE, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PROMPT_PROPERTIES msg_send_screen_name_properties =
{
GX_STRING_ID_STATIC, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_WHITE, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_WHITE /* disabled text color */
};
GX_WINDOW_PROPERTIES msg_send_screen_preloader_window_properties =
{
0 /* wallpaper pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET msg_send_screen_scroll_define =
{
"scroll",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
0, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_SCROLL_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_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 */
{450, 169, 455, 343}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MSG_SEND_SCREEN_CONTROL_BLOCK, msg_send_screen_scroll), /* control block */
(void *) &msg_send_screen_scroll_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_send_screen_dialog_define =
{
"dialog",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* 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 */
{190, 172, 448, 342}, /* widget size */
&msg_send_screen_scroll_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MSG_SEND_SCREEN_CONTROL_BLOCK, msg_send_screen_dialog), /* control block */
(void *) &msg_send_screen_dialog_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_send_screen_pixelmap_button_4_define =
{
"pixelmap_button_4",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
GX_ID_NONE, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{396, 360, 414, 385}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MSG_SEND_SCREEN_CONTROL_BLOCK, msg_send_screen_pixelmap_button_4), /* control block */
(void *) &msg_send_screen_pixelmap_button_4_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_send_screen_input_field_define =
{
"input_field",
GX_TYPE_PROMPT, /* widget type */
ID_REPLAY, /* 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_LEFT, /* 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 */
{215, 351, 392, 393}, /* widget size */
&msg_send_screen_pixelmap_button_4_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MSG_SEND_SCREEN_CONTROL_BLOCK, msg_send_screen_input_field), /* control block */
(void *) &msg_send_screen_input_field_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_send_screen_preloader_window_define =
{
"preloader_window",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* 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 */
(VOID (*)(GX_WIDGET *)) preloader_windown_draw, /* drawing function override */
GX_NULL, /* event function override */
{299, 229, 333, 265}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MSG_SEND_SCREEN_CONTROL_BLOCK, msg_send_screen_preloader_window), /* control block */
(void *) &msg_send_screen_preloader_window_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_send_screen_name_define =
{
"name",
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_RIGHT, /* 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 */
{315, 140, 442, 163}, /* widget size */
&msg_send_screen_preloader_window_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MSG_SEND_SCREEN_CONTROL_BLOCK, msg_send_screen_name), /* control block */
(void *) &msg_send_screen_name_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_send_screen_window_3_define =
{
"window_3",
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_DARK_GRAY, /* normal color id */
GX_COLOR_ID_DARK_GRAY, /* selected color id */
GX_COLOR_ID_DARK_GRAY, /* disabled color id */
gx_studio_window_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{208, 351, 425, 392}, /* widget size */
&msg_send_screen_name_define, /* next widget definition */
&msg_send_screen_input_field_define, /* child widget definition */
offsetof(MSG_SEND_SCREEN_CONTROL_BLOCK, msg_send_screen_window_3), /* control block */
(void *) &msg_send_screen_window_3_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_send_screen_dialog_frame_define =
{
"dialog_frame",
GX_TYPE_WINDOW, /* 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, /* 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 */
{188, 169, 455, 343}, /* widget size */
&msg_send_screen_window_3_define, /* next widget definition */
&msg_send_screen_dialog_define, /* child widget definition */
offsetof(MSG_SEND_SCREEN_CONTROL_BLOCK, msg_send_screen_dialog_frame), /* control block */
(void *) &msg_send_screen_dialog_frame_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_send_screen_prompt_1_define =
{
"prompt_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_RIGHT, /* 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 */
{229, 143, 301, 160}, /* widget size */
&msg_send_screen_dialog_frame_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MSG_SEND_SCREEN_CONTROL_BLOCK, msg_send_screen_prompt_1), /* control block */
(void *) &msg_send_screen_prompt_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_send_screen_back_define =
{
"back",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_BACK, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{200, 137, 227, 159}, /* widget size */
&msg_send_screen_prompt_1_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MSG_SEND_SCREEN_CONTROL_BLOCK, msg_send_screen_back), /* control block */
(void *) &msg_send_screen_back_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_send_screen_define =
{
"msg_send_screen",
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(MSG_SEND_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) msg_send_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&msg_send_screen_back_define, /* child widget */
0, /* control block */
(void *) &msg_send_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES msg_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_PIXELMAP_BUTTON_PROPERTIES msg_screen_new_msg_properties =
{
GX_PIXELMAP_ID_ICON_PENCIL, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PROMPT_PROPERTIES msg_screen_prompt_5_properties =
{
GX_STRING_ID_STRING_20, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_BLUE, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_WINDOW_PROPERTIES msg_screen_text_input_bg_properties =
{
0 /* wallpaper pixelmap id */
};
GX_VERTICAL_LIST_PROPERTIES msg_screen_msg_list_properties =
{
0, /* wallpaper id */
msg_list_row_create, /* callback function */
4 /* total rows */
};
GX_SCROLLBAR_APPEARANCE msg_screen_vertical_scroll_8_properties =
{
6, /* scroll width */
6, /* thumb width */
0, /* thumb travel min */
6, /* 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_DARK_GRAY, /* scroll thumb color */
GX_COLOR_ID_DARK_GRAY, /* scroll thumb border color */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
};
GX_CHAR msg_screen_text_input_buffer[50];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES msg_screen_text_input_properties =
{
GX_STRING_ID_STRING_21, /* string id */
GX_FONT_ID_NORMAL, /* 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 */
msg_screen_text_input_buffer, /* buffer */
50, /* buffer size */
};
GX_PIXELMAP_BUTTON_PROPERTIES msg_screen_search_properties =
{
GX_PIXELMAP_ID_SEARCH, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET msg_screen_vertical_scroll_8_define =
{
"vertical_scroll_8",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
0, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_SCROLL_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_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 */
{443, 184, 448, 395}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MSG_SCREEN_CONTROL_BLOCK, msg_screen_vertical_scroll_8), /* control block */
(void *) &msg_screen_vertical_scroll_8_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_screen_search_define =
{
"search",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_SEARCH, /* 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_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{413, 134, 437, 166}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MSG_SCREEN_CONTROL_BLOCK, msg_screen_search), /* control block */
(void *) &msg_screen_search_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_screen_text_input_define =
{
"text_input",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* 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_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 */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) msg_screen_text_input_event_handler, /* event function override */
{376, 134, 412, 166}, /* widget size */
&msg_screen_search_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MSG_SCREEN_CONTROL_BLOCK, msg_screen_text_input), /* control block */
(void *) &msg_screen_text_input_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_screen_msg_list_define =
{
"msg_list",
GX_TYPE_VERTICAL_LIST, /* widget type */
ID_MSG_LIST, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* 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 */
{192, 184, 448, 395}, /* widget size */
&msg_screen_text_input_define, /* next widget definition */
&msg_screen_vertical_scroll_8_define, /* child widget definition */
offsetof(MSG_SCREEN_CONTROL_BLOCK, msg_screen_msg_list), /* control block */
(void *) &msg_screen_msg_list_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_screen_text_input_bg_define =
{
"text_input_bg",
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_DARK_GRAY, /* normal color id */
GX_COLOR_ID_DARK_GRAY, /* selected color id */
GX_COLOR_ID_DARK_GRAY, /* disabled color id */
gx_studio_window_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{376, 134, 437, 166}, /* widget size */
&msg_screen_msg_list_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MSG_SCREEN_CONTROL_BLOCK, msg_screen_text_input_bg), /* control block */
(void *) &msg_screen_text_input_bg_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_screen_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_TEXT_LEFT, /* 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 */
{226, 137, 386, 157}, /* widget size */
&msg_screen_text_input_bg_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MSG_SCREEN_CONTROL_BLOCK, msg_screen_prompt_5), /* control block */
(void *) &msg_screen_prompt_5_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_screen_new_msg_define =
{
"new_msg",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_NEW_MSG, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{200, 137, 223, 155}, /* widget size */
&msg_screen_prompt_5_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MSG_SCREEN_CONTROL_BLOCK, msg_screen_new_msg), /* control block */
(void *) &msg_screen_new_msg_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET msg_screen_define =
{
"msg_screen",
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(MSG_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) msg_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&msg_screen_new_msg_define, /* child widget */
0, /* control block */
(void *) &msg_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES healthy_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_WINDOW_PROPERTIES healthy_screen_healthy_heart_rate_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PROMPT_PROPERTIES healthy_screen_item_name_properties =
{
GX_STRING_ID_STRING_15, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_SPRITE_FRAME healthy_screen_sprite_frame_list[6] =
{
{
GX_PIXELMAP_ID_HEALTH_HEART_SMALL, /* pixelmap id */
19, /* x offset */
19, /* y offset */
0, /* frame delay */
GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
255 /* alpha value */
},
{
GX_PIXELMAP_ID_HEALTH_HEART_LARGE, /* pixelmap id */
0, /* x offset */
0, /* y offset */
10, /* frame delay */
GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
255 /* alpha value */
},
{
GX_PIXELMAP_ID_HEALTH_HEART_SMALL, /* pixelmap id */
19, /* x offset */
19, /* y offset */
10, /* frame delay */
GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
255 /* alpha value */
},
{
GX_PIXELMAP_ID_HEALTH_HEART_LARGE, /* pixelmap id */
0, /* x offset */
0, /* y offset */
10, /* frame delay */
GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
255 /* alpha value */
},
{
GX_PIXELMAP_ID_HEALTH_HEART_SMALL, /* pixelmap id */
19, /* x offset */
19, /* y offset */
10, /* frame delay */
GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
255 /* alpha value */
},
{
GX_PIXELMAP_ID_HEALTH_HEART_SMALL, /* pixelmap id */
19, /* x offset */
19, /* y offset */
20, /* frame delay */
GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
255 /* alpha value */
}
};
GX_SPRITE_PROPERTIES healthy_screen_sprite_properties =
{
healthy_screen_sprite_frame_list, /* address of frame list */
6, /* frame count */
};
GX_PROMPT_PROPERTIES healthy_screen_prompt_properties =
{
GX_STRING_ID_STRING_16, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_MILK_WHITE, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES healthy_screen_heart_rate_properties =
{
GX_STRING_ID_STRING_19, /* string id */
GX_FONT_ID_BIG_NUMBER_70, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_MILK_WHITE, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PIXELMAP_BUTTON_PROPERTIES healthy_screen_left_arrow_properties =
{
GX_PIXELMAP_ID_ARROW_LEFT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES healthy_screen_right_arrow_properties =
{
GX_PIXELMAP_ID_ARROW_RIGHT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_ICON_PROPERTIES healthy_screen_stopwatch_properties =
{
GX_PIXELMAP_ID_STOP_WATCH, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_WINDOW_PROPERTIES healthy_screen_waveform_window_properties =
{
0 /* wallpaper pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET healthy_screen_heart_rate_define =
{
"heart_rate",
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 */
{255, 228, 389, 300}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(HEALTHY_SCREEN_CONTROL_BLOCK, healthy_screen_heart_rate), /* control block */
(void *) &healthy_screen_heart_rate_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_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_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 */
{300, 297, 342, 317}, /* widget size */
&healthy_screen_heart_rate_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(HEALTHY_SCREEN_CONTROL_BLOCK, healthy_screen_prompt), /* control block */
(void *) &healthy_screen_prompt_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_screen_sprite_define =
{
"sprite",
GX_TYPE_SPRITE, /* 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_SPRITE_AUTO|GX_STYLE_SPRITE_LOOP, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_SPRITE), /* control block size */
GX_COLOR_ID_SLIDER_NEEDLE_LINE1, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_SLIDER_NEEDLE_LINE1, /* disabled color id */
gx_studio_sprite_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{220, 180, 421, 351}, /* widget size */
GX_NULL, /* no next widget */
&healthy_screen_prompt_define, /* child widget definition */
offsetof(HEALTHY_SCREEN_CONTROL_BLOCK, healthy_screen_sprite), /* control block */
(void *) &healthy_screen_sprite_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_screen_item_name_define =
{
"item_name",
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 */
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 */
{249, 139, 397, 159}, /* widget size */
&healthy_screen_sprite_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(HEALTHY_SCREEN_CONTROL_BLOCK, healthy_screen_item_name), /* control block */
(void *) &healthy_screen_item_name_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_screen_waveform_window_define =
{
"waveform_window",
GX_TYPE_WINDOW, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* 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 */
(VOID (*)(GX_WIDGET *)) waveform_window_draw, /* drawing function override */
GX_NULL, /* event function override */
{194, 351, 448, 400}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(HEALTHY_SCREEN_CONTROL_BLOCK, healthy_screen_waveform_window), /* control block */
(void *) &healthy_screen_waveform_window_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_screen_stopwatch_define =
{
"stopwatch",
GX_TYPE_ICON, /* widget type */
ID_STOPWATCH, /* 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_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_LIGHT_GRAY, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{195, 284, 214, 306}, /* widget size */
&healthy_screen_waveform_window_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(HEALTHY_SCREEN_CONTROL_BLOCK, healthy_screen_stopwatch), /* control block */
(void *) &healthy_screen_stopwatch_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_screen_right_arrow_define =
{
"right_arrow",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_RIGHT, /* 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_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{421, 135, 438, 161}, /* widget size */
&healthy_screen_stopwatch_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(HEALTHY_SCREEN_CONTROL_BLOCK, healthy_screen_right_arrow), /* control block */
(void *) &healthy_screen_right_arrow_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_screen_left_arrow_define =
{
"left_arrow",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_LEFT, /* 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_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{202, 135, 219, 161}, /* widget size */
&healthy_screen_right_arrow_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(HEALTHY_SCREEN_CONTROL_BLOCK, healthy_screen_left_arrow), /* control block */
(void *) &healthy_screen_left_arrow_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_screen_healthy_heart_rate_define =
{
"healthy_heart_rate",
GX_TYPE_WINDOW, /* 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, /* style flags */
0, /* 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 */
{182, 136, 456, 402}, /* widget size */
&healthy_screen_left_arrow_define, /* next widget definition */
&healthy_screen_item_name_define, /* child widget definition */
offsetof(HEALTHY_SCREEN_CONTROL_BLOCK, healthy_screen_healthy_heart_rate), /* control block */
(void *) &healthy_screen_healthy_heart_rate_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET healthy_screen_define =
{
"healthy_screen",
GX_TYPE_TEMPLATE, /* 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(HEALTHY_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) healthy_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&healthy_screen_healthy_heart_rate_define, /* child widget */
0, /* control block */
(void *) &healthy_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES weather_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_WINDOW_PROPERTIES weather_screen_weather_NewYork_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PROMPT_PROPERTIES weather_screen_city_name_properties =
{
GX_STRING_ID_NEW_YORK, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_WINDOW_PROPERTIES weather_screen_weather_frame_properties =
{
0 /* wallpaper pixelmap id */
};
GX_WINDOW_PROPERTIES weather_screen_weather_info_properties =
{
0 /* wallpaper pixelmap id */
};
GX_ICON_PROPERTIES weather_screen_icon_8_properties =
{
GX_PIXELMAP_ID_WEATHER_SUN_LARGE, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_PROMPT_PROPERTIES weather_screen_current_T_1_properties =
{
GX_STRING_ID_STRING_3, /* string id */
GX_FONT_ID_BIG_NUMBER_70, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_screen_prompt_14_1_properties =
{
GX_STRING_ID_CHARACTER_O, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_MILK_WHITE, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_MILK_WHITE /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_screen_hi_properties =
{
GX_STRING_ID_STRING_5, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_screen_low_properties =
{
GX_STRING_ID_STRING_6, /* string id */
GX_FONT_ID_SMALL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_screen_prompt_15_1_properties =
{
GX_STRING_ID_STRING_7, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES weather_screen_prompt_15_2_properties =
{
GX_STRING_ID_STRING_8, /* string id */
GX_FONT_ID_SYSTEM, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_SCROLLBAR_APPEARANCE weather_screen_vertical_scroll_5_properties =
{
6, /* scroll width */
6, /* thumb width */
0, /* thumb travel min */
6, /* 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_LIGHT_GRAY, /* scroll thumb color */
GX_COLOR_ID_LIGHT_GRAY, /* scroll thumb border color */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
};
GX_PIXELMAP_BUTTON_PROPERTIES weather_screen_left_arrow_properties =
{
GX_PIXELMAP_ID_ARROW_LEFT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES weather_screen_right_arrow_properties =
{
GX_PIXELMAP_ID_ARROW_RIGHT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_prompt_15_2_define =
{
"prompt_15_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_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 */
{400, 267, 421, 284}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_prompt_15_2), /* control block */
(void *) &weather_screen_prompt_15_2_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_prompt_15_1_define =
{
"prompt_15_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 */
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 */
{342, 267, 363, 284}, /* widget size */
&weather_screen_prompt_15_2_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_prompt_15_1), /* control block */
(void *) &weather_screen_prompt_15_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_low_define =
{
"low",
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_RIGHT, /* 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 */
{367, 266, 398, 283}, /* widget size */
&weather_screen_prompt_15_1_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_low), /* control block */
(void *) &weather_screen_low_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_hi_define =
{
"hi",
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_RIGHT, /* 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 */
{304, 266, 339, 282}, /* widget size */
&weather_screen_low_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_hi), /* control block */
(void *) &weather_screen_hi_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_prompt_14_1_define =
{
"prompt_14_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_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 */
{413, 197, 430, 227}, /* widget size */
&weather_screen_hi_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_prompt_14_1), /* control block */
(void *) &weather_screen_prompt_14_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_current_T_1_define =
{
"current_T_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_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 */
{323, 201, 412, 273}, /* widget size */
&weather_screen_prompt_14_1_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_current_T_1), /* control block */
(void *) &weather_screen_current_T_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_icon_8_define =
{
"icon_8",
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_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{217, 193, 279, 254}, /* widget size */
&weather_screen_current_T_1_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_icon_8), /* control block */
(void *) &weather_screen_icon_8_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_vertical_scroll_5_define =
{
"vertical_scroll_5",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
0, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_SCROLL_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_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 */
{445, 170, 450, 399}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_vertical_scroll_5), /* control block */
(void *) &weather_screen_vertical_scroll_5_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_weather_info_define =
{
"weather_info",
GX_TYPE_WINDOW, /* 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, /* style flags */
0, /* 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 */
{196, 170, 450, 599}, /* widget size */
&weather_screen_vertical_scroll_5_define, /* next widget definition */
&weather_screen_icon_8_define, /* child widget definition */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_weather_info), /* control block */
(void *) &weather_screen_weather_info_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_weather_frame_define =
{
"weather_frame",
GX_TYPE_WINDOW, /* 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, /* style flags */
0, /* 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 */
{196, 170, 450, 399}, /* widget size */
GX_NULL, /* no next widget */
&weather_screen_weather_info_define, /* child widget definition */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_weather_frame), /* control block */
(void *) &weather_screen_weather_frame_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_city_name_define =
{
"city_name",
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 */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{259, 140, 383, 160}, /* widget size */
&weather_screen_weather_frame_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_city_name), /* control block */
(void *) &weather_screen_city_name_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_right_arrow_define =
{
"right_arrow",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_RIGHT, /* 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_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{423, 135, 440, 161}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_right_arrow), /* control block */
(void *) &weather_screen_right_arrow_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_left_arrow_define =
{
"left_arrow",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_LEFT, /* 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_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{202, 135, 219, 161}, /* widget size */
&weather_screen_right_arrow_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_left_arrow), /* control block */
(void *) &weather_screen_left_arrow_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_weather_NewYork_define =
{
"weather_NewYork",
GX_TYPE_WINDOW, /* 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, /* style flags */
0, /* 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 */
{182, 136, 456, 402}, /* widget size */
&weather_screen_left_arrow_define, /* next widget definition */
&weather_screen_city_name_define, /* child widget definition */
offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_weather_NewYork), /* control block */
(void *) &weather_screen_weather_NewYork_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET weather_screen_define =
{
"weather_screen",
GX_TYPE_TEMPLATE, /* 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(WEATHER_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) weather_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&weather_screen_weather_NewYork_define, /* child widget */
0, /* control block */
(void *) &weather_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES contact_info_edit_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_PIXELMAP_BUTTON_PROPERTIES contact_info_edit_screen_save_properties =
{
GX_PIXELMAP_ID_ARROW_LEFT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PROMPT_PROPERTIES contact_info_edit_screen_prompt_3_properties =
{
GX_STRING_ID_SAVE, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_GRAY /* disabled text color */
};
GX_PIXELMAP_BUTTON_PROPERTIES contact_info_edit_screen_close_properties =
{
GX_PIXELMAP_ID_CALCULATOR_MULTIPLY, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_WINDOW_PROPERTIES contact_info_edit_screen_edit_window_properties =
{
0 /* wallpaper pixelmap id */
};
GX_SCROLLBAR_APPEARANCE contact_info_edit_screen_vertical_scroll_4_properties =
{
6, /* scroll width */
6, /* thumb width */
0, /* thumb travel min */
6, /* 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_LIGHT_GRAY, /* scroll thumb color */
GX_COLOR_ID_LIGHT_GRAY, /* scroll thumb border color */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_screen_prompt_3_define =
{
"prompt_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_TEXT_LEFT, /* 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 */
{217, 142, 280, 164}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_SCREEN_CONTROL_BLOCK, contact_info_edit_screen_prompt_3), /* control block */
(void *) &contact_info_edit_screen_prompt_3_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_screen_vertical_scroll_4_define =
{
"vertical_scroll_4",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
0, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_SCROLL_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_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 */
{450, 173, 455, 400}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_SCREEN_CONTROL_BLOCK, contact_info_edit_screen_vertical_scroll_4), /* control block */
(void *) &contact_info_edit_screen_vertical_scroll_4_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_screen_edit_window_define =
{
"edit_window",
GX_TYPE_WINDOW, /* 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, /* 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 */
{192, 173, 455, 400}, /* widget size */
GX_NULL, /* no next widget */
&contact_info_edit_screen_vertical_scroll_4_define, /* child widget definition */
offsetof(CONTACT_INFO_EDIT_SCREEN_CONTROL_BLOCK, contact_info_edit_screen_edit_window), /* control block */
(void *) &contact_info_edit_screen_edit_window_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_screen_close_define =
{
"close",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CLOSE, /* 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_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{426, 142, 446, 163}, /* widget size */
&contact_info_edit_screen_edit_window_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_INFO_EDIT_SCREEN_CONTROL_BLOCK, contact_info_edit_screen_close), /* control block */
(void *) &contact_info_edit_screen_close_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_screen_save_define =
{
"save",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_SAVE, /* 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_LIGHT_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_LIGHT_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{195, 142, 285, 165}, /* widget size */
&contact_info_edit_screen_close_define, /* next widget definition */
&contact_info_edit_screen_prompt_3_define, /* child widget definition */
offsetof(CONTACT_INFO_EDIT_SCREEN_CONTROL_BLOCK, contact_info_edit_screen_save), /* control block */
(void *) &contact_info_edit_screen_save_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_info_edit_screen_define =
{
"contact_info_edit_screen",
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(CONTACT_INFO_EDIT_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) contact_info_edit_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&contact_info_edit_screen_save_define, /* child widget */
0, /* control block */
(void *) &contact_info_edit_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES contact_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_VERTICAL_LIST_PROPERTIES contact_screen_contact_list_properties =
{
0, /* wallpaper id */
contact_list_row_create, /* callback function */
13 /* total rows */
};
GX_SCROLLBAR_APPEARANCE contact_screen_contact_list_scroll_properties =
{
14, /* scroll width */
6, /* thumb width */
0, /* thumb travel min */
0, /* 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_DARK_GRAY, /* scroll thumb color */
GX_COLOR_ID_DARK_GRAY, /* scroll thumb border color */
GX_COLOR_ID_GRAY, /* scroll button color */
};
GX_WINDOW_PROPERTIES contact_screen_contact_text_input_bg_properties =
{
0 /* wallpaper pixelmap id */
};
GX_CHAR contact_screen_contact_text_input_buffer[100];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES contact_screen_contact_text_input_properties =
{
0, /* string id */
GX_FONT_ID_NORMAL, /* 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 */
contact_screen_contact_text_input_buffer, /* buffer */
100, /* buffer size */
};
GX_PIXELMAP_BUTTON_PROPERTIES contact_screen_contact_search_properties =
{
GX_PIXELMAP_ID_SEARCH, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET contact_screen_contact_list_scroll_define =
{
"contact_list_scroll",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
0, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_BLACK, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_BLACK, /* disabled color id */
gx_studio_vertical_scrollbar_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{442, 178, 455, 391}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CONTACT_SCREEN_CONTROL_BLOCK, contact_screen_contact_list_scroll), /* control block */
(void *) &contact_screen_contact_list_scroll_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_screen_contact_search_define =
{
"contact_search",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_SEARCH, /* 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_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{423, 142, 441, 160}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CONTACT_SCREEN_CONTROL_BLOCK, contact_screen_contact_search), /* control block */
(void *) &contact_screen_contact_search_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_screen_contact_text_input_define =
{
"contact_text_input",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* 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_LEFT, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_SINGLE_LINE_TEXT_INPUT), /* control block size */
GX_COLOR_ID_DARK_GRAY, /* normal color id */
GX_COLOR_ID_DARK_GRAY, /* selected color id */
GX_COLOR_ID_DARK_GRAY, /* disabled color id */
gx_studio_text_input_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{195, 138, 420, 166}, /* widget size */
&contact_screen_contact_search_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CONTACT_SCREEN_CONTROL_BLOCK, contact_screen_contact_text_input), /* control block */
(void *) &contact_screen_contact_text_input_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_screen_contact_text_input_bg_define =
{
"contact_text_input_bg",
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_DARK_GRAY, /* normal color id */
GX_COLOR_ID_DARK_GRAY, /* selected color id */
GX_COLOR_ID_DARK_GRAY, /* disabled color id */
gx_studio_window_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{192, 135, 452, 167}, /* widget size */
GX_NULL, /* no next widget */
&contact_screen_contact_text_input_define, /* child widget definition */
offsetof(CONTACT_SCREEN_CONTROL_BLOCK, contact_screen_contact_text_input_bg), /* control block */
(void *) &contact_screen_contact_text_input_bg_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_screen_contact_list_define =
{
"contact_list",
GX_TYPE_VERTICAL_LIST, /* widget type */
ID_CONTACT_LIST, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TILE_WALLPAPER, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_VERTICAL_LIST), /* control block size */
GX_COLOR_ID_BLACK, /* normal color id */
GX_COLOR_ID_BLACK, /* selected color id */
GX_COLOR_ID_BLACK, /* disabled color id */
gx_studio_vertical_list_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{193, 178, 455, 391}, /* widget size */
&contact_screen_contact_text_input_bg_define, /* next widget definition */
&contact_screen_contact_list_scroll_define, /* child widget definition */
offsetof(CONTACT_SCREEN_CONTROL_BLOCK, contact_screen_contact_list), /* control block */
(void *) &contact_screen_contact_list_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET contact_screen_define =
{
"contact_screen",
GX_TYPE_TEMPLATE, /* 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(CONTACT_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) contact_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&contact_screen_contact_list_define, /* child widget */
0, /* control block */
(void *) &contact_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES game_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_VERTICAL_LIST_PROPERTIES game_screen_game_list_properties =
{
0, /* wallpaper id */
game_list_row_create, /* callback function */
4 /* total rows */
};
GX_SCROLLBAR_APPEARANCE game_screen_vertical_scroll_3_properties =
{
6, /* scroll width */
6, /* thumb width */
0, /* thumb travel min */
0, /* 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_DARK_GRAY, /* scroll thumb color */
GX_COLOR_ID_DARK_GRAY, /* scroll thumb border color */
GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
};
GX_CONST GX_STUDIO_WIDGET game_screen_vertical_scroll_3_define =
{
"vertical_scroll_3",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
0, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_BLACK, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_BLACK, /* disabled color id */
gx_studio_vertical_scrollbar_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{450, 136, 455, 386}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(GAME_SCREEN_CONTROL_BLOCK, game_screen_vertical_scroll_3), /* control block */
(void *) &game_screen_vertical_scroll_3_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET game_screen_game_list_define =
{
"game_list",
GX_TYPE_VERTICAL_LIST, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* 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 */
{184, 136, 455, 386}, /* widget size */
GX_NULL, /* no next widget */
&game_screen_vertical_scroll_3_define, /* child widget definition */
offsetof(GAME_SCREEN_CONTROL_BLOCK, game_screen_game_list), /* control block */
(void *) &game_screen_game_list_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET game_screen_define =
{
"game_screen",
GX_TYPE_TEMPLATE, /* 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(GAME_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) template_main_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&game_screen_game_list_define, /* child widget */
0, /* control block */
(void *) &game_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES main_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_PROMPT_PROPERTIES main_screen_date_properties =
{
GX_STRING_ID_DATE, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_PROMPT_PROPERTIES main_screen_hour_properties =
{
GX_STRING_ID_DOUBLE_ZERO, /* string id */
GX_FONT_ID_BIG_NUMBER_70, /* font id */
GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_TEXT_INPUT_TEXT /* disabled text color */
};
GX_PROMPT_PROPERTIES main_screen_am_pm_properties =
{
GX_STRING_ID_TIME_PM, /* string id */
GX_FONT_ID_NORMAL, /* font id */
GX_COLOR_ID_LIGHT_GRAY, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
};
GX_PIXELMAP_BUTTON_PROPERTIES main_screen_btn_menu_0_properties =
{
GX_PIXELMAP_ID_PAGINATION_DOT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES main_screen_btn_menu_1_properties =
{
GX_PIXELMAP_ID_PAGINATION_DOT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES main_screen_btn_menu_2_properties =
{
GX_PIXELMAP_ID_PAGINATION_DOT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_WINDOW_PROPERTIES main_screen_menu_window_properties =
{
0 /* wallpaper pixelmap id */
};
GX_WINDOW_PROPERTIES main_screen_menu_window_1_properties =
{
0 /* wallpaper pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES main_screen_message_properties =
{
GX_PIXELMAP_ID_MESSAGES_ON, /* normal pixelmap id */
GX_PIXELMAP_ID_MESSAGES_PUSHED, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES main_screen_weather_properties =
{
GX_PIXELMAP_ID_WEATHER_ON, /* normal pixelmap id */
GX_PIXELMAP_ID_WEATHER_PUSHED, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES main_screen_calculator_properties =
{
GX_PIXELMAP_ID_CALCULATOR_ON, /* normal pixelmap id */
GX_PIXELMAP_ID_CALCULATOR_PUSHED, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES main_screen_healthy_properties =
{
GX_PIXELMAP_ID_HEALTH_ON, /* normal pixelmap id */
GX_PIXELMAP_ID_HEALTH_PUSHED, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_ICON_PROPERTIES main_screen_lower_dot_properties =
{
GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_ICON_PROPERTIES main_screen_upper_dot_properties =
{
GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_PROMPT_PROPERTIES main_screen_minute_properties =
{
GX_STRING_ID_DOUBLE_ZERO, /* string id */
GX_FONT_ID_BIG_NUMBER_70, /* font id */
GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal text color */
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
GX_COLOR_ID_TEXT_INPUT_TEXT /* disabled text color */
};
GX_CONST GX_STUDIO_WIDGET main_screen_healthy_define =
{
"healthy",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_HEALTHY, /* 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 */
{394, 337, 448, 389}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_healthy), /* control block */
(void *) &main_screen_healthy_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_calculator_define =
{
"calculator",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR, /* 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 */
{327, 337, 381, 389}, /* widget size */
&main_screen_healthy_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_calculator), /* control block */
(void *) &main_screen_calculator_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_weather_define =
{
"weather",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_WEATHER, /* 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 */
{260, 337, 314, 389}, /* widget size */
&main_screen_calculator_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_weather), /* control block */
(void *) &main_screen_weather_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_message_define =
{
"message",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_MESSAGE, /* 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 */
{193, 337, 247, 389}, /* widget size */
&main_screen_weather_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_message), /* control block */
(void *) &main_screen_message_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_menu_window_1_define =
{
"menu_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_NONE|GX_STYLE_TRANSPARENT, /* 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 */
{183, 337, 460, 389}, /* widget size */
GX_NULL, /* no next widget */
&main_screen_message_define, /* child widget definition */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_menu_window_1), /* control block */
(void *) &main_screen_menu_window_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_minute_define =
{
"minute",
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_COPY|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 */
{330, 202, 419, 274}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_minute), /* control block */
(void *) &main_screen_minute_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_upper_dot_define =
{
"upper_dot",
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_TRANSPARENT|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{318, 222, 322, 226}, /* widget size */
&main_screen_minute_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_upper_dot), /* control block */
(void *) &main_screen_upper_dot_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_lower_dot_define =
{
"lower_dot",
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_TRANSPARENT|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{318, 252, 322, 256}, /* widget size */
&main_screen_upper_dot_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_lower_dot), /* control block */
(void *) &main_screen_lower_dot_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_menu_window_define =
{
"menu_window",
GX_TYPE_WINDOW, /* 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, /* 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 */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) menu_window_event_handler, /* event function override */
{183, 337, 458, 389}, /* widget size */
&main_screen_lower_dot_define, /* next widget definition */
&main_screen_menu_window_1_define, /* child widget definition */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_menu_window), /* control block */
(void *) &main_screen_menu_window_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_btn_menu_2_define =
{
"btn_menu_2",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_BTN_MENU_2, /* 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_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_GRAY, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{338, 317, 351, 328}, /* widget size */
&main_screen_menu_window_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_btn_menu_2), /* control block */
(void *) &main_screen_btn_menu_2_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_btn_menu_1_define =
{
"btn_menu_1",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_BTN_MENU_1, /* 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_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_GRAY, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{318, 317, 331, 328}, /* widget size */
&main_screen_btn_menu_2_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_btn_menu_1), /* control block */
(void *) &main_screen_btn_menu_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_btn_menu_0_define =
{
"btn_menu_0",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_BTN_MENU_0, /* 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_HALIGN_CENTER|GX_STYLE_VALIGN_CENTER, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_MILK_WHITE, /* normal color id */
GX_COLOR_ID_MILK_WHITE, /* selected color id */
GX_COLOR_ID_MILK_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{298, 317, 311, 328}, /* widget size */
&main_screen_btn_menu_1_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_btn_menu_0), /* control block */
(void *) &main_screen_btn_menu_0_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_am_pm_define =
{
"am_pm",
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_COPY|GX_STYLE_TEXT_RIGHT, /* style flags */
0, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{357, 268, 410, 293}, /* widget size */
&main_screen_btn_menu_0_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_am_pm), /* control block */
(void *) &main_screen_am_pm_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_hour_define =
{
"hour",
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_COPY|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 */
{221, 202, 310, 274}, /* widget size */
&main_screen_am_pm_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_hour), /* control block */
(void *) &main_screen_hour_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_date_define =
{
"date",
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_COPY|GX_STYLE_TEXT_CENTER, /* style flags */
0, /* status flags */
sizeof(GX_PROMPT), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_prompt_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{222, 169, 410, 189}, /* widget size */
&main_screen_hour_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_date), /* control block */
(void *) &main_screen_date_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET main_screen_define =
{
"main_screen",
GX_TYPE_TEMPLATE, /* 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(MAIN_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) main_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&main_screen_date_define, /* child widget */
0, /* control block */
(void *) &main_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES clock_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_PIXELMAP_BUTTON_PROPERTIES clock_screen_time_time_properties =
{
GX_PIXELMAP_ID_TIME, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES clock_screen_time_alarm_properties =
{
GX_PIXELMAP_ID_ALARM, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES clock_screen_time_stopwatch_properties =
{
GX_PIXELMAP_ID_STOP_WATCH, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES clock_screen_time_add_properties =
{
GX_PIXELMAP_ID_CALCULATOR_PLUS, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_VERTICAL_LIST_PROPERTIES clock_screen_time_list_properties =
{
0, /* wallpaper id */
time_list_row_create, /* callback function */
6 /* total rows */
};
GX_SCROLLBAR_APPEARANCE clock_screen_vertical_scroll_properties =
{
6, /* scroll width */
6, /* thumb width */
0, /* thumb travel min */
0, /* 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_DARK_GRAY, /* scroll thumb color */
GX_COLOR_ID_DARK_GRAY, /* scroll thumb border color */
GX_COLOR_ID_DARK_GRAY, /* scroll button color */
};
GX_CONST GX_STUDIO_WIDGET clock_screen_vertical_scroll_define =
{
"vertical_scroll",
GX_TYPE_VERTICAL_SCROLL, /* 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_SCROLLBAR_RELATIVE_THUMB|GX_SCROLLBAR_VERTICAL, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_SCROLLBAR), /* control block size */
GX_COLOR_ID_BLACK, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_BLACK, /* disabled color id */
gx_studio_vertical_scrollbar_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{447, 135, 452, 354}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CLOCK_SCREEN_CONTROL_BLOCK, clock_screen_vertical_scroll), /* control block */
(void *) &clock_screen_vertical_scroll_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_screen_time_list_define =
{
"time_list",
GX_TYPE_VERTICAL_LIST, /* widget type */
GX_ID_NONE, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* 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 */
{194, 135, 452, 354}, /* widget size */
GX_NULL, /* no next widget */
&clock_screen_vertical_scroll_define, /* child widget definition */
offsetof(CLOCK_SCREEN_CONTROL_BLOCK, clock_screen_time_list), /* control block */
(void *) &clock_screen_time_list_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_screen_time_add_define =
{
"time_add",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_ADD, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{422, 364, 444, 386}, /* widget size */
&clock_screen_time_list_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CLOCK_SCREEN_CONTROL_BLOCK, clock_screen_time_add), /* control block */
(void *) &clock_screen_time_add_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_screen_time_stopwatch_define =
{
"time_stopwatch",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_STOPWATCH, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{263, 364, 287, 388}, /* widget size */
&clock_screen_time_add_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CLOCK_SCREEN_CONTROL_BLOCK, clock_screen_time_stopwatch), /* control block */
(void *) &clock_screen_time_stopwatch_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_screen_time_alarm_define =
{
"time_alarm",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_ALARM, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{229, 364, 253, 388}, /* widget size */
&clock_screen_time_stopwatch_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CLOCK_SCREEN_CONTROL_BLOCK, clock_screen_time_alarm), /* control block */
(void *) &clock_screen_time_alarm_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_screen_time_time_define =
{
"time_time",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_TIME, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
0, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_BLUE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_BLUE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{195, 364, 219, 388}, /* widget size */
&clock_screen_time_alarm_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CLOCK_SCREEN_CONTROL_BLOCK, clock_screen_time_time), /* control block */
(void *) &clock_screen_time_time_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET clock_screen_define =
{
"clock_screen",
GX_TYPE_TEMPLATE, /* 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(CLOCK_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) clock_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&clock_screen_time_time_define, /* child widget */
0, /* control block */
(void *) &clock_screen_properties /* extended properties */
};
GX_TEMPLATE_PROPERTIES calculator_screen_properties =
{
&template_main_define, /* base info */
gx_studio_window_create, /* base create function */
{182, 90, 456, 402} /* widget size */
};
GX_ICON_PROPERTIES calculator_screen_text_input_bg_properties =
{
GX_PIXELMAP_ID_CALCULATOR_FIELD, /* normal pixelmap id */
0 /* selected pixelmap id */
};
GX_CHAR calculator_screen_text_input_buffer[100];
GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES calculator_screen_text_input_properties =
{
GX_STRING_ID_STRING_60, /* string id */
GX_FONT_ID_MIDDLE_30, /* 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 */
calculator_screen_text_input_buffer, /* buffer */
100, /* buffer size */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_result_properties =
{
GX_PIXELMAP_ID_BUTTON_EQUALS, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_c_properties =
{
GX_PIXELMAP_ID_CALCULATOR_CLEAR, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_sign_properties =
{
GX_PIXELMAP_ID_CALCULATOR_PLUS_MINUS, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_percent_properties =
{
GX_PIXELMAP_ID_CALCULATOR_PERCENTAGE, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_divide_properties =
{
GX_PIXELMAP_ID_CALCULATOR_SUBTRACT, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_multi_properties =
{
GX_PIXELMAP_ID_CALCULATOR_MULTIPLY, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_minus_properties =
{
GX_PIXELMAP_ID_CALCULATOR_MINUS, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_plus_properties =
{
GX_PIXELMAP_ID_CALCULATOR_PLUS, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_7_properties =
{
0, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_8_properties =
{
0, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_9_properties =
{
0, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_4_properties =
{
0, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_5_properties =
{
0, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_6_properties =
{
0, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_1_properties =
{
0, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_2_properties =
{
0, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_3_properties =
{
0, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_dot_properties =
{
0, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_PIXELMAP_BUTTON_PROPERTIES calculator_screen_calculator_0_properties =
{
0, /* normal pixelmap id */
0, /* selected pixelmap id */
0 /* disabled pixelmap id */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_text_input_define =
{
"text_input",
GX_TYPE_SINGLE_LINE_TEXT_INPUT, /* widget type */
ID_TEXT_INPUT, /* 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_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 */
{198, 143, 446, 181}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_text_input), /* control block */
(void *) &calculator_screen_text_input_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_0_define =
{
"calculator_0",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_0, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{270, 341, 304, 369}, /* widget size */
GX_NULL, /* no next widget */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_0), /* control block */
(void *) &calculator_screen_calculator_0_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_dot_define =
{
"calculator_dot",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_DOT, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{205, 341, 239, 369}, /* widget size */
&calculator_screen_calculator_0_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_dot), /* control block */
(void *) &calculator_screen_calculator_dot_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_3_define =
{
"calculator_3",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_3, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{335, 298, 369, 326}, /* widget size */
&calculator_screen_calculator_dot_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_3), /* control block */
(void *) &calculator_screen_calculator_3_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_2_define =
{
"calculator_2",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_2, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{270, 299, 304, 327}, /* widget size */
&calculator_screen_calculator_3_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_2), /* control block */
(void *) &calculator_screen_calculator_2_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_1_define =
{
"calculator_1",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_1, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{205, 299, 239, 327}, /* widget size */
&calculator_screen_calculator_2_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_1), /* control block */
(void *) &calculator_screen_calculator_1_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_6_define =
{
"calculator_6",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_6, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{336, 258, 370, 286}, /* widget size */
&calculator_screen_calculator_1_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_6), /* control block */
(void *) &calculator_screen_calculator_6_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_5_define =
{
"calculator_5",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_5, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{270, 257, 304, 285}, /* widget size */
&calculator_screen_calculator_6_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_5), /* control block */
(void *) &calculator_screen_calculator_5_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_4_define =
{
"calculator_4",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_4, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{205, 257, 239, 285}, /* widget size */
&calculator_screen_calculator_5_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_4), /* control block */
(void *) &calculator_screen_calculator_4_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_9_define =
{
"calculator_9",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_9, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{335, 215, 369, 243}, /* widget size */
&calculator_screen_calculator_4_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_9), /* control block */
(void *) &calculator_screen_calculator_9_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_8_define =
{
"calculator_8",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_8, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{270, 216, 304, 244}, /* widget size */
&calculator_screen_calculator_9_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_8), /* control block */
(void *) &calculator_screen_calculator_8_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_7_define =
{
"calculator_7",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_7, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_WHITE, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_WHITE, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{205, 215, 239, 243}, /* widget size */
&calculator_screen_calculator_8_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_7), /* control block */
(void *) &calculator_screen_calculator_7_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_plus_define =
{
"calculator_plus",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_PLUS, /* widget id */
#if defined(GX_WIDGET_USER_DATA)
0, /* user data */
#endif
GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_CENTER|GX_STYLE_VALIGN_TOP, /* style flags */
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
sizeof(GX_PIXELMAP_BUTTON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{420, 308, 439, 327}, /* widget size */
&calculator_screen_calculator_7_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_plus), /* control block */
(void *) &calculator_screen_calculator_plus_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_minus_define =
{
"calculator_minus",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_MINUS, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{420, 284, 439, 290}, /* widget size */
&calculator_screen_calculator_plus_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_minus), /* control block */
(void *) &calculator_screen_calculator_minus_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_multi_define =
{
"calculator_multi",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_MULTI, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{421, 248, 437, 265}, /* widget size */
&calculator_screen_calculator_minus_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_multi), /* control block */
(void *) &calculator_screen_calculator_multi_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_divide_define =
{
"calculator_divide",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_DIVIDE, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{420, 209, 439, 228}, /* widget size */
&calculator_screen_calculator_multi_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_divide), /* control block */
(void *) &calculator_screen_calculator_divide_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_percent_define =
{
"calculator_percent",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_PERCENT, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{344, 189, 362, 204}, /* widget size */
&calculator_screen_calculator_divide_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_percent), /* control block */
(void *) &calculator_screen_calculator_percent_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_sign_define =
{
"calculator_sign",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_SIGN, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{274, 188, 301, 203}, /* widget size */
&calculator_screen_calculator_percent_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_sign), /* control block */
(void *) &calculator_screen_calculator_sign_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_c_define =
{
"calculator_c",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_C, /* 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_GRAY, /* normal color id */
GX_COLOR_ID_BLUE, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_pixelmap_button_create, /* create function */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{213, 188, 230, 207}, /* widget size */
&calculator_screen_calculator_sign_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_c), /* control block */
(void *) &calculator_screen_calculator_c_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_calculator_result_define =
{
"calculator_result",
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
ID_CALCULATOR_RESULT, /* 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 */
(VOID (*)(GX_WIDGET *)) calculator_pixelmap_button_draw, /* drawing function override */
GX_NULL, /* event function override */
{324, 342, 444, 389}, /* widget size */
&calculator_screen_calculator_c_define, /* next widget definition */
GX_NULL, /* no child widgets */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_calculator_result), /* control block */
(void *) &calculator_screen_calculator_result_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_text_input_bg_define =
{
"text_input_bg",
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_TRANSPARENT|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
0, /* status flags */
sizeof(GX_ICON), /* control block size */
GX_COLOR_ID_GRAY, /* normal color id */
GX_COLOR_ID_GRAY, /* selected color id */
GX_COLOR_ID_GRAY, /* disabled color id */
gx_studio_icon_create, /* create function */
GX_NULL, /* drawing function override */
GX_NULL, /* event function override */
{194, 139, 450, 181}, /* widget size */
&calculator_screen_calculator_result_define, /* next widget definition */
&calculator_screen_text_input_define, /* child widget definition */
offsetof(CALCULATOR_SCREEN_CONTROL_BLOCK, calculator_screen_text_input_bg), /* control block */
(void *) &calculator_screen_text_input_bg_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET calculator_screen_define =
{
"calculator_screen",
GX_TYPE_TEMPLATE, /* 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(CALCULATOR_SCREEN_CONTROL_BLOCK), /* control block size */
GX_COLOR_ID_WINDOW_FILL, /* normal color id */
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
gx_studio_template_create, /* create function */
GX_NULL, /* drawing function override */
(UINT (*)(GX_WIDGET *, GX_EVENT *)) calculator_screen_event_handler, /* event function override */
{182, 90, 456, 402}, /* widget size */
GX_NULL, /* next widget */
&calculator_screen_text_input_bg_define, /* child widget */
0, /* control block */
(void *) &calculator_screen_properties /* extended properties */
};
GX_CONST GX_STUDIO_WIDGET_ENTRY guix_smart_watch_widget_table[] =
{
{ &settings_language_define, (GX_WIDGET *) &settings_language },
{ &map_screen_define, (GX_WIDGET *) &map_screen },
{ &clock_add_screen_define, (GX_WIDGET *) &clock_add_screen },
{ &alarm_add_screen_define, (GX_WIDGET *) &alarm_add_screen },
{ &alarm_screen_define, (GX_WIDGET *) &alarm_screen },
{ &stopwatch_screen_define, (GX_WIDGET *) &stopwatch_screen },
{ &settings_screen_define, (GX_WIDGET *) &settings_screen },
{ &keyboard_screen_define, (GX_WIDGET *) &keyboard_screen },
{ &msg_send_screen_define, (GX_WIDGET *) &msg_send_screen },
{ &msg_screen_define, (GX_WIDGET *) &msg_screen },
{ &healthy_pace_define, (GX_WIDGET *) &healthy_pace },
{ &healthy_screen_define, (GX_WIDGET *) &healthy_screen },
{ &weather_LosAngeles_define, (GX_WIDGET *) &weather_LosAngeles },
{ &weather_SanFrancisco_define, (GX_WIDGET *) &weather_SanFrancisco },
{ &weather_screen_define, (GX_WIDGET *) &weather_screen },
{ &contact_info_edit_list_define, (GX_WIDGET *) &contact_info_edit_list },
{ &contact_info_edit_screen_define, (GX_WIDGET *) &contact_info_edit_screen },
{ &contact_info_list_define, (GX_WIDGET *) &contact_info_list },
{ &contact_info_screen_define, (GX_WIDGET *) &contact_info_screen },
{ &contact_screen_define, (GX_WIDGET *) &contact_screen },
{ &game_screen_define, (GX_WIDGET *) &game_screen },
{ &main_screen_define, (GX_WIDGET *) &main_screen },
{ &clock_screen_define, (GX_WIDGET *) &clock_screen },
{ &about_screen_define, (GX_WIDGET *) &about_screen },
{ &left_home_button_define, (GX_WIDGET *) &left_home_button },
{ &right_home_button_define, (GX_WIDGET *) &right_home_button },
{ &calculator_screen_define, (GX_WIDGET *) &calculator_screen },
{ &menu_window_3_define, (GX_WIDGET *) &menu_window_3 },
{ &menu_window_2_define, (GX_WIDGET *) &menu_window_2 },
{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 = guix_smart_watch_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 = &guix_smart_watch_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