3033 lines
180 KiB
C
3033 lines
180 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.0.1.0 */
|
|
/* Date (dd.mm.yyyy): 13. 7.2020 Time (hh:mm): 16:18 */
|
|
/*******************************************************************************/
|
|
|
|
|
|
#define GUIX_STUDIO_GENERATED_FILE
|
|
#include <stddef.h>
|
|
#include "sample_guix_washing_machine_resources.h"
|
|
#include "sample_guix_washing_machine_specifications.h"
|
|
|
|
static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent);
|
|
TEMPERATURE_WINDOW_CONTROL_BLOCK temperature_window;
|
|
WATER_LEVEL_WINDOW_CONTROL_BLOCK water_level_window;
|
|
GARMENTS_WINDOW_CONTROL_BLOCK garments_window;
|
|
MAIN_SCREEN_CONTROL_BLOCK main_screen;
|
|
GX_DISPLAY main_display_control_block;
|
|
GX_WINDOW_ROOT main_display_root_window;
|
|
GX_CANVAS main_display_canvas_control_block;
|
|
extern GX_CONST GX_THEME *main_display_theme_table[];
|
|
extern GX_CONST GX_STRING *main_display_language_table[];
|
|
|
|
GX_STUDIO_DISPLAY_INFO sample_guix_washing_machine_display_table[1] =
|
|
{
|
|
{
|
|
"main_display",
|
|
"main_display_canvas",
|
|
main_display_theme_table,
|
|
main_display_language_table,
|
|
MAIN_DISPLAY_THEME_TABLE_SIZE,
|
|
MAIN_DISPLAY_LANGUAGE_TABLE_SIZE,
|
|
MAIN_DISPLAY_STRING_TABLE_SIZE,
|
|
480, /* x resolution */
|
|
272, /* y resolution */
|
|
&main_display_control_block,
|
|
&main_display_canvas_control_block,
|
|
&main_display_root_window,
|
|
GX_NULL, /* canvas memory area */
|
|
261120 /* canvas memory size in bytes */
|
|
}
|
|
};
|
|
|
|
|
|
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_pixelmap_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
|
|
{
|
|
UINT status;
|
|
GX_PIXELMAP_SLIDER *slider = (GX_PIXELMAP_SLIDER *) control_block;
|
|
GX_PIXELMAP_SLIDER_PROPERTIES *props = (GX_PIXELMAP_SLIDER_PROPERTIES *) info->properties;
|
|
GX_PIXELMAP_SLIDER_INFO pixelmap_info;
|
|
GX_SLIDER_INFO slider_info;
|
|
slider_info.gx_slider_info_min_val = props->min_val;
|
|
slider_info.gx_slider_info_max_val = props->max_val;
|
|
slider_info.gx_slider_info_current_val = props->current_val;
|
|
slider_info.gx_slider_info_increment = props->increment;
|
|
slider_info.gx_slider_info_min_travel = props->min_travel;
|
|
slider_info.gx_slider_info_max_travel = props->max_travel;
|
|
slider_info.gx_slider_info_needle_width = props->needle_width;
|
|
slider_info.gx_slider_info_needle_height = props->needle_height;
|
|
slider_info.gx_slider_info_needle_inset = props->needle_inset;
|
|
slider_info.gx_slider_info_needle_hotspot_offset = props->needle_hotspot;
|
|
pixelmap_info.gx_pixelmap_slider_info_lower_background_pixelmap = props->lower_pixelmap;
|
|
pixelmap_info.gx_pixelmap_slider_info_upper_background_pixelmap = props->upper_pixelmap;
|
|
pixelmap_info.gx_pixelmap_slider_info_needle_pixelmap = props->needle_pixelmap;
|
|
status = gx_pixelmap_slider_create(slider,
|
|
info->widget_name,
|
|
parent,
|
|
&slider_info,
|
|
&pixelmap_info,
|
|
info->style,
|
|
info->widget_id,
|
|
&info->size);
|
|
return status;
|
|
}
|
|
|
|
UINT gx_studio_radial_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
|
|
{
|
|
UINT status;
|
|
GX_RADIAL_SLIDER *slider = (GX_RADIAL_SLIDER *) control_block;
|
|
GX_RADIAL_SLIDER_INFO slider_info;
|
|
GX_RADIAL_SLIDER_PROPERTIES *props = (GX_RADIAL_SLIDER_PROPERTIES *)info->properties;
|
|
memset(&slider_info, 0, sizeof(GX_RADIAL_SLIDER_INFO));
|
|
slider_info.gx_radial_slider_info_xcenter = props->xcenter;
|
|
slider_info.gx_radial_slider_info_ycenter = props->ycenter;
|
|
slider_info.gx_radial_slider_info_radius = props->radius;
|
|
slider_info.gx_radial_slider_info_track_width = props->track_width;
|
|
slider_info.gx_radial_slider_info_current_angle = props->current_angle;
|
|
slider_info.gx_radial_slider_info_min_angle = props->min_angle;
|
|
slider_info.gx_radial_slider_info_max_angle = props->max_angle;
|
|
slider_info.gx_radial_slider_info_background_pixelmap = props->background_pixelmap;
|
|
slider_info.gx_radial_slider_info_needle_pixelmap = props->needle_pixelmap;
|
|
status = gx_radial_slider_create(slider,
|
|
info->widget_name,
|
|
parent,
|
|
&slider_info,
|
|
info->style,
|
|
info->widget_id,
|
|
&info->size);
|
|
gx_radial_slider_animation_set(slider, props->animation_total_steps, props->animation_delay, props->animation_style, props->animation_update_callback);
|
|
return status;
|
|
}
|
|
|
|
UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
|
|
{
|
|
UINT status;
|
|
GX_PROMPT *prompt = (GX_PROMPT *) control_block;
|
|
GX_PROMPT_PROPERTIES *props = (GX_PROMPT_PROPERTIES *) info->properties;
|
|
status = gx_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
|
|
if (status == GX_SUCCESS)
|
|
{
|
|
gx_prompt_font_set(prompt, props->font_id);
|
|
#if defined(GUIX_5_4_0_COMPATIBILITY)
|
|
gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id);
|
|
#else
|
|
gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
|
|
#endif
|
|
}
|
|
return status;
|
|
}
|
|
|
|
UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
|
|
{
|
|
UINT status;
|
|
GX_NUMERIC_PROMPT *prompt = (GX_NUMERIC_PROMPT *) control_block;
|
|
GX_NUMERIC_PROMPT_PROPERTIES *props = (GX_NUMERIC_PROMPT_PROPERTIES *) info->properties;
|
|
status = gx_numeric_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
|
|
if (status == GX_SUCCESS)
|
|
{
|
|
gx_prompt_font_set((GX_PROMPT *)prompt, props->font_id);
|
|
#if defined(GUIX_5_4_0_COMPATIBILITY)
|
|
gx_prompt_text_color_set((GX_PROMPT *)prompt, props->normal_text_color_id, props->selected_text_color_id);
|
|
#else
|
|
gx_prompt_text_color_set((GX_PROMPT *)prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
|
|
#endif
|
|
if(!props->string_id)
|
|
{
|
|
gx_numeric_prompt_value_set(prompt, props->numeric_prompt_value);
|
|
}
|
|
if(props->format_func)
|
|
{
|
|
gx_numeric_prompt_format_function_set(prompt, props->format_func);
|
|
}
|
|
}
|
|
return status;
|
|
}
|
|
|
|
UINT gx_studio_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;
|
|
}
|
|
GX_WINDOW_PROPERTIES temperature_window_properties =
|
|
{
|
|
0 /* wallpaper pixelmap id */
|
|
};
|
|
GX_PROMPT_PROPERTIES temperature_window_water_t_cold_properties =
|
|
{
|
|
GX_STRING_ID_STRING_62, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 temperature_window_water_t_hot_properties =
|
|
{
|
|
GX_STRING_ID_STRING_63, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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_RADIAL_SLIDER_PROPERTIES temperature_window_radial_slider_properties =
|
|
{
|
|
90, /* xcenter */
|
|
90, /* ycenter */
|
|
66, /* radius */
|
|
20, /* track width */
|
|
-46, /* current angle */
|
|
-46, /* min angle */
|
|
228, /* max angle */
|
|
GX_PIXELMAP_ID_BG_TEMPERATURE, /* background pixelmap */
|
|
GX_PIXELMAP_ID_WHEEL_DOT_BLUE, /* needle pixelmap */
|
|
15, /* animation total steps */
|
|
2, /* animation delay */
|
|
GX_ANIMATION_CIRC_EASE_IN_OUT, /* animation style */
|
|
GX_NULL, /* animation update callback func */
|
|
};
|
|
GX_PROMPT_PROPERTIES temperature_window_water_label_properties =
|
|
{
|
|
GX_STRING_ID_STRING_65, /* string id */
|
|
GX_FONT_ID_BOLD, /* font id */
|
|
GX_COLOR_ID_SILVERY, /* normal text color */
|
|
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
|
|
GX_COLOR_ID_SILVERY /* disabled text color */
|
|
};
|
|
GX_PROMPT_PROPERTIES temperature_window_temperature_label_properties =
|
|
{
|
|
GX_STRING_ID_STRING_31, /* string id */
|
|
GX_FONT_ID_BOLD, /* font id */
|
|
GX_COLOR_ID_SILVERY, /* normal text color */
|
|
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
|
|
GX_COLOR_ID_SILVERY /* disabled text color */
|
|
};
|
|
GX_PROMPT_PROPERTIES temperature_window_temperature_value_properties =
|
|
{
|
|
GX_STRING_ID_STRING_35, /* string id */
|
|
GX_FONT_ID_BOLD_NUMBER, /* font id */
|
|
GX_COLOR_ID_SILVERY, /* normal text color */
|
|
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
|
|
GX_COLOR_ID_SILVERY /* disabled text color */
|
|
};
|
|
GX_PROMPT_PROPERTIES temperature_window_water_label_3_properties =
|
|
{
|
|
GX_STRING_ID_STRING_37, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* font id */
|
|
GX_COLOR_ID_SILVERY, /* normal text color */
|
|
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
|
|
GX_COLOR_ID_SILVERY /* disabled text color */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET temperature_window_water_label_3_define =
|
|
{
|
|
"water_label_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_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 */
|
|
{195, 142, 209, 164}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(TEMPERATURE_WINDOW_CONTROL_BLOCK, temperature_window_water_label_3), /* control block */
|
|
(void *) &temperature_window_water_label_3_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET temperature_window_temperature_value_define =
|
|
{
|
|
"temperature_value",
|
|
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_COPY|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 */
|
|
{160, 147, 207, 172}, /* widget size */
|
|
&temperature_window_water_label_3_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(TEMPERATURE_WINDOW_CONTROL_BLOCK, temperature_window_temperature_value), /* control block */
|
|
(void *) &temperature_window_temperature_value_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET temperature_window_temperature_label_define =
|
|
{
|
|
"temperature_label",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
|
|
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 */
|
|
{139, 126, 230, 138}, /* widget size */
|
|
&temperature_window_temperature_value_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(TEMPERATURE_WINDOW_CONTROL_BLOCK, temperature_window_temperature_label), /* control block */
|
|
(void *) &temperature_window_temperature_label_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET temperature_window_water_label_define =
|
|
{
|
|
"water_label",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
|
|
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 */
|
|
{162, 114, 205, 126}, /* widget size */
|
|
&temperature_window_temperature_label_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(TEMPERATURE_WINDOW_CONTROL_BLOCK, temperature_window_water_label), /* control block */
|
|
(void *) &temperature_window_water_label_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET temperature_window_radial_slider_define =
|
|
{
|
|
"radial_slider",
|
|
GX_TYPE_RADIAL_SLIDER, /* widget type */
|
|
ID_TEMPERATURE_RADIAL_SLIDER, /* 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_RADIAL_SLIDER), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
|
|
gx_studio_radial_slider_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{96, 56, 275, 225}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
&temperature_window_water_label_define, /* child widget definition */
|
|
offsetof(TEMPERATURE_WINDOW_CONTROL_BLOCK, temperature_window_radial_slider), /* control block */
|
|
(void *) &temperature_window_radial_slider_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET temperature_window_water_t_hot_define =
|
|
{
|
|
"water_t_hot",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_TEMPERATURE_HOT, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
142, /* 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 */
|
|
{299, 204, 331, 223}, /* widget size */
|
|
&temperature_window_radial_slider_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(TEMPERATURE_WINDOW_CONTROL_BLOCK, temperature_window_water_t_hot), /* control block */
|
|
(void *) &temperature_window_water_t_hot_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET temperature_window_water_t_cold_define =
|
|
{
|
|
"water_t_cold",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_TEMPERATURE_COLD, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
142, /* 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 */
|
|
{50, 204, 89, 223}, /* widget size */
|
|
&temperature_window_water_t_hot_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(TEMPERATURE_WINDOW_CONTROL_BLOCK, temperature_window_water_t_cold), /* control block */
|
|
(void *) &temperature_window_water_t_cold_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET temperature_window_define =
|
|
{
|
|
"temperature_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(TEMPERATURE_WINDOW_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 *)) temperature_window_draw, /* drawing function override */
|
|
(UINT (*)(GX_WIDGET *, GX_EVENT *)) temperature_window_event_process, /* event function override */
|
|
{33, 56, 361, 225}, /* widget size */
|
|
GX_NULL, /* next widget */
|
|
&temperature_window_water_t_cold_define, /* child widget */
|
|
0, /* control block */
|
|
(void *) &temperature_window_properties /* extended properties */
|
|
};
|
|
GX_WINDOW_PROPERTIES water_level_window_properties =
|
|
{
|
|
0 /* wallpaper pixelmap id */
|
|
};
|
|
GX_ICON_PROPERTIES water_level_window_water_level_slider_background_properties =
|
|
{
|
|
GX_PIXELMAP_ID_ICON_WATER_CONTAINER, /* normal pixelmap id */
|
|
0 /* selected pixelmap id */
|
|
};
|
|
GX_PIXELMAP_SLIDER_PROPERTIES water_level_window_water_level_slider_properties =
|
|
{
|
|
17, /* minimum value */
|
|
100, /* maximum value */
|
|
17, /* current value */
|
|
10, /* increment */
|
|
10, /* minimum travel */
|
|
0, /* maximum travel */
|
|
232, /* needle width */
|
|
16, /* needle height */
|
|
0, /* needle inset */
|
|
7, /* needle hotspot */
|
|
GX_PIXELMAP_ID_WATER_LEVEL_LOWER_FILL, /* lower pixelmap id */
|
|
GX_PIXELMAP_ID_WATER_LEVEL_UPPER_FILL, /* upper pixelmap id */
|
|
GX_PIXELMAP_ID_SLIDER_INDICATOR_WATER_LEVEL /* needle pixelmap id */
|
|
};
|
|
GX_PROMPT_PROPERTIES water_level_window_water_level_label_properties =
|
|
{
|
|
GX_STRING_ID_STRING_30, /* 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 water_level_window_water_level_value_properties =
|
|
{
|
|
GX_STRING_ID_STRING_59, /* string id */
|
|
GX_FONT_ID_BOLD_NUMBER, /* 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 water_level_window_percent_label_properties =
|
|
{
|
|
GX_STRING_ID_STRING_38, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* 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 water_level_window_water_level_extra_high_properties =
|
|
{
|
|
GX_STRING_ID_STRING_54, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 water_level_window_water_level_high_properties =
|
|
{
|
|
GX_STRING_ID_STRING_55, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 water_level_window_water_level_medium_properties =
|
|
{
|
|
GX_STRING_ID_STRING_18, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 water_level_window_water_level_low_properties =
|
|
{
|
|
GX_STRING_ID_STRING_56, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 water_level_window_water_level_very_low_properties =
|
|
{
|
|
GX_STRING_ID_STRING_57, /* string id */
|
|
GX_FONT_ID_NORMAL, /* font id */
|
|
GX_COLOR_ID_BLUE, /* normal text color */
|
|
GX_COLOR_ID_BLUE, /* selected text color */
|
|
GX_COLOR_ID_BLUE /* disabled text color */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET water_level_window_percent_label_define =
|
|
{
|
|
"percent_label",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_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 */
|
|
{237, 138, 248, 150}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(WATER_LEVEL_WINDOW_CONTROL_BLOCK, water_level_window_percent_label), /* control block */
|
|
(void *) &water_level_window_percent_label_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET water_level_window_water_level_value_define =
|
|
{
|
|
"water_level_value",
|
|
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_COPY|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 */
|
|
{190, 135, 232, 157}, /* widget size */
|
|
&water_level_window_percent_label_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(WATER_LEVEL_WINDOW_CONTROL_BLOCK, water_level_window_water_level_value), /* control block */
|
|
(void *) &water_level_window_water_level_value_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET water_level_window_water_level_label_define =
|
|
{
|
|
"water_level_label",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_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 */
|
|
{176, 119, 271, 132}, /* widget size */
|
|
&water_level_window_water_level_value_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(WATER_LEVEL_WINDOW_CONTROL_BLOCK, water_level_window_water_level_label), /* control block */
|
|
(void *) &water_level_window_water_level_label_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET water_level_window_water_level_very_low_define =
|
|
{
|
|
"water_level_very_low",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WATER_LEVEL_VERY_LOW, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
142, /* 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 */
|
|
{40, 168, 113, 181}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(WATER_LEVEL_WINDOW_CONTROL_BLOCK, water_level_window_water_level_very_low), /* control block */
|
|
(void *) &water_level_window_water_level_very_low_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET water_level_window_water_level_low_define =
|
|
{
|
|
"water_level_low",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WATER_LEVEL_LOW, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
142, /* 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 */
|
|
{40, 143, 71, 156}, /* widget size */
|
|
&water_level_window_water_level_very_low_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(WATER_LEVEL_WINDOW_CONTROL_BLOCK, water_level_window_water_level_low), /* control block */
|
|
(void *) &water_level_window_water_level_low_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET water_level_window_water_level_medium_define =
|
|
{
|
|
"water_level_medium",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WATER_LEVEL_MEDIUM, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
142, /* 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 */
|
|
{40, 118, 103, 131}, /* widget size */
|
|
&water_level_window_water_level_low_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(WATER_LEVEL_WINDOW_CONTROL_BLOCK, water_level_window_water_level_medium), /* control block */
|
|
(void *) &water_level_window_water_level_medium_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET water_level_window_water_level_high_define =
|
|
{
|
|
"water_level_high",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WATER_LEVEL_HIGH, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
142, /* 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 */
|
|
{40, 93, 76, 106}, /* widget size */
|
|
&water_level_window_water_level_medium_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(WATER_LEVEL_WINDOW_CONTROL_BLOCK, water_level_window_water_level_high), /* control block */
|
|
(void *) &water_level_window_water_level_high_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET water_level_window_water_level_extra_high_define =
|
|
{
|
|
"water_level_extra_high",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WATER_LEVEL_EXTRA_HIGH, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
142, /* 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 */
|
|
{40, 68, 123, 81}, /* widget size */
|
|
&water_level_window_water_level_high_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(WATER_LEVEL_WINDOW_CONTROL_BLOCK, water_level_window_water_level_extra_high), /* control block */
|
|
(void *) &water_level_window_water_level_extra_high_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET water_level_window_water_level_slider_define =
|
|
{
|
|
"water_level_slider",
|
|
GX_TYPE_PIXELMAP_SLIDER, /* widget type */
|
|
ID_WATER_LEVEL_SLIDER, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_RAISED|GX_STYLE_ENABLED|GX_STYLE_SLIDER_VERTICAL|GX_STYLE_TILE_BACKGROUND, /* style flags */
|
|
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
|
|
sizeof(GX_PIXELMAP_SLIDER), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* selected color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
|
|
gx_studio_pixelmap_slider_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{157, 73, 286, 183}, /* widget size */
|
|
&water_level_window_water_level_extra_high_define, /* next widget definition */
|
|
&water_level_window_water_level_label_define, /* child widget definition */
|
|
offsetof(WATER_LEVEL_WINDOW_CONTROL_BLOCK, water_level_window_water_level_slider), /* control block */
|
|
(void *) &water_level_window_water_level_slider_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET water_level_window_water_level_slider_background_define =
|
|
{
|
|
"water_level_slider_background",
|
|
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_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 */
|
|
{152, 73, 291, 205}, /* widget size */
|
|
&water_level_window_water_level_slider_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(WATER_LEVEL_WINDOW_CONTROL_BLOCK, water_level_window_water_level_slider_background), /* control block */
|
|
(void *) &water_level_window_water_level_slider_background_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET water_level_window_define =
|
|
{
|
|
"water_level_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(WATER_LEVEL_WINDOW_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 *)) water_level_window_draw, /* drawing function override */
|
|
(UINT (*)(GX_WIDGET *, GX_EVENT *)) water_level_window_event_process, /* event function override */
|
|
{33, 56, 361, 225}, /* widget size */
|
|
GX_NULL, /* next widget */
|
|
&water_level_window_water_level_slider_background_define, /* child widget */
|
|
0, /* control block */
|
|
(void *) &water_level_window_properties /* extended properties */
|
|
};
|
|
GX_WINDOW_PROPERTIES garments_window_properties =
|
|
{
|
|
0 /* wallpaper pixelmap id */
|
|
};
|
|
GX_PROMPT_PROPERTIES garments_window_mode_denim_properties =
|
|
{
|
|
GX_STRING_ID_STRING_42, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 garments_window_mode_baby_care_properties =
|
|
{
|
|
GX_STRING_ID_STRING_45, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 garments_window_mode_workout_clothes_properties =
|
|
{
|
|
GX_STRING_ID_STRING_2, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 garments_window_mode_light_colors_properties =
|
|
{
|
|
GX_STRING_ID_STRING_51, /* string id */
|
|
GX_FONT_ID_NORMAL, /* font id */
|
|
GX_COLOR_ID_ORANGE, /* normal text color */
|
|
GX_COLOR_ID_ORANGE, /* selected text color */
|
|
GX_COLOR_ID_ORANGE /* disabled text color */
|
|
};
|
|
GX_PROMPT_PROPERTIES garments_window_mode_hand_wash_properties =
|
|
{
|
|
GX_STRING_ID_STRING_49, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 garments_window_mode_wool_properties =
|
|
{
|
|
GX_STRING_ID_STRING_48, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 garments_window_mode_silk_properties =
|
|
{
|
|
GX_STRING_ID_STRING_47, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 garments_window_mode_bedding_properties =
|
|
{
|
|
GX_STRING_ID_STRING_46, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 garments_window_mode_dark_colors_properties =
|
|
{
|
|
GX_STRING_ID_STRING_44, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 garments_window_mode_linen_properties =
|
|
{
|
|
GX_STRING_ID_STRING_43, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 garments_window_mode_synthetics_properties =
|
|
{
|
|
GX_STRING_ID_STRING_41, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 garments_window_mode_cotton_properties =
|
|
{
|
|
GX_STRING_ID_STRING_40, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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_RADIAL_SLIDER_PROPERTIES garments_window_radial_slider_properties =
|
|
{
|
|
101, /* xcenter */
|
|
75, /* ycenter */
|
|
62, /* radius */
|
|
20, /* track width */
|
|
-63, /* current angle */
|
|
-90, /* min angle */
|
|
242, /* max angle */
|
|
GX_PIXELMAP_ID_BG_GARMENTS, /* background pixelmap */
|
|
GX_PIXELMAP_ID_WHEEL_DOT_ORANGE, /* needle pixelmap */
|
|
15, /* animation total steps */
|
|
2, /* animation delay */
|
|
GX_ANIMATION_CIRC_EASE_IN_OUT, /* animation style */
|
|
garments_mode_animation_update, /* animation update callback func */
|
|
};
|
|
GX_WINDOW_PROPERTIES garments_window_icon_window_properties =
|
|
{
|
|
GX_PIXELMAP_ID_ICON_SOCK /* wallpaper pixelmap id */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_icon_window_define =
|
|
{
|
|
"icon_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_DISABLED_FILL, /* disabled color id */
|
|
gx_studio_window_create, /* create function */
|
|
(VOID (*)(GX_WIDGET *)) icon_window_draw, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{165, 108, 234, 177}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_icon_window), /* control block */
|
|
(void *) &garments_window_icon_window_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_radial_slider_define =
|
|
{
|
|
"radial_slider",
|
|
GX_TYPE_RADIAL_SLIDER, /* widget type */
|
|
ID_GARMENTS_ON_RADIAL_SLIDER, /* 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_RADIAL_SLIDER), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
|
|
gx_studio_radial_slider_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{99, 68, 300, 217}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
&garments_window_icon_window_define, /* child widget definition */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_radial_slider), /* control block */
|
|
(void *) &garments_window_radial_slider_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_cotton_define =
|
|
{
|
|
"mode_cotton",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_COTTON, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
112, /* 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 */
|
|
{33, 65, 86, 78}, /* widget size */
|
|
&garments_window_radial_slider_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_cotton), /* control block */
|
|
(void *) &garments_window_mode_cotton_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_synthetics_define =
|
|
{
|
|
"mode_synthetics",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_SYNTHETICS, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
142, /* 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 */
|
|
{33, 94, 116, 107}, /* widget size */
|
|
&garments_window_mode_cotton_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_synthetics), /* control block */
|
|
(void *) &garments_window_mode_synthetics_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_linen_define =
|
|
{
|
|
"mode_linen",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_LINEN, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
191, /* 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 */
|
|
{33, 151, 76, 164}, /* widget size */
|
|
&garments_window_mode_synthetics_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_linen), /* control block */
|
|
(void *) &garments_window_mode_linen_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_dark_colors_define =
|
|
{
|
|
"mode_dark_colors",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_DARK_COLORS, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
214, /* 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 */
|
|
{33, 178, 124, 191}, /* widget size */
|
|
&garments_window_mode_linen_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_dark_colors), /* control block */
|
|
(void *) &garments_window_mode_dark_colors_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_bedding_define =
|
|
{
|
|
"mode_bedding",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_BEDDING, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
38, /* 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 */
|
|
{296, 95, 361, 108}, /* widget size */
|
|
&garments_window_mode_dark_colors_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_bedding), /* control block */
|
|
(void *) &garments_window_mode_bedding_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_silk_define =
|
|
{
|
|
"mode_silk",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_SILK, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
13, /* 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 */
|
|
{330, 123, 358, 136}, /* widget size */
|
|
&garments_window_mode_bedding_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_silk), /* control block */
|
|
(void *) &garments_window_mode_silk_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_wool_define =
|
|
{
|
|
"mode_wool",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_WOOL, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
-10, /* 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 */
|
|
{319, 151, 358, 164}, /* widget size */
|
|
&garments_window_mode_silk_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_wool), /* control block */
|
|
(void *) &garments_window_mode_wool_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_hand_wash_define =
|
|
{
|
|
"mode_hand_wash",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_HAND_WASH, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
-34, /* 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 */
|
|
{274, 178, 361, 191}, /* widget size */
|
|
&garments_window_mode_wool_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_hand_wash), /* control block */
|
|
(void *) &garments_window_mode_hand_wash_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_light_colors_define =
|
|
{
|
|
"mode_light_colors",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_LIGHT_COLORS, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
242, /* 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 */
|
|
{33, 205, 128, 218}, /* widget size */
|
|
&garments_window_mode_hand_wash_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_light_colors), /* control block */
|
|
(void *) &garments_window_mode_light_colors_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_workout_clothes_define =
|
|
{
|
|
"mode_workout_clothes",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_WORKOUT_CLOTHES, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
-63, /* 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 */
|
|
{256, 206, 361, 219}, /* widget size */
|
|
&garments_window_mode_light_colors_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_workout_clothes), /* control block */
|
|
(void *) &garments_window_mode_workout_clothes_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_baby_care_define =
|
|
{
|
|
"mode_baby_care",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_BABY_CARE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
67, /* 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 */
|
|
{282, 67, 361, 80}, /* widget size */
|
|
&garments_window_mode_workout_clothes_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_baby_care), /* control block */
|
|
(void *) &garments_window_mode_baby_care_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_mode_denim_define =
|
|
{
|
|
"mode_denim",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_GARMENTS_MODE_DENIM, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
168, /* 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 */
|
|
{33, 123, 84, 136}, /* widget size */
|
|
&garments_window_mode_baby_care_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(GARMENTS_WINDOW_CONTROL_BLOCK, garments_window_mode_denim), /* control block */
|
|
(void *) &garments_window_mode_denim_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET garments_window_define =
|
|
{
|
|
"garments_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(GARMENTS_WINDOW_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 *)) window_alpha_draw, /* drawing function override */
|
|
(UINT (*)(GX_WIDGET *, GX_EVENT *)) garments_window_event_process, /* event function override */
|
|
{33, 56, 361, 225}, /* widget size */
|
|
GX_NULL, /* next widget */
|
|
&garments_window_mode_denim_define, /* child widget */
|
|
0, /* control block */
|
|
(void *) &garments_window_properties /* extended properties */
|
|
};
|
|
GX_WINDOW_PROPERTIES main_screen_properties =
|
|
{
|
|
0 /* wallpaper pixelmap id */
|
|
};
|
|
GX_ICON_PROPERTIES main_screen_guix_properties =
|
|
{
|
|
GX_PIXELMAP_ID_GUIX_LOGO_VERTICAL, /* normal pixelmap id */
|
|
0 /* selected pixelmap id */
|
|
};
|
|
GX_ICON_PROPERTIES main_screen_expresslogic_properties =
|
|
{
|
|
GX_PIXELMAP_ID_EXPRESS_LOGIC_LOGO, /* normal pixelmap id */
|
|
0 /* selected pixelmap id */
|
|
};
|
|
GX_PIXELMAP_BUTTON_PROPERTIES main_screen_home_properties =
|
|
{
|
|
GX_PIXELMAP_ID_MENU_ICON_HOME, /* normal pixelmap id */
|
|
GX_PIXELMAP_ID_MENU_ICON_HOME_ON, /* selected pixelmap id */
|
|
0 /* disabled pixelmap id */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_time_properties =
|
|
{
|
|
GX_STRING_ID_STRING_1, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* font id */
|
|
GX_COLOR_ID_SILVERY, /* normal text color */
|
|
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
|
|
GX_COLOR_ID_SILVERY /* disabled text color */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_am_pm_properties =
|
|
{
|
|
GX_STRING_ID_STRING_6, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* font id */
|
|
GX_COLOR_ID_SILVERY, /* normal text color */
|
|
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
|
|
GX_COLOR_ID_SILVERY /* disabled text color */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_day_of_week_properties =
|
|
{
|
|
GX_STRING_ID_STRING_7, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* font id */
|
|
GX_COLOR_ID_SILVERY, /* normal text color */
|
|
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
|
|
GX_COLOR_ID_SILVERY /* disabled text color */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_date_properties =
|
|
{
|
|
GX_STRING_ID_STRING_8, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* font id */
|
|
GX_COLOR_ID_SILVERY, /* normal text color */
|
|
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
|
|
GX_COLOR_ID_SILVERY /* disabled text color */
|
|
};
|
|
GX_WINDOW_PROPERTIES main_screen_washer_on_window_properties =
|
|
{
|
|
0 /* wallpaper pixelmap id */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_mode_normal_properties =
|
|
{
|
|
GX_STRING_ID_STRING_19, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 main_screen_mode_perm_press_properties =
|
|
{
|
|
GX_STRING_ID_STRING_10, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 main_screen_mode_rinse_spin_properties =
|
|
{
|
|
GX_STRING_ID_STRING_11, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 main_screen_mode_very_light_properties =
|
|
{
|
|
GX_STRING_ID_STRING_12, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 main_screen_mode_no_spin_properties =
|
|
{
|
|
GX_STRING_ID_STRING_13, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 main_screen_mode_spin_properties =
|
|
{
|
|
GX_STRING_ID_STRING_14, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 main_screen_mode_quick_wash_properties =
|
|
{
|
|
GX_STRING_ID_STRING_27, /* string id */
|
|
GX_FONT_ID_NORMAL, /* font id */
|
|
GX_COLOR_ID_GREEN, /* normal text color */
|
|
GX_COLOR_ID_GREEN, /* selected text color */
|
|
GX_COLOR_ID_GREEN /* disabled text color */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_mode_light_properties =
|
|
{
|
|
GX_STRING_ID_STRING_17, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 main_screen_mode_medium_properties =
|
|
{
|
|
GX_STRING_ID_STRING_18, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 main_screen_mode_fast_properties =
|
|
{
|
|
GX_STRING_ID_STRING_20, /* string id */
|
|
GX_FONT_ID_NORMAL, /* 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 main_screen_mode_very_fast_properties =
|
|
{
|
|
GX_STRING_ID_STRING_21, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* 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 main_screen_mode_soak_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_LIGHT_GRAY, /* selected text color */
|
|
GX_COLOR_ID_LIGHT_GRAY /* disabled text color */
|
|
};
|
|
GX_RADIAL_SLIDER_PROPERTIES main_screen_radial_slider_properties =
|
|
{
|
|
112, /* xcenter */
|
|
79, /* ycenter */
|
|
64, /* radius */
|
|
20, /* track width */
|
|
-63, /* current angle */
|
|
-63, /* min angle */
|
|
242, /* max angle */
|
|
GX_PIXELMAP_ID_BG_WASHER_ON, /* background pixelmap */
|
|
GX_PIXELMAP_ID_WHEEL_DOT_GREEN, /* needle pixelmap */
|
|
15, /* animation total steps */
|
|
2, /* animation delay */
|
|
GX_ANIMATION_CIRC_EASE_IN_OUT, /* animation style */
|
|
washer_mode_animation_update, /* animation update callback func */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_remainning_time_properties =
|
|
{
|
|
GX_STRING_ID_STRING_22, /* string id */
|
|
GX_FONT_ID_BOLD, /* font id */
|
|
GX_COLOR_ID_SILVERY, /* normal text color */
|
|
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
|
|
GX_COLOR_ID_SILVERY /* disabled text color */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_washer_mode_properties =
|
|
{
|
|
GX_STRING_ID_STRING_23, /* string id */
|
|
GX_FONT_ID_NORMAL, /* font id */
|
|
GX_COLOR_ID_SILVERY, /* normal text color */
|
|
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
|
|
GX_COLOR_ID_SILVERY /* disabled text color */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_remain_minute_label_properties =
|
|
{
|
|
GX_STRING_ID_STRING_5, /* 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_NUMERIC_PROMPT_PROPERTIES main_screen_remain_hour_properties =
|
|
{
|
|
0, /* string id */
|
|
GX_FONT_ID_BIG, /* 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_NULL, /* format function */
|
|
0 /* numeric prompt value */
|
|
};
|
|
GX_NUMERIC_PROMPT_PROPERTIES main_screen_remain_minute_properties =
|
|
{
|
|
0, /* string id */
|
|
GX_FONT_ID_BIG, /* 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 */
|
|
minute_prompt_format, /* format function */
|
|
35 /* numeric prompt value */
|
|
};
|
|
GX_PIXELMAP_BUTTON_PROPERTIES main_screen_button_washer_on_properties =
|
|
{
|
|
GX_PIXELMAP_ID_BUTTON, /* normal pixelmap id */
|
|
GX_PIXELMAP_ID_BUTTON_PAUSE_ON, /* selected pixelmap id */
|
|
0 /* disabled pixelmap id */
|
|
};
|
|
GX_ICON_PROPERTIES main_screen_washer_on_icon_properties =
|
|
{
|
|
GX_PIXELMAP_ID_BUTTON_ICON_PAUSE, /* normal pixelmap id */
|
|
0 /* selected pixelmap id */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_washer_on_label_properties =
|
|
{
|
|
GX_STRING_ID_PAUSE, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* 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 main_screen_page_name_properties =
|
|
{
|
|
GX_STRING_ID_STRING_9, /* string id */
|
|
GX_FONT_ID_BIG, /* font id */
|
|
GX_COLOR_ID_GREEN, /* normal text color */
|
|
GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
|
|
GX_COLOR_ID_GREEN /* disabled text color */
|
|
};
|
|
GX_PIXELMAP_BUTTON_PROPERTIES main_screen_button_garments_properties =
|
|
{
|
|
GX_PIXELMAP_ID_BUTTON, /* normal pixelmap id */
|
|
GX_PIXELMAP_ID_BUTTON_GARMENTS_ON, /* selected pixelmap id */
|
|
0 /* disabled pixelmap id */
|
|
};
|
|
GX_ICON_PROPERTIES main_screen_garments_icon_properties =
|
|
{
|
|
GX_PIXELMAP_ID_BUTTON_ICON_SOCK, /* normal pixelmap id */
|
|
0 /* selected pixelmap id */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_garments_label_properties =
|
|
{
|
|
GX_STRING_ID_STRING_29, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* 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_PIXELMAP_BUTTON_PROPERTIES main_screen_button_water_level_properties =
|
|
{
|
|
GX_PIXELMAP_ID_BUTTON, /* normal pixelmap id */
|
|
GX_PIXELMAP_ID_BUTTON_WATER_LEVEL, /* selected pixelmap id */
|
|
0 /* disabled pixelmap id */
|
|
};
|
|
GX_ICON_PROPERTIES main_screen_water_level_icon_properties =
|
|
{
|
|
GX_PIXELMAP_ID_BUTTON_ICON_WATER_LEVEL, /* normal pixelmap id */
|
|
0 /* selected pixelmap id */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_water_level_label_properties =
|
|
{
|
|
GX_STRING_ID_STRING_30, /* string id */
|
|
GX_FONT_ID_BOLD, /* 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 main_screen_water_level_value_properties =
|
|
{
|
|
GX_STRING_ID_STRING_34, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* 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 main_screen_prompt_9_properties =
|
|
{
|
|
GX_STRING_ID_STRING_38, /* 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_PIXELMAP_BUTTON_PROPERTIES main_screen_button_temperature_properties =
|
|
{
|
|
GX_PIXELMAP_ID_BUTTON, /* normal pixelmap id */
|
|
GX_PIXELMAP_ID_BUTTON_TEMPERATURE_ON, /* selected pixelmap id */
|
|
0 /* disabled pixelmap id */
|
|
};
|
|
GX_ICON_PROPERTIES main_screen_temperature_icon_properties =
|
|
{
|
|
GX_PIXELMAP_ID_BUTTON_ICON_TEMPERATURE, /* normal pixelmap id */
|
|
0 /* selected pixelmap id */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_temperature_label_properties =
|
|
{
|
|
GX_STRING_ID_STRING_31, /* string id */
|
|
GX_FONT_ID_BOLD, /* 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 main_screen_temperature_value_properties =
|
|
{
|
|
GX_STRING_ID_STRING_67, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* 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 main_screen_prompt_8_properties =
|
|
{
|
|
GX_STRING_ID_STRING_37, /* string id */
|
|
GX_FONT_ID_BOLD, /* 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_PIXELMAP_BUTTON_PROPERTIES main_screen_button_power_on_off_properties =
|
|
{
|
|
GX_PIXELMAP_ID_BUTTON, /* normal pixelmap id */
|
|
0, /* selected pixelmap id */
|
|
0 /* disabled pixelmap id */
|
|
};
|
|
GX_ICON_PROPERTIES main_screen_power_off_icon_properties =
|
|
{
|
|
GX_PIXELMAP_ID_BUTTON_ICON_POWER, /* normal pixelmap id */
|
|
0 /* selected pixelmap id */
|
|
};
|
|
GX_PROMPT_PROPERTIES main_screen_power_off_label_properties =
|
|
{
|
|
GX_STRING_ID_POWER_OFF, /* string id */
|
|
GX_FONT_ID_BOLD_22, /* 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_ICON_PROPERTIES main_screen_icon_1_properties =
|
|
{
|
|
GX_PIXELMAP_ID_PROGRESS_BACKGROUND, /* normal pixelmap id */
|
|
0 /* selected pixelmap id */
|
|
};
|
|
GX_PIXELMAP_SLIDER_PROPERTIES main_screen_pixelmap_slider_properties =
|
|
{
|
|
0, /* minimum value */
|
|
100, /* maximum value */
|
|
40, /* current value */
|
|
10, /* increment */
|
|
8, /* minimum travel */
|
|
8, /* maximum travel */
|
|
5, /* needle width */
|
|
10, /* needle height */
|
|
0, /* needle inset */
|
|
5, /* needle hotspot */
|
|
GX_PIXELMAP_ID_PROGRESS_LOWER_FILL, /* lower pixelmap id */
|
|
GX_PIXELMAP_ID_PROGRESS_UPPER_FILL, /* upper pixelmap id */
|
|
GX_PIXELMAP_ID_SLIDER_INDICATOR_PROGRESS_BAR /* needle pixelmap id */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_remain_minute_define =
|
|
{
|
|
"remain_minute",
|
|
GX_TYPE_NUMERIC_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
|
|
0, /* status flags */
|
|
sizeof(GX_NUMERIC_PROMPT), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
|
|
gx_studio_numeric_prompt_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{191, 139, 216, 160}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_remain_minute), /* control block */
|
|
(void *) &main_screen_remain_minute_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_remain_hour_define =
|
|
{
|
|
"remain_hour",
|
|
GX_TYPE_NUMERIC_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
|
|
0, /* status flags */
|
|
sizeof(GX_NUMERIC_PROMPT), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
|
|
gx_studio_numeric_prompt_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{147, 139, 179, 160}, /* widget size */
|
|
&main_screen_remain_minute_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_remain_hour), /* control block */
|
|
(void *) &main_screen_remain_hour_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_remain_minute_label_define =
|
|
{
|
|
"remain_minute_label",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
|
|
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
|
|
sizeof(GX_PROMPT), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
|
|
gx_studio_prompt_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{180, 141, 185, 154}, /* widget size */
|
|
&main_screen_remain_hour_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_remain_minute_label), /* control block */
|
|
(void *) &main_screen_remain_minute_label_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_washer_mode_define =
|
|
{
|
|
"washer_mode",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
|
|
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
|
|
sizeof(GX_PROMPT), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
|
|
gx_studio_prompt_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{151, 161, 218, 180}, /* widget size */
|
|
&main_screen_remain_minute_label_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_washer_mode), /* control block */
|
|
(void *) &main_screen_washer_mode_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_remainning_time_define =
|
|
{
|
|
"remainning_time",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
|
|
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
|
|
sizeof(GX_PROMPT), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
|
|
gx_studio_prompt_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{148, 118, 226, 127}, /* widget size */
|
|
&main_screen_washer_mode_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_remainning_time), /* control block */
|
|
(void *) &main_screen_remainning_time_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_radial_slider_define =
|
|
{
|
|
"radial_slider",
|
|
GX_TYPE_RADIAL_SLIDER, /* widget type */
|
|
ID_WASHER_ON_RADIAL_SLIDER, /* 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_RADIAL_SLIDER), /* control block size */
|
|
GX_COLOR_ID_WHITE, /* normal color id */
|
|
GX_COLOR_ID_WHITE, /* selected color id */
|
|
GX_COLOR_ID_WHITE, /* disabled color id */
|
|
gx_studio_radial_slider_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{72, 67, 291, 222}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
&main_screen_remainning_time_define, /* child widget definition */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_radial_slider), /* control block */
|
|
(void *) &main_screen_radial_slider_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_soak_define =
|
|
{
|
|
"mode_soak",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_SOAK, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
13, /* 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 */
|
|
{322, 123, 359, 136}, /* widget size */
|
|
&main_screen_radial_slider_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_soak), /* control block */
|
|
(void *) &main_screen_mode_soak_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_very_fast_define =
|
|
{
|
|
"mode_very_fast",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_VERY_FAST, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
112, /* 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 */
|
|
{33, 67, 96, 79}, /* widget size */
|
|
&main_screen_mode_soak_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_very_fast), /* control block */
|
|
(void *) &main_screen_mode_very_fast_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_fast_define =
|
|
{
|
|
"mode_fast",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_FAST, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
142, /* 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 */
|
|
{33, 95, 66, 108}, /* widget size */
|
|
&main_screen_mode_very_fast_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_fast), /* control block */
|
|
(void *) &main_screen_mode_fast_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_medium_define =
|
|
{
|
|
"mode_medium",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_MEDIUM, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
191, /* 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 */
|
|
{33, 151, 96, 164}, /* widget size */
|
|
&main_screen_mode_fast_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_medium), /* control block */
|
|
(void *) &main_screen_mode_medium_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_light_define =
|
|
{
|
|
"mode_light",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_LIGHT, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
214, /* 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 */
|
|
{33, 179, 73, 192}, /* widget size */
|
|
&main_screen_mode_medium_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_light), /* control block */
|
|
(void *) &main_screen_mode_light_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_quick_wash_define =
|
|
{
|
|
"mode_quick_wash",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_QUICK_WASH, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
38, /* 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 */
|
|
{269, 96, 359, 109}, /* widget size */
|
|
&main_screen_mode_light_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_quick_wash), /* control block */
|
|
(void *) &main_screen_mode_quick_wash_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_spin_define =
|
|
{
|
|
"mode_spin",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_SPIN, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
-10, /* 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 */
|
|
{325, 152, 359, 165}, /* widget size */
|
|
&main_screen_mode_quick_wash_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_spin), /* control block */
|
|
(void *) &main_screen_mode_spin_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_no_spin_define =
|
|
{
|
|
"mode_no_spin",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_NO_SPIN, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
-34, /* 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 */
|
|
{298, 179, 359, 192}, /* widget size */
|
|
&main_screen_mode_spin_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_no_spin), /* control block */
|
|
(void *) &main_screen_mode_no_spin_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_very_light_define =
|
|
{
|
|
"mode_very_light",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_VERY_LIGHT, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
242, /* 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 */
|
|
{33, 206, 115, 219}, /* widget size */
|
|
&main_screen_mode_no_spin_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_very_light), /* control block */
|
|
(void *) &main_screen_mode_very_light_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_rinse_spin_define =
|
|
{
|
|
"mode_rinse_spin",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_RINSE_SPIN, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
-63, /* 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 */
|
|
{259, 206, 359, 219}, /* widget size */
|
|
&main_screen_mode_very_light_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_rinse_spin), /* control block */
|
|
(void *) &main_screen_mode_rinse_spin_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_perm_press_define =
|
|
{
|
|
"mode_perm_press",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_PERM_PRESS, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
67, /* 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 */
|
|
{270, 67, 359, 80}, /* widget size */
|
|
&main_screen_mode_rinse_spin_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_perm_press), /* control block */
|
|
(void *) &main_screen_mode_perm_press_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_mode_normal_define =
|
|
{
|
|
"mode_normal",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
ID_WASHER_MODE_NORMAL, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
168, /* 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 */
|
|
{33, 123, 90, 136}, /* widget size */
|
|
&main_screen_mode_perm_press_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_mode_normal), /* control block */
|
|
(void *) &main_screen_mode_normal_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_washer_on_label_define =
|
|
{
|
|
"washer_on_label",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_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 */
|
|
{406, 84, 446, 96}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_washer_on_label), /* control block */
|
|
(void *) &main_screen_washer_on_label_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_washer_on_icon_define =
|
|
{
|
|
"washer_on_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_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
|
|
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
|
|
sizeof(GX_ICON), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
|
|
gx_studio_icon_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{421, 68, 431, 79}, /* widget size */
|
|
&main_screen_washer_on_label_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_washer_on_icon), /* control block */
|
|
(void *) &main_screen_washer_on_icon_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_garments_label_define =
|
|
{
|
|
"garments_label",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_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 */
|
|
{394, 122, 460, 134}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_garments_label), /* control block */
|
|
(void *) &main_screen_garments_label_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_garments_icon_define =
|
|
{
|
|
"garments_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_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
|
|
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
|
|
sizeof(GX_ICON), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
|
|
gx_studio_icon_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{419, 106, 430, 120}, /* widget size */
|
|
&main_screen_garments_label_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_garments_icon), /* control block */
|
|
(void *) &main_screen_garments_icon_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_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_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 */
|
|
{444, 146, 456, 159}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_9), /* control block */
|
|
(void *) &main_screen_prompt_9_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_water_level_value_define =
|
|
{
|
|
"water_level_value",
|
|
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_COPY|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 */
|
|
{415, 144, 444, 162}, /* widget size */
|
|
&main_screen_prompt_9_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_water_level_value), /* control block */
|
|
(void *) &main_screen_water_level_value_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_water_level_label_define =
|
|
{
|
|
"water_level_label",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_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 */
|
|
{396, 161, 455, 170}, /* widget size */
|
|
&main_screen_water_level_value_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_water_level_label), /* control block */
|
|
(void *) &main_screen_water_level_label_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_water_level_icon_define =
|
|
{
|
|
"water_level_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_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
|
|
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
|
|
sizeof(GX_ICON), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
|
|
gx_studio_icon_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{397, 145, 411, 156}, /* widget size */
|
|
&main_screen_water_level_label_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_water_level_icon), /* control block */
|
|
(void *) &main_screen_water_level_icon_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_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_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 */
|
|
{444, 182, 456, 191}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_prompt_8), /* control block */
|
|
(void *) &main_screen_prompt_8_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_temperature_value_define =
|
|
{
|
|
"temperature_value",
|
|
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_COPY|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 */
|
|
{423, 185, 444, 201}, /* widget size */
|
|
&main_screen_prompt_8_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_temperature_value), /* control block */
|
|
(void *) &main_screen_temperature_value_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_temperature_label_define =
|
|
{
|
|
"temperature_label",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_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 */
|
|
{395, 200, 457, 209}, /* widget size */
|
|
&main_screen_temperature_value_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_temperature_label), /* control block */
|
|
(void *) &main_screen_temperature_label_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_temperature_icon_define =
|
|
{
|
|
"temperature_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_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
|
|
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
|
|
sizeof(GX_ICON), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
|
|
gx_studio_icon_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{398, 187, 412, 197}, /* widget size */
|
|
&main_screen_temperature_label_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_temperature_icon), /* control block */
|
|
(void *) &main_screen_temperature_icon_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_power_off_label_define =
|
|
{
|
|
"power_off_label",
|
|
GX_TYPE_PROMPT, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_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 */
|
|
{394, 238, 459, 250}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_power_off_label), /* control block */
|
|
(void *) &main_screen_power_off_label_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_power_off_icon_define =
|
|
{
|
|
"power_off_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_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
|
|
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
|
|
sizeof(GX_ICON), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
|
|
gx_studio_icon_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{418, 224, 428, 236}, /* widget size */
|
|
&main_screen_power_off_label_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_power_off_icon), /* control block */
|
|
(void *) &main_screen_power_off_icon_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_pixelmap_slider_define =
|
|
{
|
|
"pixelmap_slider",
|
|
GX_TYPE_PIXELMAP_SLIDER, /* widget type */
|
|
GX_ID_NONE, /* widget id */
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
0, /* user data */
|
|
#endif
|
|
GX_STYLE_BORDER_RAISED|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TILE_BACKGROUND, /* style flags */
|
|
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
|
|
sizeof(GX_PIXELMAP_SLIDER), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* selected color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
|
|
gx_studio_pixelmap_slider_create, /* create function */
|
|
(VOID (*)(GX_WIDGET *)) pixelmap_slider_alpha_draw, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{23, 231, 362, 256}, /* widget size */
|
|
GX_NULL, /* no next widget */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_pixelmap_slider), /* control block */
|
|
(void *) &main_screen_pixelmap_slider_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_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_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
|
|
GX_STATUS_ACCEPTS_FOCUS, /* status flags */
|
|
sizeof(GX_ICON), /* control block size */
|
|
GX_COLOR_ID_WIDGET_FILL, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_WIDGET_FILL, /* disabled color id */
|
|
gx_studio_icon_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{23, 237, 363, 250}, /* widget size */
|
|
&main_screen_pixelmap_slider_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_icon_1), /* control block */
|
|
(void *) &main_screen_icon_1_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_button_power_on_off_define =
|
|
{
|
|
"button_power_on_off",
|
|
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
|
|
ID_BTN_POWER_ON_OFF, /* 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 */
|
|
{384, 220, 466, 252}, /* widget size */
|
|
&main_screen_icon_1_define, /* next widget definition */
|
|
&main_screen_power_off_icon_define, /* child widget definition */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_button_power_on_off), /* control block */
|
|
(void *) &main_screen_button_power_on_off_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_button_temperature_define =
|
|
{
|
|
"button_temperature",
|
|
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
|
|
ID_BTN_TEMPERATURE, /* 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_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 *)) pixelmap_button_alpha_draw, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{384, 181, 466, 213}, /* widget size */
|
|
&main_screen_button_power_on_off_define, /* next widget definition */
|
|
&main_screen_temperature_icon_define, /* child widget definition */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_button_temperature), /* control block */
|
|
(void *) &main_screen_button_temperature_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_button_water_level_define =
|
|
{
|
|
"button_water_level",
|
|
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
|
|
ID_BTN_WATER_LEVEL, /* 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_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 *)) pixelmap_button_alpha_draw, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{384, 142, 466, 174}, /* widget size */
|
|
&main_screen_button_temperature_define, /* next widget definition */
|
|
&main_screen_water_level_icon_define, /* child widget definition */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_button_water_level), /* control block */
|
|
(void *) &main_screen_button_water_level_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_button_garments_define =
|
|
{
|
|
"button_garments",
|
|
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
|
|
ID_BTN_GARMENTS, /* 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_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 *)) pixelmap_button_alpha_draw, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{384, 103, 466, 135}, /* widget size */
|
|
&main_screen_button_water_level_define, /* next widget definition */
|
|
&main_screen_garments_icon_define, /* child widget definition */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_button_garments), /* control block */
|
|
(void *) &main_screen_button_garments_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_page_name_define =
|
|
{
|
|
"page_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_COPY|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 */
|
|
(VOID (*)(GX_WIDGET *)) prompt_alpha_draw, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{314, 28, 460, 55}, /* widget size */
|
|
&main_screen_button_garments_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_page_name), /* control block */
|
|
(void *) &main_screen_page_name_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_button_washer_on_define =
|
|
{
|
|
"button_washer_on",
|
|
GX_TYPE_PIXELMAP_BUTTON, /* widget type */
|
|
ID_BTN_WASHER_ON, /* 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_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 *)) pixelmap_button_alpha_draw, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{384, 64, 466, 96}, /* widget size */
|
|
&main_screen_page_name_define, /* next widget definition */
|
|
&main_screen_washer_on_icon_define, /* child widget definition */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_button_washer_on), /* control block */
|
|
(void *) &main_screen_button_washer_on_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_washer_on_window_define =
|
|
{
|
|
"washer_on_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 *)) window_alpha_draw, /* drawing function override */
|
|
(UINT (*)(GX_WIDGET *, GX_EVENT *)) washer_on_window_event_process, /* event function override */
|
|
{33, 56, 361, 225}, /* widget size */
|
|
&main_screen_button_washer_on_define, /* next widget definition */
|
|
&main_screen_mode_normal_define, /* child widget definition */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_washer_on_window), /* control block */
|
|
(void *) &main_screen_washer_on_window_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_LEFT, /* style flags */
|
|
0, /* status flags */
|
|
sizeof(GX_PROMPT), /* control block size */
|
|
GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_TEXT_INPUT_TEXT, /* disabled color id */
|
|
gx_studio_prompt_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{189, 23, 276, 36}, /* widget size */
|
|
&main_screen_washer_on_window_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_day_of_week_define =
|
|
{
|
|
"day_of_week",
|
|
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_LEFT, /* style flags */
|
|
0, /* status flags */
|
|
sizeof(GX_PROMPT), /* control block size */
|
|
GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_TEXT_INPUT_TEXT, /* disabled color id */
|
|
gx_studio_prompt_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{190, 6, 263, 20}, /* widget size */
|
|
&main_screen_date_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_day_of_week), /* control block */
|
|
(void *) &main_screen_day_of_week_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_LEFT, /* style flags */
|
|
0, /* status flags */
|
|
sizeof(GX_PROMPT), /* control block size */
|
|
GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_TEXT_INPUT_TEXT, /* disabled color id */
|
|
gx_studio_prompt_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{163, 15, 182, 28}, /* widget size */
|
|
&main_screen_day_of_week_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_time_define =
|
|
{
|
|
"time",
|
|
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_TEXT_INPUT_TEXT, /* normal color id */
|
|
GX_COLOR_ID_SELECTED_FILL, /* selected color id */
|
|
GX_COLOR_ID_TEXT_INPUT_TEXT, /* disabled color id */
|
|
gx_studio_prompt_create, /* create function */
|
|
GX_NULL, /* drawing function override */
|
|
GX_NULL, /* event function override */
|
|
{109, 12, 157, 31}, /* widget size */
|
|
&main_screen_am_pm_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_time), /* control block */
|
|
(void *) &main_screen_time_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_home_define =
|
|
{
|
|
"home",
|
|
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 */
|
|
{451, 9, 467, 21}, /* widget size */
|
|
&main_screen_time_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_home), /* control block */
|
|
(void *) &main_screen_home_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_expresslogic_define =
|
|
{
|
|
"expresslogic",
|
|
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_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 */
|
|
{32, 13, 94, 21}, /* widget size */
|
|
&main_screen_home_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_expresslogic), /* control block */
|
|
(void *) &main_screen_expresslogic_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_guix_define =
|
|
{
|
|
"guix",
|
|
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_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 */
|
|
{10, 13, 24, 60}, /* widget size */
|
|
&main_screen_expresslogic_define, /* next widget definition */
|
|
GX_NULL, /* no child widgets */
|
|
offsetof(MAIN_SCREEN_CONTROL_BLOCK, main_screen_guix), /* control block */
|
|
(void *) &main_screen_guix_properties /* extended properties */
|
|
};
|
|
|
|
GX_CONST GX_STUDIO_WIDGET main_screen_define =
|
|
{
|
|
"main_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_ENABLED, /* 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_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 *)) main_screen_event_process, /* event function override */
|
|
{0, 0, 639, 479}, /* widget size */
|
|
GX_NULL, /* next widget */
|
|
&main_screen_guix_define, /* child widget */
|
|
0, /* control block */
|
|
(void *) &main_screen_properties /* extended properties */
|
|
};
|
|
GX_CONST GX_STUDIO_WIDGET_ENTRY sample_guix_washing_machine_widget_table[] =
|
|
{
|
|
{ &temperature_window_define, (GX_WIDGET *) &temperature_window },
|
|
{ &water_level_window_define, (GX_WIDGET *) &water_level_window },
|
|
{ &garments_window_define, (GX_WIDGET *) &garments_window },
|
|
{ &main_screen_define, (GX_WIDGET *) &main_screen },
|
|
{GX_NULL, GX_NULL}
|
|
};
|
|
|
|
static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
|
|
{
|
|
UINT status = GX_SUCCESS;
|
|
GX_WIDGET *widget = GX_NULL;
|
|
GX_VALUE list_count = 0;
|
|
GX_VALUE list_total_count = 0;
|
|
|
|
if(parent && (parent->gx_widget_type == GX_TYPE_MENU))
|
|
{
|
|
list_total_count = ((GX_MENU *)parent)->gx_menu_list_total_count;
|
|
}
|
|
|
|
while(definition && status == GX_SUCCESS)
|
|
{
|
|
if (definition->create_function)
|
|
{
|
|
if (definition->style & GX_STYLE_DYNAMICALLY_ALLOCATED)
|
|
{
|
|
status = gx_widget_allocate(&widget, definition->control_block_size);
|
|
if (status != GX_SUCCESS)
|
|
{
|
|
return GX_NULL;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (control == GX_NULL)
|
|
{
|
|
return GX_NULL;
|
|
}
|
|
widget = (GX_WIDGET *) (control + definition->control_block_offset);
|
|
}
|
|
|
|
status = definition->create_function(definition, widget, parent);
|
|
|
|
if(list_count < list_total_count)
|
|
{
|
|
gx_menu_insert((GX_MENU *)parent, widget);
|
|
((GX_MENU *)parent)->gx_menu_list_total_count--;
|
|
list_count++;
|
|
}
|
|
|
|
if (status == GX_SUCCESS)
|
|
{
|
|
if (definition->widget_type != GX_TYPE_TEMPLATE)
|
|
{
|
|
#if defined(GUIX_5_4_0_COMPATIBILITY)
|
|
gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id);
|
|
#else
|
|
gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id, definition->disabled_fill_color_id);
|
|
#endif
|
|
}
|
|
|
|
if (!(definition->status & GX_STATUS_ACCEPTS_FOCUS))
|
|
{
|
|
gx_widget_status_remove(widget, GX_STATUS_ACCEPTS_FOCUS);
|
|
}
|
|
|
|
if (definition->draw_function)
|
|
{
|
|
gx_widget_draw_set(widget, definition->draw_function);
|
|
}
|
|
if (definition->event_function)
|
|
{
|
|
gx_widget_event_process_set(widget, definition->event_function);
|
|
}
|
|
|
|
#if defined(GX_WIDGET_USER_DATA)
|
|
widget->gx_widget_user_data = definition->user_data;
|
|
#endif
|
|
|
|
if (definition->child_widget)
|
|
{
|
|
gx_studio_nested_widget_create(control, definition->child_widget, widget);
|
|
}
|
|
}
|
|
definition = definition->next_widget;
|
|
}
|
|
}
|
|
return widget;
|
|
}
|
|
|
|
GX_WIDGET *gx_studio_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
|
|
{
|
|
GX_WIDGET *widget;
|
|
widget = gx_studio_nested_widget_create(control, definition, GX_NULL);
|
|
|
|
if (parent && widget)
|
|
{
|
|
gx_widget_attach(parent, widget);
|
|
}
|
|
return widget;
|
|
}
|
|
|
|
UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget)
|
|
{
|
|
UINT status = GX_FAILURE;
|
|
GX_CONST GX_STUDIO_WIDGET_ENTRY *entry = sample_guix_washing_machine_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 = &sample_guix_washing_machine_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);
|
|
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);
|
|
}
|
|
}
|
|
|
|
|
|
/* 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
|