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.2.0.1 */ 9 /* Date (dd.mm.yyyy): 31.10.2022 Time (hh:mm): 14:07 */ 10 /*******************************************************************************/ 11 12 13 #ifndef _ALL_WIDGETS_32ARGB_ROTATED_CCW_SPECIFICATIONS_H_ 14 #define _ALL_WIDGETS_32ARGB_ROTATED_CCW_SPECIFICATIONS_H_ 15 16 #include "gx_api.h" 17 18 /* Determine if C++ compiler is being used, if so use standard C. */ 19 #ifdef __cplusplus 20 extern "C" { 21 #endif 22 23 /* Define widget ids */ 24 25 #define ID_PIXELMAP_SCREEN 1 26 #define IDB_NEXT 2 27 #define ID_RESIZE_SCREEN 3 28 #define ID_SLIDER_WIDTH 4 29 #define ID_WIDTH_DISPLAY 5 30 #define ID_RADIO_FOOT 6 31 #define ID_RADIO_FISH 7 32 #define ID_RADIO_FOOT_ALPHA 8 33 #define ID_SLIDER_HEIGHT 9 34 #define ID_HEIGHT_DISPLAY 10 35 #define ID_GAUGE_SCREEN 11 36 #define ID_GAUGE 12 37 #define ID_LINES_SCREEN 13 38 #define ID_LINE_WIDTH 14 39 #define ID_LINE_ANGLE 15 40 #define ID_ANGLE_DISPLAY 16 41 #define ID_ANTI_ALIASED 17 42 #define ID_ROUNDED 18 43 #define ID_LINE_WINDOW 19 44 #define ID_BRUSH_ALPHA_SLIDER 20 45 #define ID_BRUSH_ALPHA_PROMPT 21 46 #define ID_COLOR_BLACK 22 47 #define ID_COLOR_ORANGE 23 48 #define ID_COLOR_WHITE 24 49 #define ID_MENU_SCREEN 25 50 #define ID_SCROLL_WHEEL_SCREEN 26 51 #define ID_DAY_WHEEL 27 52 #define ID_MONTH_WHEEL 28 53 #define ID_YEAR_WHEEL 29 54 #define ID_DAY_SELECT 30 55 #define ID_DAY_INPUT 31 56 #define ID_SHAPES_SCREEN 32 57 #define ID_CIRCLE 33 58 #define ID_ELLIPSE 34 59 #define ID_ARC 35 60 #define ID_PIE 36 61 #define ID_RECTANGLE 37 62 #define ID_POLYGON 38 63 #define ID_ROUND_END 39 64 #define ID_SOLID_FILL 40 65 #define ID_PIXELMAP_FILL 41 66 #define ID_RADIUS_SLIDER 42 67 #define ID_RADIUS_PROMPT 43 68 #define ID_BRUSH_WIDTH_PROMPT 44 69 #define ID_BRUSH_WIDTH 45 70 #define ID_COMPRESS 46 71 #define ID_ROTATE_SCREEN 47 72 #define ID_DIRECT_ROTATE 48 73 #define ID_SLIDER_ANGLE 49 74 #define ID_RADIO_APPLE 50 75 #define ID_INDICATOR_SCREEN 51 76 #define ID_SLIDER_HORIZONTAL 52 77 #define ID_SLIDER_1 53 78 #define ID_PIXELMAP_SLIDER_H 54 79 #define ID_PIXELMAP_SLIDER1 55 80 #define ID_TEXT_SCREEN 56 81 #define ID_PROMPT_1 57 82 #define ID_PROMPT_2 58 83 #define ID_PROMPT_3 59 84 #define ID_PROMPT_4 60 85 #define ID_WINDOW_SCREEN 61 86 #define ID_HORIZONTAL_SCROLLBAR 62 87 #define ID_VERTICAL_SCROLLBAR 63 88 #define ID_VERTICAL_LIST 64 89 #define ID_DROP_LIST 65 90 #define ID_BUTTON_SCREEN 66 91 #define ID_TEXT_BUTTON 67 92 #define ID_CHECKBOX 68 93 #define ID_RADIO_BUTTON 69 94 #define ID_PIXELMAP_BUTTON 70 95 #define ID_ICON 71 96 #define ID_ICON_BUTTON 72 97 98 99 /* Define animation ids */ 100 101 #define GX_NEXT_ANIMATION_ID 1 102 103 104 /* Define user event ids */ 105 106 #define GX_NEXT_USER_EVENT_ID GX_FIRST_USER_EVENT 107 108 109 /* Declare properties structures for each utilized widget type */ 110 111 typedef struct GX_STUDIO_WIDGET_STRUCT 112 { 113 GX_CHAR *widget_name; 114 USHORT widget_type; 115 USHORT widget_id; 116 #if defined(GX_WIDGET_USER_DATA) 117 INT user_data; 118 #endif 119 ULONG style; 120 ULONG status; 121 ULONG control_block_size; 122 GX_RESOURCE_ID normal_fill_color_id; 123 GX_RESOURCE_ID selected_fill_color_id; 124 GX_RESOURCE_ID disabled_fill_color_id; 125 UINT (*create_function) (GX_CONST struct GX_STUDIO_WIDGET_STRUCT *, GX_WIDGET *, GX_WIDGET *); 126 void (*draw_function) (GX_WIDGET *); 127 UINT (*event_function) (GX_WIDGET *, GX_EVENT *); 128 GX_RECTANGLE size; 129 GX_CONST struct GX_STUDIO_WIDGET_STRUCT *next_widget; 130 GX_CONST struct GX_STUDIO_WIDGET_STRUCT *child_widget; 131 ULONG control_block_offset; 132 GX_CONST void *properties; 133 } GX_STUDIO_WIDGET; 134 135 typedef struct 136 { 137 GX_CONST GX_STUDIO_WIDGET *widget_information; 138 GX_WIDGET *widget; 139 } GX_STUDIO_WIDGET_ENTRY; 140 141 typedef struct 142 { 143 GX_RESOURCE_ID string_id; 144 GX_RESOURCE_ID font_id; 145 GX_RESOURCE_ID normal_text_color_id; 146 GX_RESOURCE_ID selected_text_color_id; 147 GX_RESOURCE_ID disabled_text_color_id; 148 } GX_TEXT_BUTTON_PROPERTIES; 149 150 typedef struct 151 { 152 GX_RESOURCE_ID string_id; 153 GX_RESOURCE_ID font_id; 154 GX_RESOURCE_ID normal_text_color_id; 155 GX_RESOURCE_ID selected_text_color_id; 156 GX_RESOURCE_ID disabled_text_color_id; 157 GX_RESOURCE_ID unchecked_pixelmap_id; 158 GX_RESOURCE_ID checked_pixelmap_id; 159 GX_RESOURCE_ID unchecked_disabled_pixelmap_id; 160 GX_RESOURCE_ID checked_disabled_pixelmap_id; 161 } GX_CHECKBOX_PROPERTIES; 162 163 typedef struct 164 { 165 GX_RESOURCE_ID string_id; 166 GX_RESOURCE_ID font_id; 167 GX_RESOURCE_ID normal_text_color_id; 168 GX_RESOURCE_ID selected_text_color_id; 169 GX_RESOURCE_ID disabled_text_color_id; 170 GX_RESOURCE_ID off_pixelmap_id; 171 GX_RESOURCE_ID on_pixelmap_id; 172 GX_RESOURCE_ID off_disabled_pixelmap_id; 173 GX_RESOURCE_ID on_disabled_pixelmap_id; 174 } GX_RADIO_BUTTON_PROPERTIES; 175 176 typedef struct 177 { 178 GX_RESOURCE_ID pixelmap_id; 179 } GX_ICON_BUTTON_PROPERTIES; 180 181 typedef struct 182 { 183 GX_RESOURCE_ID normal_pixelmap_id; 184 GX_RESOURCE_ID selected_pixelmap_id; 185 GX_RESOURCE_ID disabled_pixelmap_id; 186 } GX_PIXELMAP_BUTTON_PROPERTIES; 187 188 typedef struct 189 { 190 GX_RESOURCE_ID normal_pixelmap_id; 191 GX_RESOURCE_ID selected_pixelmap_id; 192 } GX_ICON_PROPERTIES; 193 194 typedef struct 195 { 196 int tickmark_count; 197 int minval; 198 int maxval; 199 int current_val; 200 int increment; 201 GX_VALUE min_travel; 202 GX_VALUE max_travel; 203 GX_VALUE needle_width; 204 GX_VALUE needle_height; 205 GX_VALUE needle_inset; 206 GX_VALUE needle_hotspot; 207 } GX_SLIDER_PROPERTIES; 208 209 typedef struct 210 { 211 int min_val; 212 int max_val; 213 int current_val; 214 int increment; 215 GX_VALUE min_travel; 216 GX_VALUE max_travel; 217 GX_VALUE needle_width; 218 GX_VALUE needle_height; 219 GX_VALUE needle_inset; 220 GX_VALUE needle_hotspot; 221 GX_RESOURCE_ID lower_pixelmap; 222 GX_RESOURCE_ID upper_pixelmap; 223 GX_RESOURCE_ID needle_pixelmap; 224 } GX_PIXELMAP_SLIDER_PROPERTIES; 225 226 typedef struct 227 { 228 GX_RESOURCE_ID string_id; 229 GX_RESOURCE_ID font_id; 230 GX_RESOURCE_ID normal_text_color_id; 231 GX_RESOURCE_ID selected_text_color_id; 232 GX_RESOURCE_ID disabled_text_color_id; 233 } GX_PROMPT_PROPERTIES; 234 235 typedef struct 236 { 237 GX_RESOURCE_ID string_id; 238 GX_RESOURCE_ID font_id; 239 GX_RESOURCE_ID normal_text_color_id; 240 GX_RESOURCE_ID selected_text_color_id; 241 GX_RESOURCE_ID disabled_text_color_id; 242 VOID (*format_func)(GX_NUMERIC_PROMPT *, INT); 243 INT numeric_prompt_value; 244 } GX_NUMERIC_PROMPT_PROPERTIES; 245 246 typedef struct 247 { 248 GX_RESOURCE_ID string_id; 249 GX_RESOURCE_ID font_id; 250 GX_RESOURCE_ID normal_text_color_id; 251 GX_RESOURCE_ID selected_text_color_id; 252 GX_RESOURCE_ID disabled_text_color_id; 253 GX_RESOURCE_ID left_map_id; 254 GX_RESOURCE_ID fill_map_id; 255 GX_RESOURCE_ID right_map_id; 256 GX_RESOURCE_ID selected_left_map_id; 257 GX_RESOURCE_ID selected_fill_map_id; 258 GX_RESOURCE_ID selected_right_map_id; 259 } GX_PIXELMAP_PROMPT_PROPERTIES; 260 261 typedef struct 262 { 263 GX_RESOURCE_ID string_id; 264 GX_RESOURCE_ID font_id; 265 GX_RESOURCE_ID normal_text_color_id; 266 GX_RESOURCE_ID selected_text_color_id; 267 GX_RESOURCE_ID disabled_text_color_id; 268 GX_RESOURCE_ID left_map_id; 269 GX_RESOURCE_ID fill_map_id; 270 GX_RESOURCE_ID right_map_id; 271 GX_RESOURCE_ID selected_left_map_id; 272 GX_RESOURCE_ID selected_fill_map_id; 273 GX_RESOURCE_ID selected_right_map_id; 274 VOID (*format_func)(GX_NUMERIC_PIXELMAP_PROMPT *, INT); 275 INT numeric_prompt_value; 276 } GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES; 277 278 typedef struct 279 { 280 GX_RESOURCE_ID wallpaper_id; 281 } GX_WINDOW_PROPERTIES; 282 283 typedef struct 284 { 285 GX_RESOURCE_ID wallpaper_id; 286 VOID (*callback)(GX_VERTICAL_LIST *, GX_WIDGET *, INT); 287 int total_rows; 288 } GX_VERTICAL_LIST_PROPERTIES; 289 290 typedef struct 291 { 292 GX_RESOURCE_ID wallpaper_id; 293 VOID (*callback)(GX_HORIZONTAL_LIST *, GX_WIDGET *, INT); 294 int total_rows; 295 } GX_HORIZONTAL_LIST_PROPERTIES; 296 297 typedef struct 298 { 299 GX_RESOURCE_ID pixelmap_id; 300 GX_RESOURCE_ID wallpaper_id; 301 VOID (*callback)(GX_VERTICAL_LIST *, GX_WIDGET *, INT); 302 int total_rows; 303 int open_height; 304 } GX_DROP_LIST_PROPERTIES; 305 306 typedef struct 307 { 308 int total_rows; 309 int selected_row; 310 GX_VALUE row_height; 311 GX_UBYTE start_alpha; 312 GX_UBYTE end_alpha; 313 GX_RESOURCE_ID normal_font; 314 GX_RESOURCE_ID selected_font; 315 GX_RESOURCE_ID normal_text_color; 316 GX_RESOURCE_ID selected_text_color; 317 GX_RESOURCE_ID disabled_text_color; 318 GX_RESOURCE_ID wallpaper_id; 319 GX_RESOURCE_ID selected_background; 320 GX_CONST GX_RESOURCE_ID *string_id_list; 321 UINT (*callback)(struct GX_STRING_SCROLL_WHEEL_STRUCT *, INT, GX_STRING *); 322 } GX_STRING_SCROLL_WHEEL_PROPERTIES; 323 324 typedef struct 325 { 326 int total_rows; 327 int selected_row; 328 GX_VALUE row_height; 329 GX_UBYTE start_alpha; 330 GX_UBYTE end_alpha; 331 GX_RESOURCE_ID normal_font; 332 GX_RESOURCE_ID selected_font; 333 GX_RESOURCE_ID normal_text_color; 334 GX_RESOURCE_ID selected_text_color; 335 GX_RESOURCE_ID disabled_text_color; 336 GX_RESOURCE_ID wallpaper_id; 337 GX_RESOURCE_ID selected_background; 338 UINT (*callback)(struct GX_NUMERIC_SCROLL_WHEEL_STRUCT *, INT, GX_STRING *); 339 int start_val; 340 int end_val; 341 } GX_NUMERIC_SCROLL_WHEEL_PROPERTIES; 342 343 typedef struct 344 { 345 GX_RESOURCE_ID string_id; 346 GX_RESOURCE_ID font_id; 347 GX_RESOURCE_ID normal_text_color_id; 348 GX_RESOURCE_ID selected_text_color_id; 349 GX_RESOURCE_ID disabled_text_color_id; 350 GX_RESOURCE_ID readonly_fill_color_id; 351 GX_RESOURCE_ID readonly_text_color_id; 352 GX_CHAR *buffer; 353 UINT buffer_size; 354 } GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES; 355 356 typedef struct 357 { 358 GX_RESOURCE_ID string_id; 359 GX_RESOURCE_ID font_id; 360 GX_RESOURCE_ID normal_text_color_id; 361 GX_RESOURCE_ID selected_text_color_id; 362 GX_RESOURCE_ID disabled_text_color_id; 363 GX_UBYTE whitespace; 364 GX_BYTE line_space; 365 } GX_ML_TEXT_VIEW_PROPERTIES; 366 367 typedef struct 368 { 369 GX_RESOURCE_ID string_id; 370 GX_RESOURCE_ID font_id; 371 GX_RESOURCE_ID normal_text_color_id; 372 GX_RESOURCE_ID selected_text_color_id; 373 GX_RESOURCE_ID disabled_text_color_id; 374 GX_RESOURCE_ID readonly_fill_color_id; 375 GX_RESOURCE_ID readonly_text_color_id; 376 GX_UBYTE whitespace; 377 GX_BYTE line_space; 378 GX_CHAR *buffer; 379 UINT buffer_size; 380 } GX_MULTI_LINE_TEXT_INPUT_PROPERTIES; 381 382 typedef struct 383 { 384 GX_VALUE start_angle; 385 GX_VALUE animation_steps; 386 GX_VALUE animation_delay; 387 GX_VALUE needle_xpos; 388 GX_VALUE needle_ypos; 389 GX_VALUE needle_xcor; 390 GX_VALUE needle_ycor; 391 GX_RESOURCE_ID normal_pixelmap_id; 392 GX_RESOURCE_ID selected_pixelmap_id; 393 GX_RESOURCE_ID needle_pixelmap_id; 394 } GX_CIRCULAR_GAUGE_PROPERTIES; 395 396 typedef struct 397 { 398 GX_RESOURCE_ID string_id; 399 GX_RESOURCE_ID font_id; 400 GX_RESOURCE_ID normal_text_color_id; 401 GX_RESOURCE_ID selected_text_color_id; 402 GX_RESOURCE_ID disabled_text_color_id; 403 GX_RESOURCE_ID left_map_id; 404 GX_RESOURCE_ID fill_map_id; 405 GX_RESOURCE_ID right_map_id; 406 GX_RESOURCE_ID selected_left_map_id; 407 GX_RESOURCE_ID selected_fill_map_id; 408 GX_RESOURCE_ID selected_right_map_id; 409 GX_VALUE text_x_offset; 410 GX_VALUE text_y_offset; 411 GX_VALUE list_total_count; 412 } GX_MENU_PROPERTIES; 413 414 typedef struct 415 { 416 GX_RESOURCE_ID expand_map_id; 417 GX_RESOURCE_ID collapse_map_id; 418 GX_RESOURCE_ID root_line_color_id; 419 GX_VALUE indentation; 420 } GX_TREE_VIEW_PROPERTIES; 421 422 423 /* Declare top-level control blocks */ 424 425 typedef struct PIXELMAP_SCREEN_CONTROL_BLOCK_STRUCT 426 { 427 GX_WINDOW_MEMBERS_DECLARE 428 GX_TEXT_BUTTON pixelmap_screen_next_button_10; 429 GX_ICON pixelmap_screen_icon_24xrgb_a; 430 GX_ICON pixelmap_screen_icon_24xrgb_c; 431 GX_ICON pixelmap_screen_icon_24xrgb_c_a; 432 GX_ICON pixelmap_screen_icon_24xrgb; 433 GX_ICON pixelmap_screen_icon_32argb_a; 434 GX_ICON pixelmap_screen_icon_32argb_c_a; 435 GX_ICON pixelmap_screen_icon_4444argb_a; 436 GX_ICON pixelmap_screen_icon_4444argb_c_a; 437 GX_ICON pixelmap_screen_icon_palette; 438 GX_ICON pixelmap_screen_icon_palette_a; 439 GX_ICON pixelmap_screen_icon_palette_c; 440 GX_ICON pixelmap_screen_icon_palette_c_a; 441 GX_ICON pixelmap_screen_icon_png_a; 442 GX_ICON pixelmap_screen_icon_24xrgb_a_1; 443 GX_ICON pixelmap_screen_icon_png; 444 } PIXELMAP_SCREEN_CONTROL_BLOCK; 445 446 typedef struct RESIZE_SCREEN_CONTROL_BLOCK_STRUCT 447 { 448 GX_WINDOW_MEMBERS_DECLARE 449 GX_PROMPT resize_screen_prompt_16; 450 GX_SLIDER resize_screen_slider_angle; 451 GX_PROMPT resize_screen_prompt_angle; 452 GX_WINDOW resize_screen_resize_window; 453 GX_RADIO_BUTTON resize_screen_radio_button_5; 454 GX_RADIO_BUTTON resize_screen_radio_button_6; 455 GX_RADIO_BUTTON resize_screen_radio_button_7; 456 GX_PROMPT resize_screen_prompt_17; 457 GX_PROMPT resize_screen_prompt_18; 458 GX_SLIDER resize_screen_slider_angle_1; 459 GX_PROMPT resize_screen_prompt_angle_1; 460 GX_TEXT_BUTTON resize_screen_next_button_9; 461 } RESIZE_SCREEN_CONTROL_BLOCK; 462 463 typedef struct GAUGE_SCREEN_CONTROL_BLOCK_STRUCT 464 { 465 GX_WINDOW_MEMBERS_DECLARE 466 GX_PROMPT gauge_screen_prompt_6; 467 GX_TEXT_BUTTON gauge_screen_next_button_4; 468 GX_CIRCULAR_GAUGE gauge_screen_gauge_1; 469 } GAUGE_SCREEN_CONTROL_BLOCK; 470 471 typedef struct LINES_SCREEN_CONTROL_BLOCK_STRUCT 472 { 473 GX_WINDOW_MEMBERS_DECLARE 474 GX_PROMPT lines_screen_prompt_16; 475 GX_SLIDER lines_screen_line_width_slider; 476 GX_PROMPT lines_screen_prompt_17; 477 GX_SLIDER lines_screen_line_angle_slider; 478 GX_PROMPT lines_screen_width_display; 479 GX_PROMPT lines_screen_angle_display; 480 GX_CHECKBOX lines_screen_aa_box; 481 GX_CHECKBOX lines_screen_rounded_box; 482 GX_WINDOW lines_screen_line_window; 483 GX_PROMPT lines_screen_color_label; 484 GX_PROMPT lines_screen_prompt_18; 485 GX_SLIDER lines_screen_brush_alpha_slider_1; 486 GX_PROMPT lines_screen_brush_alpha_prompt; 487 GX_TEXT_BUTTON lines_screen_next_button_8; 488 GX_PROMPT lines_screen_title_2; 489 GX_RADIO_BUTTON lines_screen_radio_button_5; 490 GX_RADIO_BUTTON lines_screen_radio_button_10; 491 GX_RADIO_BUTTON lines_screen_radio_button_11; 492 } LINES_SCREEN_CONTROL_BLOCK; 493 494 typedef struct MENU_SCREEN_CONTROL_BLOCK_STRUCT 495 { 496 GX_WINDOW_MEMBERS_DECLARE 497 GX_TEXT_BUTTON menu_screen_next_button_6; 498 GX_PROMPT menu_screen_title_3; 499 GX_PROMPT menu_screen_text_accordio_menu; 500 GX_ACCORDION_MENU menu_screen_one_level_accordion_2; 501 GX_MENU menu_screen_ola_menu_4; 502 GX_PROMPT menu_screen_prompt_25; 503 GX_NUMERIC_PROMPT menu_screen_prompt_26; 504 GX_MENU menu_screen_ola_menu; 505 GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_3; 506 GX_TEXT_BUTTON menu_screen_ola_menu_1; 507 GX_MENU menu_screen_ola_menu_2; 508 GX_MENU menu_screen_item_1; 509 GX_MENU menu_screen_item_2; 510 GX_PROMPT menu_screen_text_tree_view; 511 GX_TREE_VIEW menu_screen_tree_view; 512 GX_MENU menu_screen_tree_menu_6; 513 GX_PROMPT menu_screen_tree_menu; 514 GX_PROMPT menu_screen_tree_menu_1; 515 GX_ICON menu_screen_icon_10_1; 516 GX_MENU menu_screen_tree_menu_7; 517 GX_MENU menu_screen_tree_menu_4; 518 GX_PROMPT menu_screen_tree_menu_2; 519 GX_PROMPT menu_screen_tree_menu_2_1; 520 GX_ICON menu_screen_icon_11_1; 521 GX_MENU menu_screen_tree_menu_2_4; 522 GX_MENU menu_screen_tree_menu_2_3; 523 GX_PROMPT menu_screen_tree_menu_2_2; 524 GX_PROMPT menu_screen_tree_menu_2_2_1; 525 GX_ICON menu_screen_icon_9; 526 GX_ICON menu_screen_icon_6; 527 GX_ICON menu_screen_icon_8; 528 GX_MENU menu_screen_tree_menu_8; 529 GX_PROMPT menu_screen_tree_menu_5; 530 GX_ICON menu_screen_icon_12_1; 531 GX_SCROLLBAR menu_screen_tree_hscroll; 532 GX_SCROLLBAR menu_screen_tree_vscroll; 533 GX_PROMPT menu_screen_prompt_16_1; 534 GX_MENU menu_screen_menu; 535 GX_PROMPT menu_screen_prompt_10_2; 536 GX_ICON menu_screen_icon_7; 537 } MENU_SCREEN_CONTROL_BLOCK; 538 539 typedef struct SCROLL_WHEEL_SCREEN_CONTROL_BLOCK_STRUCT 540 { 541 GX_WINDOW_MEMBERS_DECLARE 542 GX_TEXT_BUTTON scroll_wheel_screen_next_button_7; 543 GX_PROMPT scroll_wheel_screen_prompt_8; 544 GX_NUMERIC_SCROLL_WHEEL scroll_wheel_screen_day_wheel_1; 545 GX_STRING_SCROLL_WHEEL scroll_wheel_screen_month_wheel_1; 546 GX_NUMERIC_SCROLL_WHEEL scroll_wheel_screen_year_wheel_1; 547 GX_TEXT_BUTTON scroll_wheel_screen_button_5; 548 GX_SINGLE_LINE_TEXT_INPUT scroll_wheel_screen_text_input_3; 549 } SCROLL_WHEEL_SCREEN_CONTROL_BLOCK; 550 551 typedef struct SHAPES_SCREEN_CONTROL_BLOCK_STRUCT 552 { 553 GX_WINDOW_MEMBERS_DECLARE 554 GX_WINDOW shapes_screen_graphics_window; 555 GX_TEXT_BUTTON shapes_screen_next_button_5; 556 GX_WINDOW shapes_screen_window_11; 557 GX_RADIO_BUTTON shapes_screen_radio_button_6; 558 GX_RADIO_BUTTON shapes_screen_radio_button_7; 559 GX_RADIO_BUTTON shapes_screen_radio_button_8; 560 GX_RADIO_BUTTON shapes_screen_radio_button_9; 561 GX_RADIO_BUTTON shapes_screen_radio_button_3; 562 GX_RADIO_BUTTON shapes_screen_radio_button_4; 563 GX_CHECKBOX shapes_screen_checkbox_anti_alised; 564 GX_CHECKBOX shapes_screen_checkbox_round_end; 565 GX_CHECKBOX shapes_screen_checkbox_fill; 566 GX_CHECKBOX shapes_screen_checkbox_pixelmap_fill; 567 GX_PROMPT shapes_screen_prompt_14; 568 GX_PROMPT shapes_screen_prompt_13; 569 GX_SLIDER shapes_screen_radius_slider_1; 570 GX_PROMPT shapes_screen_prompt_6; 571 GX_PROMPT shapes_screen_prompt_7; 572 GX_SLIDER shapes_screen_brush_width_slider; 573 GX_PROMPT shapes_screen_prompt_11_1; 574 GX_SLIDER shapes_screen_brush_alpha_slider; 575 GX_PROMPT shapes_screen_prompt_12; 576 GX_CHECKBOX shapes_screen_checkbox_1; 577 } SHAPES_SCREEN_CONTROL_BLOCK; 578 579 typedef struct ROTATE_SCREEN_CONTROL_BLOCK_STRUCT 580 { 581 GX_WINDOW_MEMBERS_DECLARE 582 GX_TEXT_BUTTON rotate_screen_next_button_4; 583 GX_CHECKBOX rotate_screen_checkbox; 584 GX_PROMPT rotate_screen_prompt; 585 GX_SLIDER rotate_screen_slider_2; 586 GX_PROMPT rotate_screen_prompt_5; 587 GX_WINDOW rotate_screen_pixelmap_window; 588 GX_RADIO_BUTTON rotate_screen_radio_button; 589 GX_RADIO_BUTTON rotate_screen_radio_button_1; 590 GX_RADIO_BUTTON rotate_screen_radio_button_2; 591 } ROTATE_SCREEN_CONTROL_BLOCK; 592 593 typedef struct INDICATOR_SCREEN_CONTROL_BLOCK_STRUCT 594 { 595 GX_WINDOW_MEMBERS_DECLARE 596 GX_SLIDER indicator_screen_slider; 597 GX_SLIDER indicator_screen_slider_1; 598 GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider; 599 GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider_1; 600 GX_ICON indicator_screen_icon_1; 601 GX_ICON indicator_screen_icon_2; 602 GX_PROMPT indicator_screen_slider_title; 603 GX_TEXT_BUTTON indicator_screen_next_button_3; 604 GX_PROGRESS_BAR indicator_screen_progress_bar_1; 605 GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider_2; 606 GX_ICON indicator_screen_icon_3; 607 GX_ICON indicator_screen_icon_4; 608 GX_RADIAL_PROGRESS_BAR indicator_screen_radial_progress_bar_1; 609 } INDICATOR_SCREEN_CONTROL_BLOCK; 610 611 typedef struct TEXT_SCREEN_CONTROL_BLOCK_STRUCT 612 { 613 GX_WINDOW_MEMBERS_DECLARE 614 GX_PROMPT text_screen_prompt_1; 615 GX_PROMPT text_screen_prompt_2; 616 GX_PROMPT text_screen_prompt_3; 617 GX_PIXELMAP_PROMPT text_screen_prompt_4; 618 GX_SINGLE_LINE_TEXT_INPUT text_screen_text_input_1; 619 GX_MULTI_LINE_TEXT_VIEW text_screen_text_view_1; 620 GX_MULTI_LINE_TEXT_INPUT text_screen_text_input_2; 621 GX_TEXT_BUTTON text_screen_next_button_2; 622 GX_NUMERIC_PIXELMAP_PROMPT text_screen_numeric_pixelmap_prompt_2; 623 GX_NUMERIC_PROMPT text_screen_numeric_prompt_1; 624 } TEXT_SCREEN_CONTROL_BLOCK; 625 626 typedef struct WINDOW_SCREEN_CONTROL_BLOCK_STRUCT 627 { 628 GX_WINDOW_MEMBERS_DECLARE 629 GX_WINDOW window_screen_window_5; 630 GX_WINDOW window_screen_window_6; 631 GX_WINDOW window_screen_window_8; 632 GX_WINDOW window_screen_fade_window; 633 GX_WINDOW window_screen_scroll_frame_1; 634 GX_WINDOW window_screen_window_4; 635 GX_SCROLLBAR window_screen_hscroll_1; 636 GX_SCROLLBAR window_screen_vertical_scroll_1; 637 GX_VERTICAL_LIST window_screen_vertical_list; 638 GX_TEXT_BUTTON window_screen_button_1; 639 GX_TEXT_BUTTON window_screen_button_2; 640 GX_TEXT_BUTTON window_screen_button_3; 641 GX_TEXT_BUTTON window_screen_button_4; 642 GX_PROMPT window_screen_nested_label_1; 643 GX_PROMPT window_screen_frame_label_1; 644 GX_PROMPT window_screen_vlist_label_1; 645 GX_HORIZONTAL_LIST window_screen_horizontal_list_1; 646 GX_ICON_BUTTON window_screen_icon_button_1; 647 GX_ICON_BUTTON window_screen_icon_button_2; 648 GX_ICON_BUTTON window_screen_icon_button_3; 649 GX_ICON_BUTTON window_screen_icon_button_4; 650 GX_ICON_BUTTON window_screen_icon_button_5; 651 GX_PROMPT window_screen_hlist_label_1; 652 GX_TEXT_BUTTON window_screen_next_button_1; 653 GX_DROP_LIST window_screen_drop_list; 654 GX_BUTTON window_screen_button; 655 GX_PROMPT window_screen_hlist_label; 656 } WINDOW_SCREEN_CONTROL_BLOCK; 657 658 typedef struct BUTTON_SCREEN_CONTROL_BLOCK_STRUCT 659 { 660 GX_WINDOW_MEMBERS_DECLARE 661 GX_PROMPT button_screen_title_1; 662 GX_BUTTON button_screen_base_button_1; 663 GX_TEXT_BUTTON button_screen_text_button_1; 664 GX_CHECKBOX button_screen_checkbox1_1; 665 GX_RADIO_BUTTON button_screen_radio_button1_1; 666 GX_PIXELMAP_BUTTON button_screen_pixelmap_button1_1; 667 GX_ICON button_screen_icon; 668 GX_ICON_BUTTON button_screen_icon_button_6; 669 GX_PROMPT button_screen_button_label_1; 670 GX_PROMPT button_screen_radio_label_1; 671 GX_PROMPT button_screen_pixbutton_label_1; 672 GX_PROMPT button_screen_texbutton_label_1; 673 GX_PROMPT button_screen_checkbox_label_1; 674 GX_PROMPT button_screen_iconbutton_label_1; 675 GX_PROMPT button_screen_icon_label_1; 676 GX_TEXT_BUTTON button_screen_next_button; 677 } BUTTON_SCREEN_CONTROL_BLOCK; 678 679 680 /* extern statically defined control blocks */ 681 682 #ifndef GUIX_STUDIO_GENERATED_FILE 683 extern PIXELMAP_SCREEN_CONTROL_BLOCK pixelmap_screen; 684 extern RESIZE_SCREEN_CONTROL_BLOCK resize_screen; 685 extern GAUGE_SCREEN_CONTROL_BLOCK gauge_screen; 686 extern LINES_SCREEN_CONTROL_BLOCK lines_screen; 687 extern MENU_SCREEN_CONTROL_BLOCK menu_screen; 688 extern SCROLL_WHEEL_SCREEN_CONTROL_BLOCK scroll_wheel_screen; 689 extern SHAPES_SCREEN_CONTROL_BLOCK shapes_screen; 690 extern ROTATE_SCREEN_CONTROL_BLOCK rotate_screen; 691 extern INDICATOR_SCREEN_CONTROL_BLOCK indicator_screen; 692 extern TEXT_SCREEN_CONTROL_BLOCK text_screen; 693 extern WINDOW_SCREEN_CONTROL_BLOCK window_screen; 694 extern BUTTON_SCREEN_CONTROL_BLOCK button_screen; 695 #endif 696 697 /* Declare event process functions, draw functions, and callback functions */ 698 699 UINT next_button_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 700 UINT resize_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 701 VOID resize_window_draw(GX_WINDOW *widget); 702 UINT gauge_event_handle(GX_WINDOW *widget, GX_EVENT *event_ptr); 703 UINT main_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 704 VOID line_win_draw(GX_WINDOW *widget); 705 UINT scroll_wheel_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 706 UINT day_wheel_value_format(GX_NUMERIC_SCROLL_WHEEL *wheel, INT row, GX_STRING *string); 707 UINT shapesscreen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 708 VOID graphics_draw(GX_WINDOW *widget); 709 UINT rotate_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 710 VOID pixelmap_draw(GX_WINDOW *widget); 711 UINT window_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 712 VOID drop_list_row_create(GX_VERTICAL_LIST *, GX_WIDGET *, INT); 713 714 /* Declare the GX_STUDIO_DISPLAY_INFO structure */ 715 716 717 typedef struct GX_STUDIO_DISPLAY_INFO_STRUCT 718 { 719 GX_CONST GX_CHAR *name; 720 GX_CONST GX_CHAR *canvas_name; 721 GX_CONST GX_THEME **theme_table; 722 GX_CONST GX_STRING **language_table; 723 USHORT theme_table_size; 724 USHORT language_table_size; 725 UINT string_table_size; 726 UINT x_resolution; 727 UINT y_resolution; 728 GX_DISPLAY *display; 729 GX_CANVAS *canvas; 730 GX_WINDOW_ROOT *root_window; 731 GX_COLOR *canvas_memory; 732 ULONG canvas_memory_size; 733 USHORT rotation_angle; 734 } GX_STUDIO_DISPLAY_INFO; 735 736 737 /* Declare Studio-generated functions for creating top-level widgets */ 738 739 UINT gx_studio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 740 UINT gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 741 UINT gx_studio_checkbox_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 742 UINT gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 743 UINT gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 744 UINT gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 745 UINT gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 746 UINT gx_studio_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 747 UINT gx_studio_pixelmap_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 748 UINT gx_studio_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 749 UINT gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 750 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 751 UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 752 UINT gx_studio_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 753 UINT gx_studio_numeric_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 754 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 755 UINT gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 756 UINT gx_studio_horizontal_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 757 UINT gx_studio_drop_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 758 UINT gx_studio_string_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 759 UINT gx_studio_numeric_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 760 UINT gx_studio_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 761 UINT gx_studio_multi_line_text_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 762 UINT gx_studio_multi_line_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 763 UINT gx_studio_horizontal_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 764 UINT gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 765 UINT gx_studio_circular_gauge_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 766 UINT gx_studio_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 767 UINT gx_studio_accordion_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 768 UINT gx_studio_tree_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 769 GX_WIDGET *gx_studio_widget_create(GX_BYTE *storage, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent); 770 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget); 771 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *), GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root); 772 773 /* Determine if a C++ compiler is being used. If so, complete the standard 774 C conditional started above. */ 775 #ifdef __cplusplus 776 } 777 #endif 778 779 #endif /* sentry */ 780