1 /*******************************************************************************/
2 /* This file is auto-generated by Azure RTOS GUIX Studio. Do not edit this */
3 /* file by hand. Modifications to this file should only be made by running */
4 /* the Azure RTOS GUIX Studio application and re-generating the application */
5 /* specification file(s). For more information please refer to the Azure RTOS */
6 /* GUIX Studio User Guide, or visit our web site at azure.com/rtos */
7 /* */
8 /* GUIX Studio Revision 6.1.12.0 */
9 /* Date (dd.mm.yyyy): 25. 8.2022 Time (hh:mm): 18:23 */
10 /*******************************************************************************/
11
12
13 #define GUIX_STUDIO_GENERATED_FILE
14 #include <stddef.h>
15 #include "guix_smart_watch_resources.h"
16 #include "guix_smart_watch_specifications.h"
17
18 static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent);
19 SCREEN_SLIDE_PARENT_CONTROL_BLOCK screen_slide_parent;
20 HOME_BUTTON_CONTROL_BLOCK home_button;
21 PAGE_3_CONTAINER_SCREEN_CONTROL_BLOCK page_3_container_screen;
22 PAGE_2_CONTAINER_SCREEN_CONTROL_BLOCK page_2_container_screen;
23 PAGE_1_CONTAINER_SCREEN_CONTROL_BLOCK page_1_container_screen;
24 MAIN_SCREEN_CONTROL_BLOCK main_screen;
25 WEATHER_SCREEN_CONTROL_BLOCK weather_screen;
26 MUSIC_SCREEN_CONTROL_BLOCK music_screen;
27 MESSAGE_SCREEN_CONTROL_BLOCK message_screen;
28 SANFRANCISCO_WEATHER_SCREEN_CONTROL_BLOCK SanFrancisco_weather_screen;
29 LOSANGELES_WEATHER_SCREEN_CONTROL_BLOCK LosAngeles_weather_screen;
30 SANDIEGO_WEATHER_SCREEN_CONTROL_BLOCK SanDiego_weather_screen;
31 EKG_SCREEN_CONTROL_BLOCK ekg_screen;
32 YOGA_SCREEN_CONTROL_BLOCK yoga_screen;
33 STAND_SCREEN_CONTROL_BLOCK stand_screen;
34 RUN_SCREEN_CONTROL_BLOCK run_screen;
35 CALORIES_SCREEN_CONTROL_BLOCK calories_screen;
36 FITNESS_SCREEN_CONTROL_BLOCK fitness_screen;
37 CLOCK_2_SCREEN_CONTROL_BLOCK clock_2_screen;
38 CLOCK_1_SCREEN_CONTROL_BLOCK clock_1_screen;
39 CLOCK_5_SCREEN_CONTROL_BLOCK clock_5_screen;
40 CLOCK_3_SCREEN_CONTROL_BLOCK clock_3_screen;
41 CLOCK_4_SCREEN_CONTROL_BLOCK clock_4_screen;
42 HOME_SCREEN_CONTROL_BLOCK home_screen;
43 GX_DISPLAY display_1_control_block;
44 GX_WINDOW_ROOT display_1_root_window;
45 GX_CANVAS display_1_canvas_control_block;
46 ULONG display_1_canvas_memory[307200];
47
48 extern GX_CONST GX_THEME *display_1_theme_table[];
49 extern GX_CONST GX_STRING *display_1_language_table[];
50
51 GX_STUDIO_DISPLAY_INFO guix_smart_watch_display_table[1] =
52 {
53 {
54 "display_1",
55 "display_1_canvas",
56 display_1_theme_table,
57 display_1_language_table,
58 DISPLAY_1_THEME_TABLE_SIZE,
59 DISPLAY_1_LANGUAGE_TABLE_SIZE,
60 DISPLAY_1_STRING_TABLE_SIZE,
61 640, /* x resolution */
62 480, /* y resolution */
63 &display_1_control_block,
64 &display_1_canvas_control_block,
65 &display_1_root_window,
66 display_1_canvas_memory, /* canvas memory area */
67 1228800, /* canvas memory size in bytes */
68 GX_SCREEN_ROTATION_NONE /* rotation angle */
69 }
70 };
71
72
gx_studio_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)73 UINT gx_studio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
74 {
75 UINT status;
76 GX_BUTTON *button = (GX_BUTTON *) control_block;
77 status = gx_button_create(button, info->widget_name, parent, info->style, info->widget_id, &info->size);
78 return status;
79 }
80
gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)81 UINT gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
82 {
83 UINT status;
84 GX_PIXELMAP_BUTTON *button = (GX_PIXELMAP_BUTTON *) control_block;
85 GX_PIXELMAP_BUTTON_PROPERTIES *props = (GX_PIXELMAP_BUTTON_PROPERTIES *) info->properties;
86 status = gx_pixelmap_button_create(button, info->widget_name, parent,
87 props->normal_pixelmap_id,
88 props->selected_pixelmap_id,
89 props->disabled_pixelmap_id,
90 info->style, info->widget_id, &info->size);
91 return status;
92 }
93
gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)94 UINT gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
95 {
96 UINT status;
97 GX_ICON *icon = (GX_ICON *) control_block;
98 GX_ICON_PROPERTIES *props = (GX_ICON_PROPERTIES *) info->properties;
99 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);
100 if (props->selected_pixelmap_id)
101 {
102 gx_icon_pixelmap_set(icon, props->normal_pixelmap_id, props->selected_pixelmap_id);
103 }
104 else
105 {
106 gx_widget_resize((GX_WIDGET *)icon, (GX_RECTANGLE *)&info->size);
107 }
108 return status;
109 }
110
gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)111 UINT gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
112 {
113 UINT status;
114 GX_RADIAL_PROGRESS_BAR *bar = (GX_RADIAL_PROGRESS_BAR *) control_block;
115 GX_RADIAL_PROGRESS_BAR_INFO *bar_info = (GX_RADIAL_PROGRESS_BAR_INFO *) info->properties;
116 status = gx_radial_progress_bar_create(bar,
117 info->widget_name,
118 parent,
119 bar_info,
120 info->style,
121 info->widget_id);
122 return status;
123 }
124
gx_studio_sprite_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)125 UINT gx_studio_sprite_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
126 {
127 UINT status;
128 GX_SPRITE *sprite = (GX_SPRITE *) control_block;
129 GX_SPRITE_PROPERTIES *props = (GX_SPRITE_PROPERTIES *) info->properties;
130 status = gx_sprite_create(sprite, info->widget_name, parent,
131 props->frame_list, props->frame_count,
132 info->style, info->widget_id, &info->size);
133 return status;
134 }
135
gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)136 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
137 {
138 UINT status;
139 GX_PROMPT *prompt = (GX_PROMPT *) control_block;
140 GX_PROMPT_PROPERTIES *props = (GX_PROMPT_PROPERTIES *) info->properties;
141 status = gx_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
142 if (status == GX_SUCCESS)
143 {
144 gx_prompt_font_set(prompt, props->font_id);
145 #if defined(GUIX_5_4_0_COMPATIBILITY)
146 gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id);
147 #else
148 gx_prompt_text_color_set(prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
149 #endif
150 }
151 return status;
152 }
153
gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)154 UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
155 {
156 UINT status;
157 GX_NUMERIC_PROMPT *prompt = (GX_NUMERIC_PROMPT *) control_block;
158 GX_NUMERIC_PROMPT_PROPERTIES *props = (GX_NUMERIC_PROMPT_PROPERTIES *) info->properties;
159 status = gx_numeric_prompt_create(prompt, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
160 if (status == GX_SUCCESS)
161 {
162 gx_prompt_font_set((GX_PROMPT *)prompt, props->font_id);
163 #if defined(GUIX_5_4_0_COMPATIBILITY)
164 gx_prompt_text_color_set((GX_PROMPT *)prompt, props->normal_text_color_id, props->selected_text_color_id);
165 #else
166 gx_prompt_text_color_set((GX_PROMPT *)prompt, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
167 #endif
168 if(!props->string_id)
169 {
170 gx_numeric_prompt_value_set(prompt, props->numeric_prompt_value);
171 }
172 if(props->format_func)
173 {
174 gx_numeric_prompt_format_function_set(prompt, props->format_func);
175 }
176 }
177 return status;
178 }
179
gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)180 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
181 {
182 UINT status;
183 GX_WINDOW *window = (GX_WINDOW *) control_block;
184 GX_WINDOW_PROPERTIES *props = (GX_WINDOW_PROPERTIES *) info->properties;
185 status = gx_window_create(window, info->widget_name, parent, info->style, info->widget_id, &info->size);
186 if (status == GX_SUCCESS)
187 {
188 if (props->wallpaper_id)
189 {
190 gx_window_wallpaper_set(window, props->wallpaper_id, info->style & GX_STYLE_TILE_WALLPAPER);
191 }
192 }
193 return status;
194 }
195
gx_studio_multi_line_text_view_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)196 UINT gx_studio_multi_line_text_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
197 {
198 UINT status;
199 GX_MULTI_LINE_TEXT_VIEW *view = (GX_MULTI_LINE_TEXT_VIEW *) control_block;
200 GX_ML_TEXT_VIEW_PROPERTIES *props = (GX_ML_TEXT_VIEW_PROPERTIES *) info->properties;
201 status = gx_multi_line_text_view_create(view, info->widget_name, parent, props->string_id, info->style, info->widget_id, &info->size);
202 if (status == GX_SUCCESS)
203 {
204 gx_multi_line_text_view_font_set(view, props->font_id);
205 #if defined(GUIX_5_4_0_COMPATIBILITY)
206 gx_multi_line_text_view_text_color_set(view, props->normal_text_color_id, props->selected_text_color_id);
207 #else
208 gx_multi_line_text_view_text_color_set(view, props->normal_text_color_id, props->selected_text_color_id, props->disabled_text_color_id);
209 #endif
210 gx_multi_line_text_view_whitespace_set(view, props->whitespace);
211 gx_multi_line_text_view_line_space_set(view, props->line_space);
212 }
213 return status;
214 }
215
gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)216 UINT gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
217 {
218 UINT status;
219 GX_SCROLLBAR *scroll = (GX_SCROLLBAR *) control_block;
220 GX_SCROLLBAR_APPEARANCE *appearance = (GX_SCROLLBAR_APPEARANCE *) info->properties;
221 status = gx_vertical_scrollbar_create(scroll, info->widget_name, parent, appearance, info->style);
222 return status;
223 }
224
gx_studio_circular_gauge_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)225 UINT gx_studio_circular_gauge_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
226 {
227 UINT status;
228 GX_CIRCULAR_GAUGE *gauge = (GX_CIRCULAR_GAUGE *) control_block;
229 GX_CIRCULAR_GAUGE_PROPERTIES *props = (GX_CIRCULAR_GAUGE_PROPERTIES *) info->properties;
230 GX_CIRCULAR_GAUGE_INFO gauge_info;
231 gauge_info.gx_circular_gauge_info_needle_pixelmap = props->needle_pixelmap_id;
232 gauge_info.gx_circular_gauge_info_needle_xpos = props->needle_xpos;
233 gauge_info.gx_circular_gauge_info_needle_ypos = props->needle_ypos;
234 gauge_info.gx_circular_gauge_info_needle_xcor = props->needle_xcor;
235 gauge_info.gx_circular_gauge_info_needle_ycor = props->needle_ycor;
236 gauge_info.gx_circular_gauge_info_animation_steps = props->animation_steps;
237 gauge_info.gx_circular_gauge_info_animation_delay = props->animation_delay;
238 gauge->gx_icon_normal_pixelmap = props->normal_pixelmap_id;
239 gauge->gx_icon_selected_pixelmap = props->selected_pixelmap_id;
240 status = gx_circular_gauge_create(gauge,
241 info->widget_name,
242 parent,
243 &gauge_info,
244 props->normal_pixelmap_id,
245 info->style,
246 info->widget_id,
247 info->size.gx_rectangle_left,
248 info->size.gx_rectangle_top);
249 return status;
250 }
251
gx_studio_template_create(GX_CONST GX_STUDIO_WIDGET * info,GX_WIDGET * control_block,GX_WIDGET * parent)252 UINT gx_studio_template_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent)
253 {
254 UINT status = GX_SUCCESS;
255 GX_STUDIO_WIDGET derived;
256 GX_TEMPLATE_PROPERTIES *props = (GX_TEMPLATE_PROPERTIES *) info->properties;
257
258 /* create base widget and children */
259 derived = *props->base_info;
260 derived.widget_id = info->widget_id;
261 derived.widget_name = info->widget_name;
262
263 if (info->style & GX_STYLE_ENABLED)
264 {
265 derived.style |= GX_STYLE_ENABLED;
266 }
267 else
268 {
269 derived.style &= ~GX_STYLE_ENABLED;
270 }
271 if (info->status & GX_STATUS_ACCEPTS_FOCUS)
272 {
273 derived.status |= GX_STATUS_ACCEPTS_FOCUS;
274 }
275 else
276 {
277 derived.status &= ~GX_STATUS_ACCEPTS_FOCUS;
278 }
279
280 #if defined(GX_WIDGET_USER_DATA)
281 derived.user_data = info->user_data;
282 #endif
283
284 control_block = gx_studio_widget_create((GX_BYTE *) control_block, &derived, parent);
285 if (control_block)
286 {
287 if (info->style & GX_STYLE_DYNAMICALLY_ALLOCATED)
288 {
289 control_block->gx_widget_status |= GX_STATUS_DYNAMICALLY_ALLOCATED;
290 }
291 if (derived.size.gx_rectangle_left != info->size.gx_rectangle_left ||
292 derived.size.gx_rectangle_top != info->size.gx_rectangle_top)
293 {
294 gx_widget_shift(control_block,
295 info->size.gx_rectangle_left - derived.size.gx_rectangle_left,
296 info->size.gx_rectangle_top - derived.size.gx_rectangle_top, GX_FALSE);
297 }
298 }
299 else
300 {
301 status = GX_FAILURE;
302 }
303 return status;
304 }
305 GX_WINDOW_PROPERTIES screen_slide_parent_properties =
306 {
307 0 /* wallpaper pixelmap id */
308 };
309
310 GX_CONST GX_STUDIO_WIDGET screen_slide_parent_define =
311 {
312 "screen_slide_parent",
313 GX_TYPE_WINDOW, /* widget type */
314 GX_ID_NONE, /* widget id */
315 #if defined(GX_WIDGET_USER_DATA)
316 0, /* user data */
317 #endif
318 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
319 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
320 sizeof(SCREEN_SLIDE_PARENT_CONTROL_BLOCK), /* control block size */
321 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
322 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
323 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
324 gx_studio_window_create, /* create function */
325 GX_NULL, /* drawing function override */
326 GX_NULL, /* event function override */
327 {0, 0, 257, 288}, /* widget size */
328 GX_NULL, /* next widget */
329 GX_NULL, /* child widget */
330 0, /* control block */
331 (void *) &screen_slide_parent_properties /* extended properties */
332 };
333 GX_PIXELMAP_BUTTON_PROPERTIES home_button_properties =
334 {
335 GX_PIXELMAP_ID_WATCH_HOME_BUTTON, /* normal pixelmap id */
336 0, /* selected pixelmap id */
337 0 /* disabled pixelmap id */
338 };
339
340 GX_CONST GX_STUDIO_WIDGET home_button_define =
341 {
342 "home_button",
343 GX_TYPE_PIXELMAP_BUTTON, /* widget type */
344 ID_HOME_BUTTON, /* widget id */
345 #if defined(GX_WIDGET_USER_DATA)
346 0, /* user data */
347 #endif
348 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
349 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
350 sizeof(HOME_BUTTON_CONTROL_BLOCK), /* control block size */
351 GX_COLOR_ID_BLUE, /* normal color id */
352 GX_COLOR_ID_BLUE, /* selected color id */
353 GX_COLOR_ID_BLUE, /* disabled color id */
354 gx_studio_pixelmap_button_create, /* create function */
355 (VOID (*)(GX_WIDGET *)) root_home_button_draw, /* drawing function override */
356 GX_NULL, /* event function override */
357 {444, 214, 455, 267}, /* widget size */
358 GX_NULL, /* next widget */
359 GX_NULL, /* child widget */
360 0, /* control block */
361 (void *) &home_button_properties /* extended properties */
362 };
363 GX_WINDOW_PROPERTIES page_3_container_screen_properties =
364 {
365 0 /* wallpaper pixelmap id */
366 };
367
368 GX_CONST GX_STUDIO_WIDGET page_3_container_screen_define =
369 {
370 "page_3_container_screen",
371 GX_TYPE_WINDOW, /* widget type */
372 ID_PAGE_3_CONTAINER_SCREEN, /* widget id */
373 #if defined(GX_WIDGET_USER_DATA)
374 0, /* user data */
375 #endif
376 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
377 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
378 sizeof(PAGE_3_CONTAINER_SCREEN_CONTROL_BLOCK), /* control block size */
379 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
380 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
381 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
382 gx_studio_window_create, /* create function */
383 GX_NULL, /* drawing function override */
384 GX_NULL, /* event function override */
385 {185, 96, 442, 384}, /* widget size */
386 GX_NULL, /* next widget */
387 GX_NULL, /* child widget */
388 0, /* control block */
389 (void *) &page_3_container_screen_properties /* extended properties */
390 };
391 GX_WINDOW_PROPERTIES page_2_container_screen_properties =
392 {
393 0 /* wallpaper pixelmap id */
394 };
395
396 GX_CONST GX_STUDIO_WIDGET page_2_container_screen_define =
397 {
398 "page_2_container_screen",
399 GX_TYPE_WINDOW, /* widget type */
400 ID_PAGE_2_CONTAINER_SCREEN, /* widget id */
401 #if defined(GX_WIDGET_USER_DATA)
402 0, /* user data */
403 #endif
404 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
405 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
406 sizeof(PAGE_2_CONTAINER_SCREEN_CONTROL_BLOCK), /* control block size */
407 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
408 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
409 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
410 gx_studio_window_create, /* create function */
411 GX_NULL, /* drawing function override */
412 GX_NULL, /* event function override */
413 {185, 96, 442, 384}, /* widget size */
414 GX_NULL, /* next widget */
415 GX_NULL, /* child widget */
416 0, /* control block */
417 (void *) &page_2_container_screen_properties /* extended properties */
418 };
419 GX_WINDOW_PROPERTIES page_1_container_screen_properties =
420 {
421 0 /* wallpaper pixelmap id */
422 };
423
424 GX_CONST GX_STUDIO_WIDGET page_1_container_screen_define =
425 {
426 "page_1_container_screen",
427 GX_TYPE_WINDOW, /* widget type */
428 ID_PAGE_1_CONTAINER_SCREEN, /* widget id */
429 #if defined(GX_WIDGET_USER_DATA)
430 0, /* user data */
431 #endif
432 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
433 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
434 sizeof(PAGE_1_CONTAINER_SCREEN_CONTROL_BLOCK), /* control block size */
435 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
436 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
437 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
438 gx_studio_window_create, /* create function */
439 GX_NULL, /* drawing function override */
440 GX_NULL, /* event function override */
441 {185, 96, 442, 384}, /* widget size */
442 GX_NULL, /* next widget */
443 GX_NULL, /* child widget */
444 0, /* control block */
445 (void *) &page_1_container_screen_properties /* extended properties */
446 };
447 GX_WINDOW_PROPERTIES main_screen_properties =
448 {
449 0 /* wallpaper pixelmap id */
450 };
451
452 GX_CONST GX_STUDIO_WIDGET main_screen_define =
453 {
454 "main_screen",
455 GX_TYPE_WINDOW, /* widget type */
456 GX_ID_NONE, /* widget id */
457 #if defined(GX_WIDGET_USER_DATA)
458 0, /* user data */
459 #endif
460 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
461 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
462 sizeof(MAIN_SCREEN_CONTROL_BLOCK), /* control block size */
463 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
464 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
465 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
466 gx_studio_window_create, /* create function */
467 GX_NULL, /* drawing function override */
468 (UINT (*)(GX_WIDGET *, GX_EVENT *)) main_screen_event_process, /* event function override */
469 {185, 96, 442, 384}, /* widget size */
470 GX_NULL, /* next widget */
471 GX_NULL, /* child widget */
472 0, /* control block */
473 (void *) &main_screen_properties /* extended properties */
474 };
475 GX_WINDOW_PROPERTIES weather_screen_properties =
476 {
477 0 /* wallpaper pixelmap id */
478 };
479 GX_RADIAL_PROGRESS_BAR_INFO weather_screen_calorie_burned_progress_properties =
480 {
481 239, /* xcenter */
482 330, /* ycenter */
483 28, /* radius */
484 -300, /* current val */
485 90, /* anchor val */
486 GX_FONT_ID_SYSTEM, /* font_id */
487 GX_COLOR_ID_TEXT, /* normal text color */
488 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
489 GX_COLOR_ID_DISABLED_TEXT, /* disabled text color */
490 10, /* normal brush width */
491 10, /* selected brush width */
492 GX_COLOR_ID_GREEN_BG, /* normal brush color */
493 GX_COLOR_ID_GREEN, /* selected brush color */
494 };
495 GX_ICON_PROPERTIES weather_screen_calorie_icon_properties =
496 {
497 GX_PIXELMAP_ID_LANDING_ICON_CALORIES_GREEN, /* normal pixelmap id */
498 0 /* selected pixelmap id */
499 };
500 GX_NUMERIC_PROMPT_PROPERTIES weather_screen_calorie_burned_progress_val_properties =
501 {
502 0, /* string id */
503 GX_FONT_ID_NORMAL, /* font id */
504 GX_COLOR_ID_WHITE, /* normal text color */
505 GX_COLOR_ID_WHITE, /* selected text color */
506 GX_COLOR_ID_WHITE, /* disabled text color */
507 GX_NULL, /* format function */
508 80 /* numeric prompt value */
509 };
510 GX_PROMPT_PROPERTIES weather_screen_prompt_properties =
511 {
512 GX_STRING_ID_STRING_11, /* string id */
513 GX_FONT_ID_SMALL, /* font id */
514 GX_COLOR_ID_GRAY, /* normal text color */
515 GX_COLOR_ID_GRAY, /* selected text color */
516 GX_COLOR_ID_GRAY /* disabled text color */
517 };
518 GX_RADIAL_PROGRESS_BAR_INFO weather_screen_running_progress_properties =
519 {
520 318, /* xcenter */
521 330, /* ycenter */
522 28, /* radius */
523 -300, /* current val */
524 90, /* anchor val */
525 GX_FONT_ID_SYSTEM, /* font_id */
526 GX_COLOR_ID_TEXT, /* normal text color */
527 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
528 GX_COLOR_ID_DISABLED_TEXT, /* disabled text color */
529 10, /* normal brush width */
530 10, /* selected brush width */
531 GX_COLOR_ID_YELLOW_BG, /* normal brush color */
532 GX_COLOR_ID_YELLOW, /* selected brush color */
533 };
534 GX_ICON_PROPERTIES weather_screen_icon_5_properties =
535 {
536 GX_PIXELMAP_ID_LANDING_ICON_RUN_YELLOW, /* normal pixelmap id */
537 0 /* selected pixelmap id */
538 };
539 GX_NUMERIC_PROMPT_PROPERTIES weather_screen_running_progress_val_properties =
540 {
541 0, /* string id */
542 GX_FONT_ID_NORMAL, /* font id */
543 GX_COLOR_ID_WHITE, /* normal text color */
544 GX_COLOR_ID_WHITE, /* selected text color */
545 GX_COLOR_ID_WHITE, /* disabled text color */
546 GX_NULL, /* format function */
547 80 /* numeric prompt value */
548 };
549 GX_PROMPT_PROPERTIES weather_screen_prompt_9_properties =
550 {
551 GX_STRING_ID_STRING_11, /* string id */
552 GX_FONT_ID_SMALL, /* font id */
553 GX_COLOR_ID_GRAY, /* normal text color */
554 GX_COLOR_ID_GRAY, /* selected text color */
555 GX_COLOR_ID_GRAY /* disabled text color */
556 };
557 GX_RADIAL_PROGRESS_BAR_INFO weather_screen_ekg_progress_properties =
558 {
559 400, /* xcenter */
560 330, /* ycenter */
561 28, /* radius */
562 -300, /* current val */
563 90, /* anchor val */
564 GX_FONT_ID_SYSTEM, /* font_id */
565 GX_COLOR_ID_TEXT, /* normal text color */
566 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
567 GX_COLOR_ID_DISABLED_TEXT, /* disabled text color */
568 10, /* normal brush width */
569 10, /* selected brush width */
570 GX_COLOR_ID_ORANGE_BG, /* normal brush color */
571 GX_COLOR_ID_ORANGE, /* selected brush color */
572 };
573 GX_ICON_PROPERTIES weather_screen_icon_6_properties =
574 {
575 GX_PIXELMAP_ID_LANDING_ICON_HEART_RED, /* normal pixelmap id */
576 0 /* selected pixelmap id */
577 };
578 GX_NUMERIC_PROMPT_PROPERTIES weather_screen_ekg_progress_val_properties =
579 {
580 0, /* string id */
581 GX_FONT_ID_NORMAL, /* font id */
582 GX_COLOR_ID_WHITE, /* normal text color */
583 GX_COLOR_ID_WHITE, /* selected text color */
584 GX_COLOR_ID_WHITE, /* disabled text color */
585 GX_NULL, /* format function */
586 80 /* numeric prompt value */
587 };
588 GX_PROMPT_PROPERTIES weather_screen_prompt_11_properties =
589 {
590 GX_STRING_ID_STRING_11, /* string id */
591 GX_FONT_ID_SMALL, /* font id */
592 GX_COLOR_ID_GRAY, /* normal text color */
593 GX_COLOR_ID_GRAY, /* selected text color */
594 GX_COLOR_ID_GRAY /* disabled text color */
595 };
596 GX_WINDOW_PROPERTIES weather_screen_window_properties =
597 {
598 0 /* wallpaper pixelmap id */
599 };
600 GX_ICON_PROPERTIES weather_screen_weather_icon_properties =
601 {
602 GX_PIXELMAP_ID_LANDING_TOP_BIG_ICON_PARTLY_CLOUDY, /* normal pixelmap id */
603 0 /* selected pixelmap id */
604 };
605 GX_NUMERIC_PROMPT_PROPERTIES weather_screen_temperature_val_properties =
606 {
607 0, /* string id */
608 GX_FONT_ID_NUMBER, /* font id */
609 GX_COLOR_ID_WHITE, /* normal text color */
610 GX_COLOR_ID_WHITE, /* selected text color */
611 GX_COLOR_ID_WHITE, /* disabled text color */
612 GX_NULL, /* format function */
613 75 /* numeric prompt value */
614 };
615 GX_PROMPT_PROPERTIES weather_screen_prompt_1_properties =
616 {
617 GX_STRING_ID_STRING_19, /* string id */
618 GX_FONT_ID_PROMPT, /* font id */
619 GX_COLOR_ID_LIGHT_BLUE, /* normal text color */
620 GX_COLOR_ID_LIGHT_BLUE, /* selected text color */
621 GX_COLOR_ID_LIGHT_BLUE /* disabled text color */
622 };
623 GX_PROMPT_PROPERTIES weather_screen_day_of_week_properties =
624 {
625 GX_STRING_ID_STRING_20, /* string id */
626 GX_FONT_ID_NORMAL_BOLD, /* font id */
627 GX_COLOR_ID_LIGHT_BLUE, /* normal text color */
628 GX_COLOR_ID_LIGHT_BLUE, /* selected text color */
629 GX_COLOR_ID_LIGHT_BLUE /* disabled text color */
630 };
631 GX_PROMPT_PROPERTIES weather_screen_date_properties =
632 {
633 GX_STRING_ID_STRING_3, /* string id */
634 GX_FONT_ID_SYSTEM, /* font id */
635 GX_COLOR_ID_LIGHT_BLUE, /* normal text color */
636 GX_COLOR_ID_LIGHT_BLUE, /* selected text color */
637 GX_COLOR_ID_LIGHT_BLUE /* disabled text color */
638 };
639 GX_PROMPT_PROPERTIES weather_screen_city_properties =
640 {
641 GX_STRING_ID_SAN_DIEGO, /* string id */
642 GX_FONT_ID_NORMAL_BOLD, /* font id */
643 GX_COLOR_ID_LIGHT_BLUE, /* normal text color */
644 GX_COLOR_ID_LIGHT_BLUE, /* selected text color */
645 GX_COLOR_ID_LIGHT_BLUE /* disabled text color */
646 };
647 GX_PROMPT_PROPERTIES weather_screen_second_properties =
648 {
649 GX_STRING_ID_STRING_6, /* string id */
650 GX_FONT_ID_NORMAL, /* font id */
651 GX_COLOR_ID_LIGHT_BLUE, /* normal text color */
652 GX_COLOR_ID_LIGHT_BLUE, /* selected text color */
653 GX_COLOR_ID_LIGHT_BLUE /* disabled text color */
654 };
655 GX_NUMERIC_PROMPT_PROPERTIES weather_screen_hour_properties =
656 {
657 0, /* string id */
658 GX_FONT_ID_NORMAL, /* font id */
659 GX_COLOR_ID_WHITE, /* normal text color */
660 GX_COLOR_ID_WHITE, /* selected text color */
661 GX_COLOR_ID_WHITE, /* disabled text color */
662 time_format, /* format function */
663 10 /* numeric prompt value */
664 };
665 GX_NUMERIC_PROMPT_PROPERTIES weather_screen_minute_properties =
666 {
667 0, /* string id */
668 GX_FONT_ID_NORMAL, /* font id */
669 GX_COLOR_ID_WHITE, /* normal text color */
670 GX_COLOR_ID_WHITE, /* selected text color */
671 GX_COLOR_ID_WHITE, /* disabled text color */
672 time_format, /* format function */
673 32 /* numeric prompt value */
674 };
675 GX_PROMPT_PROPERTIES weather_screen_am_pm_properties =
676 {
677 GX_STRING_ID_AM, /* string id */
678 GX_FONT_ID_SYSTEM, /* font id */
679 GX_COLOR_ID_LIGHT_BLUE, /* normal text color */
680 GX_COLOR_ID_LIGHT_BLUE, /* selected text color */
681 GX_COLOR_ID_LIGHT_BLUE /* disabled text color */
682 };
683 GX_PIXELMAP_BUTTON_PROPERTIES weather_screen_bell_button_properties =
684 {
685 GX_PIXELMAP_ID_LANDING_TOP_ICON_BELL, /* normal pixelmap id */
686 0, /* selected pixelmap id */
687 0 /* disabled pixelmap id */
688 };
689 GX_PROMPT_PROPERTIES weather_screen_singer_properties =
690 {
691 GX_STRING_ID_STRING_31, /* string id */
692 GX_FONT_ID_NORMAL_BOLD, /* font id */
693 GX_COLOR_ID_WHITE, /* normal text color */
694 GX_COLOR_ID_WHITE, /* selected text color */
695 GX_COLOR_ID_WHITE /* disabled text color */
696 };
697 GX_PROMPT_PROPERTIES weather_screen_song_properties =
698 {
699 GX_STRING_ID_STRING_30, /* string id */
700 GX_FONT_ID_SMALL, /* font id */
701 GX_COLOR_ID_WHITE, /* normal text color */
702 GX_COLOR_ID_WHITE, /* selected text color */
703 GX_COLOR_ID_WHITE /* disabled text color */
704 };
705 GX_RADIAL_PROGRESS_BAR_INFO weather_screen_music_play_progress_properties =
706 {
707 384, /* xcenter */
708 246, /* ycenter */
709 37, /* radius */
710 0, /* current val */
711 90, /* anchor val */
712 GX_FONT_ID_SYSTEM, /* font_id */
713 GX_COLOR_ID_TEXT, /* normal text color */
714 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
715 GX_COLOR_ID_DISABLED_TEXT, /* disabled text color */
716 20, /* normal brush width */
717 20, /* selected brush width */
718 GX_COLOR_ID_STONE_BLUE, /* normal brush color */
719 GX_COLOR_ID_WHITE, /* selected brush color */
720 };
721 GX_PIXELMAP_BUTTON_PROPERTIES weather_screen_play_button_properties =
722 {
723 GX_PIXELMAP_ID_LANDING_TOP_PLAYER_ICON_PLAY, /* normal pixelmap id */
724 GX_PIXELMAP_ID_LANDING_TOP_PLAYER_ICON_PAUSE_ACTIVE, /* selected pixelmap id */
725 0 /* disabled pixelmap id */
726 };
727
728 GX_CONST GX_STUDIO_WIDGET weather_screen_prompt_define =
729 {
730 "prompt",
731 GX_TYPE_PROMPT, /* widget type */
732 GX_ID_NONE, /* widget id */
733 #if defined(GX_WIDGET_USER_DATA)
734 0, /* user data */
735 #endif
736 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
737 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
738 sizeof(GX_PROMPT), /* control block size */
739 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
740 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
741 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
742 gx_studio_prompt_create, /* create function */
743 GX_NULL, /* drawing function override */
744 GX_NULL, /* event function override */
745 {248, 333, 258, 345}, /* widget size */
746 GX_NULL, /* no next widget */
747 GX_NULL, /* no child widgets */
748 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_prompt), /* control block */
749 (void *) &weather_screen_prompt_properties /* extended properties */
750 };
751
752 GX_CONST GX_STUDIO_WIDGET weather_screen_calorie_burned_progress_val_define =
753 {
754 "calorie_burned_progress_val",
755 GX_TYPE_NUMERIC_PROMPT, /* widget type */
756 GX_ID_NONE, /* widget id */
757 #if defined(GX_WIDGET_USER_DATA)
758 0, /* user data */
759 #endif
760 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
761 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
762 sizeof(GX_NUMERIC_PROMPT), /* control block size */
763 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
764 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
765 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
766 gx_studio_numeric_prompt_create, /* create function */
767 GX_NULL, /* drawing function override */
768 GX_NULL, /* event function override */
769 {224, 333, 249, 353}, /* widget size */
770 &weather_screen_prompt_define, /* next widget definition */
771 GX_NULL, /* no child widgets */
772 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_calorie_burned_progress_val), /* control block */
773 (void *) &weather_screen_calorie_burned_progress_val_properties /* extended properties */
774 };
775
776 GX_CONST GX_STUDIO_WIDGET weather_screen_calorie_icon_define =
777 {
778 "calorie_icon",
779 GX_TYPE_ICON, /* widget type */
780 GX_ID_NONE, /* widget id */
781 #if defined(GX_WIDGET_USER_DATA)
782 0, /* user data */
783 #endif
784 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
785 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
786 sizeof(GX_ICON), /* control block size */
787 GX_COLOR_ID_GREEN, /* normal color id */
788 GX_COLOR_ID_GREEN, /* selected color id */
789 GX_COLOR_ID_GREEN, /* disabled color id */
790 gx_studio_icon_create, /* create function */
791 GX_NULL, /* drawing function override */
792 GX_NULL, /* event function override */
793 {233, 308, 248, 330}, /* widget size */
794 &weather_screen_calorie_burned_progress_val_define, /* next widget definition */
795 GX_NULL, /* no child widgets */
796 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_calorie_icon), /* control block */
797 (void *) &weather_screen_calorie_icon_properties /* extended properties */
798 };
799
800 GX_CONST GX_STUDIO_WIDGET weather_screen_calorie_burned_progress_define =
801 {
802 "calorie_burned_progress",
803 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
804 GX_ID_NONE, /* widget id */
805 #if defined(GX_WIDGET_USER_DATA)
806 0, /* user data */
807 #endif
808 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
809 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
810 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
811 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
812 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
813 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
814 gx_studio_radial_progress_bar_create, /* create function */
815 GX_NULL, /* drawing function override */
816 GX_NULL, /* event function override */
817 {206, 297, 272, 363}, /* widget size */
818 GX_NULL, /* no next widget */
819 &weather_screen_calorie_icon_define, /* child widget definition */
820 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_calorie_burned_progress), /* control block */
821 (void *) &weather_screen_calorie_burned_progress_properties /* extended properties */
822 };
823
824 GX_CONST GX_STUDIO_WIDGET weather_screen_prompt_9_define =
825 {
826 "prompt_9",
827 GX_TYPE_PROMPT, /* widget type */
828 GX_ID_NONE, /* widget id */
829 #if defined(GX_WIDGET_USER_DATA)
830 0, /* user data */
831 #endif
832 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
833 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
834 sizeof(GX_PROMPT), /* control block size */
835 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
836 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
837 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
838 gx_studio_prompt_create, /* create function */
839 GX_NULL, /* drawing function override */
840 GX_NULL, /* event function override */
841 {327, 333, 337, 345}, /* widget size */
842 GX_NULL, /* no next widget */
843 GX_NULL, /* no child widgets */
844 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_prompt_9), /* control block */
845 (void *) &weather_screen_prompt_9_properties /* extended properties */
846 };
847
848 GX_CONST GX_STUDIO_WIDGET weather_screen_running_progress_val_define =
849 {
850 "running_progress_val",
851 GX_TYPE_NUMERIC_PROMPT, /* widget type */
852 GX_ID_NONE, /* widget id */
853 #if defined(GX_WIDGET_USER_DATA)
854 0, /* user data */
855 #endif
856 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
857 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
858 sizeof(GX_NUMERIC_PROMPT), /* control block size */
859 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
860 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
861 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
862 gx_studio_numeric_prompt_create, /* create function */
863 GX_NULL, /* drawing function override */
864 GX_NULL, /* event function override */
865 {303, 333, 328, 353}, /* widget size */
866 &weather_screen_prompt_9_define, /* next widget definition */
867 GX_NULL, /* no child widgets */
868 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_running_progress_val), /* control block */
869 (void *) &weather_screen_running_progress_val_properties /* extended properties */
870 };
871
872 GX_CONST GX_STUDIO_WIDGET weather_screen_icon_5_define =
873 {
874 "icon_5",
875 GX_TYPE_ICON, /* widget type */
876 GX_ID_NONE, /* widget id */
877 #if defined(GX_WIDGET_USER_DATA)
878 0, /* user data */
879 #endif
880 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
881 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
882 sizeof(GX_ICON), /* control block size */
883 GX_COLOR_ID_YELLOW, /* normal color id */
884 GX_COLOR_ID_YELLOW, /* selected color id */
885 GX_COLOR_ID_YELLOW, /* disabled color id */
886 gx_studio_icon_create, /* create function */
887 GX_NULL, /* drawing function override */
888 GX_NULL, /* event function override */
889 {305, 311, 328, 331}, /* widget size */
890 &weather_screen_running_progress_val_define, /* next widget definition */
891 GX_NULL, /* no child widgets */
892 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_icon_5), /* control block */
893 (void *) &weather_screen_icon_5_properties /* extended properties */
894 };
895
896 GX_CONST GX_STUDIO_WIDGET weather_screen_running_progress_define =
897 {
898 "running_progress",
899 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
900 GX_ID_NONE, /* widget id */
901 #if defined(GX_WIDGET_USER_DATA)
902 0, /* user data */
903 #endif
904 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
905 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
906 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
907 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
908 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
909 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
910 gx_studio_radial_progress_bar_create, /* create function */
911 GX_NULL, /* drawing function override */
912 GX_NULL, /* event function override */
913 {285, 297, 351, 363}, /* widget size */
914 GX_NULL, /* no next widget */
915 &weather_screen_icon_5_define, /* child widget definition */
916 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_running_progress), /* control block */
917 (void *) &weather_screen_running_progress_properties /* extended properties */
918 };
919
920 GX_CONST GX_STUDIO_WIDGET weather_screen_prompt_11_define =
921 {
922 "prompt_11",
923 GX_TYPE_PROMPT, /* widget type */
924 GX_ID_NONE, /* widget id */
925 #if defined(GX_WIDGET_USER_DATA)
926 0, /* user data */
927 #endif
928 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
929 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
930 sizeof(GX_PROMPT), /* control block size */
931 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
932 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
933 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
934 gx_studio_prompt_create, /* create function */
935 GX_NULL, /* drawing function override */
936 GX_NULL, /* event function override */
937 {410, 333, 420, 345}, /* widget size */
938 GX_NULL, /* no next widget */
939 GX_NULL, /* no child widgets */
940 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_prompt_11), /* control block */
941 (void *) &weather_screen_prompt_11_properties /* extended properties */
942 };
943
944 GX_CONST GX_STUDIO_WIDGET weather_screen_ekg_progress_val_define =
945 {
946 "ekg_progress_val",
947 GX_TYPE_NUMERIC_PROMPT, /* widget type */
948 GX_ID_NONE, /* widget id */
949 #if defined(GX_WIDGET_USER_DATA)
950 0, /* user data */
951 #endif
952 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
953 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
954 sizeof(GX_NUMERIC_PROMPT), /* control block size */
955 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
956 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
957 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
958 gx_studio_numeric_prompt_create, /* create function */
959 GX_NULL, /* drawing function override */
960 GX_NULL, /* event function override */
961 {386, 333, 411, 353}, /* widget size */
962 &weather_screen_prompt_11_define, /* next widget definition */
963 GX_NULL, /* no child widgets */
964 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_ekg_progress_val), /* control block */
965 (void *) &weather_screen_ekg_progress_val_properties /* extended properties */
966 };
967
968 GX_CONST GX_STUDIO_WIDGET weather_screen_icon_6_define =
969 {
970 "icon_6",
971 GX_TYPE_ICON, /* widget type */
972 GX_ID_NONE, /* widget id */
973 #if defined(GX_WIDGET_USER_DATA)
974 0, /* user data */
975 #endif
976 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
977 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
978 sizeof(GX_ICON), /* control block size */
979 GX_COLOR_ID_ORANGE, /* normal color id */
980 GX_COLOR_ID_ORANGE, /* selected color id */
981 GX_COLOR_ID_ORANGE, /* disabled color id */
982 gx_studio_icon_create, /* create function */
983 GX_NULL, /* drawing function override */
984 GX_NULL, /* event function override */
985 {389, 313, 409, 330}, /* widget size */
986 &weather_screen_ekg_progress_val_define, /* next widget definition */
987 GX_NULL, /* no child widgets */
988 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_icon_6), /* control block */
989 (void *) &weather_screen_icon_6_properties /* extended properties */
990 };
991
992 GX_CONST GX_STUDIO_WIDGET weather_screen_ekg_progress_define =
993 {
994 "ekg_progress",
995 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
996 GX_ID_NONE, /* widget id */
997 #if defined(GX_WIDGET_USER_DATA)
998 0, /* user data */
999 #endif
1000 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
1001 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1002 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
1003 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1004 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1005 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1006 gx_studio_radial_progress_bar_create, /* create function */
1007 GX_NULL, /* drawing function override */
1008 GX_NULL, /* event function override */
1009 {367, 297, 433, 363}, /* widget size */
1010 GX_NULL, /* no next widget */
1011 &weather_screen_icon_6_define, /* child widget definition */
1012 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_ekg_progress), /* control block */
1013 (void *) &weather_screen_ekg_progress_properties /* extended properties */
1014 };
1015
1016 GX_CONST GX_STUDIO_WIDGET weather_screen_bell_button_define =
1017 {
1018 "bell_button",
1019 GX_TYPE_PIXELMAP_BUTTON, /* widget type */
1020 ID_BELL_BUTTON, /* widget id */
1021 #if defined(GX_WIDGET_USER_DATA)
1022 0, /* user data */
1023 #endif
1024 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
1025 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1026 sizeof(GX_PIXELMAP_BUTTON), /* control block size */
1027 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1028 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1029 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1030 gx_studio_pixelmap_button_create, /* create function */
1031 GX_NULL, /* drawing function override */
1032 GX_NULL, /* event function override */
1033 {403, 110, 430, 137}, /* widget size */
1034 GX_NULL, /* no next widget */
1035 GX_NULL, /* no child widgets */
1036 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_bell_button), /* control block */
1037 (void *) &weather_screen_bell_button_properties /* extended properties */
1038 };
1039
1040 GX_CONST GX_STUDIO_WIDGET weather_screen_am_pm_define =
1041 {
1042 "am_pm",
1043 GX_TYPE_PROMPT, /* widget type */
1044 GX_ID_NONE, /* widget id */
1045 #if defined(GX_WIDGET_USER_DATA)
1046 0, /* user data */
1047 #endif
1048 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1049 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1050 sizeof(GX_PROMPT), /* control block size */
1051 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1052 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1053 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1054 gx_studio_prompt_create, /* create function */
1055 GX_NULL, /* drawing function override */
1056 GX_NULL, /* event function override */
1057 {374, 119, 396, 136}, /* widget size */
1058 &weather_screen_bell_button_define, /* next widget definition */
1059 GX_NULL, /* no child widgets */
1060 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_am_pm), /* control block */
1061 (void *) &weather_screen_am_pm_properties /* extended properties */
1062 };
1063
1064 GX_CONST GX_STUDIO_WIDGET weather_screen_minute_define =
1065 {
1066 "minute",
1067 GX_TYPE_NUMERIC_PROMPT, /* widget type */
1068 GX_ID_NONE, /* widget id */
1069 #if defined(GX_WIDGET_USER_DATA)
1070 0, /* user data */
1071 #endif
1072 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1073 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1074 sizeof(GX_NUMERIC_PROMPT), /* control block size */
1075 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1076 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1077 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1078 gx_studio_numeric_prompt_create, /* create function */
1079 GX_NULL, /* drawing function override */
1080 GX_NULL, /* event function override */
1081 {341, 117, 366, 137}, /* widget size */
1082 &weather_screen_am_pm_define, /* next widget definition */
1083 GX_NULL, /* no child widgets */
1084 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_minute), /* control block */
1085 (void *) &weather_screen_minute_properties /* extended properties */
1086 };
1087
1088 GX_CONST GX_STUDIO_WIDGET weather_screen_hour_define =
1089 {
1090 "hour",
1091 GX_TYPE_NUMERIC_PROMPT, /* widget type */
1092 GX_ID_NONE, /* widget id */
1093 #if defined(GX_WIDGET_USER_DATA)
1094 0, /* user data */
1095 #endif
1096 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1097 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1098 sizeof(GX_NUMERIC_PROMPT), /* control block size */
1099 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1100 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1101 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1102 gx_studio_numeric_prompt_create, /* create function */
1103 GX_NULL, /* drawing function override */
1104 GX_NULL, /* event function override */
1105 {311, 117, 336, 137}, /* widget size */
1106 &weather_screen_minute_define, /* next widget definition */
1107 GX_NULL, /* no child widgets */
1108 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_hour), /* control block */
1109 (void *) &weather_screen_hour_properties /* extended properties */
1110 };
1111
1112 GX_CONST GX_STUDIO_WIDGET weather_screen_second_define =
1113 {
1114 "second",
1115 GX_TYPE_PROMPT, /* widget type */
1116 GX_ID_NONE, /* widget id */
1117 #if defined(GX_WIDGET_USER_DATA)
1118 0, /* user data */
1119 #endif
1120 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1121 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1122 sizeof(GX_PROMPT), /* control block size */
1123 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1124 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1125 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1126 gx_studio_prompt_create, /* create function */
1127 GX_NULL, /* drawing function override */
1128 GX_NULL, /* event function override */
1129 {336, 115, 342, 135}, /* widget size */
1130 &weather_screen_hour_define, /* next widget definition */
1131 GX_NULL, /* no child widgets */
1132 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_second), /* control block */
1133 (void *) &weather_screen_second_properties /* extended properties */
1134 };
1135
1136 GX_CONST GX_STUDIO_WIDGET weather_screen_city_define =
1137 {
1138 "city",
1139 GX_TYPE_PROMPT, /* widget type */
1140 GX_ID_NONE, /* widget id */
1141 #if defined(GX_WIDGET_USER_DATA)
1142 0, /* user data */
1143 #endif
1144 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
1145 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1146 sizeof(GX_PROMPT), /* control block size */
1147 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1148 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1149 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1150 gx_studio_prompt_create, /* create function */
1151 GX_NULL, /* drawing function override */
1152 GX_NULL, /* event function override */
1153 {337, 169, 427, 185}, /* widget size */
1154 &weather_screen_second_define, /* next widget definition */
1155 GX_NULL, /* no child widgets */
1156 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_city), /* control block */
1157 (void *) &weather_screen_city_properties /* extended properties */
1158 };
1159
1160 GX_CONST GX_STUDIO_WIDGET weather_screen_date_define =
1161 {
1162 "date",
1163 GX_TYPE_PROMPT, /* widget type */
1164 GX_ID_NONE, /* widget id */
1165 #if defined(GX_WIDGET_USER_DATA)
1166 0, /* user data */
1167 #endif
1168 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_COPY|GX_STYLE_TEXT_LEFT, /* style flags */
1169 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1170 sizeof(GX_PROMPT), /* control block size */
1171 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1172 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1173 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1174 gx_studio_prompt_create, /* create function */
1175 GX_NULL, /* drawing function override */
1176 GX_NULL, /* event function override */
1177 {321, 143, 427, 160}, /* widget size */
1178 &weather_screen_city_define, /* next widget definition */
1179 GX_NULL, /* no child widgets */
1180 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_date), /* control block */
1181 (void *) &weather_screen_date_properties /* extended properties */
1182 };
1183
1184 GX_CONST GX_STUDIO_WIDGET weather_screen_day_of_week_define =
1185 {
1186 "day_of_week",
1187 GX_TYPE_PROMPT, /* widget type */
1188 GX_ID_NONE, /* widget id */
1189 #if defined(GX_WIDGET_USER_DATA)
1190 0, /* user data */
1191 #endif
1192 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
1193 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1194 sizeof(GX_PROMPT), /* control block size */
1195 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1196 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1197 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1198 gx_studio_prompt_create, /* create function */
1199 GX_NULL, /* drawing function override */
1200 GX_NULL, /* event function override */
1201 {282, 143, 321, 159}, /* widget size */
1202 &weather_screen_date_define, /* next widget definition */
1203 GX_NULL, /* no child widgets */
1204 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_day_of_week), /* control block */
1205 (void *) &weather_screen_day_of_week_properties /* extended properties */
1206 };
1207
1208 GX_CONST GX_STUDIO_WIDGET weather_screen_prompt_1_define =
1209 {
1210 "prompt_1",
1211 GX_TYPE_PROMPT, /* widget type */
1212 GX_ID_NONE, /* widget id */
1213 #if defined(GX_WIDGET_USER_DATA)
1214 0, /* user data */
1215 #endif
1216 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1217 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1218 sizeof(GX_PROMPT), /* control block size */
1219 GX_COLOR_ID_LIGHT_BLUE, /* normal color id */
1220 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1221 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1222 gx_studio_prompt_create, /* create function */
1223 GX_NULL, /* drawing function override */
1224 GX_NULL, /* event function override */
1225 {277, 177, 288, 194}, /* widget size */
1226 &weather_screen_day_of_week_define, /* next widget definition */
1227 GX_NULL, /* no child widgets */
1228 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_prompt_1), /* control block */
1229 (void *) &weather_screen_prompt_1_properties /* extended properties */
1230 };
1231
1232 GX_CONST GX_STUDIO_WIDGET weather_screen_temperature_val_define =
1233 {
1234 "temperature_val",
1235 GX_TYPE_NUMERIC_PROMPT, /* widget type */
1236 GX_ID_NONE, /* widget id */
1237 #if defined(GX_WIDGET_USER_DATA)
1238 0, /* user data */
1239 #endif
1240 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1241 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1242 sizeof(GX_NUMERIC_PROMPT), /* control block size */
1243 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1244 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1245 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1246 gx_studio_numeric_prompt_create, /* create function */
1247 GX_NULL, /* drawing function override */
1248 GX_NULL, /* event function override */
1249 {211, 179, 274, 216}, /* widget size */
1250 &weather_screen_prompt_1_define, /* next widget definition */
1251 GX_NULL, /* no child widgets */
1252 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_temperature_val), /* control block */
1253 (void *) &weather_screen_temperature_val_properties /* extended properties */
1254 };
1255
1256 GX_CONST GX_STUDIO_WIDGET weather_screen_weather_icon_define =
1257 {
1258 "weather_icon",
1259 GX_TYPE_ICON, /* widget type */
1260 GX_ID_NONE, /* widget id */
1261 #if defined(GX_WIDGET_USER_DATA)
1262 0, /* user data */
1263 #endif
1264 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
1265 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1266 sizeof(GX_ICON), /* control block size */
1267 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1268 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1269 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1270 gx_studio_icon_create, /* create function */
1271 GX_NULL, /* drawing function override */
1272 GX_NULL, /* event function override */
1273 {202, 112, 282, 168}, /* widget size */
1274 &weather_screen_temperature_val_define, /* next widget definition */
1275 GX_NULL, /* no child widgets */
1276 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_weather_icon), /* control block */
1277 (void *) &weather_screen_weather_icon_properties /* extended properties */
1278 };
1279
1280 GX_CONST GX_STUDIO_WIDGET weather_screen_play_button_define =
1281 {
1282 "play_button",
1283 GX_TYPE_PIXELMAP_BUTTON, /* widget type */
1284 ID_PLAY_BUTTON, /* widget id */
1285 #if defined(GX_WIDGET_USER_DATA)
1286 0, /* user data */
1287 #endif
1288 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE, /* style flags */
1289 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1290 sizeof(GX_PIXELMAP_BUTTON), /* control block size */
1291 GX_COLOR_ID_BLUE, /* normal color id */
1292 GX_COLOR_ID_BLUE, /* selected color id */
1293 GX_COLOR_ID_BLUE, /* disabled color id */
1294 gx_studio_pixelmap_button_create, /* create function */
1295 GX_NULL, /* drawing function override */
1296 GX_NULL, /* event function override */
1297 {371, 233, 397, 260}, /* widget size */
1298 GX_NULL, /* no next widget */
1299 GX_NULL, /* no child widgets */
1300 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_play_button), /* control block */
1301 (void *) &weather_screen_play_button_properties /* extended properties */
1302 };
1303
1304 GX_CONST GX_STUDIO_WIDGET weather_screen_music_play_progress_define =
1305 {
1306 "music_play_progress",
1307 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
1308 GX_ID_NONE, /* widget id */
1309 #if defined(GX_WIDGET_USER_DATA)
1310 0, /* user data */
1311 #endif
1312 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
1313 0, /* status flags */
1314 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
1315 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1316 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1317 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1318 gx_studio_radial_progress_bar_create, /* create function */
1319 GX_NULL, /* drawing function override */
1320 GX_NULL, /* event function override */
1321 {337, 199, 431, 293}, /* widget size */
1322 GX_NULL, /* no next widget */
1323 &weather_screen_play_button_define, /* child widget definition */
1324 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_music_play_progress), /* control block */
1325 (void *) &weather_screen_music_play_progress_properties /* extended properties */
1326 };
1327
1328 GX_CONST GX_STUDIO_WIDGET weather_screen_song_define =
1329 {
1330 "song",
1331 GX_TYPE_PROMPT, /* widget type */
1332 GX_ID_NONE, /* widget id */
1333 #if defined(GX_WIDGET_USER_DATA)
1334 0, /* user data */
1335 #endif
1336 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1337 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1338 sizeof(GX_PROMPT), /* control block size */
1339 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1340 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1341 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1342 gx_studio_prompt_create, /* create function */
1343 GX_NULL, /* drawing function override */
1344 GX_NULL, /* event function override */
1345 {192, 275, 336, 287}, /* widget size */
1346 &weather_screen_music_play_progress_define, /* next widget definition */
1347 GX_NULL, /* no child widgets */
1348 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_song), /* control block */
1349 (void *) &weather_screen_song_properties /* extended properties */
1350 };
1351
1352 GX_CONST GX_STUDIO_WIDGET weather_screen_singer_define =
1353 {
1354 "singer",
1355 GX_TYPE_PROMPT, /* widget type */
1356 GX_ID_NONE, /* widget id */
1357 #if defined(GX_WIDGET_USER_DATA)
1358 0, /* user data */
1359 #endif
1360 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1361 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1362 sizeof(GX_PROMPT), /* control block size */
1363 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1364 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1365 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1366 gx_studio_prompt_create, /* create function */
1367 GX_NULL, /* drawing function override */
1368 GX_NULL, /* event function override */
1369 {209, 252, 315, 268}, /* widget size */
1370 &weather_screen_song_define, /* next widget definition */
1371 GX_NULL, /* no child widgets */
1372 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_singer), /* control block */
1373 (void *) &weather_screen_singer_properties /* extended properties */
1374 };
1375
1376 GX_CONST GX_STUDIO_WIDGET weather_screen_window_define =
1377 {
1378 "window",
1379 GX_TYPE_WINDOW, /* widget type */
1380 GX_ID_NONE, /* widget id */
1381 #if defined(GX_WIDGET_USER_DATA)
1382 0, /* user data */
1383 #endif
1384 GX_STYLE_BORDER_NONE, /* style flags */
1385 0, /* status flags */
1386 sizeof(GX_WINDOW), /* control block size */
1387 GX_COLOR_ID_DARK_BLUE, /* normal color id */
1388 GX_COLOR_ID_DARK_BLUE, /* selected color id */
1389 GX_COLOR_ID_DARK_BLUE, /* disabled color id */
1390 gx_studio_window_create, /* create function */
1391 GX_NULL, /* drawing function override */
1392 GX_NULL, /* event function override */
1393 {185, 96, 442, 240}, /* widget size */
1394 &weather_screen_singer_define, /* next widget definition */
1395 &weather_screen_weather_icon_define, /* child widget definition */
1396 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_window), /* control block */
1397 (void *) &weather_screen_window_properties /* extended properties */
1398 };
1399
1400 GX_CONST GX_STUDIO_WIDGET weather_screen_ekg_button_define =
1401 {
1402 "ekg_button",
1403 GX_TYPE_BUTTON, /* widget type */
1404 ID_EKG_BUTTON, /* widget id */
1405 #if defined(GX_WIDGET_USER_DATA)
1406 0, /* user data */
1407 #endif
1408 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
1409 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1410 sizeof(GX_BUTTON), /* control block size */
1411 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1412 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1413 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1414 gx_studio_button_create, /* create function */
1415 GX_NULL, /* drawing function override */
1416 GX_NULL, /* event function override */
1417 {367, 297, 433, 363}, /* widget size */
1418 &weather_screen_window_define, /* next widget definition */
1419 &weather_screen_ekg_progress_define, /* child widget definition */
1420 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_ekg_button), /* control block */
1421 (void *) GX_NULL /* no extended properties */
1422 };
1423
1424 GX_CONST GX_STUDIO_WIDGET weather_screen_running_button_define =
1425 {
1426 "running_button",
1427 GX_TYPE_BUTTON, /* widget type */
1428 ID_RUNNING_BUTTON, /* widget id */
1429 #if defined(GX_WIDGET_USER_DATA)
1430 0, /* user data */
1431 #endif
1432 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
1433 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1434 sizeof(GX_BUTTON), /* control block size */
1435 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1436 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1437 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1438 gx_studio_button_create, /* create function */
1439 GX_NULL, /* drawing function override */
1440 GX_NULL, /* event function override */
1441 {285, 297, 351, 363}, /* widget size */
1442 &weather_screen_ekg_button_define, /* next widget definition */
1443 &weather_screen_running_progress_define, /* child widget definition */
1444 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_running_button), /* control block */
1445 (void *) GX_NULL /* no extended properties */
1446 };
1447
1448 GX_CONST GX_STUDIO_WIDGET weather_screen_calorie_button_define =
1449 {
1450 "calorie_button",
1451 GX_TYPE_BUTTON, /* widget type */
1452 ID_CALORIE_BUTTON, /* widget id */
1453 #if defined(GX_WIDGET_USER_DATA)
1454 0, /* user data */
1455 #endif
1456 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
1457 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1458 sizeof(GX_BUTTON), /* control block size */
1459 GX_COLOR_ID_BTN_LOWER, /* normal color id */
1460 GX_COLOR_ID_BTN_UPPER, /* selected color id */
1461 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1462 gx_studio_button_create, /* create function */
1463 GX_NULL, /* drawing function override */
1464 GX_NULL, /* event function override */
1465 {206, 297, 272, 363}, /* widget size */
1466 &weather_screen_running_button_define, /* next widget definition */
1467 &weather_screen_calorie_burned_progress_define, /* child widget definition */
1468 offsetof(WEATHER_SCREEN_CONTROL_BLOCK, weather_screen_calorie_button), /* control block */
1469 (void *) GX_NULL /* no extended properties */
1470 };
1471
1472 GX_CONST GX_STUDIO_WIDGET weather_screen_define =
1473 {
1474 "weather_screen",
1475 GX_TYPE_WINDOW, /* widget type */
1476 GX_ID_NONE, /* widget id */
1477 #if defined(GX_WIDGET_USER_DATA)
1478 0, /* user data */
1479 #endif
1480 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
1481 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1482 sizeof(WEATHER_SCREEN_CONTROL_BLOCK), /* control block size */
1483 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
1484 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
1485 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1486 gx_studio_window_create, /* create function */
1487 GX_NULL, /* drawing function override */
1488 (UINT (*)(GX_WIDGET *, GX_EVENT *)) weather_screen_event_process, /* event function override */
1489 {185, 96, 442, 384}, /* widget size */
1490 GX_NULL, /* next widget */
1491 &weather_screen_calorie_button_define, /* child widget */
1492 0, /* control block */
1493 (void *) &weather_screen_properties /* extended properties */
1494 };
1495 GX_WINDOW_PROPERTIES clock_screen_template_properties =
1496 {
1497 0 /* wallpaper pixelmap id */
1498 };
1499 GX_CIRCULAR_GAUGE_PROPERTIES clock_screen_template_gauge_properties =
1500 {
1501 30, /* start angle */
1502 0, /* animation steps */
1503 1, /* animation delay */
1504 115, /* needle xpos */
1505 130, /* needle yos */
1506 1, /* needle xcor */
1507 87, /* needle ycor */
1508 GX_PIXELMAP_ID_W_DIAL_BLACK, /* normal pixelmap id */
1509 0, /* selected pixelmap id */
1510 GX_PIXELMAP_ID_WATCH_HAND_SECOND /* needle pixelmap id */
1511 };
1512
1513 GX_CONST GX_STUDIO_WIDGET clock_screen_template_gauge_define =
1514 {
1515 "gauge",
1516 GX_TYPE_CIRCULAR_GAUGE, /* widget type */
1517 GX_ID_NONE, /* widget id */
1518 #if defined(GX_WIDGET_USER_DATA)
1519 0, /* user data */
1520 #endif
1521 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
1522 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1523 sizeof(GX_CIRCULAR_GAUGE), /* control block size */
1524 GX_COLOR_ID_WATCH_HAND_SECOND, /* normal color id */
1525 GX_COLOR_ID_WATCH_HAND_SECOND, /* selected color id */
1526 GX_COLOR_ID_WATCH_HAND_SECOND, /* disabled color id */
1527 gx_studio_circular_gauge_create, /* create function */
1528 GX_NULL, /* drawing function override */
1529 GX_NULL, /* event function override */
1530 {199, 110, 428, 370}, /* widget size */
1531 GX_NULL, /* no next widget */
1532 GX_NULL, /* no child widgets */
1533 offsetof(CLOCK_SCREEN_TEMPLATE_CONTROL_BLOCK, clock_screen_template_gauge), /* control block */
1534 (void *) &clock_screen_template_gauge_properties /* extended properties */
1535 };
1536
1537 GX_CONST GX_STUDIO_WIDGET clock_screen_template_define =
1538 {
1539 "clock_screen_template",
1540 GX_TYPE_WINDOW, /* widget type */
1541 GX_ID_NONE, /* widget id */
1542 #if defined(GX_WIDGET_USER_DATA)
1543 0, /* user data */
1544 #endif
1545 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
1546 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1547 sizeof(CLOCK_SCREEN_TEMPLATE_CONTROL_BLOCK), /* control block size */
1548 GX_COLOR_ID_WHITE, /* normal color id */
1549 GX_COLOR_ID_WHITE, /* selected color id */
1550 GX_COLOR_ID_WHITE, /* disabled color id */
1551 gx_studio_window_create, /* create function */
1552 GX_NULL, /* drawing function override */
1553 (UINT (*)(GX_WIDGET *, GX_EVENT *)) clock_screen_template_event_process, /* event function override */
1554 {185, 96, 442, 384}, /* widget size */
1555 GX_NULL, /* next widget */
1556 &clock_screen_template_gauge_define, /* child widget */
1557 0, /* control block */
1558 (void *) &clock_screen_template_properties /* extended properties */
1559 };
1560 GX_WINDOW_PROPERTIES message_template_properties =
1561 {
1562 0 /* wallpaper pixelmap id */
1563 };
1564 GX_WINDOW_PROPERTIES message_template_message_bar_properties =
1565 {
1566 GX_PIXELMAP_ID_MESSAGE_BAR /* wallpaper pixelmap id */
1567 };
1568 GX_PROMPT_PROPERTIES message_template_second_properties =
1569 {
1570 GX_STRING_ID_STRING_6, /* string id */
1571 GX_FONT_ID_NORMAL_BOLD, /* font id */
1572 GX_COLOR_ID_TEXT, /* normal text color */
1573 GX_COLOR_ID_TEXT, /* selected text color */
1574 GX_COLOR_ID_TEXT /* disabled text color */
1575 };
1576 GX_NUMERIC_PROMPT_PROPERTIES message_template_hour_properties =
1577 {
1578 0, /* string id */
1579 GX_FONT_ID_NORMAL_BOLD, /* font id */
1580 GX_COLOR_ID_TEXT, /* normal text color */
1581 GX_COLOR_ID_TEXT, /* selected text color */
1582 GX_COLOR_ID_TEXT, /* disabled text color */
1583 GX_NULL, /* format function */
1584 4 /* numeric prompt value */
1585 };
1586 GX_NUMERIC_PROMPT_PROPERTIES message_template_minute_properties =
1587 {
1588 0, /* string id */
1589 GX_FONT_ID_NORMAL_BOLD, /* font id */
1590 GX_COLOR_ID_TEXT, /* normal text color */
1591 GX_COLOR_ID_TEXT, /* selected text color */
1592 GX_COLOR_ID_TEXT, /* disabled text color */
1593 GX_NULL, /* format function */
1594 37 /* numeric prompt value */
1595 };
1596 GX_PROMPT_PROPERTIES message_template_am_pm_properties =
1597 {
1598 GX_STRING_ID_PM, /* string id */
1599 GX_FONT_ID_PROMPT, /* font id */
1600 GX_COLOR_ID_TEXT, /* normal text color */
1601 GX_COLOR_ID_TEXT, /* selected text color */
1602 GX_COLOR_ID_TEXT /* disabled text color */
1603 };
1604 GX_PROMPT_PROPERTIES message_template_day_of_week_properties =
1605 {
1606 GX_STRING_ID_STRING_27, /* string id */
1607 GX_FONT_ID_PROMPT, /* font id */
1608 GX_COLOR_ID_TEXT, /* normal text color */
1609 GX_COLOR_ID_TEXT, /* selected text color */
1610 GX_COLOR_ID_TEXT /* disabled text color */
1611 };
1612 GX_PROMPT_PROPERTIES message_template_comma_properties =
1613 {
1614 GX_STRING_ID_STRING_28, /* string id */
1615 GX_FONT_ID_PROMPT, /* font id */
1616 GX_COLOR_ID_TEXT, /* normal text color */
1617 GX_COLOR_ID_TEXT, /* selected text color */
1618 GX_COLOR_ID_TEXT /* disabled text color */
1619 };
1620 GX_ML_TEXT_VIEW_PROPERTIES message_template_text_view_properties =
1621 {
1622 GX_STRING_ID_STRING_29, /* string id */
1623 GX_FONT_ID_TEXT_INPUT, /* font id */
1624 GX_COLOR_ID_TEXT_INPUT_TEXT, /* normal text color */
1625 GX_COLOR_ID_TEXT_INPUT_TEXT, /* selected text color */
1626 GX_COLOR_ID_TEXT_INPUT_TEXT, /* disabled text color */
1627 8, /* whitespace */
1628 0 /* line_space */
1629 };
1630
1631 GX_CONST GX_STUDIO_WIDGET message_template_comma_define =
1632 {
1633 "comma",
1634 GX_TYPE_PROMPT, /* widget type */
1635 GX_ID_NONE, /* widget id */
1636 #if defined(GX_WIDGET_USER_DATA)
1637 0, /* user data */
1638 #endif
1639 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_RIGHT, /* style flags */
1640 0, /* status flags */
1641 sizeof(GX_PROMPT), /* control block size */
1642 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1643 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1644 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1645 gx_studio_prompt_create, /* create function */
1646 GX_NULL, /* drawing function override */
1647 GX_NULL, /* event function override */
1648 {151, 6, 154, 23}, /* widget size */
1649 GX_NULL, /* no next widget */
1650 GX_NULL, /* no child widgets */
1651 offsetof(MESSAGE_TEMPLATE_CONTROL_BLOCK, message_template_comma), /* control block */
1652 (void *) &message_template_comma_properties /* extended properties */
1653 };
1654
1655 GX_CONST GX_STUDIO_WIDGET message_template_day_of_week_define =
1656 {
1657 "day_of_week",
1658 GX_TYPE_PROMPT, /* widget type */
1659 GX_ID_NONE, /* widget id */
1660 #if defined(GX_WIDGET_USER_DATA)
1661 0, /* user data */
1662 #endif
1663 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_RIGHT, /* style flags */
1664 0, /* status flags */
1665 sizeof(GX_PROMPT), /* control block size */
1666 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1667 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1668 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1669 gx_studio_prompt_create, /* create function */
1670 GX_NULL, /* drawing function override */
1671 GX_NULL, /* event function override */
1672 {73, 7, 150, 24}, /* widget size */
1673 &message_template_comma_define, /* next widget definition */
1674 GX_NULL, /* no child widgets */
1675 offsetof(MESSAGE_TEMPLATE_CONTROL_BLOCK, message_template_day_of_week), /* control block */
1676 (void *) &message_template_day_of_week_properties /* extended properties */
1677 };
1678
1679 GX_CONST GX_STUDIO_WIDGET message_template_am_pm_define =
1680 {
1681 "am_pm",
1682 GX_TYPE_PROMPT, /* widget type */
1683 GX_ID_NONE, /* widget id */
1684 #if defined(GX_WIDGET_USER_DATA)
1685 0, /* user data */
1686 #endif
1687 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
1688 0, /* status flags */
1689 sizeof(GX_PROMPT), /* control block size */
1690 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1691 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1692 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1693 gx_studio_prompt_create, /* create function */
1694 GX_NULL, /* drawing function override */
1695 GX_NULL, /* event function override */
1696 {196, 7, 218, 24}, /* widget size */
1697 &message_template_day_of_week_define, /* next widget definition */
1698 GX_NULL, /* no child widgets */
1699 offsetof(MESSAGE_TEMPLATE_CONTROL_BLOCK, message_template_am_pm), /* control block */
1700 (void *) &message_template_am_pm_properties /* extended properties */
1701 };
1702
1703 GX_CONST GX_STUDIO_WIDGET message_template_minute_define =
1704 {
1705 "minute",
1706 GX_TYPE_NUMERIC_PROMPT, /* widget type */
1707 GX_ID_NONE, /* widget id */
1708 #if defined(GX_WIDGET_USER_DATA)
1709 0, /* user data */
1710 #endif
1711 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_RIGHT, /* style flags */
1712 0, /* status flags */
1713 sizeof(GX_NUMERIC_PROMPT), /* control block size */
1714 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1715 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1716 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1717 gx_studio_numeric_prompt_create, /* create function */
1718 GX_NULL, /* drawing function override */
1719 GX_NULL, /* event function override */
1720 {173, 7, 194, 23}, /* widget size */
1721 &message_template_am_pm_define, /* next widget definition */
1722 GX_NULL, /* no child widgets */
1723 offsetof(MESSAGE_TEMPLATE_CONTROL_BLOCK, message_template_minute), /* control block */
1724 (void *) &message_template_minute_properties /* extended properties */
1725 };
1726
1727 GX_CONST GX_STUDIO_WIDGET message_template_hour_define =
1728 {
1729 "hour",
1730 GX_TYPE_NUMERIC_PROMPT, /* widget type */
1731 GX_ID_NONE, /* widget id */
1732 #if defined(GX_WIDGET_USER_DATA)
1733 0, /* user data */
1734 #endif
1735 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_RIGHT, /* style flags */
1736 0, /* status flags */
1737 sizeof(GX_NUMERIC_PROMPT), /* control block size */
1738 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1739 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1740 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1741 gx_studio_numeric_prompt_create, /* create function */
1742 GX_NULL, /* drawing function override */
1743 GX_NULL, /* event function override */
1744 {147, 7, 168, 23}, /* widget size */
1745 &message_template_minute_define, /* next widget definition */
1746 GX_NULL, /* no child widgets */
1747 offsetof(MESSAGE_TEMPLATE_CONTROL_BLOCK, message_template_hour), /* control block */
1748 (void *) &message_template_hour_properties /* extended properties */
1749 };
1750
1751 GX_CONST GX_STUDIO_WIDGET message_template_second_define =
1752 {
1753 "second",
1754 GX_TYPE_PROMPT, /* widget type */
1755 GX_ID_NONE, /* widget id */
1756 #if defined(GX_WIDGET_USER_DATA)
1757 0, /* user data */
1758 #endif
1759 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_TEXT_CENTER, /* style flags */
1760 0, /* status flags */
1761 sizeof(GX_PROMPT), /* control block size */
1762 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1763 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1764 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1765 gx_studio_prompt_create, /* create function */
1766 GX_NULL, /* drawing function override */
1767 GX_NULL, /* event function override */
1768 {167, 6, 172, 22}, /* widget size */
1769 &message_template_hour_define, /* next widget definition */
1770 GX_NULL, /* no child widgets */
1771 offsetof(MESSAGE_TEMPLATE_CONTROL_BLOCK, message_template_second), /* control block */
1772 (void *) &message_template_second_properties /* extended properties */
1773 };
1774
1775 GX_CONST GX_STUDIO_WIDGET message_template_text_view_define =
1776 {
1777 "text_view",
1778 GX_TYPE_MULTI_LINE_TEXT_VIEW, /* widget type */
1779 GX_ID_NONE, /* widget id */
1780 #if defined(GX_WIDGET_USER_DATA)
1781 0, /* user data */
1782 #endif
1783 GX_STYLE_BORDER_NONE|GX_STYLE_TEXT_LEFT, /* style flags */
1784 0, /* status flags */
1785 sizeof(GX_MULTI_LINE_TEXT_VIEW), /* control block size */
1786 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
1787 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
1788 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
1789 gx_studio_multi_line_text_view_create, /* create function */
1790 GX_NULL, /* drawing function override */
1791 GX_NULL, /* event function override */
1792 {0, 27, 227, 58}, /* widget size */
1793 GX_NULL, /* no next widget */
1794 GX_NULL, /* no child widgets */
1795 offsetof(MESSAGE_TEMPLATE_CONTROL_BLOCK, message_template_text_view), /* control block */
1796 (void *) &message_template_text_view_properties /* extended properties */
1797 };
1798
1799 GX_CONST GX_STUDIO_WIDGET message_template_message_bar_define =
1800 {
1801 "message_bar",
1802 GX_TYPE_WINDOW, /* widget type */
1803 GX_ID_NONE, /* widget id */
1804 #if defined(GX_WIDGET_USER_DATA)
1805 0, /* user data */
1806 #endif
1807 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* style flags */
1808 0, /* status flags */
1809 sizeof(GX_WINDOW), /* control block size */
1810 GX_COLOR_ID_YELLOW, /* normal color id */
1811 GX_COLOR_ID_YELLOW, /* selected color id */
1812 GX_COLOR_ID_YELLOW, /* disabled color id */
1813 gx_studio_window_create, /* create function */
1814 GX_NULL, /* drawing function override */
1815 GX_NULL, /* event function override */
1816 {0, 0, 227, 26}, /* widget size */
1817 &message_template_text_view_define, /* next widget definition */
1818 &message_template_second_define, /* child widget definition */
1819 offsetof(MESSAGE_TEMPLATE_CONTROL_BLOCK, message_template_message_bar), /* control block */
1820 (void *) &message_template_message_bar_properties /* extended properties */
1821 };
1822
1823 GX_CONST GX_STUDIO_WIDGET message_template_define =
1824 {
1825 "message_template",
1826 GX_TYPE_WINDOW, /* widget type */
1827 GX_ID_NONE, /* widget id */
1828 #if defined(GX_WIDGET_USER_DATA)
1829 0, /* user data */
1830 #endif
1831 GX_STYLE_BORDER_NONE, /* style flags */
1832 0, /* status flags */
1833 sizeof(MESSAGE_TEMPLATE_CONTROL_BLOCK), /* control block size */
1834 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
1835 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
1836 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
1837 gx_studio_window_create, /* create function */
1838 GX_NULL, /* drawing function override */
1839 GX_NULL, /* event function override */
1840 {0, 0, 227, 58}, /* widget size */
1841 GX_NULL, /* next widget */
1842 &message_template_message_bar_define, /* child widget */
1843 0, /* control block */
1844 (void *) &message_template_properties /* extended properties */
1845 };
1846 GX_WINDOW_PROPERTIES weather_info_template_properties =
1847 {
1848 0 /* wallpaper pixelmap id */
1849 };
1850 GX_PROMPT_PROPERTIES weather_info_template_day_of_week_properties =
1851 {
1852 GX_STRING_ID_WEDNESDAY, /* string id */
1853 GX_FONT_ID_PROMPT, /* font id */
1854 GX_COLOR_ID_WHITE, /* normal text color */
1855 GX_COLOR_ID_WHITE, /* selected text color */
1856 GX_COLOR_ID_WHITE /* disabled text color */
1857 };
1858 GX_PROMPT_PROPERTIES weather_info_template_prompt_6_properties =
1859 {
1860 GX_STRING_ID_STRING_24, /* string id */
1861 GX_FONT_ID_SMALL, /* font id */
1862 GX_COLOR_ID_WHITE, /* normal text color */
1863 GX_COLOR_ID_WHITE, /* selected text color */
1864 GX_COLOR_ID_WHITE /* disabled text color */
1865 };
1866 GX_ICON_PROPERTIES weather_info_template_weather_icon_properties =
1867 {
1868 GX_PIXELMAP_ID_WEATHER_ICON_PARTLY_CLOUDY, /* normal pixelmap id */
1869 0 /* selected pixelmap id */
1870 };
1871 GX_NUMERIC_PROMPT_PROPERTIES weather_info_template_high_temperature_properties =
1872 {
1873 0, /* string id */
1874 GX_FONT_ID_PROMPT, /* font id */
1875 GX_COLOR_ID_WHITE, /* normal text color */
1876 GX_COLOR_ID_WHITE, /* selected text color */
1877 GX_COLOR_ID_WHITE, /* disabled text color */
1878 GX_NULL, /* format function */
1879 79 /* numeric prompt value */
1880 };
1881 GX_NUMERIC_PROMPT_PROPERTIES weather_info_template_low_temperature_properties =
1882 {
1883 0, /* string id */
1884 GX_FONT_ID_PROMPT, /* font id */
1885 GX_COLOR_ID_GRAY, /* normal text color */
1886 GX_COLOR_ID_GRAY, /* selected text color */
1887 GX_COLOR_ID_GRAY, /* disabled text color */
1888 GX_NULL, /* format function */
1889 73 /* numeric prompt value */
1890 };
1891 GX_PROMPT_PROPERTIES weather_info_template_prompt_1_properties =
1892 {
1893 GX_STRING_ID_STRING_24, /* string id */
1894 GX_FONT_ID_SMALL, /* font id */
1895 GX_COLOR_ID_GRAY, /* normal text color */
1896 GX_COLOR_ID_GRAY, /* selected text color */
1897 GX_COLOR_ID_GRAY /* disabled text color */
1898 };
1899
1900 GX_CONST GX_STUDIO_WIDGET weather_info_template_prompt_1_define =
1901 {
1902 "prompt_1",
1903 GX_TYPE_PROMPT, /* widget type */
1904 GX_ID_NONE, /* widget id */
1905 #if defined(GX_WIDGET_USER_DATA)
1906 0, /* user data */
1907 #endif
1908 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1909 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1910 sizeof(GX_PROMPT), /* control block size */
1911 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1912 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1913 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1914 gx_studio_prompt_create, /* create function */
1915 GX_NULL, /* drawing function override */
1916 GX_NULL, /* event function override */
1917 {421, 165, 431, 181}, /* widget size */
1918 GX_NULL, /* no next widget */
1919 GX_NULL, /* no child widgets */
1920 offsetof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK, weather_info_template_prompt_1), /* control block */
1921 (void *) &weather_info_template_prompt_1_properties /* extended properties */
1922 };
1923
1924 GX_CONST GX_STUDIO_WIDGET weather_info_template_low_temperature_define =
1925 {
1926 "low_temperature",
1927 GX_TYPE_NUMERIC_PROMPT, /* widget type */
1928 GX_ID_NONE, /* widget id */
1929 #if defined(GX_WIDGET_USER_DATA)
1930 0, /* user data */
1931 #endif
1932 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1933 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1934 sizeof(GX_NUMERIC_PROMPT), /* control block size */
1935 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1936 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1937 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1938 gx_studio_numeric_prompt_create, /* create function */
1939 GX_NULL, /* drawing function override */
1940 GX_NULL, /* event function override */
1941 {404, 170, 421, 187}, /* widget size */
1942 &weather_info_template_prompt_1_define, /* next widget definition */
1943 GX_NULL, /* no child widgets */
1944 offsetof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK, weather_info_template_low_temperature), /* control block */
1945 (void *) &weather_info_template_low_temperature_properties /* extended properties */
1946 };
1947
1948 GX_CONST GX_STUDIO_WIDGET weather_info_template_high_temperature_define =
1949 {
1950 "high_temperature",
1951 GX_TYPE_NUMERIC_PROMPT, /* widget type */
1952 GX_ID_NONE, /* widget id */
1953 #if defined(GX_WIDGET_USER_DATA)
1954 0, /* user data */
1955 #endif
1956 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
1957 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1958 sizeof(GX_NUMERIC_PROMPT), /* control block size */
1959 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1960 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1961 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1962 gx_studio_numeric_prompt_create, /* create function */
1963 GX_NULL, /* drawing function override */
1964 GX_NULL, /* event function override */
1965 {368, 170, 385, 187}, /* widget size */
1966 &weather_info_template_low_temperature_define, /* next widget definition */
1967 GX_NULL, /* no child widgets */
1968 offsetof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK, weather_info_template_high_temperature), /* control block */
1969 (void *) &weather_info_template_high_temperature_properties /* extended properties */
1970 };
1971
1972 GX_CONST GX_STUDIO_WIDGET weather_info_template_weather_icon_define =
1973 {
1974 "weather_icon",
1975 GX_TYPE_ICON, /* widget type */
1976 GX_ID_NONE, /* widget id */
1977 #if defined(GX_WIDGET_USER_DATA)
1978 0, /* user data */
1979 #endif
1980 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
1981 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
1982 sizeof(GX_ICON), /* control block size */
1983 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
1984 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
1985 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
1986 gx_studio_icon_create, /* create function */
1987 GX_NULL, /* drawing function override */
1988 GX_NULL, /* event function override */
1989 {299, 156, 353, 193}, /* widget size */
1990 &weather_info_template_high_temperature_define, /* next widget definition */
1991 GX_NULL, /* no child widgets */
1992 offsetof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK, weather_info_template_weather_icon), /* control block */
1993 (void *) &weather_info_template_weather_icon_properties /* extended properties */
1994 };
1995
1996 GX_CONST GX_STUDIO_WIDGET weather_info_template_prompt_6_define =
1997 {
1998 "prompt_6",
1999 GX_TYPE_PROMPT, /* widget type */
2000 GX_ID_NONE, /* widget id */
2001 #if defined(GX_WIDGET_USER_DATA)
2002 0, /* user data */
2003 #endif
2004 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2005 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2006 sizeof(GX_PROMPT), /* control block size */
2007 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2008 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2009 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2010 gx_studio_prompt_create, /* create function */
2011 GX_NULL, /* drawing function override */
2012 GX_NULL, /* event function override */
2013 {384, 165, 394, 181}, /* widget size */
2014 &weather_info_template_weather_icon_define, /* next widget definition */
2015 GX_NULL, /* no child widgets */
2016 offsetof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK, weather_info_template_prompt_6), /* control block */
2017 (void *) &weather_info_template_prompt_6_properties /* extended properties */
2018 };
2019
2020 GX_CONST GX_STUDIO_WIDGET weather_info_template_day_of_week_define =
2021 {
2022 "day_of_week",
2023 GX_TYPE_PROMPT, /* widget type */
2024 GX_ID_NONE, /* widget id */
2025 #if defined(GX_WIDGET_USER_DATA)
2026 0, /* user data */
2027 #endif
2028 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
2029 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2030 sizeof(GX_PROMPT), /* control block size */
2031 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2032 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2033 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2034 gx_studio_prompt_create, /* create function */
2035 GX_NULL, /* drawing function override */
2036 GX_NULL, /* event function override */
2037 {206, 171, 292, 188}, /* widget size */
2038 &weather_info_template_prompt_6_define, /* next widget definition */
2039 GX_NULL, /* no child widgets */
2040 offsetof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK, weather_info_template_day_of_week), /* control block */
2041 (void *) &weather_info_template_day_of_week_properties /* extended properties */
2042 };
2043
2044 GX_CONST GX_STUDIO_WIDGET weather_info_template_define =
2045 {
2046 "weather_info_template",
2047 GX_TYPE_WINDOW, /* widget type */
2048 GX_ID_NONE, /* widget id */
2049 #if defined(GX_WIDGET_USER_DATA)
2050 0, /* user data */
2051 #endif
2052 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
2053 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2054 sizeof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK), /* control block size */
2055 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
2056 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
2057 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2058 gx_studio_window_create, /* create function */
2059 GX_NULL, /* drawing function override */
2060 GX_NULL, /* event function override */
2061 {202, 154, 432, 200}, /* widget size */
2062 GX_NULL, /* next widget */
2063 &weather_info_template_day_of_week_define, /* child widget */
2064 0, /* control block */
2065 (void *) &weather_info_template_properties /* extended properties */
2066 };
2067 GX_WINDOW_PROPERTIES screen_template_properties =
2068 {
2069 0 /* wallpaper pixelmap id */
2070 };
2071 GX_WINDOW_PROPERTIES screen_template_title_bar_properties =
2072 {
2073 0 /* wallpaper pixelmap id */
2074 };
2075 GX_PROMPT_PROPERTIES screen_template_title_properties =
2076 {
2077 GX_STRING_ID_STRING_12, /* string id */
2078 GX_FONT_ID_PROMPT, /* font id */
2079 GX_COLOR_ID_WHITE, /* normal text color */
2080 GX_COLOR_ID_WHITE, /* selected text color */
2081 GX_COLOR_ID_WHITE /* disabled text color */
2082 };
2083 GX_NUMERIC_PROMPT_PROPERTIES screen_template_hour_properties =
2084 {
2085 0, /* string id */
2086 GX_FONT_ID_NORMAL, /* font id */
2087 GX_COLOR_ID_WHITE, /* normal text color */
2088 GX_COLOR_ID_WHITE, /* selected text color */
2089 GX_COLOR_ID_WHITE, /* disabled text color */
2090 time_format, /* format function */
2091 10 /* numeric prompt value */
2092 };
2093 GX_NUMERIC_PROMPT_PROPERTIES screen_template_minute_properties =
2094 {
2095 0, /* string id */
2096 GX_FONT_ID_NORMAL, /* font id */
2097 GX_COLOR_ID_WHITE, /* normal text color */
2098 GX_COLOR_ID_WHITE, /* selected text color */
2099 GX_COLOR_ID_WHITE, /* disabled text color */
2100 time_format, /* format function */
2101 32 /* numeric prompt value */
2102 };
2103 GX_PROMPT_PROPERTIES screen_template_second_properties =
2104 {
2105 GX_STRING_ID_STRING_6, /* string id */
2106 GX_FONT_ID_NORMAL, /* font id */
2107 GX_COLOR_ID_WHITE, /* normal text color */
2108 GX_COLOR_ID_WHITE, /* selected text color */
2109 GX_COLOR_ID_WHITE /* disabled text color */
2110 };
2111 GX_ICON_PROPERTIES screen_template_icon_properties =
2112 {
2113 GX_PIXELMAP_ID_ICON_LOCATION, /* normal pixelmap id */
2114 0 /* selected pixelmap id */
2115 };
2116
2117 GX_CONST GX_STUDIO_WIDGET screen_template_icon_define =
2118 {
2119 "icon",
2120 GX_TYPE_ICON, /* widget type */
2121 GX_ID_NONE, /* widget id */
2122 #if defined(GX_WIDGET_USER_DATA)
2123 0, /* user data */
2124 #endif
2125 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
2126 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2127 sizeof(GX_ICON), /* control block size */
2128 GX_COLOR_ID_BLUE, /* normal color id */
2129 GX_COLOR_ID_BLUE, /* selected color id */
2130 GX_COLOR_ID_BLUE, /* disabled color id */
2131 gx_studio_icon_create, /* create function */
2132 GX_NULL, /* drawing function override */
2133 GX_NULL, /* event function override */
2134 {10, 20, 23, 33}, /* widget size */
2135 GX_NULL, /* no next widget */
2136 GX_NULL, /* no child widgets */
2137 offsetof(SCREEN_TEMPLATE_CONTROL_BLOCK, screen_template_icon), /* control block */
2138 (void *) &screen_template_icon_properties /* extended properties */
2139 };
2140
2141 GX_CONST GX_STUDIO_WIDGET screen_template_second_define =
2142 {
2143 "second",
2144 GX_TYPE_PROMPT, /* widget type */
2145 GX_ID_NONE, /* widget id */
2146 #if defined(GX_WIDGET_USER_DATA)
2147 0, /* user data */
2148 #endif
2149 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2150 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2151 sizeof(GX_PROMPT), /* control block size */
2152 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2153 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2154 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2155 gx_studio_prompt_create, /* create function */
2156 GX_NULL, /* drawing function override */
2157 GX_NULL, /* event function override */
2158 {205, 18, 211, 38}, /* widget size */
2159 &screen_template_icon_define, /* next widget definition */
2160 GX_NULL, /* no child widgets */
2161 offsetof(SCREEN_TEMPLATE_CONTROL_BLOCK, screen_template_second), /* control block */
2162 (void *) &screen_template_second_properties /* extended properties */
2163 };
2164
2165 GX_CONST GX_STUDIO_WIDGET screen_template_minute_define =
2166 {
2167 "minute",
2168 GX_TYPE_NUMERIC_PROMPT, /* widget type */
2169 GX_ID_NONE, /* widget id */
2170 #if defined(GX_WIDGET_USER_DATA)
2171 0, /* user data */
2172 #endif
2173 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2174 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2175 sizeof(GX_NUMERIC_PROMPT), /* control block size */
2176 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2177 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2178 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2179 gx_studio_numeric_prompt_create, /* create function */
2180 GX_NULL, /* drawing function override */
2181 GX_NULL, /* event function override */
2182 {210, 20, 235, 40}, /* widget size */
2183 &screen_template_second_define, /* next widget definition */
2184 GX_NULL, /* no child widgets */
2185 offsetof(SCREEN_TEMPLATE_CONTROL_BLOCK, screen_template_minute), /* control block */
2186 (void *) &screen_template_minute_properties /* extended properties */
2187 };
2188
2189 GX_CONST GX_STUDIO_WIDGET screen_template_hour_define =
2190 {
2191 "hour",
2192 GX_TYPE_NUMERIC_PROMPT, /* widget type */
2193 GX_ID_NONE, /* widget id */
2194 #if defined(GX_WIDGET_USER_DATA)
2195 0, /* user data */
2196 #endif
2197 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2198 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2199 sizeof(GX_NUMERIC_PROMPT), /* control block size */
2200 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2201 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2202 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2203 gx_studio_numeric_prompt_create, /* create function */
2204 GX_NULL, /* drawing function override */
2205 GX_NULL, /* event function override */
2206 {180, 20, 205, 40}, /* widget size */
2207 &screen_template_minute_define, /* next widget definition */
2208 GX_NULL, /* no child widgets */
2209 offsetof(SCREEN_TEMPLATE_CONTROL_BLOCK, screen_template_hour), /* control block */
2210 (void *) &screen_template_hour_properties /* extended properties */
2211 };
2212
2213 GX_CONST GX_STUDIO_WIDGET screen_template_title_define =
2214 {
2215 "title",
2216 GX_TYPE_PROMPT, /* widget type */
2217 GX_ID_NONE, /* widget id */
2218 #if defined(GX_WIDGET_USER_DATA)
2219 0, /* user data */
2220 #endif
2221 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
2222 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2223 sizeof(GX_PROMPT), /* control block size */
2224 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2225 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2226 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2227 gx_studio_prompt_create, /* create function */
2228 GX_NULL, /* drawing function override */
2229 GX_NULL, /* event function override */
2230 {29, 20, 133, 37}, /* widget size */
2231 &screen_template_hour_define, /* next widget definition */
2232 GX_NULL, /* no child widgets */
2233 offsetof(SCREEN_TEMPLATE_CONTROL_BLOCK, screen_template_title), /* control block */
2234 (void *) &screen_template_title_properties /* extended properties */
2235 };
2236
2237 GX_CONST GX_STUDIO_WIDGET screen_template_title_bar_define =
2238 {
2239 "title_bar",
2240 GX_TYPE_WINDOW, /* widget type */
2241 GX_ID_NONE, /* widget id */
2242 #if defined(GX_WIDGET_USER_DATA)
2243 0, /* user data */
2244 #endif
2245 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT, /* style flags */
2246 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2247 sizeof(GX_WINDOW), /* control block size */
2248 GX_COLOR_ID_DARK_BLUE, /* normal color id */
2249 GX_COLOR_ID_DARK_BLUE, /* selected color id */
2250 GX_COLOR_ID_DARK_BLUE, /* disabled color id */
2251 gx_studio_window_create, /* create function */
2252 GX_NULL, /* drawing function override */
2253 GX_NULL, /* event function override */
2254 {0, 0, 257, 54}, /* widget size */
2255 GX_NULL, /* no next widget */
2256 &screen_template_title_define, /* child widget definition */
2257 offsetof(SCREEN_TEMPLATE_CONTROL_BLOCK, screen_template_title_bar), /* control block */
2258 (void *) &screen_template_title_bar_properties /* extended properties */
2259 };
2260
2261 GX_CONST GX_STUDIO_WIDGET screen_template_define =
2262 {
2263 "screen_template",
2264 GX_TYPE_WINDOW, /* widget type */
2265 ID_SCREEN_TEMPLATE, /* widget id */
2266 #if defined(GX_WIDGET_USER_DATA)
2267 0, /* user data */
2268 #endif
2269 GX_STYLE_BORDER_NONE, /* style flags */
2270 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2271 sizeof(SCREEN_TEMPLATE_CONTROL_BLOCK), /* control block size */
2272 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
2273 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
2274 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
2275 gx_studio_window_create, /* create function */
2276 GX_NULL, /* drawing function override */
2277 (UINT (*)(GX_WIDGET *, GX_EVENT *)) screen_template_event_process, /* event function override */
2278 {0, 0, 257, 288}, /* widget size */
2279 GX_NULL, /* next widget */
2280 &screen_template_title_bar_define, /* child widget */
2281 0, /* control block */
2282 (void *) &screen_template_properties /* extended properties */
2283 };
2284 GX_TEMPLATE_PROPERTIES ekg_screen_properties =
2285 {
2286 &screen_template_define, /* base info */
2287 gx_studio_window_create, /* base create function */
2288 {191, 95, 448, 383} /* widget size */
2289 };
2290 GX_RADIAL_PROGRESS_BAR_INFO ekg_screen_progress_properties =
2291 {
2292 322, /* xcenter */
2293 251, /* ycenter */
2294 98, /* radius */
2295 -288, /* current val */
2296 90, /* anchor val */
2297 GX_FONT_ID_SYSTEM, /* font_id */
2298 GX_COLOR_ID_TEXT, /* normal text color */
2299 GX_COLOR_ID_TEXT, /* selected text color */
2300 GX_COLOR_ID_TEXT, /* disabled text color */
2301 30, /* normal brush width */
2302 30, /* selected brush width */
2303 GX_COLOR_ID_ORANGE_BG, /* normal brush color */
2304 GX_COLOR_ID_ORANGE, /* selected brush color */
2305 };
2306 GX_NUMERIC_PROMPT_PROPERTIES ekg_screen_systole_blood_pressure_properties =
2307 {
2308 0, /* string id */
2309 GX_FONT_ID_NUMBER_MEDIUM, /* font id */
2310 GX_COLOR_ID_WHITE, /* normal text color */
2311 GX_COLOR_ID_WHITE, /* selected text color */
2312 GX_COLOR_ID_WHITE, /* disabled text color */
2313 GX_NULL, /* format function */
2314 120 /* numeric prompt value */
2315 };
2316 GX_ICON_PROPERTIES ekg_screen_heart_icon_properties =
2317 {
2318 GX_PIXELMAP_ID_ICON_HEART_FRONT, /* normal pixelmap id */
2319 0 /* selected pixelmap id */
2320 };
2321 GX_NUMERIC_PROMPT_PROPERTIES ekg_screen_diastole_blood_pressure_properties =
2322 {
2323 0, /* string id */
2324 GX_FONT_ID_NUMBER_MEDIUM, /* font id */
2325 GX_COLOR_ID_WHITE, /* normal text color */
2326 GX_COLOR_ID_WHITE, /* selected text color */
2327 GX_COLOR_ID_WHITE, /* disabled text color */
2328 GX_NULL, /* format function */
2329 78 /* numeric prompt value */
2330 };
2331 GX_PROMPT_PROPERTIES ekg_screen_prompt_21_properties =
2332 {
2333 GX_STRING_ID_STRING_14, /* string id */
2334 GX_FONT_ID_MIDIUM, /* font id */
2335 GX_COLOR_ID_GRAY, /* normal text color */
2336 GX_COLOR_ID_GRAY, /* selected text color */
2337 GX_COLOR_ID_GRAY /* disabled text color */
2338 };
2339 GX_PROMPT_PROPERTIES ekg_screen_prompt_21_1_properties =
2340 {
2341 GX_STRING_ID_STRING_15, /* string id */
2342 GX_FONT_ID_PROMPT, /* font id */
2343 GX_COLOR_ID_GRAY, /* normal text color */
2344 GX_COLOR_ID_GRAY, /* selected text color */
2345 GX_COLOR_ID_GRAY /* disabled text color */
2346 };
2347 GX_ICON_PROPERTIES ekg_screen_icon_21_properties =
2348 {
2349 GX_PIXELMAP_ID_BALL_RANGE_EKG, /* normal pixelmap id */
2350 0 /* selected pixelmap id */
2351 };
2352 GX_NUMERIC_PROMPT_PROPERTIES ekg_screen_heart_rate_properties =
2353 {
2354 0, /* string id */
2355 GX_FONT_ID_MIDIUM, /* font id */
2356 GX_COLOR_ID_WHITE, /* normal text color */
2357 GX_COLOR_ID_WHITE, /* selected text color */
2358 GX_COLOR_ID_WHITE, /* disabled text color */
2359 GX_NULL, /* format function */
2360 80 /* numeric prompt value */
2361 };
2362 GX_PROMPT_PROPERTIES ekg_screen_prompt_20_properties =
2363 {
2364 GX_STRING_ID_STRING_9, /* string id */
2365 GX_FONT_ID_PROMPT, /* font id */
2366 GX_COLOR_ID_WHITE, /* normal text color */
2367 GX_COLOR_ID_WHITE, /* selected text color */
2368 GX_COLOR_ID_WHITE /* disabled text color */
2369 };
2370
2371 GX_CONST GX_STUDIO_WIDGET ekg_screen_prompt_21_1_define =
2372 {
2373 "prompt_21_1",
2374 GX_TYPE_PROMPT, /* widget type */
2375 GX_ID_NONE, /* widget id */
2376 #if defined(GX_WIDGET_USER_DATA)
2377 0, /* user data */
2378 #endif
2379 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2380 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2381 sizeof(GX_PROMPT), /* control block size */
2382 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2383 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2384 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2385 gx_studio_prompt_create, /* create function */
2386 GX_NULL, /* drawing function override */
2387 GX_NULL, /* event function override */
2388 {295, 297, 350, 314}, /* widget size */
2389 GX_NULL, /* no next widget */
2390 GX_NULL, /* no child widgets */
2391 offsetof(EKG_SCREEN_CONTROL_BLOCK, ekg_screen_prompt_21_1), /* control block */
2392 (void *) &ekg_screen_prompt_21_1_properties /* extended properties */
2393 };
2394
2395 GX_CONST GX_STUDIO_WIDGET ekg_screen_prompt_21_define =
2396 {
2397 "prompt_21",
2398 GX_TYPE_PROMPT, /* widget type */
2399 GX_ID_NONE, /* widget id */
2400 #if defined(GX_WIDGET_USER_DATA)
2401 0, /* user data */
2402 #endif
2403 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2404 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2405 sizeof(GX_PROMPT), /* control block size */
2406 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2407 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2408 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2409 gx_studio_prompt_create, /* create function */
2410 GX_NULL, /* drawing function override */
2411 GX_NULL, /* event function override */
2412 {323, 247, 332, 277}, /* widget size */
2413 &ekg_screen_prompt_21_1_define, /* next widget definition */
2414 GX_NULL, /* no child widgets */
2415 offsetof(EKG_SCREEN_CONTROL_BLOCK, ekg_screen_prompt_21), /* control block */
2416 (void *) &ekg_screen_prompt_21_properties /* extended properties */
2417 };
2418
2419 GX_CONST GX_STUDIO_WIDGET ekg_screen_diastole_blood_pressure_define =
2420 {
2421 "diastole_blood_pressure",
2422 GX_TYPE_NUMERIC_PROMPT, /* widget type */
2423 GX_ID_NONE, /* widget id */
2424 #if defined(GX_WIDGET_USER_DATA)
2425 0, /* user data */
2426 #endif
2427 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
2428 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2429 sizeof(GX_NUMERIC_PROMPT), /* control block size */
2430 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2431 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2432 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2433 gx_studio_numeric_prompt_create, /* create function */
2434 GX_NULL, /* drawing function override */
2435 GX_NULL, /* event function override */
2436 {335, 248, 384, 277}, /* widget size */
2437 &ekg_screen_prompt_21_define, /* next widget definition */
2438 GX_NULL, /* no child widgets */
2439 offsetof(EKG_SCREEN_CONTROL_BLOCK, ekg_screen_diastole_blood_pressure), /* control block */
2440 (void *) &ekg_screen_diastole_blood_pressure_properties /* extended properties */
2441 };
2442
2443 GX_CONST GX_STUDIO_WIDGET ekg_screen_heart_icon_define =
2444 {
2445 "heart_icon",
2446 GX_TYPE_ICON, /* widget type */
2447 GX_ID_NONE, /* widget id */
2448 #if defined(GX_WIDGET_USER_DATA)
2449 0, /* user data */
2450 #endif
2451 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
2452 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2453 sizeof(GX_ICON), /* control block size */
2454 GX_COLOR_ID_ORANGE, /* normal color id */
2455 GX_COLOR_ID_ORANGE, /* selected color id */
2456 GX_COLOR_ID_ORANGE, /* disabled color id */
2457 gx_studio_icon_create, /* create function */
2458 GX_NULL, /* drawing function override */
2459 GX_NULL, /* event function override */
2460 {290, 186, 344, 229}, /* widget size */
2461 &ekg_screen_diastole_blood_pressure_define, /* next widget definition */
2462 GX_NULL, /* no child widgets */
2463 offsetof(EKG_SCREEN_CONTROL_BLOCK, ekg_screen_heart_icon), /* control block */
2464 (void *) &ekg_screen_heart_icon_properties /* extended properties */
2465 };
2466
2467 GX_CONST GX_STUDIO_WIDGET ekg_screen_systole_blood_pressure_define =
2468 {
2469 "systole_blood_pressure",
2470 GX_TYPE_NUMERIC_PROMPT, /* widget type */
2471 GX_ID_NONE, /* widget id */
2472 #if defined(GX_WIDGET_USER_DATA)
2473 0, /* user data */
2474 #endif
2475 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
2476 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2477 sizeof(GX_NUMERIC_PROMPT), /* control block size */
2478 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2479 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2480 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2481 gx_studio_numeric_prompt_create, /* create function */
2482 GX_NULL, /* drawing function override */
2483 GX_NULL, /* event function override */
2484 {248, 248, 322, 277}, /* widget size */
2485 &ekg_screen_heart_icon_define, /* next widget definition */
2486 GX_NULL, /* no child widgets */
2487 offsetof(EKG_SCREEN_CONTROL_BLOCK, ekg_screen_systole_blood_pressure), /* control block */
2488 (void *) &ekg_screen_systole_blood_pressure_properties /* extended properties */
2489 };
2490
2491 GX_CONST GX_STUDIO_WIDGET ekg_screen_prompt_20_define =
2492 {
2493 "prompt_20",
2494 GX_TYPE_PROMPT, /* widget type */
2495 GX_ID_NONE, /* widget id */
2496 #if defined(GX_WIDGET_USER_DATA)
2497 0, /* user data */
2498 #endif
2499 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2500 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2501 sizeof(GX_PROMPT), /* control block size */
2502 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2503 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2504 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2505 gx_studio_prompt_create, /* create function */
2506 GX_NULL, /* drawing function override */
2507 GX_NULL, /* event function override */
2508 {223, 354, 257, 371}, /* widget size */
2509 GX_NULL, /* no next widget */
2510 GX_NULL, /* no child widgets */
2511 offsetof(EKG_SCREEN_CONTROL_BLOCK, ekg_screen_prompt_20), /* control block */
2512 (void *) &ekg_screen_prompt_20_properties /* extended properties */
2513 };
2514
2515 GX_CONST GX_STUDIO_WIDGET ekg_screen_heart_rate_define =
2516 {
2517 "heart_rate",
2518 GX_TYPE_NUMERIC_PROMPT, /* widget type */
2519 GX_ID_NONE, /* widget id */
2520 #if defined(GX_WIDGET_USER_DATA)
2521 0, /* user data */
2522 #endif
2523 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
2524 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2525 sizeof(GX_NUMERIC_PROMPT), /* control block size */
2526 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2527 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2528 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2529 gx_studio_numeric_prompt_create, /* create function */
2530 GX_NULL, /* drawing function override */
2531 GX_NULL, /* event function override */
2532 {220, 325, 257, 355}, /* widget size */
2533 &ekg_screen_prompt_20_define, /* next widget definition */
2534 GX_NULL, /* no child widgets */
2535 offsetof(EKG_SCREEN_CONTROL_BLOCK, ekg_screen_heart_rate), /* control block */
2536 (void *) &ekg_screen_heart_rate_properties /* extended properties */
2537 };
2538
2539 GX_CONST GX_STUDIO_WIDGET ekg_screen_icon_21_define =
2540 {
2541 "icon_21",
2542 GX_TYPE_ICON, /* widget type */
2543 GX_ID_NONE, /* widget id */
2544 #if defined(GX_WIDGET_USER_DATA)
2545 0, /* user data */
2546 #endif
2547 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
2548 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2549 sizeof(GX_ICON), /* control block size */
2550 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2551 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2552 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2553 gx_studio_icon_create, /* create function */
2554 GX_NULL, /* drawing function override */
2555 GX_NULL, /* event function override */
2556 {207, 309, 274, 376}, /* widget size */
2557 GX_NULL, /* no next widget */
2558 &ekg_screen_heart_rate_define, /* child widget definition */
2559 offsetof(EKG_SCREEN_CONTROL_BLOCK, ekg_screen_icon_21), /* control block */
2560 (void *) &ekg_screen_icon_21_properties /* extended properties */
2561 };
2562
2563 GX_CONST GX_STUDIO_WIDGET ekg_screen_progress_define =
2564 {
2565 "progress",
2566 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
2567 GX_ID_NONE, /* widget id */
2568 #if defined(GX_WIDGET_USER_DATA)
2569 0, /* user data */
2570 #endif
2571 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
2572 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2573 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
2574 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2575 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2576 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2577 gx_studio_radial_progress_bar_create, /* create function */
2578 GX_NULL, /* drawing function override */
2579 GX_NULL, /* event function override */
2580 {207, 126, 433, 352}, /* widget size */
2581 &ekg_screen_icon_21_define, /* next widget definition */
2582 &ekg_screen_systole_blood_pressure_define, /* child widget definition */
2583 offsetof(EKG_SCREEN_CONTROL_BLOCK, ekg_screen_progress), /* control block */
2584 (void *) &ekg_screen_progress_properties /* extended properties */
2585 };
2586
2587 GX_CONST GX_STUDIO_WIDGET ekg_screen_define =
2588 {
2589 "ekg_screen",
2590 GX_TYPE_TEMPLATE, /* widget type */
2591 GX_ID_NONE, /* widget id */
2592 #if defined(GX_WIDGET_USER_DATA)
2593 0, /* user data */
2594 #endif
2595 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
2596 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2597 sizeof(EKG_SCREEN_CONTROL_BLOCK), /* control block size */
2598 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
2599 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
2600 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2601 gx_studio_template_create, /* create function */
2602 GX_NULL, /* drawing function override */
2603 (UINT (*)(GX_WIDGET *, GX_EVENT *)) ekg_screen_event_process, /* event function override */
2604 {191, 95, 448, 383}, /* widget size */
2605 GX_NULL, /* next widget */
2606 &ekg_screen_progress_define, /* child widget */
2607 0, /* control block */
2608 (void *) &ekg_screen_properties /* extended properties */
2609 };
2610 GX_TEMPLATE_PROPERTIES yoga_screen_properties =
2611 {
2612 &screen_template_define, /* base info */
2613 gx_studio_window_create, /* base create function */
2614 {191, 95, 448, 383} /* widget size */
2615 };
2616 GX_RADIAL_PROGRESS_BAR_INFO yoga_screen_progress_properties =
2617 {
2618 322, /* xcenter */
2619 251, /* ycenter */
2620 98, /* radius */
2621 -288, /* current val */
2622 90, /* anchor val */
2623 GX_FONT_ID_SYSTEM, /* font_id */
2624 GX_COLOR_ID_TEXT, /* normal text color */
2625 GX_COLOR_ID_TEXT, /* selected text color */
2626 GX_COLOR_ID_TEXT, /* disabled text color */
2627 30, /* normal brush width */
2628 30, /* selected brush width */
2629 GX_COLOR_ID_PURPLE_BG, /* normal brush color */
2630 GX_COLOR_ID_PURPLE, /* selected brush color */
2631 };
2632 GX_NUMERIC_PROMPT_PROPERTIES yoga_screen_calories_burned_properties =
2633 {
2634 0, /* string id */
2635 GX_FONT_ID_NUMBER, /* font id */
2636 GX_COLOR_ID_WHITE, /* normal text color */
2637 GX_COLOR_ID_WHITE, /* selected text color */
2638 GX_COLOR_ID_WHITE, /* disabled text color */
2639 GX_NULL, /* format function */
2640 480 /* numeric prompt value */
2641 };
2642 GX_ICON_PROPERTIES yoga_screen_divide_line_properties =
2643 {
2644 GX_PIXELMAP_ID_LINE_CALORIES_GREEN, /* normal pixelmap id */
2645 0 /* selected pixelmap id */
2646 };
2647 GX_ICON_PROPERTIES yoga_screen_yoga_icon_properties =
2648 {
2649 GX_PIXELMAP_ID_ICON_YOGA_PURPLE, /* normal pixelmap id */
2650 0 /* selected pixelmap id */
2651 };
2652 GX_PROMPT_PROPERTIES yoga_screen_prompt_22_properties =
2653 {
2654 GX_STRING_ID_STRING_6, /* string id */
2655 GX_FONT_ID_MIDIUM, /* font id */
2656 GX_COLOR_ID_GRAY, /* normal text color */
2657 GX_COLOR_ID_GRAY, /* selected text color */
2658 GX_COLOR_ID_GRAY /* disabled text color */
2659 };
2660 GX_NUMERIC_PROMPT_PROPERTIES yoga_screen_yoga_minute_properties =
2661 {
2662 0, /* string id */
2663 GX_FONT_ID_MIDIUM, /* font id */
2664 GX_COLOR_ID_GRAY, /* normal text color */
2665 GX_COLOR_ID_GRAY, /* selected text color */
2666 GX_COLOR_ID_GRAY, /* disabled text color */
2667 time_format, /* format function */
2668 28 /* numeric prompt value */
2669 };
2670 GX_NUMERIC_PROMPT_PROPERTIES yoga_screen_yoga_hour_properties =
2671 {
2672 0, /* string id */
2673 GX_FONT_ID_MIDIUM, /* font id */
2674 GX_COLOR_ID_GRAY, /* normal text color */
2675 GX_COLOR_ID_GRAY, /* selected text color */
2676 GX_COLOR_ID_GRAY, /* disabled text color */
2677 GX_NULL, /* format function */
2678 52 /* numeric prompt value */
2679 };
2680 GX_PROMPT_PROPERTIES yoga_screen_calorie_label_properties =
2681 {
2682 GX_STRING_ID_STRING_18, /* string id */
2683 GX_FONT_ID_PROMPT, /* font id */
2684 GX_COLOR_ID_GRAY, /* normal text color */
2685 GX_COLOR_ID_GRAY, /* selected text color */
2686 GX_COLOR_ID_GRAY /* disabled text color */
2687 };
2688 GX_ICON_PROPERTIES yoga_screen_calorie_icon_properties =
2689 {
2690 GX_PIXELMAP_ID_LANDING_ICON_CALORIES_GREEN, /* normal pixelmap id */
2691 0 /* selected pixelmap id */
2692 };
2693 GX_ICON_PROPERTIES yoga_screen_icon_18_properties =
2694 {
2695 GX_PIXELMAP_ID_BALL_RANGE_YOGA, /* normal pixelmap id */
2696 0 /* selected pixelmap id */
2697 };
2698 GX_NUMERIC_PROMPT_PROPERTIES yoga_screen_progress_val_properties =
2699 {
2700 0, /* string id */
2701 GX_FONT_ID_MIDIUM, /* font id */
2702 GX_COLOR_ID_WHITE, /* normal text color */
2703 GX_COLOR_ID_WHITE, /* selected text color */
2704 GX_COLOR_ID_WHITE, /* disabled text color */
2705 GX_NULL, /* format function */
2706 80 /* numeric prompt value */
2707 };
2708 GX_PROMPT_PROPERTIES yoga_screen_prompt_18_properties =
2709 {
2710 GX_STRING_ID_STRING_11, /* string id */
2711 GX_FONT_ID_PROMPT, /* font id */
2712 GX_COLOR_ID_WHITE, /* normal text color */
2713 GX_COLOR_ID_WHITE, /* selected text color */
2714 GX_COLOR_ID_WHITE /* disabled text color */
2715 };
2716
2717 GX_CONST GX_STUDIO_WIDGET yoga_screen_calorie_icon_define =
2718 {
2719 "calorie_icon",
2720 GX_TYPE_ICON, /* widget type */
2721 GX_ID_NONE, /* widget id */
2722 #if defined(GX_WIDGET_USER_DATA)
2723 0, /* user data */
2724 #endif
2725 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
2726 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2727 sizeof(GX_ICON), /* control block size */
2728 GX_COLOR_ID_PURPLE, /* normal color id */
2729 GX_COLOR_ID_PURPLE, /* selected color id */
2730 GX_COLOR_ID_PURPLE, /* disabled color id */
2731 gx_studio_icon_create, /* create function */
2732 GX_NULL, /* drawing function override */
2733 GX_NULL, /* event function override */
2734 {373, 242, 388, 264}, /* widget size */
2735 GX_NULL, /* no next widget */
2736 GX_NULL, /* no child widgets */
2737 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_calorie_icon), /* control block */
2738 (void *) &yoga_screen_calorie_icon_properties /* extended properties */
2739 };
2740
2741 GX_CONST GX_STUDIO_WIDGET yoga_screen_calorie_label_define =
2742 {
2743 "calorie_label",
2744 GX_TYPE_PROMPT, /* widget type */
2745 GX_ID_NONE, /* widget id */
2746 #if defined(GX_WIDGET_USER_DATA)
2747 0, /* user data */
2748 #endif
2749 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2750 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2751 sizeof(GX_PROMPT), /* control block size */
2752 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2753 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2754 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2755 gx_studio_prompt_create, /* create function */
2756 GX_NULL, /* drawing function override */
2757 GX_NULL, /* event function override */
2758 {368, 266, 396, 283}, /* widget size */
2759 &yoga_screen_calorie_icon_define, /* next widget definition */
2760 GX_NULL, /* no child widgets */
2761 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_calorie_label), /* control block */
2762 (void *) &yoga_screen_calorie_label_properties /* extended properties */
2763 };
2764
2765 GX_CONST GX_STUDIO_WIDGET yoga_screen_yoga_hour_define =
2766 {
2767 "yoga_hour",
2768 GX_TYPE_NUMERIC_PROMPT, /* widget type */
2769 GX_ID_NONE, /* widget id */
2770 #if defined(GX_WIDGET_USER_DATA)
2771 0, /* user data */
2772 #endif
2773 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
2774 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2775 sizeof(GX_NUMERIC_PROMPT), /* control block size */
2776 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2777 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2778 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2779 gx_studio_numeric_prompt_create, /* create function */
2780 GX_NULL, /* drawing function override */
2781 GX_NULL, /* event function override */
2782 {284, 294, 321, 324}, /* widget size */
2783 &yoga_screen_calorie_label_define, /* next widget definition */
2784 GX_NULL, /* no child widgets */
2785 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_yoga_hour), /* control block */
2786 (void *) &yoga_screen_yoga_hour_properties /* extended properties */
2787 };
2788
2789 GX_CONST GX_STUDIO_WIDGET yoga_screen_yoga_minute_define =
2790 {
2791 "yoga_minute",
2792 GX_TYPE_NUMERIC_PROMPT, /* widget type */
2793 GX_ID_NONE, /* widget id */
2794 #if defined(GX_WIDGET_USER_DATA)
2795 0, /* user data */
2796 #endif
2797 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2798 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2799 sizeof(GX_NUMERIC_PROMPT), /* control block size */
2800 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2801 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2802 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2803 gx_studio_numeric_prompt_create, /* create function */
2804 GX_NULL, /* drawing function override */
2805 GX_NULL, /* event function override */
2806 {323, 294, 360, 324}, /* widget size */
2807 &yoga_screen_yoga_hour_define, /* next widget definition */
2808 GX_NULL, /* no child widgets */
2809 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_yoga_minute), /* control block */
2810 (void *) &yoga_screen_yoga_minute_properties /* extended properties */
2811 };
2812
2813 GX_CONST GX_STUDIO_WIDGET yoga_screen_prompt_22_define =
2814 {
2815 "prompt_22",
2816 GX_TYPE_PROMPT, /* widget type */
2817 GX_ID_NONE, /* widget id */
2818 #if defined(GX_WIDGET_USER_DATA)
2819 0, /* user data */
2820 #endif
2821 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2822 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2823 sizeof(GX_PROMPT), /* control block size */
2824 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2825 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2826 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2827 gx_studio_prompt_create, /* create function */
2828 GX_NULL, /* drawing function override */
2829 GX_NULL, /* event function override */
2830 {317, 292, 326, 322}, /* widget size */
2831 &yoga_screen_yoga_minute_define, /* next widget definition */
2832 GX_NULL, /* no child widgets */
2833 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_prompt_22), /* control block */
2834 (void *) &yoga_screen_prompt_22_properties /* extended properties */
2835 };
2836
2837 GX_CONST GX_STUDIO_WIDGET yoga_screen_yoga_icon_define =
2838 {
2839 "yoga_icon",
2840 GX_TYPE_ICON, /* widget type */
2841 GX_ID_NONE, /* widget id */
2842 #if defined(GX_WIDGET_USER_DATA)
2843 0, /* user data */
2844 #endif
2845 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
2846 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2847 sizeof(GX_ICON), /* control block size */
2848 GX_COLOR_ID_PURPLE, /* normal color id */
2849 GX_COLOR_ID_PURPLE, /* selected color id */
2850 GX_COLOR_ID_PURPLE, /* disabled color id */
2851 gx_studio_icon_create, /* create function */
2852 GX_NULL, /* drawing function override */
2853 GX_NULL, /* event function override */
2854 {293, 174, 342, 233}, /* widget size */
2855 &yoga_screen_prompt_22_define, /* next widget definition */
2856 GX_NULL, /* no child widgets */
2857 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_yoga_icon), /* control block */
2858 (void *) &yoga_screen_yoga_icon_properties /* extended properties */
2859 };
2860
2861 GX_CONST GX_STUDIO_WIDGET yoga_screen_divide_line_define =
2862 {
2863 "divide_line",
2864 GX_TYPE_ICON, /* widget type */
2865 GX_ID_NONE, /* widget id */
2866 #if defined(GX_WIDGET_USER_DATA)
2867 0, /* user data */
2868 #endif
2869 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
2870 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2871 sizeof(GX_ICON), /* control block size */
2872 GX_COLOR_ID_PURPLE, /* normal color id */
2873 GX_COLOR_ID_PURPLE, /* selected color id */
2874 GX_COLOR_ID_PURPLE, /* disabled color id */
2875 gx_studio_icon_create, /* create function */
2876 GX_NULL, /* drawing function override */
2877 GX_NULL, /* event function override */
2878 {293, 286, 345, 287}, /* widget size */
2879 &yoga_screen_yoga_icon_define, /* next widget definition */
2880 GX_NULL, /* no child widgets */
2881 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_divide_line), /* control block */
2882 (void *) &yoga_screen_divide_line_properties /* extended properties */
2883 };
2884
2885 GX_CONST GX_STUDIO_WIDGET yoga_screen_calories_burned_define =
2886 {
2887 "calories_burned",
2888 GX_TYPE_NUMERIC_PROMPT, /* widget type */
2889 GX_ID_NONE, /* widget id */
2890 #if defined(GX_WIDGET_USER_DATA)
2891 0, /* user data */
2892 #endif
2893 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2894 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2895 sizeof(GX_NUMERIC_PROMPT), /* control block size */
2896 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2897 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2898 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2899 gx_studio_numeric_prompt_create, /* create function */
2900 GX_NULL, /* drawing function override */
2901 GX_NULL, /* event function override */
2902 {272, 233, 367, 284}, /* widget size */
2903 &yoga_screen_divide_line_define, /* next widget definition */
2904 GX_NULL, /* no child widgets */
2905 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_calories_burned), /* control block */
2906 (void *) &yoga_screen_calories_burned_properties /* extended properties */
2907 };
2908
2909 GX_CONST GX_STUDIO_WIDGET yoga_screen_prompt_18_define =
2910 {
2911 "prompt_18",
2912 GX_TYPE_PROMPT, /* widget type */
2913 GX_ID_NONE, /* widget id */
2914 #if defined(GX_WIDGET_USER_DATA)
2915 0, /* user data */
2916 #endif
2917 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
2918 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2919 sizeof(GX_PROMPT), /* control block size */
2920 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2921 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2922 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2923 gx_studio_prompt_create, /* create function */
2924 GX_NULL, /* drawing function override */
2925 GX_NULL, /* event function override */
2926 {255, 330, 269, 347}, /* widget size */
2927 GX_NULL, /* no next widget */
2928 GX_NULL, /* no child widgets */
2929 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_prompt_18), /* control block */
2930 (void *) &yoga_screen_prompt_18_properties /* extended properties */
2931 };
2932
2933 GX_CONST GX_STUDIO_WIDGET yoga_screen_progress_val_define =
2934 {
2935 "progress_val",
2936 GX_TYPE_NUMERIC_PROMPT, /* widget type */
2937 GX_ID_NONE, /* widget id */
2938 #if defined(GX_WIDGET_USER_DATA)
2939 0, /* user data */
2940 #endif
2941 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
2942 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2943 sizeof(GX_NUMERIC_PROMPT), /* control block size */
2944 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2945 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2946 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2947 gx_studio_numeric_prompt_create, /* create function */
2948 GX_NULL, /* drawing function override */
2949 GX_NULL, /* event function override */
2950 {219, 332, 256, 362}, /* widget size */
2951 &yoga_screen_prompt_18_define, /* next widget definition */
2952 GX_NULL, /* no child widgets */
2953 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_progress_val), /* control block */
2954 (void *) &yoga_screen_progress_val_properties /* extended properties */
2955 };
2956
2957 GX_CONST GX_STUDIO_WIDGET yoga_screen_icon_18_define =
2958 {
2959 "icon_18",
2960 GX_TYPE_ICON, /* widget type */
2961 GX_ID_NONE, /* widget id */
2962 #if defined(GX_WIDGET_USER_DATA)
2963 0, /* user data */
2964 #endif
2965 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
2966 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2967 sizeof(GX_ICON), /* control block size */
2968 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2969 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2970 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2971 gx_studio_icon_create, /* create function */
2972 GX_NULL, /* drawing function override */
2973 GX_NULL, /* event function override */
2974 {207, 309, 274, 376}, /* widget size */
2975 GX_NULL, /* no next widget */
2976 &yoga_screen_progress_val_define, /* child widget definition */
2977 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_icon_18), /* control block */
2978 (void *) &yoga_screen_icon_18_properties /* extended properties */
2979 };
2980
2981 GX_CONST GX_STUDIO_WIDGET yoga_screen_progress_define =
2982 {
2983 "progress",
2984 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
2985 GX_ID_NONE, /* widget id */
2986 #if defined(GX_WIDGET_USER_DATA)
2987 0, /* user data */
2988 #endif
2989 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
2990 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
2991 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
2992 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
2993 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
2994 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
2995 gx_studio_radial_progress_bar_create, /* create function */
2996 GX_NULL, /* drawing function override */
2997 GX_NULL, /* event function override */
2998 {207, 120, 433, 346}, /* widget size */
2999 &yoga_screen_icon_18_define, /* next widget definition */
3000 &yoga_screen_calories_burned_define, /* child widget definition */
3001 offsetof(YOGA_SCREEN_CONTROL_BLOCK, yoga_screen_progress), /* control block */
3002 (void *) &yoga_screen_progress_properties /* extended properties */
3003 };
3004
3005 GX_CONST GX_STUDIO_WIDGET yoga_screen_define =
3006 {
3007 "yoga_screen",
3008 GX_TYPE_TEMPLATE, /* widget type */
3009 GX_ID_NONE, /* widget id */
3010 #if defined(GX_WIDGET_USER_DATA)
3011 0, /* user data */
3012 #endif
3013 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
3014 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3015 sizeof(YOGA_SCREEN_CONTROL_BLOCK), /* control block size */
3016 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
3017 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
3018 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3019 gx_studio_template_create, /* create function */
3020 GX_NULL, /* drawing function override */
3021 (UINT (*)(GX_WIDGET *, GX_EVENT *)) yoga_screen_event_process, /* event function override */
3022 {191, 95, 448, 383}, /* widget size */
3023 GX_NULL, /* next widget */
3024 &yoga_screen_progress_define, /* child widget */
3025 0, /* control block */
3026 (void *) &yoga_screen_properties /* extended properties */
3027 };
3028 GX_TEMPLATE_PROPERTIES stand_screen_properties =
3029 {
3030 &screen_template_define, /* base info */
3031 gx_studio_window_create, /* base create function */
3032 {191, 95, 448, 383} /* widget size */
3033 };
3034 GX_RADIAL_PROGRESS_BAR_INFO stand_screen_progress_properties =
3035 {
3036 322, /* xcenter */
3037 251, /* ycenter */
3038 98, /* radius */
3039 -288, /* current val */
3040 90, /* anchor val */
3041 GX_FONT_ID_SYSTEM, /* font_id */
3042 GX_COLOR_ID_TEXT, /* normal text color */
3043 GX_COLOR_ID_TEXT, /* selected text color */
3044 GX_COLOR_ID_TEXT, /* disabled text color */
3045 30, /* normal brush width */
3046 30, /* selected brush width */
3047 GX_COLOR_ID_DARK_BLUE, /* normal brush color */
3048 GX_COLOR_ID_BLUE, /* selected brush color */
3049 };
3050 GX_ICON_PROPERTIES stand_screen_divide_line_properties =
3051 {
3052 GX_PIXELMAP_ID_LINE_CALORIES_GREEN, /* normal pixelmap id */
3053 0 /* selected pixelmap id */
3054 };
3055 GX_ICON_PROPERTIES stand_screen_stand_icon_properties =
3056 {
3057 GX_PIXELMAP_ID_ICON_STAND_BLUE, /* normal pixelmap id */
3058 0 /* selected pixelmap id */
3059 };
3060 GX_PROMPT_PROPERTIES stand_screen_min_label_properties =
3061 {
3062 GX_STRING_ID_STRING_17, /* string id */
3063 GX_FONT_ID_PROMPT, /* font id */
3064 GX_COLOR_ID_GRAY, /* normal text color */
3065 GX_COLOR_ID_GRAY, /* selected text color */
3066 GX_COLOR_ID_GRAY /* disabled text color */
3067 };
3068 GX_ICON_PROPERTIES stand_screen_clock_icon_properties =
3069 {
3070 GX_PIXELMAP_ID_ICON_CLOCK, /* normal pixelmap id */
3071 0 /* selected pixelmap id */
3072 };
3073 GX_NUMERIC_PROMPT_PROPERTIES stand_screen_stand_minute_target_properties =
3074 {
3075 0, /* string id */
3076 GX_FONT_ID_MIDIUM, /* font id */
3077 GX_COLOR_ID_GRAY, /* normal text color */
3078 GX_COLOR_ID_GRAY, /* selected text color */
3079 GX_COLOR_ID_GRAY, /* disabled text color */
3080 time_format, /* format function */
3081 28 /* numeric prompt value */
3082 };
3083 GX_PROMPT_PROPERTIES stand_screen_prompt_22_properties =
3084 {
3085 GX_STRING_ID_STRING_6, /* string id */
3086 GX_FONT_ID_MIDIUM, /* font id */
3087 GX_COLOR_ID_GRAY, /* normal text color */
3088 GX_COLOR_ID_GRAY, /* selected text color */
3089 GX_COLOR_ID_GRAY /* disabled text color */
3090 };
3091 GX_NUMERIC_PROMPT_PROPERTIES stand_screen_stand_hour_target_properties =
3092 {
3093 0, /* string id */
3094 GX_FONT_ID_MIDIUM, /* font id */
3095 GX_COLOR_ID_GRAY, /* normal text color */
3096 GX_COLOR_ID_GRAY, /* selected text color */
3097 GX_COLOR_ID_GRAY, /* disabled text color */
3098 GX_NULL, /* format function */
3099 52 /* numeric prompt value */
3100 };
3101 GX_ICON_PROPERTIES stand_screen_icon_8_properties =
3102 {
3103 GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
3104 0 /* selected pixelmap id */
3105 };
3106 GX_NUMERIC_PROMPT_PROPERTIES stand_screen_stand_hour_properties =
3107 {
3108 0, /* string id */
3109 GX_FONT_ID_NUMBER, /* font id */
3110 GX_COLOR_ID_WHITE, /* normal text color */
3111 GX_COLOR_ID_WHITE, /* selected text color */
3112 GX_COLOR_ID_WHITE, /* disabled text color */
3113 GX_NULL, /* format function */
3114 4 /* numeric prompt value */
3115 };
3116 GX_NUMERIC_PROMPT_PROPERTIES stand_screen_stand_minute_properties =
3117 {
3118 0, /* string id */
3119 GX_FONT_ID_NUMBER, /* font id */
3120 GX_COLOR_ID_WHITE, /* normal text color */
3121 GX_COLOR_ID_WHITE, /* selected text color */
3122 GX_COLOR_ID_WHITE, /* disabled text color */
3123 time_format, /* format function */
3124 65 /* numeric prompt value */
3125 };
3126 GX_ICON_PROPERTIES stand_screen_icon_properties =
3127 {
3128 GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
3129 0 /* selected pixelmap id */
3130 };
3131 GX_ICON_PROPERTIES stand_screen_icon_15_properties =
3132 {
3133 GX_PIXELMAP_ID_BALL_RANGE_STAND, /* normal pixelmap id */
3134 0 /* selected pixelmap id */
3135 };
3136 GX_NUMERIC_PROMPT_PROPERTIES stand_screen_progress_val_properties =
3137 {
3138 0, /* string id */
3139 GX_FONT_ID_MIDIUM, /* font id */
3140 GX_COLOR_ID_WHITE, /* normal text color */
3141 GX_COLOR_ID_WHITE, /* selected text color */
3142 GX_COLOR_ID_WHITE, /* disabled text color */
3143 GX_NULL, /* format function */
3144 80 /* numeric prompt value */
3145 };
3146 GX_PROMPT_PROPERTIES stand_screen_prompt_16_properties =
3147 {
3148 GX_STRING_ID_STRING_11, /* string id */
3149 GX_FONT_ID_PROMPT, /* font id */
3150 GX_COLOR_ID_WHITE, /* normal text color */
3151 GX_COLOR_ID_WHITE, /* selected text color */
3152 GX_COLOR_ID_WHITE /* disabled text color */
3153 };
3154
3155 GX_CONST GX_STUDIO_WIDGET stand_screen_icon_define =
3156 {
3157 "icon",
3158 GX_TYPE_ICON, /* widget type */
3159 GX_ID_NONE, /* widget id */
3160 #if defined(GX_WIDGET_USER_DATA)
3161 0, /* user data */
3162 #endif
3163 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
3164 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3165 sizeof(GX_ICON), /* control block size */
3166 GX_COLOR_ID_WHITE, /* normal color id */
3167 GX_COLOR_ID_WHITE, /* selected color id */
3168 GX_COLOR_ID_WHITE, /* disabled color id */
3169 gx_studio_icon_create, /* create function */
3170 GX_NULL, /* drawing function override */
3171 GX_NULL, /* event function override */
3172 {297, 251, 301, 255}, /* widget size */
3173 GX_NULL, /* no next widget */
3174 GX_NULL, /* no child widgets */
3175 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_icon), /* control block */
3176 (void *) &stand_screen_icon_properties /* extended properties */
3177 };
3178
3179 GX_CONST GX_STUDIO_WIDGET stand_screen_stand_minute_define =
3180 {
3181 "stand_minute",
3182 GX_TYPE_NUMERIC_PROMPT, /* widget type */
3183 GX_ID_NONE, /* widget id */
3184 #if defined(GX_WIDGET_USER_DATA)
3185 0, /* user data */
3186 #endif
3187 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
3188 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3189 sizeof(GX_NUMERIC_PROMPT), /* control block size */
3190 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3191 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3192 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3193 gx_studio_numeric_prompt_create, /* create function */
3194 GX_NULL, /* drawing function override */
3195 GX_NULL, /* event function override */
3196 {304, 240, 367, 281}, /* widget size */
3197 &stand_screen_icon_define, /* next widget definition */
3198 GX_NULL, /* no child widgets */
3199 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_stand_minute), /* control block */
3200 (void *) &stand_screen_stand_minute_properties /* extended properties */
3201 };
3202
3203 GX_CONST GX_STUDIO_WIDGET stand_screen_stand_hour_define =
3204 {
3205 "stand_hour",
3206 GX_TYPE_NUMERIC_PROMPT, /* widget type */
3207 GX_ID_NONE, /* widget id */
3208 #if defined(GX_WIDGET_USER_DATA)
3209 0, /* user data */
3210 #endif
3211 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
3212 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3213 sizeof(GX_NUMERIC_PROMPT), /* control block size */
3214 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3215 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3216 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3217 gx_studio_numeric_prompt_create, /* create function */
3218 GX_NULL, /* drawing function override */
3219 GX_NULL, /* event function override */
3220 {252, 241, 294, 282}, /* widget size */
3221 &stand_screen_stand_minute_define, /* next widget definition */
3222 GX_NULL, /* no child widgets */
3223 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_stand_hour), /* control block */
3224 (void *) &stand_screen_stand_hour_properties /* extended properties */
3225 };
3226
3227 GX_CONST GX_STUDIO_WIDGET stand_screen_icon_8_define =
3228 {
3229 "icon_8",
3230 GX_TYPE_ICON, /* widget type */
3231 GX_ID_NONE, /* widget id */
3232 #if defined(GX_WIDGET_USER_DATA)
3233 0, /* user data */
3234 #endif
3235 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
3236 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3237 sizeof(GX_ICON), /* control block size */
3238 GX_COLOR_ID_WHITE, /* normal color id */
3239 GX_COLOR_ID_WHITE, /* selected color id */
3240 GX_COLOR_ID_WHITE, /* disabled color id */
3241 gx_studio_icon_create, /* create function */
3242 GX_NULL, /* drawing function override */
3243 GX_NULL, /* event function override */
3244 {297, 268, 301, 272}, /* widget size */
3245 &stand_screen_stand_hour_define, /* next widget definition */
3246 GX_NULL, /* no child widgets */
3247 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_icon_8), /* control block */
3248 (void *) &stand_screen_icon_8_properties /* extended properties */
3249 };
3250
3251 GX_CONST GX_STUDIO_WIDGET stand_screen_stand_hour_target_define =
3252 {
3253 "stand_hour_target",
3254 GX_TYPE_NUMERIC_PROMPT, /* widget type */
3255 GX_ID_NONE, /* widget id */
3256 #if defined(GX_WIDGET_USER_DATA)
3257 0, /* user data */
3258 #endif
3259 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
3260 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3261 sizeof(GX_NUMERIC_PROMPT), /* control block size */
3262 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3263 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3264 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3265 gx_studio_numeric_prompt_create, /* create function */
3266 GX_NULL, /* drawing function override */
3267 GX_NULL, /* event function override */
3268 {282, 290, 319, 320}, /* widget size */
3269 &stand_screen_icon_8_define, /* next widget definition */
3270 GX_NULL, /* no child widgets */
3271 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_stand_hour_target), /* control block */
3272 (void *) &stand_screen_stand_hour_target_properties /* extended properties */
3273 };
3274
3275 GX_CONST GX_STUDIO_WIDGET stand_screen_prompt_22_define =
3276 {
3277 "prompt_22",
3278 GX_TYPE_PROMPT, /* widget type */
3279 GX_ID_NONE, /* widget id */
3280 #if defined(GX_WIDGET_USER_DATA)
3281 0, /* user data */
3282 #endif
3283 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
3284 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3285 sizeof(GX_PROMPT), /* control block size */
3286 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3287 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3288 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3289 gx_studio_prompt_create, /* create function */
3290 GX_NULL, /* drawing function override */
3291 GX_NULL, /* event function override */
3292 {316, 290, 325, 320}, /* widget size */
3293 &stand_screen_stand_hour_target_define, /* next widget definition */
3294 GX_NULL, /* no child widgets */
3295 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_prompt_22), /* control block */
3296 (void *) &stand_screen_prompt_22_properties /* extended properties */
3297 };
3298
3299 GX_CONST GX_STUDIO_WIDGET stand_screen_stand_minute_target_define =
3300 {
3301 "stand_minute_target",
3302 GX_TYPE_NUMERIC_PROMPT, /* widget type */
3303 GX_ID_NONE, /* widget id */
3304 #if defined(GX_WIDGET_USER_DATA)
3305 0, /* user data */
3306 #endif
3307 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
3308 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3309 sizeof(GX_NUMERIC_PROMPT), /* control block size */
3310 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3311 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3312 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3313 gx_studio_numeric_prompt_create, /* create function */
3314 GX_NULL, /* drawing function override */
3315 GX_NULL, /* event function override */
3316 {322, 290, 359, 320}, /* widget size */
3317 &stand_screen_prompt_22_define, /* next widget definition */
3318 GX_NULL, /* no child widgets */
3319 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_stand_minute_target), /* control block */
3320 (void *) &stand_screen_stand_minute_target_properties /* extended properties */
3321 };
3322
3323 GX_CONST GX_STUDIO_WIDGET stand_screen_clock_icon_define =
3324 {
3325 "clock_icon",
3326 GX_TYPE_ICON, /* widget type */
3327 GX_ID_NONE, /* widget id */
3328 #if defined(GX_WIDGET_USER_DATA)
3329 0, /* user data */
3330 #endif
3331 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
3332 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3333 sizeof(GX_ICON), /* control block size */
3334 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3335 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3336 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3337 gx_studio_icon_create, /* create function */
3338 GX_NULL, /* drawing function override */
3339 GX_NULL, /* event function override */
3340 {372, 240, 387, 255}, /* widget size */
3341 &stand_screen_stand_minute_target_define, /* next widget definition */
3342 GX_NULL, /* no child widgets */
3343 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_clock_icon), /* control block */
3344 (void *) &stand_screen_clock_icon_properties /* extended properties */
3345 };
3346
3347 GX_CONST GX_STUDIO_WIDGET stand_screen_min_label_define =
3348 {
3349 "min_label",
3350 GX_TYPE_PROMPT, /* widget type */
3351 GX_ID_NONE, /* widget id */
3352 #if defined(GX_WIDGET_USER_DATA)
3353 0, /* user data */
3354 #endif
3355 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
3356 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3357 sizeof(GX_PROMPT), /* control block size */
3358 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3359 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3360 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3361 gx_studio_prompt_create, /* create function */
3362 GX_NULL, /* drawing function override */
3363 GX_NULL, /* event function override */
3364 {367, 264, 395, 281}, /* widget size */
3365 &stand_screen_clock_icon_define, /* next widget definition */
3366 GX_NULL, /* no child widgets */
3367 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_min_label), /* control block */
3368 (void *) &stand_screen_min_label_properties /* extended properties */
3369 };
3370
3371 GX_CONST GX_STUDIO_WIDGET stand_screen_stand_icon_define =
3372 {
3373 "stand_icon",
3374 GX_TYPE_ICON, /* widget type */
3375 GX_ID_NONE, /* widget id */
3376 #if defined(GX_WIDGET_USER_DATA)
3377 0, /* user data */
3378 #endif
3379 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
3380 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3381 sizeof(GX_ICON), /* control block size */
3382 GX_COLOR_ID_BLUE, /* normal color id */
3383 GX_COLOR_ID_BLUE, /* selected color id */
3384 GX_COLOR_ID_BLUE, /* disabled color id */
3385 gx_studio_icon_create, /* create function */
3386 GX_NULL, /* drawing function override */
3387 GX_NULL, /* event function override */
3388 {304, 175, 329, 235}, /* widget size */
3389 &stand_screen_min_label_define, /* next widget definition */
3390 GX_NULL, /* no child widgets */
3391 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_stand_icon), /* control block */
3392 (void *) &stand_screen_stand_icon_properties /* extended properties */
3393 };
3394
3395 GX_CONST GX_STUDIO_WIDGET stand_screen_divide_line_define =
3396 {
3397 "divide_line",
3398 GX_TYPE_ICON, /* widget type */
3399 GX_ID_NONE, /* widget id */
3400 #if defined(GX_WIDGET_USER_DATA)
3401 0, /* user data */
3402 #endif
3403 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
3404 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3405 sizeof(GX_ICON), /* control block size */
3406 GX_COLOR_ID_BLUE, /* normal color id */
3407 GX_COLOR_ID_BLUE, /* selected color id */
3408 GX_COLOR_ID_BLUE, /* disabled color id */
3409 gx_studio_icon_create, /* create function */
3410 GX_NULL, /* drawing function override */
3411 GX_NULL, /* event function override */
3412 {293, 284, 345, 285}, /* widget size */
3413 &stand_screen_stand_icon_define, /* next widget definition */
3414 GX_NULL, /* no child widgets */
3415 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_divide_line), /* control block */
3416 (void *) &stand_screen_divide_line_properties /* extended properties */
3417 };
3418
3419 GX_CONST GX_STUDIO_WIDGET stand_screen_prompt_16_define =
3420 {
3421 "prompt_16",
3422 GX_TYPE_PROMPT, /* widget type */
3423 GX_ID_NONE, /* widget id */
3424 #if defined(GX_WIDGET_USER_DATA)
3425 0, /* user data */
3426 #endif
3427 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
3428 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3429 sizeof(GX_PROMPT), /* control block size */
3430 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3431 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3432 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3433 gx_studio_prompt_create, /* create function */
3434 GX_NULL, /* drawing function override */
3435 GX_NULL, /* event function override */
3436 {255, 330, 269, 347}, /* widget size */
3437 GX_NULL, /* no next widget */
3438 GX_NULL, /* no child widgets */
3439 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_prompt_16), /* control block */
3440 (void *) &stand_screen_prompt_16_properties /* extended properties */
3441 };
3442
3443 GX_CONST GX_STUDIO_WIDGET stand_screen_progress_val_define =
3444 {
3445 "progress_val",
3446 GX_TYPE_NUMERIC_PROMPT, /* widget type */
3447 GX_ID_NONE, /* widget id */
3448 #if defined(GX_WIDGET_USER_DATA)
3449 0, /* user data */
3450 #endif
3451 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
3452 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3453 sizeof(GX_NUMERIC_PROMPT), /* control block size */
3454 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3455 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3456 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3457 gx_studio_numeric_prompt_create, /* create function */
3458 GX_NULL, /* drawing function override */
3459 GX_NULL, /* event function override */
3460 {219, 332, 256, 362}, /* widget size */
3461 &stand_screen_prompt_16_define, /* next widget definition */
3462 GX_NULL, /* no child widgets */
3463 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_progress_val), /* control block */
3464 (void *) &stand_screen_progress_val_properties /* extended properties */
3465 };
3466
3467 GX_CONST GX_STUDIO_WIDGET stand_screen_icon_15_define =
3468 {
3469 "icon_15",
3470 GX_TYPE_ICON, /* widget type */
3471 GX_ID_NONE, /* widget id */
3472 #if defined(GX_WIDGET_USER_DATA)
3473 0, /* user data */
3474 #endif
3475 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
3476 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3477 sizeof(GX_ICON), /* control block size */
3478 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3479 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3480 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3481 gx_studio_icon_create, /* create function */
3482 GX_NULL, /* drawing function override */
3483 GX_NULL, /* event function override */
3484 {207, 309, 274, 376}, /* widget size */
3485 GX_NULL, /* no next widget */
3486 &stand_screen_progress_val_define, /* child widget definition */
3487 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_icon_15), /* control block */
3488 (void *) &stand_screen_icon_15_properties /* extended properties */
3489 };
3490
3491 GX_CONST GX_STUDIO_WIDGET stand_screen_progress_define =
3492 {
3493 "progress",
3494 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
3495 GX_ID_NONE, /* widget id */
3496 #if defined(GX_WIDGET_USER_DATA)
3497 0, /* user data */
3498 #endif
3499 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
3500 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3501 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
3502 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3503 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3504 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3505 gx_studio_radial_progress_bar_create, /* create function */
3506 GX_NULL, /* drawing function override */
3507 GX_NULL, /* event function override */
3508 {207, 120, 433, 346}, /* widget size */
3509 &stand_screen_icon_15_define, /* next widget definition */
3510 &stand_screen_divide_line_define, /* child widget definition */
3511 offsetof(STAND_SCREEN_CONTROL_BLOCK, stand_screen_progress), /* control block */
3512 (void *) &stand_screen_progress_properties /* extended properties */
3513 };
3514
3515 GX_CONST GX_STUDIO_WIDGET stand_screen_define =
3516 {
3517 "stand_screen",
3518 GX_TYPE_TEMPLATE, /* widget type */
3519 ID_STAND_SCREEN, /* widget id */
3520 #if defined(GX_WIDGET_USER_DATA)
3521 0, /* user data */
3522 #endif
3523 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
3524 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3525 sizeof(STAND_SCREEN_CONTROL_BLOCK), /* control block size */
3526 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
3527 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
3528 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3529 gx_studio_template_create, /* create function */
3530 GX_NULL, /* drawing function override */
3531 (UINT (*)(GX_WIDGET *, GX_EVENT *)) stand_screen_event_process, /* event function override */
3532 {191, 95, 448, 383}, /* widget size */
3533 GX_NULL, /* next widget */
3534 &stand_screen_progress_define, /* child widget */
3535 0, /* control block */
3536 (void *) &stand_screen_properties /* extended properties */
3537 };
3538 GX_TEMPLATE_PROPERTIES run_screen_properties =
3539 {
3540 &screen_template_define, /* base info */
3541 gx_studio_window_create, /* base create function */
3542 {191, 95, 448, 383} /* widget size */
3543 };
3544 GX_RADIAL_PROGRESS_BAR_INFO run_screen_progress_properties =
3545 {
3546 322, /* xcenter */
3547 251, /* ycenter */
3548 98, /* radius */
3549 -288, /* current val */
3550 90, /* anchor val */
3551 GX_FONT_ID_SYSTEM, /* font_id */
3552 GX_COLOR_ID_TEXT, /* normal text color */
3553 GX_COLOR_ID_TEXT, /* selected text color */
3554 GX_COLOR_ID_TEXT, /* disabled text color */
3555 30, /* normal brush width */
3556 30, /* selected brush width */
3557 GX_COLOR_ID_YELLOW_BG, /* normal brush color */
3558 GX_COLOR_ID_YELLOW, /* selected brush color */
3559 };
3560 GX_NUMERIC_PROMPT_PROPERTIES run_screen_running_distance_properties =
3561 {
3562 0, /* string id */
3563 GX_FONT_ID_NUMBER, /* font id */
3564 GX_COLOR_ID_WHITE, /* normal text color */
3565 GX_COLOR_ID_WHITE, /* selected text color */
3566 GX_COLOR_ID_WHITE, /* disabled text color */
3567 GX_NULL, /* format function */
3568 4 /* numeric prompt value */
3569 };
3570 GX_NUMERIC_PROMPT_PROPERTIES run_screen_running_minutes_properties =
3571 {
3572 0, /* string id */
3573 GX_FONT_ID_MIDIUM, /* font id */
3574 GX_COLOR_ID_GRAY, /* normal text color */
3575 GX_COLOR_ID_GRAY, /* selected text color */
3576 GX_COLOR_ID_GRAY, /* disabled text color */
3577 GX_NULL, /* format function */
3578 52 /* numeric prompt value */
3579 };
3580 GX_ICON_PROPERTIES run_screen_divide_line_properties =
3581 {
3582 GX_PIXELMAP_ID_LINE_CALORIES_GREEN, /* normal pixelmap id */
3583 0 /* selected pixelmap id */
3584 };
3585 GX_ICON_PROPERTIES run_screen_running_icon_properties =
3586 {
3587 GX_PIXELMAP_ID_ICON_RUN_YELLOW, /* normal pixelmap id */
3588 0 /* selected pixelmap id */
3589 };
3590 GX_NUMERIC_PROMPT_PROPERTIES run_screen_running_seconds_properties =
3591 {
3592 0, /* string id */
3593 GX_FONT_ID_MIDIUM, /* font id */
3594 GX_COLOR_ID_GRAY, /* normal text color */
3595 GX_COLOR_ID_GRAY, /* selected text color */
3596 GX_COLOR_ID_GRAY, /* disabled text color */
3597 GX_NULL, /* format function */
3598 28 /* numeric prompt value */
3599 };
3600 GX_PROMPT_PROPERTIES run_screen_second_label_properties =
3601 {
3602 GX_STRING_ID_STRING_6, /* string id */
3603 GX_FONT_ID_MIDIUM, /* font id */
3604 GX_COLOR_ID_GRAY, /* normal text color */
3605 GX_COLOR_ID_GRAY, /* selected text color */
3606 GX_COLOR_ID_GRAY /* disabled text color */
3607 };
3608 GX_ICON_PROPERTIES run_screen_distance_icon_properties =
3609 {
3610 GX_PIXELMAP_ID_ICON_DISTANCE, /* normal pixelmap id */
3611 0 /* selected pixelmap id */
3612 };
3613 GX_PROMPT_PROPERTIES run_screen_mile_label_properties =
3614 {
3615 GX_STRING_ID_STRING_8, /* string id */
3616 GX_FONT_ID_NORMAL, /* font id */
3617 GX_COLOR_ID_GRAY, /* normal text color */
3618 GX_COLOR_ID_GRAY, /* selected text color */
3619 GX_COLOR_ID_GRAY /* disabled text color */
3620 };
3621 GX_NUMERIC_PROMPT_PROPERTIES run_screen_running_distance_fraction_part_properties =
3622 {
3623 0, /* string id */
3624 GX_FONT_ID_NUMBER, /* font id */
3625 GX_COLOR_ID_WHITE, /* normal text color */
3626 GX_COLOR_ID_WHITE, /* selected text color */
3627 GX_COLOR_ID_WHITE, /* disabled text color */
3628 time_format, /* format function */
3629 65 /* numeric prompt value */
3630 };
3631 GX_ICON_PROPERTIES run_screen_icon_8_properties =
3632 {
3633 GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
3634 0 /* selected pixelmap id */
3635 };
3636 GX_ICON_PROPERTIES run_screen_icon_12_properties =
3637 {
3638 GX_PIXELMAP_ID_BALL_RANGE_RUN, /* normal pixelmap id */
3639 0 /* selected pixelmap id */
3640 };
3641 GX_NUMERIC_PROMPT_PROPERTIES run_screen_progress_val_properties =
3642 {
3643 0, /* string id */
3644 GX_FONT_ID_MIDIUM, /* font id */
3645 GX_COLOR_ID_WHITE, /* normal text color */
3646 GX_COLOR_ID_WHITE, /* selected text color */
3647 GX_COLOR_ID_WHITE, /* disabled text color */
3648 GX_NULL, /* format function */
3649 80 /* numeric prompt value */
3650 };
3651 GX_PROMPT_PROPERTIES run_screen_prompt_14_properties =
3652 {
3653 GX_STRING_ID_STRING_11, /* string id */
3654 GX_FONT_ID_PROMPT, /* font id */
3655 GX_COLOR_ID_WHITE, /* normal text color */
3656 GX_COLOR_ID_WHITE, /* selected text color */
3657 GX_COLOR_ID_WHITE /* disabled text color */
3658 };
3659
3660 GX_CONST GX_STUDIO_WIDGET run_screen_icon_8_define =
3661 {
3662 "icon_8",
3663 GX_TYPE_ICON, /* widget type */
3664 GX_ID_NONE, /* widget id */
3665 #if defined(GX_WIDGET_USER_DATA)
3666 0, /* user data */
3667 #endif
3668 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
3669 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3670 sizeof(GX_ICON), /* control block size */
3671 GX_COLOR_ID_WHITE, /* normal color id */
3672 GX_COLOR_ID_WHITE, /* selected color id */
3673 GX_COLOR_ID_WHITE, /* disabled color id */
3674 gx_studio_icon_create, /* create function */
3675 GX_NULL, /* drawing function override */
3676 GX_NULL, /* event function override */
3677 {299, 270, 303, 274}, /* widget size */
3678 GX_NULL, /* no next widget */
3679 GX_NULL, /* no child widgets */
3680 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_icon_8), /* control block */
3681 (void *) &run_screen_icon_8_properties /* extended properties */
3682 };
3683
3684 GX_CONST GX_STUDIO_WIDGET run_screen_running_distance_fraction_part_define =
3685 {
3686 "running_distance_fraction_part",
3687 GX_TYPE_NUMERIC_PROMPT, /* widget type */
3688 GX_ID_NONE, /* widget id */
3689 #if defined(GX_WIDGET_USER_DATA)
3690 0, /* user data */
3691 #endif
3692 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
3693 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3694 sizeof(GX_NUMERIC_PROMPT), /* control block size */
3695 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3696 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3697 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3698 gx_studio_numeric_prompt_create, /* create function */
3699 GX_NULL, /* drawing function override */
3700 GX_NULL, /* event function override */
3701 {304, 235, 367, 276}, /* widget size */
3702 &run_screen_icon_8_define, /* next widget definition */
3703 GX_NULL, /* no child widgets */
3704 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_running_distance_fraction_part), /* control block */
3705 (void *) &run_screen_running_distance_fraction_part_properties /* extended properties */
3706 };
3707
3708 GX_CONST GX_STUDIO_WIDGET run_screen_mile_label_define =
3709 {
3710 "mile_label",
3711 GX_TYPE_PROMPT, /* widget type */
3712 GX_ID_NONE, /* widget id */
3713 #if defined(GX_WIDGET_USER_DATA)
3714 0, /* user data */
3715 #endif
3716 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
3717 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3718 sizeof(GX_PROMPT), /* control block size */
3719 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3720 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3721 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3722 gx_studio_prompt_create, /* create function */
3723 GX_NULL, /* drawing function override */
3724 GX_NULL, /* event function override */
3725 {367, 262, 391, 282}, /* widget size */
3726 &run_screen_running_distance_fraction_part_define, /* next widget definition */
3727 GX_NULL, /* no child widgets */
3728 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_mile_label), /* control block */
3729 (void *) &run_screen_mile_label_properties /* extended properties */
3730 };
3731
3732 GX_CONST GX_STUDIO_WIDGET run_screen_distance_icon_define =
3733 {
3734 "distance_icon",
3735 GX_TYPE_ICON, /* widget type */
3736 GX_ID_NONE, /* widget id */
3737 #if defined(GX_WIDGET_USER_DATA)
3738 0, /* user data */
3739 #endif
3740 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
3741 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3742 sizeof(GX_ICON), /* control block size */
3743 GX_COLOR_ID_YELLOW, /* normal color id */
3744 GX_COLOR_ID_YELLOW, /* selected color id */
3745 GX_COLOR_ID_YELLOW, /* disabled color id */
3746 gx_studio_icon_create, /* create function */
3747 GX_NULL, /* drawing function override */
3748 GX_NULL, /* event function override */
3749 {367, 234, 382, 255}, /* widget size */
3750 &run_screen_mile_label_define, /* next widget definition */
3751 GX_NULL, /* no child widgets */
3752 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_distance_icon), /* control block */
3753 (void *) &run_screen_distance_icon_properties /* extended properties */
3754 };
3755
3756 GX_CONST GX_STUDIO_WIDGET run_screen_second_label_define =
3757 {
3758 "second_label",
3759 GX_TYPE_PROMPT, /* widget type */
3760 GX_ID_NONE, /* widget id */
3761 #if defined(GX_WIDGET_USER_DATA)
3762 0, /* user data */
3763 #endif
3764 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
3765 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3766 sizeof(GX_PROMPT), /* control block size */
3767 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3768 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3769 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3770 gx_studio_prompt_create, /* create function */
3771 GX_NULL, /* drawing function override */
3772 GX_NULL, /* event function override */
3773 {317, 288, 326, 318}, /* widget size */
3774 &run_screen_distance_icon_define, /* next widget definition */
3775 GX_NULL, /* no child widgets */
3776 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_second_label), /* control block */
3777 (void *) &run_screen_second_label_properties /* extended properties */
3778 };
3779
3780 GX_CONST GX_STUDIO_WIDGET run_screen_running_seconds_define =
3781 {
3782 "running_seconds",
3783 GX_TYPE_NUMERIC_PROMPT, /* widget type */
3784 GX_ID_NONE, /* widget id */
3785 #if defined(GX_WIDGET_USER_DATA)
3786 0, /* user data */
3787 #endif
3788 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
3789 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3790 sizeof(GX_NUMERIC_PROMPT), /* control block size */
3791 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3792 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3793 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3794 gx_studio_numeric_prompt_create, /* create function */
3795 GX_NULL, /* drawing function override */
3796 GX_NULL, /* event function override */
3797 {323, 290, 360, 320}, /* widget size */
3798 &run_screen_second_label_define, /* next widget definition */
3799 GX_NULL, /* no child widgets */
3800 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_running_seconds), /* control block */
3801 (void *) &run_screen_running_seconds_properties /* extended properties */
3802 };
3803
3804 GX_CONST GX_STUDIO_WIDGET run_screen_running_icon_define =
3805 {
3806 "running_icon",
3807 GX_TYPE_ICON, /* widget type */
3808 GX_ID_NONE, /* widget id */
3809 #if defined(GX_WIDGET_USER_DATA)
3810 0, /* user data */
3811 #endif
3812 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
3813 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3814 sizeof(GX_ICON), /* control block size */
3815 GX_COLOR_ID_YELLOW, /* normal color id */
3816 GX_COLOR_ID_YELLOW, /* selected color id */
3817 GX_COLOR_ID_YELLOW, /* disabled color id */
3818 gx_studio_icon_create, /* create function */
3819 GX_NULL, /* drawing function override */
3820 GX_NULL, /* event function override */
3821 {291, 177, 347, 230}, /* widget size */
3822 &run_screen_running_seconds_define, /* next widget definition */
3823 GX_NULL, /* no child widgets */
3824 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_running_icon), /* control block */
3825 (void *) &run_screen_running_icon_properties /* extended properties */
3826 };
3827
3828 GX_CONST GX_STUDIO_WIDGET run_screen_divide_line_define =
3829 {
3830 "divide_line",
3831 GX_TYPE_ICON, /* widget type */
3832 GX_ID_NONE, /* widget id */
3833 #if defined(GX_WIDGET_USER_DATA)
3834 0, /* user data */
3835 #endif
3836 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
3837 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3838 sizeof(GX_ICON), /* control block size */
3839 GX_COLOR_ID_YELLOW, /* normal color id */
3840 GX_COLOR_ID_YELLOW, /* selected color id */
3841 GX_COLOR_ID_YELLOW, /* disabled color id */
3842 gx_studio_icon_create, /* create function */
3843 GX_NULL, /* drawing function override */
3844 GX_NULL, /* event function override */
3845 {293, 281, 345, 282}, /* widget size */
3846 &run_screen_running_icon_define, /* next widget definition */
3847 GX_NULL, /* no child widgets */
3848 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_divide_line), /* control block */
3849 (void *) &run_screen_divide_line_properties /* extended properties */
3850 };
3851
3852 GX_CONST GX_STUDIO_WIDGET run_screen_running_minutes_define =
3853 {
3854 "running_minutes",
3855 GX_TYPE_NUMERIC_PROMPT, /* widget type */
3856 GX_ID_NONE, /* widget id */
3857 #if defined(GX_WIDGET_USER_DATA)
3858 0, /* user data */
3859 #endif
3860 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
3861 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3862 sizeof(GX_NUMERIC_PROMPT), /* control block size */
3863 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3864 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3865 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3866 gx_studio_numeric_prompt_create, /* create function */
3867 GX_NULL, /* drawing function override */
3868 GX_NULL, /* event function override */
3869 {284, 290, 321, 320}, /* widget size */
3870 &run_screen_divide_line_define, /* next widget definition */
3871 GX_NULL, /* no child widgets */
3872 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_running_minutes), /* control block */
3873 (void *) &run_screen_running_minutes_properties /* extended properties */
3874 };
3875
3876 GX_CONST GX_STUDIO_WIDGET run_screen_running_distance_define =
3877 {
3878 "running_distance",
3879 GX_TYPE_NUMERIC_PROMPT, /* widget type */
3880 GX_ID_NONE, /* widget id */
3881 #if defined(GX_WIDGET_USER_DATA)
3882 0, /* user data */
3883 #endif
3884 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
3885 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3886 sizeof(GX_NUMERIC_PROMPT), /* control block size */
3887 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3888 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3889 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3890 gx_studio_numeric_prompt_create, /* create function */
3891 GX_NULL, /* drawing function override */
3892 GX_NULL, /* event function override */
3893 {257, 236, 299, 277}, /* widget size */
3894 &run_screen_running_minutes_define, /* next widget definition */
3895 GX_NULL, /* no child widgets */
3896 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_running_distance), /* control block */
3897 (void *) &run_screen_running_distance_properties /* extended properties */
3898 };
3899
3900 GX_CONST GX_STUDIO_WIDGET run_screen_prompt_14_define =
3901 {
3902 "prompt_14",
3903 GX_TYPE_PROMPT, /* widget type */
3904 GX_ID_NONE, /* widget id */
3905 #if defined(GX_WIDGET_USER_DATA)
3906 0, /* user data */
3907 #endif
3908 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
3909 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3910 sizeof(GX_PROMPT), /* control block size */
3911 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3912 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3913 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3914 gx_studio_prompt_create, /* create function */
3915 GX_NULL, /* drawing function override */
3916 GX_NULL, /* event function override */
3917 {255, 330, 269, 347}, /* widget size */
3918 GX_NULL, /* no next widget */
3919 GX_NULL, /* no child widgets */
3920 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_prompt_14), /* control block */
3921 (void *) &run_screen_prompt_14_properties /* extended properties */
3922 };
3923
3924 GX_CONST GX_STUDIO_WIDGET run_screen_progress_val_define =
3925 {
3926 "progress_val",
3927 GX_TYPE_NUMERIC_PROMPT, /* widget type */
3928 GX_ID_NONE, /* widget id */
3929 #if defined(GX_WIDGET_USER_DATA)
3930 0, /* user data */
3931 #endif
3932 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
3933 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3934 sizeof(GX_NUMERIC_PROMPT), /* control block size */
3935 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3936 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3937 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3938 gx_studio_numeric_prompt_create, /* create function */
3939 GX_NULL, /* drawing function override */
3940 GX_NULL, /* event function override */
3941 {219, 332, 256, 362}, /* widget size */
3942 &run_screen_prompt_14_define, /* next widget definition */
3943 GX_NULL, /* no child widgets */
3944 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_progress_val), /* control block */
3945 (void *) &run_screen_progress_val_properties /* extended properties */
3946 };
3947
3948 GX_CONST GX_STUDIO_WIDGET run_screen_icon_12_define =
3949 {
3950 "icon_12",
3951 GX_TYPE_ICON, /* widget type */
3952 GX_ID_NONE, /* widget id */
3953 #if defined(GX_WIDGET_USER_DATA)
3954 0, /* user data */
3955 #endif
3956 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
3957 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3958 sizeof(GX_ICON), /* control block size */
3959 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3960 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3961 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3962 gx_studio_icon_create, /* create function */
3963 GX_NULL, /* drawing function override */
3964 GX_NULL, /* event function override */
3965 {207, 309, 274, 376}, /* widget size */
3966 GX_NULL, /* no next widget */
3967 &run_screen_progress_val_define, /* child widget definition */
3968 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_icon_12), /* control block */
3969 (void *) &run_screen_icon_12_properties /* extended properties */
3970 };
3971
3972 GX_CONST GX_STUDIO_WIDGET run_screen_progress_define =
3973 {
3974 "progress",
3975 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
3976 GX_ID_NONE, /* widget id */
3977 #if defined(GX_WIDGET_USER_DATA)
3978 0, /* user data */
3979 #endif
3980 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
3981 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
3982 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
3983 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
3984 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
3985 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
3986 gx_studio_radial_progress_bar_create, /* create function */
3987 GX_NULL, /* drawing function override */
3988 GX_NULL, /* event function override */
3989 {207, 120, 433, 346}, /* widget size */
3990 &run_screen_icon_12_define, /* next widget definition */
3991 &run_screen_running_distance_define, /* child widget definition */
3992 offsetof(RUN_SCREEN_CONTROL_BLOCK, run_screen_progress), /* control block */
3993 (void *) &run_screen_progress_properties /* extended properties */
3994 };
3995
3996 GX_CONST GX_STUDIO_WIDGET run_screen_define =
3997 {
3998 "run_screen",
3999 GX_TYPE_TEMPLATE, /* widget type */
4000 ID_RUN_SCREEN, /* widget id */
4001 #if defined(GX_WIDGET_USER_DATA)
4002 0, /* user data */
4003 #endif
4004 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
4005 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4006 sizeof(RUN_SCREEN_CONTROL_BLOCK), /* control block size */
4007 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
4008 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
4009 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4010 gx_studio_template_create, /* create function */
4011 GX_NULL, /* drawing function override */
4012 (UINT (*)(GX_WIDGET *, GX_EVENT *)) run_screen_event_process, /* event function override */
4013 {191, 95, 448, 383}, /* widget size */
4014 GX_NULL, /* next widget */
4015 &run_screen_progress_define, /* child widget */
4016 0, /* control block */
4017 (void *) &run_screen_properties /* extended properties */
4018 };
4019 GX_TEMPLATE_PROPERTIES calories_screen_properties =
4020 {
4021 &screen_template_define, /* base info */
4022 gx_studio_window_create, /* base create function */
4023 {191, 95, 448, 383} /* widget size */
4024 };
4025 GX_RADIAL_PROGRESS_BAR_INFO calories_screen_progress_properties =
4026 {
4027 322, /* xcenter */
4028 251, /* ycenter */
4029 98, /* radius */
4030 -288, /* current val */
4031 90, /* anchor val */
4032 GX_FONT_ID_SYSTEM, /* font_id */
4033 GX_COLOR_ID_TEXT, /* normal text color */
4034 GX_COLOR_ID_TEXT, /* selected text color */
4035 GX_COLOR_ID_TEXT, /* disabled text color */
4036 30, /* normal brush width */
4037 30, /* selected brush width */
4038 GX_COLOR_ID_GREEN_BG, /* normal brush color */
4039 GX_COLOR_ID_GREEN, /* selected brush color */
4040 };
4041 GX_NUMERIC_PROMPT_PROPERTIES calories_screen_calories_burned_properties =
4042 {
4043 0, /* string id */
4044 GX_FONT_ID_NUMBER, /* font id */
4045 GX_COLOR_ID_WHITE, /* normal text color */
4046 GX_COLOR_ID_WHITE, /* selected text color */
4047 GX_COLOR_ID_WHITE, /* disabled text color */
4048 GX_NULL, /* format function */
4049 480 /* numeric prompt value */
4050 };
4051 GX_NUMERIC_PROMPT_PROPERTIES calories_screen_calories_burned_target_properties =
4052 {
4053 0, /* string id */
4054 GX_FONT_ID_MIDIUM, /* font id */
4055 GX_COLOR_ID_GRAY, /* normal text color */
4056 GX_COLOR_ID_GRAY, /* selected text color */
4057 GX_COLOR_ID_GRAY, /* disabled text color */
4058 GX_NULL, /* format function */
4059 600 /* numeric prompt value */
4060 };
4061 GX_ICON_PROPERTIES calories_screen_divide_line_properties =
4062 {
4063 GX_PIXELMAP_ID_LINE_CALORIES_GREEN, /* normal pixelmap id */
4064 0 /* selected pixelmap id */
4065 };
4066 GX_ICON_PROPERTIES calories_screen_calories_icon_properties =
4067 {
4068 GX_PIXELMAP_ID_ICON_CALORIES_GREEN, /* normal pixelmap id */
4069 0 /* selected pixelmap id */
4070 };
4071 GX_ICON_PROPERTIES calories_screen_icon_7_properties =
4072 {
4073 GX_PIXELMAP_ID_BALL_RANGE_CALORIES, /* normal pixelmap id */
4074 0 /* selected pixelmap id */
4075 };
4076 GX_NUMERIC_PROMPT_PROPERTIES calories_screen_progress_val_properties =
4077 {
4078 0, /* string id */
4079 GX_FONT_ID_MIDIUM, /* font id */
4080 GX_COLOR_ID_WHITE, /* normal text color */
4081 GX_COLOR_ID_WHITE, /* selected text color */
4082 GX_COLOR_ID_WHITE, /* disabled text color */
4083 GX_NULL, /* format function */
4084 80 /* numeric prompt value */
4085 };
4086 GX_PROMPT_PROPERTIES calories_screen_percent_label_properties =
4087 {
4088 GX_STRING_ID_STRING_11, /* string id */
4089 GX_FONT_ID_PROMPT, /* font id */
4090 GX_COLOR_ID_WHITE, /* normal text color */
4091 GX_COLOR_ID_WHITE, /* selected text color */
4092 GX_COLOR_ID_WHITE /* disabled text color */
4093 };
4094
4095 GX_CONST GX_STUDIO_WIDGET calories_screen_calories_icon_define =
4096 {
4097 "calories_icon",
4098 GX_TYPE_ICON, /* widget type */
4099 GX_ID_NONE, /* widget id */
4100 #if defined(GX_WIDGET_USER_DATA)
4101 0, /* user data */
4102 #endif
4103 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
4104 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4105 sizeof(GX_ICON), /* control block size */
4106 GX_COLOR_ID_GREEN, /* normal color id */
4107 GX_COLOR_ID_GREEN, /* selected color id */
4108 GX_COLOR_ID_GREEN, /* disabled color id */
4109 gx_studio_icon_create, /* create function */
4110 GX_NULL, /* drawing function override */
4111 GX_NULL, /* event function override */
4112 {303, 186, 339, 237}, /* widget size */
4113 GX_NULL, /* no next widget */
4114 GX_NULL, /* no child widgets */
4115 offsetof(CALORIES_SCREEN_CONTROL_BLOCK, calories_screen_calories_icon), /* control block */
4116 (void *) &calories_screen_calories_icon_properties /* extended properties */
4117 };
4118
4119 GX_CONST GX_STUDIO_WIDGET calories_screen_divide_line_define =
4120 {
4121 "divide_line",
4122 GX_TYPE_ICON, /* widget type */
4123 GX_ID_NONE, /* widget id */
4124 #if defined(GX_WIDGET_USER_DATA)
4125 0, /* user data */
4126 #endif
4127 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
4128 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4129 sizeof(GX_ICON), /* control block size */
4130 GX_COLOR_ID_GREEN, /* normal color id */
4131 GX_COLOR_ID_GREEN, /* selected color id */
4132 GX_COLOR_ID_GREEN, /* disabled color id */
4133 gx_studio_icon_create, /* create function */
4134 GX_NULL, /* drawing function override */
4135 GX_NULL, /* event function override */
4136 {295, 291, 347, 292}, /* widget size */
4137 &calories_screen_calories_icon_define, /* next widget definition */
4138 GX_NULL, /* no child widgets */
4139 offsetof(CALORIES_SCREEN_CONTROL_BLOCK, calories_screen_divide_line), /* control block */
4140 (void *) &calories_screen_divide_line_properties /* extended properties */
4141 };
4142
4143 GX_CONST GX_STUDIO_WIDGET calories_screen_calories_burned_target_define =
4144 {
4145 "calories_burned_target",
4146 GX_TYPE_NUMERIC_PROMPT, /* widget type */
4147 GX_ID_NONE, /* widget id */
4148 #if defined(GX_WIDGET_USER_DATA)
4149 0, /* user data */
4150 #endif
4151 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
4152 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4153 sizeof(GX_NUMERIC_PROMPT), /* control block size */
4154 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4155 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4156 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4157 gx_studio_numeric_prompt_create, /* create function */
4158 GX_NULL, /* drawing function override */
4159 GX_NULL, /* event function override */
4160 {293, 296, 349, 326}, /* widget size */
4161 &calories_screen_divide_line_define, /* next widget definition */
4162 GX_NULL, /* no child widgets */
4163 offsetof(CALORIES_SCREEN_CONTROL_BLOCK, calories_screen_calories_burned_target), /* control block */
4164 (void *) &calories_screen_calories_burned_target_properties /* extended properties */
4165 };
4166
4167 GX_CONST GX_STUDIO_WIDGET calories_screen_calories_burned_define =
4168 {
4169 "calories_burned",
4170 GX_TYPE_NUMERIC_PROMPT, /* widget type */
4171 GX_ID_NONE, /* widget id */
4172 #if defined(GX_WIDGET_USER_DATA)
4173 0, /* user data */
4174 #endif
4175 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
4176 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4177 sizeof(GX_NUMERIC_PROMPT), /* control block size */
4178 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4179 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4180 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4181 gx_studio_numeric_prompt_create, /* create function */
4182 GX_NULL, /* drawing function override */
4183 GX_NULL, /* event function override */
4184 {274, 241, 369, 292}, /* widget size */
4185 &calories_screen_calories_burned_target_define, /* next widget definition */
4186 GX_NULL, /* no child widgets */
4187 offsetof(CALORIES_SCREEN_CONTROL_BLOCK, calories_screen_calories_burned), /* control block */
4188 (void *) &calories_screen_calories_burned_properties /* extended properties */
4189 };
4190
4191 GX_CONST GX_STUDIO_WIDGET calories_screen_percent_label_define =
4192 {
4193 "percent_label",
4194 GX_TYPE_PROMPT, /* widget type */
4195 GX_ID_NONE, /* widget id */
4196 #if defined(GX_WIDGET_USER_DATA)
4197 0, /* user data */
4198 #endif
4199 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
4200 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4201 sizeof(GX_PROMPT), /* control block size */
4202 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4203 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4204 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4205 gx_studio_prompt_create, /* create function */
4206 GX_NULL, /* drawing function override */
4207 GX_NULL, /* event function override */
4208 {255, 330, 269, 347}, /* widget size */
4209 GX_NULL, /* no next widget */
4210 GX_NULL, /* no child widgets */
4211 offsetof(CALORIES_SCREEN_CONTROL_BLOCK, calories_screen_percent_label), /* control block */
4212 (void *) &calories_screen_percent_label_properties /* extended properties */
4213 };
4214
4215 GX_CONST GX_STUDIO_WIDGET calories_screen_progress_val_define =
4216 {
4217 "progress_val",
4218 GX_TYPE_NUMERIC_PROMPT, /* widget type */
4219 GX_ID_NONE, /* widget id */
4220 #if defined(GX_WIDGET_USER_DATA)
4221 0, /* user data */
4222 #endif
4223 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
4224 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4225 sizeof(GX_NUMERIC_PROMPT), /* control block size */
4226 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4227 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4228 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4229 gx_studio_numeric_prompt_create, /* create function */
4230 GX_NULL, /* drawing function override */
4231 GX_NULL, /* event function override */
4232 {218, 332, 255, 362}, /* widget size */
4233 &calories_screen_percent_label_define, /* next widget definition */
4234 GX_NULL, /* no child widgets */
4235 offsetof(CALORIES_SCREEN_CONTROL_BLOCK, calories_screen_progress_val), /* control block */
4236 (void *) &calories_screen_progress_val_properties /* extended properties */
4237 };
4238
4239 GX_CONST GX_STUDIO_WIDGET calories_screen_icon_7_define =
4240 {
4241 "icon_7",
4242 GX_TYPE_ICON, /* widget type */
4243 GX_ID_NONE, /* widget id */
4244 #if defined(GX_WIDGET_USER_DATA)
4245 0, /* user data */
4246 #endif
4247 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
4248 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4249 sizeof(GX_ICON), /* control block size */
4250 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4251 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4252 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4253 gx_studio_icon_create, /* create function */
4254 GX_NULL, /* drawing function override */
4255 GX_NULL, /* event function override */
4256 {207, 309, 274, 376}, /* widget size */
4257 GX_NULL, /* no next widget */
4258 &calories_screen_progress_val_define, /* child widget definition */
4259 offsetof(CALORIES_SCREEN_CONTROL_BLOCK, calories_screen_icon_7), /* control block */
4260 (void *) &calories_screen_icon_7_properties /* extended properties */
4261 };
4262
4263 GX_CONST GX_STUDIO_WIDGET calories_screen_progress_define =
4264 {
4265 "progress",
4266 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
4267 GX_ID_NONE, /* widget id */
4268 #if defined(GX_WIDGET_USER_DATA)
4269 0, /* user data */
4270 #endif
4271 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
4272 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4273 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
4274 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4275 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4276 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4277 gx_studio_radial_progress_bar_create, /* create function */
4278 GX_NULL, /* drawing function override */
4279 GX_NULL, /* event function override */
4280 {209, 138, 435, 364}, /* widget size */
4281 &calories_screen_icon_7_define, /* next widget definition */
4282 &calories_screen_calories_burned_define, /* child widget definition */
4283 offsetof(CALORIES_SCREEN_CONTROL_BLOCK, calories_screen_progress), /* control block */
4284 (void *) &calories_screen_progress_properties /* extended properties */
4285 };
4286
4287 GX_CONST GX_STUDIO_WIDGET calories_screen_define =
4288 {
4289 "calories_screen",
4290 GX_TYPE_TEMPLATE, /* widget type */
4291 ID_CALORIES_SCREEN, /* widget id */
4292 #if defined(GX_WIDGET_USER_DATA)
4293 0, /* user data */
4294 #endif
4295 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
4296 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4297 sizeof(CALORIES_SCREEN_CONTROL_BLOCK), /* control block size */
4298 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
4299 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
4300 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4301 gx_studio_template_create, /* create function */
4302 GX_NULL, /* drawing function override */
4303 (UINT (*)(GX_WIDGET *, GX_EVENT *)) calories_screen_event_process, /* event function override */
4304 {191, 95, 448, 383}, /* widget size */
4305 GX_NULL, /* next widget */
4306 &calories_screen_progress_define, /* child widget */
4307 0, /* control block */
4308 (void *) &calories_screen_properties /* extended properties */
4309 };
4310 GX_TEMPLATE_PROPERTIES fitness_screen_properties =
4311 {
4312 &screen_template_define, /* base info */
4313 gx_studio_window_create, /* base create function */
4314 {185, 96, 442, 384} /* widget size */
4315 };
4316 GX_ICON_PROPERTIES fitness_screen_icon_properties =
4317 {
4318 GX_PIXELMAP_ID_LANDING_ICON_STEPS, /* normal pixelmap id */
4319 0 /* selected pixelmap id */
4320 };
4321 GX_ICON_PROPERTIES fitness_screen_icon_1_properties =
4322 {
4323 GX_PIXELMAP_ID_LANDING_ICON_DISTANCE, /* normal pixelmap id */
4324 0 /* selected pixelmap id */
4325 };
4326 GX_ICON_PROPERTIES fitness_screen_icon_2_properties =
4327 {
4328 GX_PIXELMAP_ID_EYE_NEEDLE, /* normal pixelmap id */
4329 0 /* selected pixelmap id */
4330 };
4331 GX_ICON_PROPERTIES fitness_screen_icon_3_properties =
4332 {
4333 GX_PIXELMAP_ID_EYE_NEEDLE, /* normal pixelmap id */
4334 0 /* selected pixelmap id */
4335 };
4336 GX_NUMERIC_PROMPT_PROPERTIES fitness_screen_running_steps_properties =
4337 {
4338 0, /* string id */
4339 GX_FONT_ID_NORMAL, /* font id */
4340 GX_COLOR_ID_WHITE, /* normal text color */
4341 GX_COLOR_ID_WHITE, /* selected text color */
4342 GX_COLOR_ID_WHITE, /* disabled text color */
4343 GX_NULL, /* format function */
4344 11278 /* numeric prompt value */
4345 };
4346 GX_NUMERIC_PROMPT_PROPERTIES fitness_screen_running_distance_properties =
4347 {
4348 0, /* string id */
4349 GX_FONT_ID_NORMAL, /* font id */
4350 GX_COLOR_ID_WHITE, /* normal text color */
4351 GX_COLOR_ID_WHITE, /* selected text color */
4352 GX_COLOR_ID_WHITE, /* disabled text color */
4353 GX_NULL, /* format function */
4354 465 /* numeric prompt value */
4355 };
4356 GX_NUMERIC_PROMPT_PROPERTIES fitness_screen_prompt_3_properties =
4357 {
4358 0, /* string id */
4359 GX_FONT_ID_NORMAL, /* font id */
4360 GX_COLOR_ID_WHITE, /* normal text color */
4361 GX_COLOR_ID_WHITE, /* selected text color */
4362 GX_COLOR_ID_WHITE, /* disabled text color */
4363 GX_NULL, /* format function */
4364 68 /* numeric prompt value */
4365 };
4366 GX_PROMPT_PROPERTIES fitness_screen_prompt_4_properties =
4367 {
4368 GX_STRING_ID_STRING_9, /* string id */
4369 GX_FONT_ID_PROMPT, /* font id */
4370 GX_COLOR_ID_GRAY, /* normal text color */
4371 GX_COLOR_ID_GRAY, /* selected text color */
4372 GX_COLOR_ID_GRAY /* disabled text color */
4373 };
4374 GX_PROMPT_PROPERTIES fitness_screen_prompt_5_properties =
4375 {
4376 GX_STRING_ID_STRING_10, /* string id */
4377 GX_FONT_ID_PROMPT, /* font id */
4378 GX_COLOR_ID_WHITE, /* normal text color */
4379 GX_COLOR_ID_WHITE, /* selected text color */
4380 GX_COLOR_ID_WHITE /* disabled text color */
4381 };
4382 GX_PROMPT_PROPERTIES fitness_screen_prompt_2_properties =
4383 {
4384 GX_STRING_ID_STRING_8, /* string id */
4385 GX_FONT_ID_PROMPT, /* font id */
4386 GX_COLOR_ID_GRAY, /* normal text color */
4387 GX_COLOR_ID_GRAY, /* selected text color */
4388 GX_COLOR_ID_GRAY /* disabled text color */
4389 };
4390 GX_ICON_PROPERTIES fitness_screen_ekd_dot_guide_bg_properties =
4391 {
4392 GX_PIXELMAP_ID_LANDING_EKG_DOT_GUIDE_BG, /* normal pixelmap id */
4393 0 /* selected pixelmap id */
4394 };
4395 GX_ICON_PROPERTIES fitness_screen_ekg_dot_icon_properties =
4396 {
4397 GX_PIXELMAP_ID_LANDING_EKG_DOT, /* normal pixelmap id */
4398 0 /* selected pixelmap id */
4399 };
4400 GX_WINDOW_PROPERTIES fitness_screen_ekg_waveform_win_properties =
4401 {
4402 0 /* wallpaper pixelmap id */
4403 };
4404 GX_RADIAL_PROGRESS_BAR_INFO fitness_screen_calorie_burned_progress_properties =
4405 {
4406 239, /* xcenter */
4407 330, /* ycenter */
4408 28, /* radius */
4409 -300, /* current val */
4410 90, /* anchor val */
4411 GX_FONT_ID_SYSTEM, /* font_id */
4412 GX_COLOR_ID_TEXT, /* normal text color */
4413 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
4414 GX_COLOR_ID_DISABLED_TEXT, /* disabled text color */
4415 10, /* normal brush width */
4416 10, /* selected brush width */
4417 GX_COLOR_ID_GREEN_BG, /* normal brush color */
4418 GX_COLOR_ID_GREEN, /* selected brush color */
4419 };
4420 GX_ICON_PROPERTIES fitness_screen_calorie_icon_properties =
4421 {
4422 GX_PIXELMAP_ID_LANDING_ICON_CALORIES_GREEN, /* normal pixelmap id */
4423 0 /* selected pixelmap id */
4424 };
4425 GX_NUMERIC_PROMPT_PROPERTIES fitness_screen_calorie_burned_progress_val_properties =
4426 {
4427 0, /* string id */
4428 GX_FONT_ID_NORMAL, /* font id */
4429 GX_COLOR_ID_WHITE, /* normal text color */
4430 GX_COLOR_ID_WHITE, /* selected text color */
4431 GX_COLOR_ID_WHITE, /* disabled text color */
4432 GX_NULL, /* format function */
4433 80 /* numeric prompt value */
4434 };
4435 GX_PROMPT_PROPERTIES fitness_screen_prompt_7_properties =
4436 {
4437 GX_STRING_ID_STRING_11, /* string id */
4438 GX_FONT_ID_SMALL, /* font id */
4439 GX_COLOR_ID_GRAY, /* normal text color */
4440 GX_COLOR_ID_GRAY, /* selected text color */
4441 GX_COLOR_ID_GRAY /* disabled text color */
4442 };
4443 GX_RADIAL_PROGRESS_BAR_INFO fitness_screen_standing_progress_properties =
4444 {
4445 400, /* xcenter */
4446 330, /* ycenter */
4447 28, /* radius */
4448 -300, /* current val */
4449 90, /* anchor val */
4450 GX_FONT_ID_SYSTEM, /* font_id */
4451 GX_COLOR_ID_TEXT, /* normal text color */
4452 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
4453 GX_COLOR_ID_DISABLED_TEXT, /* disabled text color */
4454 10, /* normal brush width */
4455 10, /* selected brush width */
4456 GX_COLOR_ID_DARK_BLUE, /* normal brush color */
4457 GX_COLOR_ID_BLUE, /* selected brush color */
4458 };
4459 GX_ICON_PROPERTIES fitness_screen_icon_6_properties =
4460 {
4461 GX_PIXELMAP_ID_LANDING_ICON_MAN_BLUE, /* normal pixelmap id */
4462 0 /* selected pixelmap id */
4463 };
4464 GX_NUMERIC_PROMPT_PROPERTIES fitness_screen_standing_progress_val_properties =
4465 {
4466 0, /* string id */
4467 GX_FONT_ID_NORMAL, /* font id */
4468 GX_COLOR_ID_WHITE, /* normal text color */
4469 GX_COLOR_ID_WHITE, /* selected text color */
4470 GX_COLOR_ID_WHITE, /* disabled text color */
4471 GX_NULL, /* format function */
4472 80 /* numeric prompt value */
4473 };
4474 GX_PROMPT_PROPERTIES fitness_screen_prompt_11_properties =
4475 {
4476 GX_STRING_ID_STRING_11, /* string id */
4477 GX_FONT_ID_SMALL, /* font id */
4478 GX_COLOR_ID_GRAY, /* normal text color */
4479 GX_COLOR_ID_GRAY, /* selected text color */
4480 GX_COLOR_ID_GRAY /* disabled text color */
4481 };
4482 GX_RADIAL_PROGRESS_BAR_INFO fitness_screen_running_progress_properties =
4483 {
4484 318, /* xcenter */
4485 330, /* ycenter */
4486 28, /* radius */
4487 -300, /* current val */
4488 90, /* anchor val */
4489 GX_FONT_ID_SYSTEM, /* font_id */
4490 GX_COLOR_ID_TEXT, /* normal text color */
4491 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
4492 GX_COLOR_ID_DISABLED_TEXT, /* disabled text color */
4493 10, /* normal brush width */
4494 10, /* selected brush width */
4495 GX_COLOR_ID_YELLOW_BG, /* normal brush color */
4496 GX_COLOR_ID_YELLOW, /* selected brush color */
4497 };
4498 GX_ICON_PROPERTIES fitness_screen_icon_5_properties =
4499 {
4500 GX_PIXELMAP_ID_LANDING_ICON_RUN_YELLOW, /* normal pixelmap id */
4501 0 /* selected pixelmap id */
4502 };
4503 GX_NUMERIC_PROMPT_PROPERTIES fitness_screen_running_progress_val_properties =
4504 {
4505 0, /* string id */
4506 GX_FONT_ID_NORMAL, /* font id */
4507 GX_COLOR_ID_WHITE, /* normal text color */
4508 GX_COLOR_ID_WHITE, /* selected text color */
4509 GX_COLOR_ID_WHITE, /* disabled text color */
4510 GX_NULL, /* format function */
4511 80 /* numeric prompt value */
4512 };
4513 GX_PROMPT_PROPERTIES fitness_screen_prompt_9_properties =
4514 {
4515 GX_STRING_ID_STRING_11, /* string id */
4516 GX_FONT_ID_SMALL, /* font id */
4517 GX_COLOR_ID_GRAY, /* normal text color */
4518 GX_COLOR_ID_GRAY, /* selected text color */
4519 GX_COLOR_ID_GRAY /* disabled text color */
4520 };
4521
4522 GX_CONST GX_STUDIO_WIDGET fitness_screen_ekg_dot_icon_define =
4523 {
4524 "ekg_dot_icon",
4525 GX_TYPE_ICON, /* widget type */
4526 GX_ID_NONE, /* widget id */
4527 #if defined(GX_WIDGET_USER_DATA)
4528 0, /* user data */
4529 #endif
4530 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
4531 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4532 sizeof(GX_ICON), /* control block size */
4533 GX_COLOR_ID_RED, /* normal color id */
4534 GX_COLOR_ID_RED, /* selected color id */
4535 GX_COLOR_ID_RED, /* disabled color id */
4536 gx_studio_icon_create, /* create function */
4537 GX_NULL, /* drawing function override */
4538 GX_NULL, /* event function override */
4539 {210, 242, 218, 250}, /* widget size */
4540 GX_NULL, /* no next widget */
4541 GX_NULL, /* no child widgets */
4542 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_ekg_dot_icon), /* control block */
4543 (void *) &fitness_screen_ekg_dot_icon_properties /* extended properties */
4544 };
4545
4546 GX_CONST GX_STUDIO_WIDGET fitness_screen_prompt_7_define =
4547 {
4548 "prompt_7",
4549 GX_TYPE_PROMPT, /* widget type */
4550 GX_ID_NONE, /* widget id */
4551 #if defined(GX_WIDGET_USER_DATA)
4552 0, /* user data */
4553 #endif
4554 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
4555 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4556 sizeof(GX_PROMPT), /* control block size */
4557 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4558 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4559 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4560 gx_studio_prompt_create, /* create function */
4561 GX_NULL, /* drawing function override */
4562 GX_NULL, /* event function override */
4563 {249, 333, 259, 345}, /* widget size */
4564 GX_NULL, /* no next widget */
4565 GX_NULL, /* no child widgets */
4566 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_prompt_7), /* control block */
4567 (void *) &fitness_screen_prompt_7_properties /* extended properties */
4568 };
4569
4570 GX_CONST GX_STUDIO_WIDGET fitness_screen_calorie_burned_progress_val_define =
4571 {
4572 "calorie_burned_progress_val",
4573 GX_TYPE_NUMERIC_PROMPT, /* widget type */
4574 GX_ID_NONE, /* widget id */
4575 #if defined(GX_WIDGET_USER_DATA)
4576 0, /* user data */
4577 #endif
4578 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
4579 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4580 sizeof(GX_NUMERIC_PROMPT), /* control block size */
4581 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4582 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4583 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4584 gx_studio_numeric_prompt_create, /* create function */
4585 GX_NULL, /* drawing function override */
4586 GX_NULL, /* event function override */
4587 {225, 333, 250, 353}, /* widget size */
4588 &fitness_screen_prompt_7_define, /* next widget definition */
4589 GX_NULL, /* no child widgets */
4590 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_calorie_burned_progress_val), /* control block */
4591 (void *) &fitness_screen_calorie_burned_progress_val_properties /* extended properties */
4592 };
4593
4594 GX_CONST GX_STUDIO_WIDGET fitness_screen_calorie_icon_define =
4595 {
4596 "calorie_icon",
4597 GX_TYPE_ICON, /* widget type */
4598 GX_ID_NONE, /* widget id */
4599 #if defined(GX_WIDGET_USER_DATA)
4600 0, /* user data */
4601 #endif
4602 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
4603 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4604 sizeof(GX_ICON), /* control block size */
4605 GX_COLOR_ID_GREEN, /* normal color id */
4606 GX_COLOR_ID_GREEN, /* selected color id */
4607 GX_COLOR_ID_GREEN, /* disabled color id */
4608 gx_studio_icon_create, /* create function */
4609 GX_NULL, /* drawing function override */
4610 GX_NULL, /* event function override */
4611 {232, 309, 247, 331}, /* widget size */
4612 &fitness_screen_calorie_burned_progress_val_define, /* next widget definition */
4613 GX_NULL, /* no child widgets */
4614 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_calorie_icon), /* control block */
4615 (void *) &fitness_screen_calorie_icon_properties /* extended properties */
4616 };
4617
4618 GX_CONST GX_STUDIO_WIDGET fitness_screen_calorie_burned_progress_define =
4619 {
4620 "calorie_burned_progress",
4621 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
4622 GX_ID_NONE, /* widget id */
4623 #if defined(GX_WIDGET_USER_DATA)
4624 0, /* user data */
4625 #endif
4626 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
4627 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4628 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
4629 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4630 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4631 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4632 gx_studio_radial_progress_bar_create, /* create function */
4633 GX_NULL, /* drawing function override */
4634 GX_NULL, /* event function override */
4635 {206, 297, 272, 363}, /* widget size */
4636 GX_NULL, /* no next widget */
4637 &fitness_screen_calorie_icon_define, /* child widget definition */
4638 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_calorie_burned_progress), /* control block */
4639 (void *) &fitness_screen_calorie_burned_progress_properties /* extended properties */
4640 };
4641
4642 GX_CONST GX_STUDIO_WIDGET fitness_screen_prompt_11_define =
4643 {
4644 "prompt_11",
4645 GX_TYPE_PROMPT, /* widget type */
4646 GX_ID_NONE, /* widget id */
4647 #if defined(GX_WIDGET_USER_DATA)
4648 0, /* user data */
4649 #endif
4650 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
4651 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4652 sizeof(GX_PROMPT), /* control block size */
4653 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4654 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4655 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4656 gx_studio_prompt_create, /* create function */
4657 GX_NULL, /* drawing function override */
4658 GX_NULL, /* event function override */
4659 {411, 333, 421, 345}, /* widget size */
4660 GX_NULL, /* no next widget */
4661 GX_NULL, /* no child widgets */
4662 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_prompt_11), /* control block */
4663 (void *) &fitness_screen_prompt_11_properties /* extended properties */
4664 };
4665
4666 GX_CONST GX_STUDIO_WIDGET fitness_screen_standing_progress_val_define =
4667 {
4668 "standing_progress_val",
4669 GX_TYPE_NUMERIC_PROMPT, /* widget type */
4670 GX_ID_NONE, /* widget id */
4671 #if defined(GX_WIDGET_USER_DATA)
4672 0, /* user data */
4673 #endif
4674 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
4675 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4676 sizeof(GX_NUMERIC_PROMPT), /* control block size */
4677 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4678 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4679 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4680 gx_studio_numeric_prompt_create, /* create function */
4681 GX_NULL, /* drawing function override */
4682 GX_NULL, /* event function override */
4683 {387, 333, 412, 353}, /* widget size */
4684 &fitness_screen_prompt_11_define, /* next widget definition */
4685 GX_NULL, /* no child widgets */
4686 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_standing_progress_val), /* control block */
4687 (void *) &fitness_screen_standing_progress_val_properties /* extended properties */
4688 };
4689
4690 GX_CONST GX_STUDIO_WIDGET fitness_screen_icon_6_define =
4691 {
4692 "icon_6",
4693 GX_TYPE_ICON, /* widget type */
4694 GX_ID_NONE, /* widget id */
4695 #if defined(GX_WIDGET_USER_DATA)
4696 0, /* user data */
4697 #endif
4698 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
4699 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4700 sizeof(GX_ICON), /* control block size */
4701 GX_COLOR_ID_BLUE, /* normal color id */
4702 GX_COLOR_ID_BLUE, /* selected color id */
4703 GX_COLOR_ID_BLUE, /* disabled color id */
4704 gx_studio_icon_create, /* create function */
4705 GX_NULL, /* drawing function override */
4706 GX_NULL, /* event function override */
4707 {395, 310, 404, 333}, /* widget size */
4708 &fitness_screen_standing_progress_val_define, /* next widget definition */
4709 GX_NULL, /* no child widgets */
4710 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_icon_6), /* control block */
4711 (void *) &fitness_screen_icon_6_properties /* extended properties */
4712 };
4713
4714 GX_CONST GX_STUDIO_WIDGET fitness_screen_standing_progress_define =
4715 {
4716 "standing_progress",
4717 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
4718 GX_ID_NONE, /* widget id */
4719 #if defined(GX_WIDGET_USER_DATA)
4720 0, /* user data */
4721 #endif
4722 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
4723 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4724 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
4725 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4726 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4727 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4728 gx_studio_radial_progress_bar_create, /* create function */
4729 GX_NULL, /* drawing function override */
4730 GX_NULL, /* event function override */
4731 {367, 297, 433, 363}, /* widget size */
4732 GX_NULL, /* no next widget */
4733 &fitness_screen_icon_6_define, /* child widget definition */
4734 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_standing_progress), /* control block */
4735 (void *) &fitness_screen_standing_progress_properties /* extended properties */
4736 };
4737
4738 GX_CONST GX_STUDIO_WIDGET fitness_screen_prompt_9_define =
4739 {
4740 "prompt_9",
4741 GX_TYPE_PROMPT, /* widget type */
4742 GX_ID_NONE, /* widget id */
4743 #if defined(GX_WIDGET_USER_DATA)
4744 0, /* user data */
4745 #endif
4746 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
4747 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4748 sizeof(GX_PROMPT), /* control block size */
4749 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4750 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4751 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4752 gx_studio_prompt_create, /* create function */
4753 GX_NULL, /* drawing function override */
4754 GX_NULL, /* event function override */
4755 {328, 333, 338, 345}, /* widget size */
4756 GX_NULL, /* no next widget */
4757 GX_NULL, /* no child widgets */
4758 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_prompt_9), /* control block */
4759 (void *) &fitness_screen_prompt_9_properties /* extended properties */
4760 };
4761
4762 GX_CONST GX_STUDIO_WIDGET fitness_screen_running_progress_val_define =
4763 {
4764 "running_progress_val",
4765 GX_TYPE_NUMERIC_PROMPT, /* widget type */
4766 GX_ID_NONE, /* widget id */
4767 #if defined(GX_WIDGET_USER_DATA)
4768 0, /* user data */
4769 #endif
4770 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
4771 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4772 sizeof(GX_NUMERIC_PROMPT), /* control block size */
4773 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4774 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4775 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4776 gx_studio_numeric_prompt_create, /* create function */
4777 GX_NULL, /* drawing function override */
4778 GX_NULL, /* event function override */
4779 {304, 333, 329, 353}, /* widget size */
4780 &fitness_screen_prompt_9_define, /* next widget definition */
4781 GX_NULL, /* no child widgets */
4782 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_running_progress_val), /* control block */
4783 (void *) &fitness_screen_running_progress_val_properties /* extended properties */
4784 };
4785
4786 GX_CONST GX_STUDIO_WIDGET fitness_screen_icon_5_define =
4787 {
4788 "icon_5",
4789 GX_TYPE_ICON, /* widget type */
4790 GX_ID_NONE, /* widget id */
4791 #if defined(GX_WIDGET_USER_DATA)
4792 0, /* user data */
4793 #endif
4794 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
4795 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4796 sizeof(GX_ICON), /* control block size */
4797 GX_COLOR_ID_YELLOW, /* normal color id */
4798 GX_COLOR_ID_YELLOW, /* selected color id */
4799 GX_COLOR_ID_YELLOW, /* disabled color id */
4800 gx_studio_icon_create, /* create function */
4801 GX_NULL, /* drawing function override */
4802 GX_NULL, /* event function override */
4803 {305, 311, 328, 331}, /* widget size */
4804 &fitness_screen_running_progress_val_define, /* next widget definition */
4805 GX_NULL, /* no child widgets */
4806 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_icon_5), /* control block */
4807 (void *) &fitness_screen_icon_5_properties /* extended properties */
4808 };
4809
4810 GX_CONST GX_STUDIO_WIDGET fitness_screen_running_progress_define =
4811 {
4812 "running_progress",
4813 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
4814 GX_ID_NONE, /* widget id */
4815 #if defined(GX_WIDGET_USER_DATA)
4816 0, /* user data */
4817 #endif
4818 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
4819 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4820 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
4821 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4822 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4823 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4824 gx_studio_radial_progress_bar_create, /* create function */
4825 GX_NULL, /* drawing function override */
4826 GX_NULL, /* event function override */
4827 {285, 297, 351, 363}, /* widget size */
4828 GX_NULL, /* no next widget */
4829 &fitness_screen_icon_5_define, /* child widget definition */
4830 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_running_progress), /* control block */
4831 (void *) &fitness_screen_running_progress_properties /* extended properties */
4832 };
4833
4834 GX_CONST GX_STUDIO_WIDGET fitness_screen_running_button_define =
4835 {
4836 "running_button",
4837 GX_TYPE_BUTTON, /* widget type */
4838 ID_RUNNING_BUTTON, /* widget id */
4839 #if defined(GX_WIDGET_USER_DATA)
4840 0, /* user data */
4841 #endif
4842 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
4843 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4844 sizeof(GX_BUTTON), /* control block size */
4845 GX_COLOR_ID_BTN_LOWER, /* normal color id */
4846 GX_COLOR_ID_BTN_UPPER, /* selected color id */
4847 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4848 gx_studio_button_create, /* create function */
4849 GX_NULL, /* drawing function override */
4850 GX_NULL, /* event function override */
4851 {285, 297, 351, 363}, /* widget size */
4852 GX_NULL, /* no next widget */
4853 &fitness_screen_running_progress_define, /* child widget definition */
4854 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_running_button), /* control block */
4855 (void *) GX_NULL /* no extended properties */
4856 };
4857
4858 GX_CONST GX_STUDIO_WIDGET fitness_screen_standing_button_define =
4859 {
4860 "standing_button",
4861 GX_TYPE_BUTTON, /* widget type */
4862 ID_STANDING_BUTTON, /* widget id */
4863 #if defined(GX_WIDGET_USER_DATA)
4864 0, /* user data */
4865 #endif
4866 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
4867 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4868 sizeof(GX_BUTTON), /* control block size */
4869 GX_COLOR_ID_BTN_LOWER, /* normal color id */
4870 GX_COLOR_ID_BTN_UPPER, /* selected color id */
4871 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4872 gx_studio_button_create, /* create function */
4873 GX_NULL, /* drawing function override */
4874 GX_NULL, /* event function override */
4875 {367, 297, 433, 363}, /* widget size */
4876 &fitness_screen_running_button_define, /* next widget definition */
4877 &fitness_screen_standing_progress_define, /* child widget definition */
4878 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_standing_button), /* control block */
4879 (void *) GX_NULL /* no extended properties */
4880 };
4881
4882 GX_CONST GX_STUDIO_WIDGET fitness_screen_calorie_button_define =
4883 {
4884 "calorie_button",
4885 GX_TYPE_BUTTON, /* widget type */
4886 ID_CALORIE_BUTTON, /* widget id */
4887 #if defined(GX_WIDGET_USER_DATA)
4888 0, /* user data */
4889 #endif
4890 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
4891 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4892 sizeof(GX_BUTTON), /* control block size */
4893 GX_COLOR_ID_BTN_LOWER, /* normal color id */
4894 GX_COLOR_ID_BTN_UPPER, /* selected color id */
4895 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4896 gx_studio_button_create, /* create function */
4897 GX_NULL, /* drawing function override */
4898 GX_NULL, /* event function override */
4899 {206, 297, 272, 363}, /* widget size */
4900 &fitness_screen_standing_button_define, /* next widget definition */
4901 &fitness_screen_calorie_burned_progress_define, /* child widget definition */
4902 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_calorie_button), /* control block */
4903 (void *) GX_NULL /* no extended properties */
4904 };
4905
4906 GX_CONST GX_STUDIO_WIDGET fitness_screen_ekg_waveform_win_define =
4907 {
4908 "ekg_waveform_win",
4909 GX_TYPE_WINDOW, /* widget type */
4910 GX_ID_NONE, /* widget id */
4911 #if defined(GX_WIDGET_USER_DATA)
4912 0, /* user data */
4913 #endif
4914 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
4915 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4916 sizeof(GX_WINDOW), /* control block size */
4917 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
4918 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
4919 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4920 gx_studio_window_create, /* create function */
4921 (VOID (*)(GX_WIDGET *)) ekg_waveform_win_draw, /* drawing function override */
4922 GX_NULL, /* event function override */
4923 {219, 216, 428, 265}, /* widget size */
4924 &fitness_screen_calorie_button_define, /* next widget definition */
4925 GX_NULL, /* no child widgets */
4926 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_ekg_waveform_win), /* control block */
4927 (void *) &fitness_screen_ekg_waveform_win_properties /* extended properties */
4928 };
4929
4930 GX_CONST GX_STUDIO_WIDGET fitness_screen_ekd_dot_guide_bg_define =
4931 {
4932 "ekd_dot_guide_bg",
4933 GX_TYPE_ICON, /* widget type */
4934 GX_ID_NONE, /* widget id */
4935 #if defined(GX_WIDGET_USER_DATA)
4936 0, /* user data */
4937 #endif
4938 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
4939 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4940 sizeof(GX_ICON), /* control block size */
4941 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4942 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4943 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4944 gx_studio_icon_create, /* create function */
4945 GX_NULL, /* drawing function override */
4946 GX_NULL, /* event function override */
4947 {208, 216, 218, 274}, /* widget size */
4948 &fitness_screen_ekg_waveform_win_define, /* next widget definition */
4949 &fitness_screen_ekg_dot_icon_define, /* child widget definition */
4950 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_ekd_dot_guide_bg), /* control block */
4951 (void *) &fitness_screen_ekd_dot_guide_bg_properties /* extended properties */
4952 };
4953
4954 GX_CONST GX_STUDIO_WIDGET fitness_screen_prompt_2_define =
4955 {
4956 "prompt_2",
4957 GX_TYPE_PROMPT, /* widget type */
4958 GX_ID_NONE, /* widget id */
4959 #if defined(GX_WIDGET_USER_DATA)
4960 0, /* user data */
4961 #endif
4962 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
4963 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4964 sizeof(GX_PROMPT), /* control block size */
4965 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4966 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4967 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4968 gx_studio_prompt_create, /* create function */
4969 GX_NULL, /* drawing function override */
4970 GX_NULL, /* event function override */
4971 {408, 181, 427, 198}, /* widget size */
4972 &fitness_screen_ekd_dot_guide_bg_define, /* next widget definition */
4973 GX_NULL, /* no child widgets */
4974 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_prompt_2), /* control block */
4975 (void *) &fitness_screen_prompt_2_properties /* extended properties */
4976 };
4977
4978 GX_CONST GX_STUDIO_WIDGET fitness_screen_prompt_5_define =
4979 {
4980 "prompt_5",
4981 GX_TYPE_PROMPT, /* widget type */
4982 GX_ID_NONE, /* widget id */
4983 #if defined(GX_WIDGET_USER_DATA)
4984 0, /* user data */
4985 #endif
4986 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
4987 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
4988 sizeof(GX_PROMPT), /* control block size */
4989 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
4990 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
4991 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
4992 gx_studio_prompt_create, /* create function */
4993 GX_NULL, /* drawing function override */
4994 GX_NULL, /* event function override */
4995 {328, 268, 357, 285}, /* widget size */
4996 &fitness_screen_prompt_2_define, /* next widget definition */
4997 GX_NULL, /* no child widgets */
4998 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_prompt_5), /* control block */
4999 (void *) &fitness_screen_prompt_5_properties /* extended properties */
5000 };
5001
5002 GX_CONST GX_STUDIO_WIDGET fitness_screen_prompt_4_define =
5003 {
5004 "prompt_4",
5005 GX_TYPE_PROMPT, /* widget type */
5006 GX_ID_NONE, /* widget id */
5007 #if defined(GX_WIDGET_USER_DATA)
5008 0, /* user data */
5009 #endif
5010 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
5011 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5012 sizeof(GX_PROMPT), /* control block size */
5013 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5014 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5015 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5016 gx_studio_prompt_create, /* create function */
5017 GX_NULL, /* drawing function override */
5018 GX_NULL, /* event function override */
5019 {393, 268, 427, 285}, /* widget size */
5020 &fitness_screen_prompt_5_define, /* next widget definition */
5021 GX_NULL, /* no child widgets */
5022 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_prompt_4), /* control block */
5023 (void *) &fitness_screen_prompt_4_properties /* extended properties */
5024 };
5025
5026 GX_CONST GX_STUDIO_WIDGET fitness_screen_prompt_3_define =
5027 {
5028 "prompt_3",
5029 GX_TYPE_NUMERIC_PROMPT, /* widget type */
5030 GX_ID_NONE, /* widget id */
5031 #if defined(GX_WIDGET_USER_DATA)
5032 0, /* user data */
5033 #endif
5034 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
5035 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5036 sizeof(GX_NUMERIC_PROMPT), /* control block size */
5037 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5038 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5039 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5040 gx_studio_numeric_prompt_create, /* create function */
5041 GX_NULL, /* drawing function override */
5042 GX_NULL, /* event function override */
5043 {365, 265, 390, 285}, /* widget size */
5044 &fitness_screen_prompt_4_define, /* next widget definition */
5045 GX_NULL, /* no child widgets */
5046 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_prompt_3), /* control block */
5047 (void *) &fitness_screen_prompt_3_properties /* extended properties */
5048 };
5049
5050 GX_CONST GX_STUDIO_WIDGET fitness_screen_running_distance_define =
5051 {
5052 "running_distance",
5053 GX_TYPE_NUMERIC_PROMPT, /* widget type */
5054 GX_ID_NONE, /* widget id */
5055 #if defined(GX_WIDGET_USER_DATA)
5056 0, /* user data */
5057 #endif
5058 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
5059 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5060 sizeof(GX_NUMERIC_PROMPT), /* control block size */
5061 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5062 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5063 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5064 gx_studio_numeric_prompt_create, /* create function */
5065 GX_NULL, /* drawing function override */
5066 GX_NULL, /* event function override */
5067 {364, 178, 407, 198}, /* widget size */
5068 &fitness_screen_prompt_3_define, /* next widget definition */
5069 GX_NULL, /* no child widgets */
5070 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_running_distance), /* control block */
5071 (void *) &fitness_screen_running_distance_properties /* extended properties */
5072 };
5073
5074 GX_CONST GX_STUDIO_WIDGET fitness_screen_running_steps_define =
5075 {
5076 "running_steps",
5077 GX_TYPE_NUMERIC_PROMPT, /* widget type */
5078 GX_ID_NONE, /* widget id */
5079 #if defined(GX_WIDGET_USER_DATA)
5080 0, /* user data */
5081 #endif
5082 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
5083 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5084 sizeof(GX_NUMERIC_PROMPT), /* control block size */
5085 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5086 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5087 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5088 gx_studio_numeric_prompt_create, /* create function */
5089 GX_NULL, /* drawing function override */
5090 GX_NULL, /* event function override */
5091 {237, 177, 313, 197}, /* widget size */
5092 &fitness_screen_running_distance_define, /* next widget definition */
5093 GX_NULL, /* no child widgets */
5094 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_running_steps), /* control block */
5095 (void *) &fitness_screen_running_steps_properties /* extended properties */
5096 };
5097
5098 GX_CONST GX_STUDIO_WIDGET fitness_screen_icon_3_define =
5099 {
5100 "icon_3",
5101 GX_TYPE_ICON, /* widget type */
5102 GX_ID_NONE, /* widget id */
5103 #if defined(GX_WIDGET_USER_DATA)
5104 0, /* user data */
5105 #endif
5106 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
5107 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5108 sizeof(GX_ICON), /* control block size */
5109 GX_COLOR_ID_YELLOW, /* normal color id */
5110 GX_COLOR_ID_YELLOW, /* selected color id */
5111 GX_COLOR_ID_YELLOW, /* disabled color id */
5112 gx_studio_icon_create, /* create function */
5113 GX_NULL, /* drawing function override */
5114 GX_NULL, /* event function override */
5115 {334, 196, 442, 205}, /* widget size */
5116 &fitness_screen_running_steps_define, /* next widget definition */
5117 GX_NULL, /* no child widgets */
5118 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_icon_3), /* control block */
5119 (void *) &fitness_screen_icon_3_properties /* extended properties */
5120 };
5121
5122 GX_CONST GX_STUDIO_WIDGET fitness_screen_icon_2_define =
5123 {
5124 "icon_2",
5125 GX_TYPE_ICON, /* widget type */
5126 GX_ID_NONE, /* widget id */
5127 #if defined(GX_WIDGET_USER_DATA)
5128 0, /* user data */
5129 #endif
5130 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
5131 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5132 sizeof(GX_ICON), /* control block size */
5133 GX_COLOR_ID_YELLOW, /* normal color id */
5134 GX_COLOR_ID_YELLOW, /* selected color id */
5135 GX_COLOR_ID_YELLOW, /* disabled color id */
5136 gx_studio_icon_create, /* create function */
5137 GX_NULL, /* drawing function override */
5138 GX_NULL, /* event function override */
5139 {208, 195, 316, 204}, /* widget size */
5140 &fitness_screen_icon_3_define, /* next widget definition */
5141 GX_NULL, /* no child widgets */
5142 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_icon_2), /* control block */
5143 (void *) &fitness_screen_icon_2_properties /* extended properties */
5144 };
5145
5146 GX_CONST GX_STUDIO_WIDGET fitness_screen_icon_1_define =
5147 {
5148 "icon_1",
5149 GX_TYPE_ICON, /* widget type */
5150 GX_ID_NONE, /* widget id */
5151 #if defined(GX_WIDGET_USER_DATA)
5152 0, /* user data */
5153 #endif
5154 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
5155 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5156 sizeof(GX_ICON), /* control block size */
5157 GX_COLOR_ID_YELLOW, /* normal color id */
5158 GX_COLOR_ID_YELLOW, /* selected color id */
5159 GX_COLOR_ID_YELLOW, /* disabled color id */
5160 gx_studio_icon_create, /* create function */
5161 GX_NULL, /* drawing function override */
5162 GX_NULL, /* event function override */
5163 {328, 159, 351, 192}, /* widget size */
5164 &fitness_screen_icon_2_define, /* next widget definition */
5165 GX_NULL, /* no child widgets */
5166 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_icon_1), /* control block */
5167 (void *) &fitness_screen_icon_1_properties /* extended properties */
5168 };
5169
5170 GX_CONST GX_STUDIO_WIDGET fitness_screen_icon_define =
5171 {
5172 "icon",
5173 GX_TYPE_ICON, /* widget type */
5174 GX_ID_NONE, /* widget id */
5175 #if defined(GX_WIDGET_USER_DATA)
5176 0, /* user data */
5177 #endif
5178 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
5179 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5180 sizeof(GX_ICON), /* control block size */
5181 GX_COLOR_ID_YELLOW, /* normal color id */
5182 GX_COLOR_ID_YELLOW, /* selected color id */
5183 GX_COLOR_ID_YELLOW, /* disabled color id */
5184 gx_studio_icon_create, /* create function */
5185 GX_NULL, /* drawing function override */
5186 GX_NULL, /* event function override */
5187 {195, 159, 223, 193}, /* widget size */
5188 &fitness_screen_icon_1_define, /* next widget definition */
5189 GX_NULL, /* no child widgets */
5190 offsetof(FITNESS_SCREEN_CONTROL_BLOCK, fitness_screen_icon), /* control block */
5191 (void *) &fitness_screen_icon_properties /* extended properties */
5192 };
5193
5194 GX_CONST GX_STUDIO_WIDGET fitness_screen_define =
5195 {
5196 "fitness_screen",
5197 GX_TYPE_TEMPLATE, /* widget type */
5198 GX_ID_NONE, /* widget id */
5199 #if defined(GX_WIDGET_USER_DATA)
5200 0, /* user data */
5201 #endif
5202 GX_STYLE_BORDER_THIN|GX_STYLE_ENABLED, /* style flags */
5203 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5204 sizeof(FITNESS_SCREEN_CONTROL_BLOCK), /* control block size */
5205 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
5206 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
5207 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5208 gx_studio_template_create, /* create function */
5209 GX_NULL, /* drawing function override */
5210 (UINT (*)(GX_WIDGET *, GX_EVENT *)) fitness_screen_event_process, /* event function override */
5211 {185, 96, 442, 384}, /* widget size */
5212 GX_NULL, /* next widget */
5213 &fitness_screen_icon_define, /* child widget */
5214 0, /* control block */
5215 (void *) &fitness_screen_properties /* extended properties */
5216 };
5217 GX_TEMPLATE_PROPERTIES clock_2_screen_properties =
5218 {
5219 &clock_screen_template_define, /* base info */
5220 gx_studio_window_create, /* base create function */
5221 {191, 95, 448, 383} /* widget size */
5222 };
5223
5224 GX_CONST GX_STUDIO_WIDGET clock_2_screen_define =
5225 {
5226 "clock_2_screen",
5227 GX_TYPE_TEMPLATE, /* widget type */
5228 ID_CLOCK_2_SCREEN, /* widget id */
5229 #if defined(GX_WIDGET_USER_DATA)
5230 0, /* user data */
5231 #endif
5232 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
5233 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5234 sizeof(CLOCK_2_SCREEN_CONTROL_BLOCK), /* control block size */
5235 GX_COLOR_ID_WHITE, /* normal color id */
5236 GX_COLOR_ID_WHITE, /* selected color id */
5237 GX_COLOR_ID_WHITE, /* disabled color id */
5238 gx_studio_template_create, /* create function */
5239 GX_NULL, /* drawing function override */
5240 GX_NULL, /* event function override */
5241 {191, 95, 448, 383}, /* widget size */
5242 GX_NULL, /* next widget */
5243 GX_NULL, /* child widget */
5244 0, /* control block */
5245 (void *) &clock_2_screen_properties /* extended properties */
5246 };
5247 GX_TEMPLATE_PROPERTIES clock_1_screen_properties =
5248 {
5249 &clock_screen_template_define, /* base info */
5250 gx_studio_window_create, /* base create function */
5251 {191, 95, 448, 383} /* widget size */
5252 };
5253
5254 GX_CONST GX_STUDIO_WIDGET clock_1_screen_define =
5255 {
5256 "clock_1_screen",
5257 GX_TYPE_TEMPLATE, /* widget type */
5258 ID_CLOCK_1_SCREEN, /* widget id */
5259 #if defined(GX_WIDGET_USER_DATA)
5260 0, /* user data */
5261 #endif
5262 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
5263 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5264 sizeof(CLOCK_1_SCREEN_CONTROL_BLOCK), /* control block size */
5265 GX_COLOR_ID_WHITE, /* normal color id */
5266 GX_COLOR_ID_WHITE, /* selected color id */
5267 GX_COLOR_ID_WHITE, /* disabled color id */
5268 gx_studio_template_create, /* create function */
5269 GX_NULL, /* drawing function override */
5270 GX_NULL, /* event function override */
5271 {191, 95, 448, 383}, /* widget size */
5272 GX_NULL, /* next widget */
5273 GX_NULL, /* child widget */
5274 0, /* control block */
5275 (void *) &clock_1_screen_properties /* extended properties */
5276 };
5277 GX_WINDOW_PROPERTIES clock_5_screen_properties =
5278 {
5279 0 /* wallpaper pixelmap id */
5280 };
5281 GX_NUMERIC_PROMPT_PROPERTIES clock_5_screen_hour_properties =
5282 {
5283 0, /* string id */
5284 GX_FONT_ID_NUMBER_LARGE, /* font id */
5285 GX_COLOR_ID_WHITE, /* normal text color */
5286 GX_COLOR_ID_WHITE, /* selected text color */
5287 GX_COLOR_ID_WHITE, /* disabled text color */
5288 GX_NULL, /* format function */
5289 12 /* numeric prompt value */
5290 };
5291 GX_NUMERIC_PROMPT_PROPERTIES clock_5_screen_minute_properties =
5292 {
5293 0, /* string id */
5294 GX_FONT_ID_NUMBER_LARGE, /* font id */
5295 GX_COLOR_ID_YELLOW, /* normal text color */
5296 GX_COLOR_ID_YELLOW, /* selected text color */
5297 GX_COLOR_ID_YELLOW, /* disabled text color */
5298 GX_NULL, /* format function */
5299 12 /* numeric prompt value */
5300 };
5301
5302 GX_CONST GX_STUDIO_WIDGET clock_5_screen_minute_define =
5303 {
5304 "minute",
5305 GX_TYPE_NUMERIC_PROMPT, /* widget type */
5306 GX_ID_NONE, /* widget id */
5307 #if defined(GX_WIDGET_USER_DATA)
5308 0, /* user data */
5309 #endif
5310 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
5311 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5312 sizeof(GX_NUMERIC_PROMPT), /* control block size */
5313 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5314 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5315 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5316 gx_studio_numeric_prompt_create, /* create function */
5317 GX_NULL, /* drawing function override */
5318 GX_NULL, /* event function override */
5319 {251, 258, 418, 348}, /* widget size */
5320 GX_NULL, /* no next widget */
5321 GX_NULL, /* no child widgets */
5322 offsetof(CLOCK_5_SCREEN_CONTROL_BLOCK, clock_5_screen_minute), /* control block */
5323 (void *) &clock_5_screen_minute_properties /* extended properties */
5324 };
5325
5326 GX_CONST GX_STUDIO_WIDGET clock_5_screen_hour_define =
5327 {
5328 "hour",
5329 GX_TYPE_NUMERIC_PROMPT, /* widget type */
5330 GX_ID_NONE, /* widget id */
5331 #if defined(GX_WIDGET_USER_DATA)
5332 0, /* user data */
5333 #endif
5334 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
5335 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5336 sizeof(GX_NUMERIC_PROMPT), /* control block size */
5337 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5338 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5339 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5340 gx_studio_numeric_prompt_create, /* create function */
5341 GX_NULL, /* drawing function override */
5342 GX_NULL, /* event function override */
5343 {206, 132, 373, 222}, /* widget size */
5344 &clock_5_screen_minute_define, /* next widget definition */
5345 GX_NULL, /* no child widgets */
5346 offsetof(CLOCK_5_SCREEN_CONTROL_BLOCK, clock_5_screen_hour), /* control block */
5347 (void *) &clock_5_screen_hour_properties /* extended properties */
5348 };
5349
5350 GX_CONST GX_STUDIO_WIDGET clock_5_screen_define =
5351 {
5352 "clock_5_screen",
5353 GX_TYPE_WINDOW, /* widget type */
5354 GX_ID_NONE, /* widget id */
5355 #if defined(GX_WIDGET_USER_DATA)
5356 0, /* user data */
5357 #endif
5358 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
5359 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5360 sizeof(CLOCK_5_SCREEN_CONTROL_BLOCK), /* control block size */
5361 GX_COLOR_ID_BLUE, /* normal color id */
5362 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
5363 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5364 gx_studio_window_create, /* create function */
5365 (VOID (*)(GX_WIDGET *)) clock_5_screen_draw, /* drawing function override */
5366 (UINT (*)(GX_WIDGET *, GX_EVENT *)) clock_5_screen_event_process, /* event function override */
5367 {185, 96, 442, 384}, /* widget size */
5368 GX_NULL, /* next widget */
5369 &clock_5_screen_hour_define, /* child widget */
5370 0, /* control block */
5371 (void *) &clock_5_screen_properties /* extended properties */
5372 };
5373 GX_WINDOW_PROPERTIES clock_3_screen_properties =
5374 {
5375 0 /* wallpaper pixelmap id */
5376 };
5377 GX_NUMERIC_PROMPT_PROPERTIES clock_3_screen_hour_properties =
5378 {
5379 0, /* string id */
5380 GX_FONT_ID_NUMBER_LARGE, /* font id */
5381 GX_COLOR_ID_WHITE, /* normal text color */
5382 GX_COLOR_ID_WHITE, /* selected text color */
5383 GX_COLOR_ID_WHITE, /* disabled text color */
5384 GX_NULL, /* format function */
5385 12 /* numeric prompt value */
5386 };
5387 GX_NUMERIC_PROMPT_PROPERTIES clock_3_screen_minute_properties =
5388 {
5389 0, /* string id */
5390 GX_FONT_ID_NUMBER_LARGE, /* font id */
5391 GX_COLOR_ID_WHITE, /* normal text color */
5392 GX_COLOR_ID_WHITE, /* selected text color */
5393 GX_COLOR_ID_WHITE, /* disabled text color */
5394 GX_NULL, /* format function */
5395 49 /* numeric prompt value */
5396 };
5397
5398 GX_CONST GX_STUDIO_WIDGET clock_3_screen_minute_define =
5399 {
5400 "minute",
5401 GX_TYPE_NUMERIC_PROMPT, /* widget type */
5402 GX_ID_NONE, /* widget id */
5403 #if defined(GX_WIDGET_USER_DATA)
5404 0, /* user data */
5405 #endif
5406 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
5407 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5408 sizeof(GX_NUMERIC_PROMPT), /* control block size */
5409 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5410 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5411 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5412 gx_studio_numeric_prompt_create, /* create function */
5413 GX_NULL, /* drawing function override */
5414 GX_NULL, /* event function override */
5415 {228, 259, 395, 349}, /* widget size */
5416 GX_NULL, /* no next widget */
5417 GX_NULL, /* no child widgets */
5418 offsetof(CLOCK_3_SCREEN_CONTROL_BLOCK, clock_3_screen_minute), /* control block */
5419 (void *) &clock_3_screen_minute_properties /* extended properties */
5420 };
5421
5422 GX_CONST GX_STUDIO_WIDGET clock_3_screen_hour_define =
5423 {
5424 "hour",
5425 GX_TYPE_NUMERIC_PROMPT, /* widget type */
5426 GX_ID_NONE, /* widget id */
5427 #if defined(GX_WIDGET_USER_DATA)
5428 0, /* user data */
5429 #endif
5430 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
5431 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5432 sizeof(GX_NUMERIC_PROMPT), /* control block size */
5433 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5434 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5435 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5436 gx_studio_numeric_prompt_create, /* create function */
5437 GX_NULL, /* drawing function override */
5438 GX_NULL, /* event function override */
5439 {228, 133, 395, 223}, /* widget size */
5440 &clock_3_screen_minute_define, /* next widget definition */
5441 GX_NULL, /* no child widgets */
5442 offsetof(CLOCK_3_SCREEN_CONTROL_BLOCK, clock_3_screen_hour), /* control block */
5443 (void *) &clock_3_screen_hour_properties /* extended properties */
5444 };
5445
5446 GX_CONST GX_STUDIO_WIDGET clock_3_screen_define =
5447 {
5448 "clock_3_screen",
5449 GX_TYPE_WINDOW, /* widget type */
5450 GX_ID_NONE, /* widget id */
5451 #if defined(GX_WIDGET_USER_DATA)
5452 0, /* user data */
5453 #endif
5454 GX_STYLE_BORDER_THIN|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
5455 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5456 sizeof(CLOCK_3_SCREEN_CONTROL_BLOCK), /* control block size */
5457 GX_COLOR_ID_BLUE, /* normal color id */
5458 GX_COLOR_ID_BLUE, /* selected color id */
5459 GX_COLOR_ID_BLUE, /* disabled color id */
5460 gx_studio_window_create, /* create function */
5461 (VOID (*)(GX_WIDGET *)) clock_3_screen_draw, /* drawing function override */
5462 (UINT (*)(GX_WIDGET *, GX_EVENT *)) clock_3_screen_event_process, /* event function override */
5463 {185, 96, 442, 384}, /* widget size */
5464 GX_NULL, /* next widget */
5465 &clock_3_screen_hour_define, /* child widget */
5466 0, /* control block */
5467 (void *) &clock_3_screen_properties /* extended properties */
5468 };
5469 GX_WINDOW_PROPERTIES clock_4_screen_properties =
5470 {
5471 0 /* wallpaper pixelmap id */
5472 };
5473 GX_NUMERIC_PROMPT_PROPERTIES clock_4_screen_hour_properties =
5474 {
5475 0, /* string id */
5476 GX_FONT_ID_NUMBER_LARGE, /* font id */
5477 GX_COLOR_ID_YELLOW, /* normal text color */
5478 GX_COLOR_ID_YELLOW, /* selected text color */
5479 GX_COLOR_ID_YELLOW, /* disabled text color */
5480 GX_NULL, /* format function */
5481 12 /* numeric prompt value */
5482 };
5483 GX_NUMERIC_PROMPT_PROPERTIES clock_4_screen_minute_properties =
5484 {
5485 0, /* string id */
5486 GX_FONT_ID_NUMBER_LARGE, /* font id */
5487 GX_COLOR_ID_BLUE, /* normal text color */
5488 GX_COLOR_ID_BLUE, /* selected text color */
5489 GX_COLOR_ID_BLUE, /* disabled text color */
5490 GX_NULL, /* format function */
5491 12 /* numeric prompt value */
5492 };
5493
5494 GX_CONST GX_STUDIO_WIDGET clock_4_screen_minute_define =
5495 {
5496 "minute",
5497 GX_TYPE_NUMERIC_PROMPT, /* widget type */
5498 GX_ID_NONE, /* widget id */
5499 #if defined(GX_WIDGET_USER_DATA)
5500 0, /* user data */
5501 #endif
5502 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
5503 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5504 sizeof(GX_NUMERIC_PROMPT), /* control block size */
5505 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5506 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5507 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5508 gx_studio_numeric_prompt_create, /* create function */
5509 GX_NULL, /* drawing function override */
5510 GX_NULL, /* event function override */
5511 {227, 258, 394, 348}, /* widget size */
5512 GX_NULL, /* no next widget */
5513 GX_NULL, /* no child widgets */
5514 offsetof(CLOCK_4_SCREEN_CONTROL_BLOCK, clock_4_screen_minute), /* control block */
5515 (void *) &clock_4_screen_minute_properties /* extended properties */
5516 };
5517
5518 GX_CONST GX_STUDIO_WIDGET clock_4_screen_hour_define =
5519 {
5520 "hour",
5521 GX_TYPE_NUMERIC_PROMPT, /* widget type */
5522 GX_ID_NONE, /* widget id */
5523 #if defined(GX_WIDGET_USER_DATA)
5524 0, /* user data */
5525 #endif
5526 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
5527 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5528 sizeof(GX_NUMERIC_PROMPT), /* control block size */
5529 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5530 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5531 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5532 gx_studio_numeric_prompt_create, /* create function */
5533 GX_NULL, /* drawing function override */
5534 GX_NULL, /* event function override */
5535 {257, 132, 424, 222}, /* widget size */
5536 &clock_4_screen_minute_define, /* next widget definition */
5537 GX_NULL, /* no child widgets */
5538 offsetof(CLOCK_4_SCREEN_CONTROL_BLOCK, clock_4_screen_hour), /* control block */
5539 (void *) &clock_4_screen_hour_properties /* extended properties */
5540 };
5541
5542 GX_CONST GX_STUDIO_WIDGET clock_4_screen_define =
5543 {
5544 "clock_4_screen",
5545 GX_TYPE_WINDOW, /* widget type */
5546 GX_ID_NONE, /* widget id */
5547 #if defined(GX_WIDGET_USER_DATA)
5548 0, /* user data */
5549 #endif
5550 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
5551 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5552 sizeof(CLOCK_4_SCREEN_CONTROL_BLOCK), /* control block size */
5553 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
5554 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
5555 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5556 gx_studio_window_create, /* create function */
5557 GX_NULL, /* drawing function override */
5558 (UINT (*)(GX_WIDGET *, GX_EVENT *)) clock_4_screen_event_process, /* event function override */
5559 {185, 96, 442, 384}, /* widget size */
5560 GX_NULL, /* next widget */
5561 &clock_4_screen_hour_define, /* child widget */
5562 0, /* control block */
5563 (void *) &clock_4_screen_properties /* extended properties */
5564 };
5565 GX_WINDOW_PROPERTIES home_screen_properties =
5566 {
5567 0 /* wallpaper pixelmap id */
5568 };
5569 GX_SPRITE_FRAME home_screen_sprite_frame_list[19] =
5570 {
5571 {
5572 GX_PIXELMAP_ID_EARTH_258X289_F0, /* pixelmap id */
5573 0, /* x offset */
5574 0, /* y offset */
5575 8, /* frame delay */
5576 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5577 255 /* alpha value */
5578 },
5579 {
5580 GX_PIXELMAP_ID_EARTH_258X289_F1, /* pixelmap id */
5581 0, /* x offset */
5582 0, /* y offset */
5583 8, /* frame delay */
5584 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5585 255 /* alpha value */
5586 },
5587 {
5588 GX_PIXELMAP_ID_EARTH_258X289_F2, /* pixelmap id */
5589 0, /* x offset */
5590 0, /* y offset */
5591 8, /* frame delay */
5592 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5593 255 /* alpha value */
5594 },
5595 {
5596 GX_PIXELMAP_ID_EARTH_258X289_F3, /* pixelmap id */
5597 0, /* x offset */
5598 0, /* y offset */
5599 8, /* frame delay */
5600 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5601 255 /* alpha value */
5602 },
5603 {
5604 GX_PIXELMAP_ID_EARTH_258X289_F4, /* pixelmap id */
5605 0, /* x offset */
5606 0, /* y offset */
5607 8, /* frame delay */
5608 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5609 255 /* alpha value */
5610 },
5611 {
5612 GX_PIXELMAP_ID_EARTH_258X289_F5, /* pixelmap id */
5613 0, /* x offset */
5614 0, /* y offset */
5615 8, /* frame delay */
5616 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5617 255 /* alpha value */
5618 },
5619 {
5620 GX_PIXELMAP_ID_EARTH_258X289_F6, /* pixelmap id */
5621 0, /* x offset */
5622 0, /* y offset */
5623 8, /* frame delay */
5624 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5625 255 /* alpha value */
5626 },
5627 {
5628 GX_PIXELMAP_ID_EARTH_258X289_F7, /* pixelmap id */
5629 0, /* x offset */
5630 0, /* y offset */
5631 8, /* frame delay */
5632 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5633 255 /* alpha value */
5634 },
5635 {
5636 GX_PIXELMAP_ID_EARTH_258X289_F8, /* pixelmap id */
5637 0, /* x offset */
5638 0, /* y offset */
5639 8, /* frame delay */
5640 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5641 255 /* alpha value */
5642 },
5643 {
5644 GX_PIXELMAP_ID_EARTH_258X289_F9, /* pixelmap id */
5645 0, /* x offset */
5646 0, /* y offset */
5647 8, /* frame delay */
5648 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5649 255 /* alpha value */
5650 },
5651 {
5652 GX_PIXELMAP_ID_EARTH_258X289_F10, /* pixelmap id */
5653 0, /* x offset */
5654 0, /* y offset */
5655 8, /* frame delay */
5656 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5657 255 /* alpha value */
5658 },
5659 {
5660 GX_PIXELMAP_ID_EARTH_258X289_F11, /* pixelmap id */
5661 0, /* x offset */
5662 0, /* y offset */
5663 8, /* frame delay */
5664 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5665 255 /* alpha value */
5666 },
5667 {
5668 GX_PIXELMAP_ID_EARTH_258X289_F12, /* pixelmap id */
5669 0, /* x offset */
5670 0, /* y offset */
5671 8, /* frame delay */
5672 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5673 255 /* alpha value */
5674 },
5675 {
5676 GX_PIXELMAP_ID_EARTH_258X289_F13, /* pixelmap id */
5677 0, /* x offset */
5678 0, /* y offset */
5679 8, /* frame delay */
5680 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5681 255 /* alpha value */
5682 },
5683 {
5684 GX_PIXELMAP_ID_EARTH_258X289_F14, /* pixelmap id */
5685 0, /* x offset */
5686 0, /* y offset */
5687 8, /* frame delay */
5688 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5689 255 /* alpha value */
5690 },
5691 {
5692 GX_PIXELMAP_ID_EARTH_258X289_F15, /* pixelmap id */
5693 0, /* x offset */
5694 0, /* y offset */
5695 8, /* frame delay */
5696 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5697 255 /* alpha value */
5698 },
5699 {
5700 GX_PIXELMAP_ID_EARTH_258X289_F16, /* pixelmap id */
5701 0, /* x offset */
5702 0, /* y offset */
5703 8, /* frame delay */
5704 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5705 255 /* alpha value */
5706 },
5707 {
5708 GX_PIXELMAP_ID_EARTH_258X289_F17, /* pixelmap id */
5709 0, /* x offset */
5710 0, /* y offset */
5711 8, /* frame delay */
5712 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5713 255 /* alpha value */
5714 },
5715 {
5716 GX_PIXELMAP_ID_EARTH_258X289_F18, /* pixelmap id */
5717 0, /* x offset */
5718 0, /* y offset */
5719 8, /* frame delay */
5720 GX_SPRITE_BACKGROUND_NO_ACTION, /* background operation */
5721 255 /* alpha value */
5722 }
5723 };
5724
5725 GX_SPRITE_PROPERTIES home_screen_sprite_properties =
5726 {
5727 home_screen_sprite_frame_list, /* address of frame list */
5728 19, /* frame count */
5729 };
5730 GX_NUMERIC_PROMPT_PROPERTIES home_screen_time_hour_properties =
5731 {
5732 0, /* string id */
5733 GX_FONT_ID_NUMBER, /* font id */
5734 GX_COLOR_ID_WHITE, /* normal text color */
5735 GX_COLOR_ID_WHITE, /* selected text color */
5736 GX_COLOR_ID_WHITE, /* disabled text color */
5737 time_format, /* format function */
5738 12 /* numeric prompt value */
5739 };
5740 GX_NUMERIC_PROMPT_PROPERTIES home_screen_time_minute_properties =
5741 {
5742 0, /* string id */
5743 GX_FONT_ID_NUMBER, /* font id */
5744 GX_COLOR_ID_WHITE, /* normal text color */
5745 GX_COLOR_ID_WHITE, /* selected text color */
5746 GX_COLOR_ID_WHITE, /* disabled text color */
5747 time_format, /* format function */
5748 55 /* numeric prompt value */
5749 };
5750 GX_ICON_PROPERTIES home_screen_time_second_up_properties =
5751 {
5752 GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
5753 0 /* selected pixelmap id */
5754 };
5755 GX_ICON_PROPERTIES home_screen_time_second_down_properties =
5756 {
5757 GX_PIXELMAP_ID_DOT, /* normal pixelmap id */
5758 0 /* selected pixelmap id */
5759 };
5760 GX_PROMPT_PROPERTIES home_screen_am_pm_properties =
5761 {
5762 GX_STRING_ID_PM, /* string id */
5763 GX_FONT_ID_SYSTEM, /* font id */
5764 GX_COLOR_ID_WHITE, /* normal text color */
5765 GX_COLOR_ID_WHITE, /* selected text color */
5766 GX_COLOR_ID_WHITE /* disabled text color */
5767 };
5768 GX_PROMPT_PROPERTIES home_screen_day_of_week_properties =
5769 {
5770 GX_STRING_ID_WEDNESDAY, /* string id */
5771 GX_FONT_ID_NORMAL_BOLD, /* font id */
5772 GX_COLOR_ID_WHITE, /* normal text color */
5773 GX_COLOR_ID_WHITE, /* selected text color */
5774 GX_COLOR_ID_WHITE /* disabled text color */
5775 };
5776 GX_PROMPT_PROPERTIES home_screen_date_properties =
5777 {
5778 GX_STRING_ID_STRING_3, /* string id */
5779 GX_FONT_ID_SYSTEM, /* font id */
5780 GX_COLOR_ID_WHITE, /* normal text color */
5781 GX_COLOR_ID_WHITE, /* selected text color */
5782 GX_COLOR_ID_WHITE /* disabled text color */
5783 };
5784
5785 GX_CONST GX_STUDIO_WIDGET home_screen_date_define =
5786 {
5787 "date",
5788 GX_TYPE_PROMPT, /* widget type */
5789 GX_ID_NONE, /* widget id */
5790 #if defined(GX_WIDGET_USER_DATA)
5791 0, /* user data */
5792 #endif
5793 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_COPY|GX_STYLE_TEXT_LEFT, /* style flags */
5794 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5795 sizeof(GX_PROMPT), /* control block size */
5796 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5797 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5798 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5799 gx_studio_prompt_create, /* create function */
5800 GX_NULL, /* drawing function override */
5801 GX_NULL, /* event function override */
5802 {306, 307, 412, 324}, /* widget size */
5803 GX_NULL, /* no next widget */
5804 GX_NULL, /* no child widgets */
5805 offsetof(HOME_SCREEN_CONTROL_BLOCK, home_screen_date), /* control block */
5806 (void *) &home_screen_date_properties /* extended properties */
5807 };
5808
5809 GX_CONST GX_STUDIO_WIDGET home_screen_day_of_week_define =
5810 {
5811 "day_of_week",
5812 GX_TYPE_PROMPT, /* widget type */
5813 GX_ID_NONE, /* widget id */
5814 #if defined(GX_WIDGET_USER_DATA)
5815 0, /* user data */
5816 #endif
5817 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
5818 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5819 sizeof(GX_PROMPT), /* control block size */
5820 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5821 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5822 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5823 gx_studio_prompt_create, /* create function */
5824 GX_NULL, /* drawing function override */
5825 GX_NULL, /* event function override */
5826 {203, 307, 306, 323}, /* widget size */
5827 &home_screen_date_define, /* next widget definition */
5828 GX_NULL, /* no child widgets */
5829 offsetof(HOME_SCREEN_CONTROL_BLOCK, home_screen_day_of_week), /* control block */
5830 (void *) &home_screen_day_of_week_properties /* extended properties */
5831 };
5832
5833 GX_CONST GX_STUDIO_WIDGET home_screen_am_pm_define =
5834 {
5835 "am_pm",
5836 GX_TYPE_PROMPT, /* widget type */
5837 GX_ID_NONE, /* widget id */
5838 #if defined(GX_WIDGET_USER_DATA)
5839 0, /* user data */
5840 #endif
5841 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
5842 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5843 sizeof(GX_PROMPT), /* control block size */
5844 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5845 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5846 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5847 gx_studio_prompt_create, /* create function */
5848 GX_NULL, /* drawing function override */
5849 GX_NULL, /* event function override */
5850 {355, 268, 377, 285}, /* widget size */
5851 &home_screen_day_of_week_define, /* next widget definition */
5852 GX_NULL, /* no child widgets */
5853 offsetof(HOME_SCREEN_CONTROL_BLOCK, home_screen_am_pm), /* control block */
5854 (void *) &home_screen_am_pm_properties /* extended properties */
5855 };
5856
5857 GX_CONST GX_STUDIO_WIDGET home_screen_time_second_down_define =
5858 {
5859 "time_second_down",
5860 GX_TYPE_ICON, /* widget type */
5861 GX_ID_NONE, /* widget id */
5862 #if defined(GX_WIDGET_USER_DATA)
5863 0, /* user data */
5864 #endif
5865 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
5866 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5867 sizeof(GX_ICON), /* control block size */
5868 GX_COLOR_ID_WHITE, /* normal color id */
5869 GX_COLOR_ID_WHITE, /* selected color id */
5870 GX_COLOR_ID_WHITE, /* disabled color id */
5871 gx_studio_icon_create, /* create function */
5872 GX_NULL, /* drawing function override */
5873 GX_NULL, /* event function override */
5874 {304, 246, 308, 250}, /* widget size */
5875 &home_screen_am_pm_define, /* next widget definition */
5876 GX_NULL, /* no child widgets */
5877 offsetof(HOME_SCREEN_CONTROL_BLOCK, home_screen_time_second_down), /* control block */
5878 (void *) &home_screen_time_second_down_properties /* extended properties */
5879 };
5880
5881 GX_CONST GX_STUDIO_WIDGET home_screen_time_second_up_define =
5882 {
5883 "time_second_up",
5884 GX_TYPE_ICON, /* widget type */
5885 GX_ID_NONE, /* widget id */
5886 #if defined(GX_WIDGET_USER_DATA)
5887 0, /* user data */
5888 #endif
5889 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_HALIGN_LEFT|GX_STYLE_VALIGN_TOP, /* style flags */
5890 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5891 sizeof(GX_ICON), /* control block size */
5892 GX_COLOR_ID_WHITE, /* normal color id */
5893 GX_COLOR_ID_WHITE, /* selected color id */
5894 GX_COLOR_ID_WHITE, /* disabled color id */
5895 gx_studio_icon_create, /* create function */
5896 GX_NULL, /* drawing function override */
5897 GX_NULL, /* event function override */
5898 {304, 230, 308, 234}, /* widget size */
5899 &home_screen_time_second_down_define, /* next widget definition */
5900 GX_NULL, /* no child widgets */
5901 offsetof(HOME_SCREEN_CONTROL_BLOCK, home_screen_time_second_up), /* control block */
5902 (void *) &home_screen_time_second_up_properties /* extended properties */
5903 };
5904
5905 GX_CONST GX_STUDIO_WIDGET home_screen_time_minute_define =
5906 {
5907 "time_minute",
5908 GX_TYPE_NUMERIC_PROMPT, /* widget type */
5909 GX_ID_NONE, /* widget id */
5910 #if defined(GX_WIDGET_USER_DATA)
5911 0, /* user data */
5912 #endif
5913 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
5914 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5915 sizeof(GX_NUMERIC_PROMPT), /* control block size */
5916 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5917 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5918 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5919 gx_studio_numeric_prompt_create, /* create function */
5920 GX_NULL, /* drawing function override */
5921 GX_NULL, /* event function override */
5922 {314, 217, 377, 268}, /* widget size */
5923 &home_screen_time_second_up_define, /* next widget definition */
5924 GX_NULL, /* no child widgets */
5925 offsetof(HOME_SCREEN_CONTROL_BLOCK, home_screen_time_minute), /* control block */
5926 (void *) &home_screen_time_minute_properties /* extended properties */
5927 };
5928
5929 GX_CONST GX_STUDIO_WIDGET home_screen_time_hour_define =
5930 {
5931 "time_hour",
5932 GX_TYPE_NUMERIC_PROMPT, /* widget type */
5933 GX_ID_NONE, /* widget id */
5934 #if defined(GX_WIDGET_USER_DATA)
5935 0, /* user data */
5936 #endif
5937 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
5938 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5939 sizeof(GX_NUMERIC_PROMPT), /* control block size */
5940 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5941 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5942 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5943 gx_studio_numeric_prompt_create, /* create function */
5944 GX_NULL, /* drawing function override */
5945 GX_NULL, /* event function override */
5946 {235, 217, 298, 268}, /* widget size */
5947 &home_screen_time_minute_define, /* next widget definition */
5948 GX_NULL, /* no child widgets */
5949 offsetof(HOME_SCREEN_CONTROL_BLOCK, home_screen_time_hour), /* control block */
5950 (void *) &home_screen_time_hour_properties /* extended properties */
5951 };
5952
5953 GX_CONST GX_STUDIO_WIDGET home_screen_sprite_define =
5954 {
5955 "sprite",
5956 GX_TYPE_SPRITE, /* widget type */
5957 GX_ID_NONE, /* widget id */
5958 #if defined(GX_WIDGET_USER_DATA)
5959 0, /* user data */
5960 #endif
5961 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_SPRITE_LOOP, /* style flags */
5962 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5963 sizeof(GX_SPRITE), /* control block size */
5964 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
5965 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
5966 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5967 gx_studio_sprite_create, /* create function */
5968 GX_NULL, /* drawing function override */
5969 GX_NULL, /* event function override */
5970 {185, 96, 442, 384}, /* widget size */
5971 GX_NULL, /* no next widget */
5972 &home_screen_time_hour_define, /* child widget definition */
5973 offsetof(HOME_SCREEN_CONTROL_BLOCK, home_screen_sprite), /* control block */
5974 (void *) &home_screen_sprite_properties /* extended properties */
5975 };
5976
5977 GX_CONST GX_STUDIO_WIDGET home_screen_define =
5978 {
5979 "home_screen",
5980 GX_TYPE_WINDOW, /* widget type */
5981 GX_ID_NONE, /* widget id */
5982 #if defined(GX_WIDGET_USER_DATA)
5983 0, /* user data */
5984 #endif
5985 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
5986 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
5987 sizeof(HOME_SCREEN_CONTROL_BLOCK), /* control block size */
5988 GX_COLOR_ID_WHITE, /* normal color id */
5989 GX_COLOR_ID_WHITE, /* selected color id */
5990 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
5991 gx_studio_window_create, /* create function */
5992 GX_NULL, /* drawing function override */
5993 (UINT (*)(GX_WIDGET *, GX_EVENT *)) home_screen_event_handler, /* event function override */
5994 {185, 96, 442, 384}, /* widget size */
5995 GX_NULL, /* next widget */
5996 &home_screen_sprite_define, /* child widget */
5997 0, /* control block */
5998 (void *) &home_screen_properties /* extended properties */
5999 };
6000 GX_TEMPLATE_PROPERTIES music_screen_properties =
6001 {
6002 &screen_template_define, /* base info */
6003 gx_studio_window_create, /* base create function */
6004 {191, 95, 448, 383} /* widget size */
6005 };
6006 GX_RADIAL_PROGRESS_BAR_INFO music_screen_play_progress_properties =
6007 {
6008 319, /* xcenter */
6009 260, /* ycenter */
6010 52, /* radius */
6011 -180, /* current val */
6012 90, /* anchor val */
6013 GX_FONT_ID_SYSTEM, /* font_id */
6014 GX_COLOR_ID_TEXT, /* normal text color */
6015 GX_COLOR_ID_SELECTED_TEXT, /* selected text color */
6016 GX_COLOR_ID_DISABLED_TEXT, /* disabled text color */
6017 20, /* normal brush width */
6018 20, /* selected brush width */
6019 GX_COLOR_ID_BLUE, /* normal brush color */
6020 GX_COLOR_ID_WHITE, /* selected brush color */
6021 };
6022 GX_PIXELMAP_BUTTON_PROPERTIES music_screen_play_button_properties =
6023 {
6024 GX_PIXELMAP_ID_PLAYER_ICON_PLAY, /* normal pixelmap id */
6025 GX_PIXELMAP_ID_PLAYER_ICON_PAUSE, /* selected pixelmap id */
6026 0 /* disabled pixelmap id */
6027 };
6028 GX_PROMPT_PROPERTIES music_screen_singer_properties =
6029 {
6030 GX_STRING_ID_STRING_21, /* string id */
6031 GX_FONT_ID_NORMAL, /* font id */
6032 GX_COLOR_ID_WHITE, /* normal text color */
6033 GX_COLOR_ID_WHITE, /* selected text color */
6034 GX_COLOR_ID_WHITE /* disabled text color */
6035 };
6036 GX_PROMPT_PROPERTIES music_screen_song_properties =
6037 {
6038 GX_STRING_ID_STRING_30, /* string id */
6039 GX_FONT_ID_PROMPT, /* font id */
6040 GX_COLOR_ID_WHITE, /* normal text color */
6041 GX_COLOR_ID_WHITE, /* selected text color */
6042 GX_COLOR_ID_WHITE /* disabled text color */
6043 };
6044 GX_PIXELMAP_BUTTON_PROPERTIES music_screen_reverse_button_properties =
6045 {
6046 GX_PIXELMAP_ID_PLAYER_ICON_REVERSE, /* normal pixelmap id */
6047 0, /* selected pixelmap id */
6048 0 /* disabled pixelmap id */
6049 };
6050 GX_PIXELMAP_BUTTON_PROPERTIES music_screen_forward_button_properties =
6051 {
6052 GX_PIXELMAP_ID_PLAYER_ICON_FORWARD, /* normal pixelmap id */
6053 0, /* selected pixelmap id */
6054 0 /* disabled pixelmap id */
6055 };
6056 GX_NUMERIC_PROMPT_PROPERTIES music_screen_hour_properties =
6057 {
6058 0, /* string id */
6059 GX_FONT_ID_SYSTEM, /* font id */
6060 GX_COLOR_ID_GRAY, /* normal text color */
6061 GX_COLOR_ID_GRAY, /* selected text color */
6062 GX_COLOR_ID_GRAY, /* disabled text color */
6063 time_format, /* format function */
6064 10 /* numeric prompt value */
6065 };
6066 GX_NUMERIC_PROMPT_PROPERTIES music_screen_minute_properties =
6067 {
6068 0, /* string id */
6069 GX_FONT_ID_SYSTEM, /* font id */
6070 GX_COLOR_ID_GRAY, /* normal text color */
6071 GX_COLOR_ID_GRAY, /* selected text color */
6072 GX_COLOR_ID_GRAY, /* disabled text color */
6073 time_format, /* format function */
6074 32 /* numeric prompt value */
6075 };
6076 GX_PROMPT_PROPERTIES music_screen_second_properties =
6077 {
6078 GX_STRING_ID_STRING_6, /* string id */
6079 GX_FONT_ID_SYSTEM, /* font id */
6080 GX_COLOR_ID_GRAY, /* normal text color */
6081 GX_COLOR_ID_GRAY, /* selected text color */
6082 GX_COLOR_ID_GRAY /* disabled text color */
6083 };
6084 GX_WINDOW_PROPERTIES music_screen_play_mode_win_properties =
6085 {
6086 0 /* wallpaper pixelmap id */
6087 };
6088 GX_PIXELMAP_BUTTON_PROPERTIES music_screen_play_list_button_properties =
6089 {
6090 GX_PIXELMAP_ID_PLAYER_MENU_LIST, /* normal pixelmap id */
6091 0, /* selected pixelmap id */
6092 0 /* disabled pixelmap id */
6093 };
6094 GX_PIXELMAP_BUTTON_PROPERTIES music_screen_play_randon_button_properties =
6095 {
6096 GX_PIXELMAP_ID_PLAYER_MENU_RANDOM, /* normal pixelmap id */
6097 0, /* selected pixelmap id */
6098 0 /* disabled pixelmap id */
6099 };
6100 GX_PIXELMAP_BUTTON_PROPERTIES music_screen_play_repeat_button_properties =
6101 {
6102 GX_PIXELMAP_ID_PLAYER_MENU_REPEAT, /* normal pixelmap id */
6103 0, /* selected pixelmap id */
6104 0 /* disabled pixelmap id */
6105 };
6106
6107 GX_CONST GX_STUDIO_WIDGET music_screen_play_button_define =
6108 {
6109 "play_button",
6110 GX_TYPE_PIXELMAP_BUTTON, /* widget type */
6111 ID_PLAY_BUTTON, /* widget id */
6112 #if defined(GX_WIDGET_USER_DATA)
6113 0, /* user data */
6114 #endif
6115 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_TOGGLE, /* style flags */
6116 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6117 sizeof(GX_PIXELMAP_BUTTON), /* control block size */
6118 GX_COLOR_ID_BLUE, /* normal color id */
6119 GX_COLOR_ID_BLUE, /* selected color id */
6120 GX_COLOR_ID_BLUE, /* disabled color id */
6121 gx_studio_pixelmap_button_create, /* create function */
6122 GX_NULL, /* drawing function override */
6123 GX_NULL, /* event function override */
6124 {299, 239, 338, 280}, /* widget size */
6125 GX_NULL, /* no next widget */
6126 GX_NULL, /* no child widgets */
6127 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_play_button), /* control block */
6128 (void *) &music_screen_play_button_properties /* extended properties */
6129 };
6130
6131 GX_CONST GX_STUDIO_WIDGET music_screen_play_repeat_button_define =
6132 {
6133 "play_repeat_button",
6134 GX_TYPE_PIXELMAP_BUTTON, /* widget type */
6135 GX_ID_NONE, /* widget id */
6136 #if defined(GX_WIDGET_USER_DATA)
6137 0, /* user data */
6138 #endif
6139 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO, /* style flags */
6140 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6141 sizeof(GX_PIXELMAP_BUTTON), /* control block size */
6142 GX_COLOR_ID_GRAY, /* normal color id */
6143 GX_COLOR_ID_BLUE, /* selected color id */
6144 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6145 gx_studio_pixelmap_button_create, /* create function */
6146 (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
6147 GX_NULL, /* event function override */
6148 {367, 336, 411, 369}, /* widget size */
6149 GX_NULL, /* no next widget */
6150 GX_NULL, /* no child widgets */
6151 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_play_repeat_button), /* control block */
6152 (void *) &music_screen_play_repeat_button_properties /* extended properties */
6153 };
6154
6155 GX_CONST GX_STUDIO_WIDGET music_screen_play_randon_button_define =
6156 {
6157 "play_randon_button",
6158 GX_TYPE_PIXELMAP_BUTTON, /* widget type */
6159 GX_ID_NONE, /* widget id */
6160 #if defined(GX_WIDGET_USER_DATA)
6161 0, /* user data */
6162 #endif
6163 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_RADIO, /* style flags */
6164 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6165 sizeof(GX_PIXELMAP_BUTTON), /* control block size */
6166 GX_COLOR_ID_GRAY, /* normal color id */
6167 GX_COLOR_ID_BLUE, /* selected color id */
6168 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6169 gx_studio_pixelmap_button_create, /* create function */
6170 (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
6171 GX_NULL, /* event function override */
6172 {296, 336, 339, 365}, /* widget size */
6173 &music_screen_play_repeat_button_define, /* next widget definition */
6174 GX_NULL, /* no child widgets */
6175 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_play_randon_button), /* control block */
6176 (void *) &music_screen_play_randon_button_properties /* extended properties */
6177 };
6178
6179 GX_CONST GX_STUDIO_WIDGET music_screen_play_list_button_define =
6180 {
6181 "play_list_button",
6182 GX_TYPE_PIXELMAP_BUTTON, /* widget type */
6183 GX_ID_NONE, /* widget id */
6184 #if defined(GX_WIDGET_USER_DATA)
6185 0, /* user data */
6186 #endif
6187 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_BUTTON_PUSHED|GX_STYLE_BUTTON_RADIO, /* style flags */
6188 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6189 sizeof(GX_PIXELMAP_BUTTON), /* control block size */
6190 GX_COLOR_ID_GRAY, /* normal color id */
6191 GX_COLOR_ID_BLUE, /* selected color id */
6192 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6193 gx_studio_pixelmap_button_create, /* create function */
6194 (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
6195 GX_NULL, /* event function override */
6196 {226, 337, 269, 366}, /* widget size */
6197 &music_screen_play_randon_button_define, /* next widget definition */
6198 GX_NULL, /* no child widgets */
6199 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_play_list_button), /* control block */
6200 (void *) &music_screen_play_list_button_properties /* extended properties */
6201 };
6202
6203 GX_CONST GX_STUDIO_WIDGET music_screen_play_mode_win_define =
6204 {
6205 "play_mode_win",
6206 GX_TYPE_WINDOW, /* widget type */
6207 GX_ID_NONE, /* widget id */
6208 #if defined(GX_WIDGET_USER_DATA)
6209 0, /* user data */
6210 #endif
6211 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
6212 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6213 sizeof(GX_WINDOW), /* control block size */
6214 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6215 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6216 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6217 gx_studio_window_create, /* create function */
6218 GX_NULL, /* drawing function override */
6219 GX_NULL, /* event function override */
6220 {226, 331, 418, 371}, /* widget size */
6221 GX_NULL, /* no next widget */
6222 &music_screen_play_list_button_define, /* child widget definition */
6223 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_play_mode_win), /* control block */
6224 (void *) &music_screen_play_mode_win_properties /* extended properties */
6225 };
6226
6227 GX_CONST GX_STUDIO_WIDGET music_screen_second_define =
6228 {
6229 "second",
6230 GX_TYPE_PROMPT, /* widget type */
6231 GX_ID_NONE, /* widget id */
6232 #if defined(GX_WIDGET_USER_DATA)
6233 0, /* user data */
6234 #endif
6235 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
6236 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6237 sizeof(GX_PROMPT), /* control block size */
6238 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
6239 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
6240 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6241 gx_studio_prompt_create, /* create function */
6242 GX_NULL, /* drawing function override */
6243 GX_NULL, /* event function override */
6244 {401, 199, 404, 216}, /* widget size */
6245 &music_screen_play_mode_win_define, /* next widget definition */
6246 GX_NULL, /* no child widgets */
6247 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_second), /* control block */
6248 (void *) &music_screen_second_properties /* extended properties */
6249 };
6250
6251 GX_CONST GX_STUDIO_WIDGET music_screen_minute_define =
6252 {
6253 "minute",
6254 GX_TYPE_NUMERIC_PROMPT, /* widget type */
6255 GX_ID_NONE, /* widget id */
6256 #if defined(GX_WIDGET_USER_DATA)
6257 0, /* user data */
6258 #endif
6259 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_LEFT, /* style flags */
6260 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6261 sizeof(GX_NUMERIC_PROMPT), /* control block size */
6262 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
6263 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
6264 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6265 gx_studio_numeric_prompt_create, /* create function */
6266 GX_NULL, /* drawing function override */
6267 GX_NULL, /* event function override */
6268 {406, 200, 423, 217}, /* widget size */
6269 &music_screen_second_define, /* next widget definition */
6270 GX_NULL, /* no child widgets */
6271 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_minute), /* control block */
6272 (void *) &music_screen_minute_properties /* extended properties */
6273 };
6274
6275 GX_CONST GX_STUDIO_WIDGET music_screen_hour_define =
6276 {
6277 "hour",
6278 GX_TYPE_NUMERIC_PROMPT, /* widget type */
6279 GX_ID_NONE, /* widget id */
6280 #if defined(GX_WIDGET_USER_DATA)
6281 0, /* user data */
6282 #endif
6283 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_RIGHT, /* style flags */
6284 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6285 sizeof(GX_NUMERIC_PROMPT), /* control block size */
6286 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
6287 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
6288 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6289 gx_studio_numeric_prompt_create, /* create function */
6290 GX_NULL, /* drawing function override */
6291 GX_NULL, /* event function override */
6292 {383, 200, 400, 217}, /* widget size */
6293 &music_screen_minute_define, /* next widget definition */
6294 GX_NULL, /* no child widgets */
6295 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_hour), /* control block */
6296 (void *) &music_screen_hour_properties /* extended properties */
6297 };
6298
6299 GX_CONST GX_STUDIO_WIDGET music_screen_forward_button_define =
6300 {
6301 "forward_button",
6302 GX_TYPE_PIXELMAP_BUTTON, /* widget type */
6303 ID_FORWARD_BUTTON, /* widget id */
6304 #if defined(GX_WIDGET_USER_DATA)
6305 0, /* user data */
6306 #endif
6307 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
6308 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6309 sizeof(GX_PIXELMAP_BUTTON), /* control block size */
6310 GX_COLOR_ID_BLUE, /* normal color id */
6311 GX_COLOR_ID_DARK_BLUE, /* selected color id */
6312 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6313 gx_studio_pixelmap_button_create, /* create function */
6314 (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
6315 GX_NULL, /* event function override */
6316 {400, 247, 437, 274}, /* widget size */
6317 &music_screen_hour_define, /* next widget definition */
6318 GX_NULL, /* no child widgets */
6319 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_forward_button), /* control block */
6320 (void *) &music_screen_forward_button_properties /* extended properties */
6321 };
6322
6323 GX_CONST GX_STUDIO_WIDGET music_screen_reverse_button_define =
6324 {
6325 "reverse_button",
6326 GX_TYPE_PIXELMAP_BUTTON, /* widget type */
6327 ID_REVERSE_BUTTON, /* widget id */
6328 #if defined(GX_WIDGET_USER_DATA)
6329 0, /* user data */
6330 #endif
6331 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
6332 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6333 sizeof(GX_PIXELMAP_BUTTON), /* control block size */
6334 GX_COLOR_ID_BLUE, /* normal color id */
6335 GX_COLOR_ID_DARK_BLUE, /* selected color id */
6336 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6337 gx_studio_pixelmap_button_create, /* create function */
6338 (VOID (*)(GX_WIDGET *)) custom_pixelmap_button_draw, /* drawing function override */
6339 GX_NULL, /* event function override */
6340 {205, 247, 242, 274}, /* widget size */
6341 &music_screen_forward_button_define, /* next widget definition */
6342 GX_NULL, /* no child widgets */
6343 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_reverse_button), /* control block */
6344 (void *) &music_screen_reverse_button_properties /* extended properties */
6345 };
6346
6347 GX_CONST GX_STUDIO_WIDGET music_screen_song_define =
6348 {
6349 "song",
6350 GX_TYPE_PROMPT, /* widget type */
6351 GX_ID_NONE, /* widget id */
6352 #if defined(GX_WIDGET_USER_DATA)
6353 0, /* user data */
6354 #endif
6355 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
6356 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6357 sizeof(GX_PROMPT), /* control block size */
6358 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
6359 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
6360 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6361 gx_studio_prompt_create, /* create function */
6362 GX_NULL, /* drawing function override */
6363 GX_NULL, /* event function override */
6364 {231, 168, 410, 185}, /* widget size */
6365 &music_screen_reverse_button_define, /* next widget definition */
6366 GX_NULL, /* no child widgets */
6367 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_song), /* control block */
6368 (void *) &music_screen_song_properties /* extended properties */
6369 };
6370
6371 GX_CONST GX_STUDIO_WIDGET music_screen_singer_define =
6372 {
6373 "singer",
6374 GX_TYPE_PROMPT, /* widget type */
6375 GX_ID_NONE, /* widget id */
6376 #if defined(GX_WIDGET_USER_DATA)
6377 0, /* user data */
6378 #endif
6379 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_STYLE_TEXT_CENTER, /* style flags */
6380 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6381 sizeof(GX_PROMPT), /* control block size */
6382 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
6383 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
6384 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6385 gx_studio_prompt_create, /* create function */
6386 GX_NULL, /* drawing function override */
6387 GX_NULL, /* event function override */
6388 {275, 139, 389, 159}, /* widget size */
6389 &music_screen_song_define, /* next widget definition */
6390 GX_NULL, /* no child widgets */
6391 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_singer), /* control block */
6392 (void *) &music_screen_singer_properties /* extended properties */
6393 };
6394
6395 GX_CONST GX_STUDIO_WIDGET music_screen_play_progress_define =
6396 {
6397 "play_progress",
6398 GX_TYPE_RADIAL_PROGRESS_BAR, /* widget type */
6399 GX_ID_NONE, /* widget id */
6400 #if defined(GX_WIDGET_USER_DATA)
6401 0, /* user data */
6402 #endif
6403 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_RADIAL_PROGRESS_ALIAS|GX_STYLE_RADIAL_PROGRESS_ROUND, /* style flags */
6404 0, /* status flags */
6405 sizeof(GX_RADIAL_PROGRESS_BAR), /* control block size */
6406 GX_COLOR_ID_WIDGET_FILL, /* normal color id */
6407 GX_COLOR_ID_SELECTED_FILL, /* selected color id */
6408 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6409 gx_studio_radial_progress_bar_create, /* create function */
6410 GX_NULL, /* drawing function override */
6411 GX_NULL, /* event function override */
6412 {257, 198, 381, 322}, /* widget size */
6413 &music_screen_singer_define, /* next widget definition */
6414 &music_screen_play_button_define, /* child widget definition */
6415 offsetof(MUSIC_SCREEN_CONTROL_BLOCK, music_screen_play_progress), /* control block */
6416 (void *) &music_screen_play_progress_properties /* extended properties */
6417 };
6418
6419 GX_CONST GX_STUDIO_WIDGET music_screen_define =
6420 {
6421 "music_screen",
6422 GX_TYPE_TEMPLATE, /* widget type */
6423 GX_ID_NONE, /* widget id */
6424 #if defined(GX_WIDGET_USER_DATA)
6425 0, /* user data */
6426 #endif
6427 GX_STYLE_BORDER_NONE, /* style flags */
6428 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6429 sizeof(MUSIC_SCREEN_CONTROL_BLOCK), /* control block size */
6430 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6431 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6432 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
6433 gx_studio_template_create, /* create function */
6434 GX_NULL, /* drawing function override */
6435 (UINT (*)(GX_WIDGET *, GX_EVENT *)) music_screen_event_process, /* event function override */
6436 {191, 95, 448, 383}, /* widget size */
6437 GX_NULL, /* next widget */
6438 &music_screen_play_progress_define, /* child widget */
6439 0, /* control block */
6440 (void *) &music_screen_properties /* extended properties */
6441 };
6442 GX_TEMPLATE_PROPERTIES message_screen_properties =
6443 {
6444 &screen_template_define, /* base info */
6445 gx_studio_window_create, /* base create function */
6446 {191, 95, 448, 383} /* widget size */
6447 };
6448 GX_WINDOW_PROPERTIES message_screen_message_frame_properties =
6449 {
6450 0 /* wallpaper pixelmap id */
6451 };
6452 GX_SCROLLBAR_APPEARANCE message_screen_vertical_scroll_1_properties =
6453 {
6454 10, /* scroll width */
6455 10, /* thumb width */
6456 0, /* thumb travel min */
6457 0, /* thumb travel max */
6458 4, /* thumb border style */
6459 0, /* scroll fill pixelmap */
6460 GX_PIXELMAP_ID_SCROLL_BAR, /* scroll thumb pixelmap */
6461 0, /* scroll up pixelmap */
6462 0, /* scroll down pixelmap */
6463 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */
6464 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb border color */
6465 GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
6466 };
6467
6468 GX_CONST GX_STUDIO_WIDGET message_screen_vertical_scroll_1_define =
6469 {
6470 "vertical_scroll_1",
6471 GX_TYPE_VERTICAL_SCROLL, /* widget type */
6472 GX_ID_NONE, /* widget id */
6473 #if defined(GX_WIDGET_USER_DATA)
6474 0, /* user data */
6475 #endif
6476 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_SCROLLBAR_VERTICAL, /* style flags */
6477 0, /* status flags */
6478 sizeof(GX_SCROLLBAR), /* control block size */
6479 GX_COLOR_ID_GRAY, /* normal color id */
6480 GX_COLOR_ID_SCROLL_FILL, /* selected color id */
6481 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6482 gx_studio_vertical_scrollbar_create, /* create function */
6483 GX_NULL, /* drawing function override */
6484 GX_NULL, /* event function override */
6485 {451, 150, 460, 382}, /* widget size */
6486 GX_NULL, /* no next widget */
6487 GX_NULL, /* no child widgets */
6488 offsetof(MESSAGE_SCREEN_CONTROL_BLOCK, message_screen_vertical_scroll_1), /* control block */
6489 (void *) &message_screen_vertical_scroll_1_properties /* extended properties */
6490 };
6491
6492 GX_CONST GX_STUDIO_WIDGET message_screen_message_frame_define =
6493 {
6494 "message_frame",
6495 GX_TYPE_WINDOW, /* widget type */
6496 GX_ID_NONE, /* widget id */
6497 #if defined(GX_WIDGET_USER_DATA)
6498 0, /* user data */
6499 #endif
6500 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
6501 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6502 sizeof(GX_WINDOW), /* control block size */
6503 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6504 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6505 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6506 gx_studio_window_create, /* create function */
6507 GX_NULL, /* drawing function override */
6508 GX_NULL, /* event function override */
6509 {204, 149, 448, 383}, /* widget size */
6510 GX_NULL, /* no next widget */
6511 &message_screen_vertical_scroll_1_define, /* child widget definition */
6512 offsetof(MESSAGE_SCREEN_CONTROL_BLOCK, message_screen_message_frame), /* control block */
6513 (void *) &message_screen_message_frame_properties /* extended properties */
6514 };
6515
6516 GX_CONST GX_STUDIO_WIDGET message_screen_define =
6517 {
6518 "message_screen",
6519 GX_TYPE_TEMPLATE, /* widget type */
6520 GX_ID_NONE, /* widget id */
6521 #if defined(GX_WIDGET_USER_DATA)
6522 0, /* user data */
6523 #endif
6524 GX_STYLE_BORDER_NONE, /* style flags */
6525 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6526 sizeof(MESSAGE_SCREEN_CONTROL_BLOCK), /* control block size */
6527 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6528 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6529 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
6530 gx_studio_template_create, /* create function */
6531 GX_NULL, /* drawing function override */
6532 (UINT (*)(GX_WIDGET *, GX_EVENT *)) message_screen_event_process, /* event function override */
6533 {191, 95, 448, 383}, /* widget size */
6534 GX_NULL, /* next widget */
6535 &message_screen_message_frame_define, /* child widget */
6536 0, /* control block */
6537 (void *) &message_screen_properties /* extended properties */
6538 };
6539 GX_TEMPLATE_PROPERTIES weather_screen_template_properties =
6540 {
6541 &screen_template_define, /* base info */
6542 gx_studio_window_create, /* base create function */
6543 {191, 95, 448, 383} /* widget size */
6544 };
6545 GX_WINDOW_PROPERTIES weather_screen_template_weather_frame_properties =
6546 {
6547 0 /* wallpaper pixelmap id */
6548 };
6549 GX_SCROLLBAR_APPEARANCE weather_screen_template_vertical_scroll_properties =
6550 {
6551 10, /* scroll width */
6552 10, /* thumb width */
6553 0, /* thumb travel min */
6554 0, /* thumb travel max */
6555 4, /* thumb border style */
6556 0, /* scroll fill pixelmap */
6557 GX_PIXELMAP_ID_SCROLL_BAR, /* scroll thumb pixelmap */
6558 0, /* scroll up pixelmap */
6559 0, /* scroll down pixelmap */
6560 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb color */
6561 GX_COLOR_ID_SCROLL_BUTTON, /* scroll thumb border color */
6562 GX_COLOR_ID_SCROLL_BUTTON, /* scroll button color */
6563 };
6564 GX_TEMPLATE_PROPERTIES weather_screen_template_day_win_7_properties =
6565 {
6566 &weather_info_template_define, /* base info */
6567 gx_studio_window_create, /* base create function */
6568 {204, 425, 434, 471} /* widget size */
6569 };
6570 GX_TEMPLATE_PROPERTIES weather_screen_template_day_win_6_properties =
6571 {
6572 &weather_info_template_define, /* base info */
6573 gx_studio_window_create, /* base create function */
6574 {204, 379, 434, 425} /* widget size */
6575 };
6576 GX_TEMPLATE_PROPERTIES weather_screen_template_day_win_5_properties =
6577 {
6578 &weather_info_template_define, /* base info */
6579 gx_studio_window_create, /* base create function */
6580 {204, 333, 434, 379} /* widget size */
6581 };
6582 GX_TEMPLATE_PROPERTIES weather_screen_template_day_win_4_properties =
6583 {
6584 &weather_info_template_define, /* base info */
6585 gx_studio_window_create, /* base create function */
6586 {204, 287, 434, 333} /* widget size */
6587 };
6588 GX_TEMPLATE_PROPERTIES weather_screen_template_day_win_3_properties =
6589 {
6590 &weather_info_template_define, /* base info */
6591 gx_studio_window_create, /* base create function */
6592 {204, 241, 434, 287} /* widget size */
6593 };
6594 GX_TEMPLATE_PROPERTIES weather_screen_template_day_win_2_properties =
6595 {
6596 &weather_info_template_define, /* base info */
6597 gx_studio_window_create, /* base create function */
6598 {204, 195, 434, 241} /* widget size */
6599 };
6600 GX_TEMPLATE_PROPERTIES weather_screen_template_day_win_1_properties =
6601 {
6602 &weather_info_template_define, /* base info */
6603 gx_studio_window_create, /* base create function */
6604 {204, 149, 434, 195} /* widget size */
6605 };
6606
6607 GX_CONST GX_STUDIO_WIDGET weather_screen_template_day_win_1_define =
6608 {
6609 "day_win_1",
6610 GX_TYPE_TEMPLATE, /* widget type */
6611 GX_ID_NONE, /* widget id */
6612 #if defined(GX_WIDGET_USER_DATA)
6613 0, /* user data */
6614 #endif
6615 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
6616 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6617 sizeof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK), /* control block size */
6618 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6619 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6620 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6621 gx_studio_template_create, /* create function */
6622 GX_NULL, /* drawing function override */
6623 GX_NULL, /* event function override */
6624 {204, 149, 434, 195}, /* widget size */
6625 GX_NULL, /* no next widget */
6626 GX_NULL, /* no child widgets */
6627 offsetof(WEATHER_SCREEN_TEMPLATE_CONTROL_BLOCK, weather_screen_template_day_win_1), /* control block */
6628 (void *) &weather_screen_template_day_win_1_properties /* extended properties */
6629 };
6630
6631 GX_CONST GX_STUDIO_WIDGET weather_screen_template_day_win_2_define =
6632 {
6633 "day_win_2",
6634 GX_TYPE_TEMPLATE, /* widget type */
6635 GX_ID_NONE, /* widget id */
6636 #if defined(GX_WIDGET_USER_DATA)
6637 0, /* user data */
6638 #endif
6639 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
6640 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6641 sizeof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK), /* control block size */
6642 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6643 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6644 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6645 gx_studio_template_create, /* create function */
6646 GX_NULL, /* drawing function override */
6647 GX_NULL, /* event function override */
6648 {204, 195, 434, 241}, /* widget size */
6649 &weather_screen_template_day_win_1_define, /* next widget definition */
6650 GX_NULL, /* no child widgets */
6651 offsetof(WEATHER_SCREEN_TEMPLATE_CONTROL_BLOCK, weather_screen_template_day_win_2), /* control block */
6652 (void *) &weather_screen_template_day_win_2_properties /* extended properties */
6653 };
6654
6655 GX_CONST GX_STUDIO_WIDGET weather_screen_template_day_win_3_define =
6656 {
6657 "day_win_3",
6658 GX_TYPE_TEMPLATE, /* widget type */
6659 GX_ID_NONE, /* widget id */
6660 #if defined(GX_WIDGET_USER_DATA)
6661 0, /* user data */
6662 #endif
6663 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
6664 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6665 sizeof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK), /* control block size */
6666 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6667 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6668 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6669 gx_studio_template_create, /* create function */
6670 GX_NULL, /* drawing function override */
6671 GX_NULL, /* event function override */
6672 {204, 241, 434, 287}, /* widget size */
6673 &weather_screen_template_day_win_2_define, /* next widget definition */
6674 GX_NULL, /* no child widgets */
6675 offsetof(WEATHER_SCREEN_TEMPLATE_CONTROL_BLOCK, weather_screen_template_day_win_3), /* control block */
6676 (void *) &weather_screen_template_day_win_3_properties /* extended properties */
6677 };
6678
6679 GX_CONST GX_STUDIO_WIDGET weather_screen_template_day_win_4_define =
6680 {
6681 "day_win_4",
6682 GX_TYPE_TEMPLATE, /* widget type */
6683 GX_ID_NONE, /* widget id */
6684 #if defined(GX_WIDGET_USER_DATA)
6685 0, /* user data */
6686 #endif
6687 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
6688 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6689 sizeof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK), /* control block size */
6690 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6691 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6692 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6693 gx_studio_template_create, /* create function */
6694 GX_NULL, /* drawing function override */
6695 GX_NULL, /* event function override */
6696 {204, 287, 434, 333}, /* widget size */
6697 &weather_screen_template_day_win_3_define, /* next widget definition */
6698 GX_NULL, /* no child widgets */
6699 offsetof(WEATHER_SCREEN_TEMPLATE_CONTROL_BLOCK, weather_screen_template_day_win_4), /* control block */
6700 (void *) &weather_screen_template_day_win_4_properties /* extended properties */
6701 };
6702
6703 GX_CONST GX_STUDIO_WIDGET weather_screen_template_day_win_5_define =
6704 {
6705 "day_win_5",
6706 GX_TYPE_TEMPLATE, /* widget type */
6707 GX_ID_NONE, /* widget id */
6708 #if defined(GX_WIDGET_USER_DATA)
6709 0, /* user data */
6710 #endif
6711 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
6712 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6713 sizeof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK), /* control block size */
6714 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6715 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6716 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6717 gx_studio_template_create, /* create function */
6718 GX_NULL, /* drawing function override */
6719 GX_NULL, /* event function override */
6720 {204, 333, 434, 379}, /* widget size */
6721 &weather_screen_template_day_win_4_define, /* next widget definition */
6722 GX_NULL, /* no child widgets */
6723 offsetof(WEATHER_SCREEN_TEMPLATE_CONTROL_BLOCK, weather_screen_template_day_win_5), /* control block */
6724 (void *) &weather_screen_template_day_win_5_properties /* extended properties */
6725 };
6726
6727 GX_CONST GX_STUDIO_WIDGET weather_screen_template_day_win_6_define =
6728 {
6729 "day_win_6",
6730 GX_TYPE_TEMPLATE, /* widget type */
6731 GX_ID_NONE, /* widget id */
6732 #if defined(GX_WIDGET_USER_DATA)
6733 0, /* user data */
6734 #endif
6735 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
6736 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6737 sizeof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK), /* control block size */
6738 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6739 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6740 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6741 gx_studio_template_create, /* create function */
6742 GX_NULL, /* drawing function override */
6743 GX_NULL, /* event function override */
6744 {204, 379, 434, 425}, /* widget size */
6745 &weather_screen_template_day_win_5_define, /* next widget definition */
6746 GX_NULL, /* no child widgets */
6747 offsetof(WEATHER_SCREEN_TEMPLATE_CONTROL_BLOCK, weather_screen_template_day_win_6), /* control block */
6748 (void *) &weather_screen_template_day_win_6_properties /* extended properties */
6749 };
6750
6751 GX_CONST GX_STUDIO_WIDGET weather_screen_template_day_win_7_define =
6752 {
6753 "day_win_7",
6754 GX_TYPE_TEMPLATE, /* widget type */
6755 GX_ID_NONE, /* widget id */
6756 #if defined(GX_WIDGET_USER_DATA)
6757 0, /* user data */
6758 #endif
6759 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED, /* style flags */
6760 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6761 sizeof(WEATHER_INFO_TEMPLATE_CONTROL_BLOCK), /* control block size */
6762 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6763 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6764 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6765 gx_studio_template_create, /* create function */
6766 GX_NULL, /* drawing function override */
6767 GX_NULL, /* event function override */
6768 {204, 425, 434, 471}, /* widget size */
6769 &weather_screen_template_day_win_6_define, /* next widget definition */
6770 GX_NULL, /* no child widgets */
6771 offsetof(WEATHER_SCREEN_TEMPLATE_CONTROL_BLOCK, weather_screen_template_day_win_7), /* control block */
6772 (void *) &weather_screen_template_day_win_7_properties /* extended properties */
6773 };
6774
6775 GX_CONST GX_STUDIO_WIDGET weather_screen_template_vertical_scroll_define =
6776 {
6777 "vertical_scroll",
6778 GX_TYPE_VERTICAL_SCROLL, /* widget type */
6779 GX_ID_NONE, /* widget id */
6780 #if defined(GX_WIDGET_USER_DATA)
6781 0, /* user data */
6782 #endif
6783 GX_STYLE_BORDER_NONE|GX_STYLE_TRANSPARENT|GX_STYLE_ENABLED|GX_SCROLLBAR_VERTICAL, /* style flags */
6784 0, /* status flags */
6785 sizeof(GX_SCROLLBAR), /* control block size */
6786 GX_COLOR_ID_SCROLL_FILL, /* normal color id */
6787 GX_COLOR_ID_SCROLL_FILL, /* selected color id */
6788 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6789 gx_studio_vertical_scrollbar_create, /* create function */
6790 GX_NULL, /* drawing function override */
6791 GX_NULL, /* event function override */
6792 {438, 150, 447, 382}, /* widget size */
6793 &weather_screen_template_day_win_7_define, /* next widget definition */
6794 GX_NULL, /* no child widgets */
6795 offsetof(WEATHER_SCREEN_TEMPLATE_CONTROL_BLOCK, weather_screen_template_vertical_scroll), /* control block */
6796 (void *) &weather_screen_template_vertical_scroll_properties /* extended properties */
6797 };
6798
6799 GX_CONST GX_STUDIO_WIDGET weather_screen_template_weather_frame_define =
6800 {
6801 "weather_frame",
6802 GX_TYPE_WINDOW, /* widget type */
6803 GX_ID_NONE, /* widget id */
6804 #if defined(GX_WIDGET_USER_DATA)
6805 0, /* user data */
6806 #endif
6807 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
6808 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6809 sizeof(GX_WINDOW), /* control block size */
6810 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6811 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6812 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6813 gx_studio_window_create, /* create function */
6814 GX_NULL, /* drawing function override */
6815 GX_NULL, /* event function override */
6816 {191, 149, 448, 383}, /* widget size */
6817 GX_NULL, /* no next widget */
6818 &weather_screen_template_vertical_scroll_define, /* child widget definition */
6819 offsetof(WEATHER_SCREEN_TEMPLATE_CONTROL_BLOCK, weather_screen_template_weather_frame), /* control block */
6820 (void *) &weather_screen_template_weather_frame_properties /* extended properties */
6821 };
6822
6823 GX_CONST GX_STUDIO_WIDGET weather_screen_template_define =
6824 {
6825 "weather_screen_template",
6826 GX_TYPE_TEMPLATE, /* widget type */
6827 ID_TEMPLATE, /* widget id */
6828 #if defined(GX_WIDGET_USER_DATA)
6829 0, /* user data */
6830 #endif
6831 GX_STYLE_BORDER_NONE, /* style flags */
6832 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6833 sizeof(WEATHER_SCREEN_TEMPLATE_CONTROL_BLOCK), /* control block size */
6834 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6835 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6836 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
6837 gx_studio_template_create, /* create function */
6838 GX_NULL, /* drawing function override */
6839 (UINT (*)(GX_WIDGET *, GX_EVENT *)) weather_screen_template_event_process, /* event function override */
6840 {191, 95, 448, 383}, /* widget size */
6841 GX_NULL, /* next widget */
6842 &weather_screen_template_weather_frame_define, /* child widget */
6843 0, /* control block */
6844 (void *) &weather_screen_template_properties /* extended properties */
6845 };
6846 GX_TEMPLATE_PROPERTIES SanFrancisco_weather_screen_properties =
6847 {
6848 &weather_screen_template_define, /* base info */
6849 gx_studio_template_create, /* base create function */
6850 {191, 95, 448, 383} /* widget size */
6851 };
6852
6853 GX_CONST GX_STUDIO_WIDGET SanFrancisco_weather_screen_define =
6854 {
6855 "SanFrancisco_weather_screen",
6856 GX_TYPE_TEMPLATE, /* widget type */
6857 ID_SAN_FRANCISCO_SCREEN, /* widget id */
6858 #if defined(GX_WIDGET_USER_DATA)
6859 0, /* user data */
6860 #endif
6861 GX_STYLE_BORDER_NONE, /* style flags */
6862 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6863 sizeof(SANFRANCISCO_WEATHER_SCREEN_CONTROL_BLOCK), /* control block size */
6864 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6865 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6866 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
6867 gx_studio_template_create, /* create function */
6868 GX_NULL, /* drawing function override */
6869 GX_NULL, /* event function override */
6870 {191, 95, 448, 383}, /* widget size */
6871 GX_NULL, /* next widget */
6872 GX_NULL, /* child widget */
6873 0, /* control block */
6874 (void *) &SanFrancisco_weather_screen_properties /* extended properties */
6875 };
6876 GX_TEMPLATE_PROPERTIES LosAngeles_weather_screen_properties =
6877 {
6878 &weather_screen_template_define, /* base info */
6879 gx_studio_template_create, /* base create function */
6880 {191, 95, 448, 383} /* widget size */
6881 };
6882
6883 GX_CONST GX_STUDIO_WIDGET LosAngeles_weather_screen_define =
6884 {
6885 "LosAngeles_weather_screen",
6886 GX_TYPE_TEMPLATE, /* widget type */
6887 ID_LOS_ANGELES_SCREEN, /* widget id */
6888 #if defined(GX_WIDGET_USER_DATA)
6889 0, /* user data */
6890 #endif
6891 GX_STYLE_BORDER_NONE, /* style flags */
6892 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6893 sizeof(LOSANGELES_WEATHER_SCREEN_CONTROL_BLOCK), /* control block size */
6894 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6895 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6896 GX_COLOR_ID_WINDOW_FILL, /* disabled color id */
6897 gx_studio_template_create, /* create function */
6898 GX_NULL, /* drawing function override */
6899 GX_NULL, /* event function override */
6900 {191, 95, 448, 383}, /* widget size */
6901 GX_NULL, /* next widget */
6902 GX_NULL, /* child widget */
6903 0, /* control block */
6904 (void *) &LosAngeles_weather_screen_properties /* extended properties */
6905 };
6906 GX_TEMPLATE_PROPERTIES SanDiego_weather_screen_properties =
6907 {
6908 &weather_screen_template_define, /* base info */
6909 gx_studio_template_create, /* base create function */
6910 {191, 95, 448, 383} /* widget size */
6911 };
6912
6913 GX_CONST GX_STUDIO_WIDGET SanDiego_weather_screen_define =
6914 {
6915 "SanDiego_weather_screen",
6916 GX_TYPE_TEMPLATE, /* widget type */
6917 ID_SAN_DIEGO_SCREEN, /* widget id */
6918 #if defined(GX_WIDGET_USER_DATA)
6919 0, /* user data */
6920 #endif
6921 GX_STYLE_BORDER_NONE|GX_STYLE_ENABLED, /* style flags */
6922 GX_STATUS_ACCEPTS_FOCUS, /* status flags */
6923 sizeof(SANDIEGO_WEATHER_SCREEN_CONTROL_BLOCK), /* control block size */
6924 GX_COLOR_ID_WINDOW_FILL, /* normal color id */
6925 GX_COLOR_ID_WINDOW_FILL, /* selected color id */
6926 GX_COLOR_ID_DISABLED_FILL, /* disabled color id */
6927 gx_studio_template_create, /* create function */
6928 GX_NULL, /* drawing function override */
6929 GX_NULL, /* event function override */
6930 {191, 95, 448, 383}, /* widget size */
6931 GX_NULL, /* next widget */
6932 GX_NULL, /* child widget */
6933 0, /* control block */
6934 (void *) &SanDiego_weather_screen_properties /* extended properties */
6935 };
6936 GX_CONST GX_STUDIO_WIDGET_ENTRY guix_smart_watch_widget_table[] =
6937 {
6938 { &screen_slide_parent_define, (GX_WIDGET *) &screen_slide_parent },
6939 { &home_button_define, (GX_WIDGET *) &home_button },
6940 { &page_3_container_screen_define, (GX_WIDGET *) &page_3_container_screen },
6941 { &page_2_container_screen_define, (GX_WIDGET *) &page_2_container_screen },
6942 { &page_1_container_screen_define, (GX_WIDGET *) &page_1_container_screen },
6943 { &main_screen_define, (GX_WIDGET *) &main_screen },
6944 { &weather_screen_define, (GX_WIDGET *) &weather_screen },
6945 { &music_screen_define, (GX_WIDGET *) &music_screen },
6946 { &message_screen_define, (GX_WIDGET *) &message_screen },
6947 { &SanFrancisco_weather_screen_define, (GX_WIDGET *) &SanFrancisco_weather_screen },
6948 { &LosAngeles_weather_screen_define, (GX_WIDGET *) &LosAngeles_weather_screen },
6949 { &SanDiego_weather_screen_define, (GX_WIDGET *) &SanDiego_weather_screen },
6950 { &ekg_screen_define, (GX_WIDGET *) &ekg_screen },
6951 { &yoga_screen_define, (GX_WIDGET *) &yoga_screen },
6952 { &stand_screen_define, (GX_WIDGET *) &stand_screen },
6953 { &run_screen_define, (GX_WIDGET *) &run_screen },
6954 { &calories_screen_define, (GX_WIDGET *) &calories_screen },
6955 { &fitness_screen_define, (GX_WIDGET *) &fitness_screen },
6956 { &clock_2_screen_define, (GX_WIDGET *) &clock_2_screen },
6957 { &clock_1_screen_define, (GX_WIDGET *) &clock_1_screen },
6958 { &clock_5_screen_define, (GX_WIDGET *) &clock_5_screen },
6959 { &clock_3_screen_define, (GX_WIDGET *) &clock_3_screen },
6960 { &clock_4_screen_define, (GX_WIDGET *) &clock_4_screen },
6961 { &home_screen_define, (GX_WIDGET *) &home_screen },
6962 {GX_NULL, GX_NULL}
6963 };
6964
gx_studio_nested_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)6965 static GX_WIDGET *gx_studio_nested_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
6966 {
6967 UINT status = GX_SUCCESS;
6968 GX_WIDGET *widget = GX_NULL;
6969 GX_VALUE list_count = 0;
6970 GX_VALUE list_total_count = 0;
6971
6972 if(parent && (parent->gx_widget_type == GX_TYPE_MENU))
6973 {
6974 list_total_count = ((GX_MENU *)parent)->gx_menu_list_total_count;
6975 }
6976
6977 while(definition && status == GX_SUCCESS)
6978 {
6979 if (definition->create_function)
6980 {
6981 if (definition->style & GX_STYLE_DYNAMICALLY_ALLOCATED)
6982 {
6983 status = gx_widget_allocate(&widget, definition->control_block_size);
6984 if (status != GX_SUCCESS)
6985 {
6986 return GX_NULL;
6987 }
6988 }
6989 else
6990 {
6991 if (control == GX_NULL)
6992 {
6993 return GX_NULL;
6994 }
6995 widget = (GX_WIDGET *) (control + definition->control_block_offset);
6996 }
6997
6998 status = definition->create_function(definition, widget, parent);
6999
7000 if(list_count < list_total_count)
7001 {
7002 gx_menu_insert((GX_MENU *)parent, widget);
7003 ((GX_MENU *)parent)->gx_menu_list_total_count--;
7004 list_count++;
7005 }
7006
7007 if (status == GX_SUCCESS)
7008 {
7009 if (definition->widget_type != GX_TYPE_TEMPLATE)
7010 {
7011 #if defined(GUIX_5_4_0_COMPATIBILITY)
7012 gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id);
7013 #else
7014 gx_widget_fill_color_set(widget, definition->normal_fill_color_id, definition->selected_fill_color_id, definition->disabled_fill_color_id);
7015 #endif
7016 }
7017
7018 if (!(definition->status & GX_STATUS_ACCEPTS_FOCUS))
7019 {
7020 gx_widget_status_remove(widget, GX_STATUS_ACCEPTS_FOCUS);
7021 }
7022
7023 if (definition->draw_function)
7024 {
7025 gx_widget_draw_set(widget, definition->draw_function);
7026 }
7027 if (definition->event_function)
7028 {
7029 gx_widget_event_process_set(widget, definition->event_function);
7030 }
7031
7032 #if defined(GX_WIDGET_USER_DATA)
7033 widget->gx_widget_user_data = definition->user_data;
7034 #endif
7035
7036 if (definition->child_widget)
7037 {
7038 gx_studio_nested_widget_create(control, definition->child_widget, widget);
7039 }
7040 }
7041 definition = definition->next_widget;
7042 }
7043 }
7044 return widget;
7045 }
7046
gx_studio_widget_create(GX_BYTE * control,GX_CONST GX_STUDIO_WIDGET * definition,GX_WIDGET * parent)7047 GX_WIDGET *gx_studio_widget_create(GX_BYTE *control, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent)
7048 {
7049 GX_WIDGET *widget;
7050 widget = gx_studio_nested_widget_create(control, definition, GX_NULL);
7051
7052 if (parent && widget)
7053 {
7054 gx_widget_attach(parent, widget);
7055 }
7056 return widget;
7057 }
7058
gx_studio_named_widget_create(char * name,GX_WIDGET * parent,GX_WIDGET ** new_widget)7059 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget)
7060 {
7061 UINT status = GX_FAILURE;
7062 GX_CONST GX_STUDIO_WIDGET_ENTRY *entry = guix_smart_watch_widget_table;
7063 GX_WIDGET *widget = GX_NULL;
7064
7065 while(entry->widget_information)
7066 {
7067 if (!strcmp(name, entry->widget_information->widget_name))
7068 {
7069 widget = gx_studio_widget_create((GX_BYTE *) entry->widget, entry->widget_information, parent);
7070 if (widget)
7071 {
7072 status = GX_SUCCESS;
7073 }
7074 break;
7075 }
7076 entry++;
7077 }
7078
7079 if (new_widget)
7080 {
7081 *new_widget = widget;
7082 }
7083 return status;
7084 }
7085
7086
gx_studio_display_configure(USHORT display,UINT (* driver)(GX_DISPLAY *),GX_UBYTE language,USHORT theme,GX_WINDOW_ROOT ** return_root)7087 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *),
7088 GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root)
7089 {
7090 GX_CONST GX_THEME *theme_ptr;
7091 GX_RECTANGLE size;
7092
7093 GX_STUDIO_DISPLAY_INFO *display_info = &guix_smart_watch_display_table[display];
7094
7095
7096 /* create the requested display */
7097
7098 gx_display_create(display_info->display,
7099 display_info->name,
7100 driver,
7101 (GX_VALUE) display_info->x_resolution,
7102 (GX_VALUE) display_info->y_resolution);
7103
7104
7105 /* install the request theme */
7106
7107 if(display_info->theme_table)
7108 {
7109 theme_ptr = display_info->theme_table[theme];
7110 if(theme_ptr)
7111 {
7112 gx_display_color_table_set(display_info->display, theme_ptr->theme_color_table, theme_ptr->theme_color_table_size);
7113
7114 /* install the color palette if required */
7115 if (display_info->display->gx_display_driver_palette_set &&
7116 theme_ptr->theme_palette != NULL)
7117 {
7118 display_info->display->gx_display_driver_palette_set(display_info->display, theme_ptr->theme_palette, theme_ptr->theme_palette_size);
7119 }
7120
7121 gx_display_font_table_set(display_info->display, theme_ptr->theme_font_table, theme_ptr->theme_font_table_size);
7122 gx_display_pixelmap_table_set(display_info->display, theme_ptr->theme_pixelmap_table, theme_ptr->theme_pixelmap_table_size);
7123 gx_system_scroll_appearance_set(theme_ptr->theme_vertical_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_vertical_scrollbar_appearance);
7124 gx_system_scroll_appearance_set(theme_ptr->theme_horizontal_scroll_style, (GX_SCROLLBAR_APPEARANCE *) &theme_ptr->theme_horizontal_scrollbar_appearance);
7125 }
7126 }
7127
7128 /* Install the language table. */
7129
7130 if(display_info->language_table)
7131 {
7132 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);
7133 gx_display_active_language_set(display_info->display, language);
7134 }
7135
7136 /* Set screen rotation angle. */
7137
7138 display_info->display->gx_display_rotation_angle = display_info->rotation_angle;
7139
7140 /* create the canvas for this display */
7141
7142 gx_canvas_create(display_info->canvas,
7143 display_info->canvas_name,
7144 display_info->display,
7145 GX_CANVAS_MANAGED | GX_CANVAS_VISIBLE,
7146 display_info->x_resolution,
7147 display_info->y_resolution,
7148 display_info->canvas_memory,
7149 display_info->canvas_memory_size);
7150
7151 /* Create the root window for this canvas */
7152
7153 gx_utility_rectangle_define(&size,
7154 0, 0,
7155 (GX_VALUE) (display_info->x_resolution - 1),
7156 (GX_VALUE) (display_info->y_resolution - 1));
7157
7158 gx_window_root_create(display_info->root_window,
7159 display_info->name,
7160 display_info->canvas, GX_STYLE_NONE, 0, &size);
7161 if (return_root)
7162 {
7163 *return_root = display_info->root_window;
7164 }
7165 return GX_SUCCESS;
7166 }
7167 #undef GUIX_STUDIO_GENERATED_FILE
7168