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_332RGB_SPECIFICATIONS_H_ 14 #define _ALL_WIDGETS_332RGB_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_LINE_SCREEN 1 26 #define ID_LINE_WINDOW 2 27 #define ID_LINE_WIDTH 3 28 #define ID_WIDTH_DISPLAY 4 29 #define ID_LINE_ANGLE 5 30 #define ID_ANGLE_PROMPT 6 31 #define ID_PATTERN 7 32 #define ID_ROUNDED 8 33 #define IDB_NEXT 9 34 #define ID_ANTI_ALIASED_LINE 10 35 #define ID_RESIZE_SCREEN 11 36 #define ID_SLIDER_WIDTH 12 37 #define ID_RADIO_FOOT 13 38 #define ID_RADIO_FISH 14 39 #define ID_RADIO_FOOT_ALPHA 15 40 #define ID_SLIDER_HEIGHT 16 41 #define ID_HEIGHT_DISPLAY 17 42 #define ID_MENU_SCREEN 18 43 #define ID_SCROLL_WHEEL_SCREEN 19 44 #define ID_DAY_WHEEL 20 45 #define ID_MONTH_WHEEL 21 46 #define ID_YEAR_WHEEL 22 47 #define ID_DAY_SELECT 23 48 #define ID_DAY_INPUT 24 49 #define ID_WINDOW_SCREEN 25 50 #define ID_DROP_LIST 26 51 #define ID_BUTTON_SCREEN 27 52 #define ID_SLIDER_1 28 53 #define ID_TEXT_BUTTON 29 54 #define ID_PIXELMAP_BUTTON 30 55 #define ID_CHECKBOX 31 56 #define ID_RADIO_BUTTON 32 57 #define ID_ICON_BUTTON 33 58 #define ID_ICON 34 59 #define ID_PIXELMAP_SLIDER1 35 60 #define ID_SHAPES_SCREEN 36 61 #define ID_RADIUS_SLIDER 37 62 #define ID_RADIUS_PROMPT 38 63 #define ID_BRUSH_WIDTH 39 64 #define ID_BRUSH_WIDTH_PROMPT 40 65 #define ID_ANTI_ALIASED 41 66 #define ID_ROUND_END 42 67 #define ID_SOLID_FILL 43 68 #define ID_PIXELMAP_FILL 44 69 #define ID_CIRCLE 45 70 #define ID_ELLIPSE 46 71 #define ID_ARC 47 72 #define ID_PIE 48 73 #define ID_RECTANGLE 49 74 #define ID_POLYGON 50 75 #define ID_BRUSH_ALPHA 51 76 #define ID_BRUSH_ALPHA_PROMPT 52 77 #define ID_ALPHA 53 78 #define ID_COMPRESS 54 79 #define ID_SPRITE_SCREEN 55 80 #define ID_ALPHA_SLIDER 56 81 #define ID_BIRD_SPRITE 57 82 #define ID_ROTATE_SCREEN 58 83 #define ID_DIRECT_ROTATE 59 84 #define ID_SLIDER_ANGLE 60 85 #define ID_ANGLE_DISPLAY 61 86 #define ID_RADIO_APPLE 62 87 #define ID_TEXT_SCREEN 63 88 #define ID_PROMPT_1 64 89 #define ID_PROMPT_3 65 90 #define ID_PROMPT_2 66 91 #define ID_PROMPT_4 67 92 #define ID_PIC_SCREEN 68 93 #define ID_PIC_WINDOW 69 94 #define ID_COMPRESSED 70 95 96 97 /* Define animation ids */ 98 99 #define GX_NEXT_ANIMATION_ID 1 100 101 102 /* Define user event ids */ 103 104 #define GX_NEXT_USER_EVENT_ID GX_FIRST_USER_EVENT 105 106 107 /* Declare properties structures for each utilized widget type */ 108 109 typedef struct GX_STUDIO_WIDGET_STRUCT 110 { 111 GX_CHAR *widget_name; 112 USHORT widget_type; 113 USHORT widget_id; 114 #if defined(GX_WIDGET_USER_DATA) 115 INT user_data; 116 #endif 117 ULONG style; 118 ULONG status; 119 ULONG control_block_size; 120 GX_RESOURCE_ID normal_fill_color_id; 121 GX_RESOURCE_ID selected_fill_color_id; 122 GX_RESOURCE_ID disabled_fill_color_id; 123 UINT (*create_function) (GX_CONST struct GX_STUDIO_WIDGET_STRUCT *, GX_WIDGET *, GX_WIDGET *); 124 void (*draw_function) (GX_WIDGET *); 125 UINT (*event_function) (GX_WIDGET *, GX_EVENT *); 126 GX_RECTANGLE size; 127 GX_CONST struct GX_STUDIO_WIDGET_STRUCT *next_widget; 128 GX_CONST struct GX_STUDIO_WIDGET_STRUCT *child_widget; 129 ULONG control_block_offset; 130 GX_CONST void *properties; 131 } GX_STUDIO_WIDGET; 132 133 typedef struct 134 { 135 GX_CONST GX_STUDIO_WIDGET *widget_information; 136 GX_WIDGET *widget; 137 } GX_STUDIO_WIDGET_ENTRY; 138 139 typedef struct 140 { 141 GX_RESOURCE_ID string_id; 142 GX_RESOURCE_ID font_id; 143 GX_RESOURCE_ID normal_text_color_id; 144 GX_RESOURCE_ID selected_text_color_id; 145 GX_RESOURCE_ID disabled_text_color_id; 146 } GX_TEXT_BUTTON_PROPERTIES; 147 148 typedef struct 149 { 150 GX_RESOURCE_ID string_id; 151 GX_RESOURCE_ID font_id; 152 GX_RESOURCE_ID normal_text_color_id; 153 GX_RESOURCE_ID selected_text_color_id; 154 GX_RESOURCE_ID disabled_text_color_id; 155 GX_RESOURCE_ID unchecked_pixelmap_id; 156 GX_RESOURCE_ID checked_pixelmap_id; 157 GX_RESOURCE_ID unchecked_disabled_pixelmap_id; 158 GX_RESOURCE_ID checked_disabled_pixelmap_id; 159 } GX_CHECKBOX_PROPERTIES; 160 161 typedef struct 162 { 163 GX_RESOURCE_ID string_id; 164 GX_RESOURCE_ID font_id; 165 GX_RESOURCE_ID normal_text_color_id; 166 GX_RESOURCE_ID selected_text_color_id; 167 GX_RESOURCE_ID disabled_text_color_id; 168 GX_RESOURCE_ID off_pixelmap_id; 169 GX_RESOURCE_ID on_pixelmap_id; 170 GX_RESOURCE_ID off_disabled_pixelmap_id; 171 GX_RESOURCE_ID on_disabled_pixelmap_id; 172 } GX_RADIO_BUTTON_PROPERTIES; 173 174 typedef struct 175 { 176 GX_RESOURCE_ID pixelmap_id; 177 } GX_ICON_BUTTON_PROPERTIES; 178 179 typedef struct 180 { 181 GX_RESOURCE_ID normal_pixelmap_id; 182 GX_RESOURCE_ID selected_pixelmap_id; 183 GX_RESOURCE_ID disabled_pixelmap_id; 184 } GX_PIXELMAP_BUTTON_PROPERTIES; 185 186 typedef struct 187 { 188 GX_RESOURCE_ID normal_pixelmap_id; 189 GX_RESOURCE_ID selected_pixelmap_id; 190 } GX_ICON_PROPERTIES; 191 192 typedef struct 193 { 194 int tickmark_count; 195 int minval; 196 int maxval; 197 int current_val; 198 int increment; 199 GX_VALUE min_travel; 200 GX_VALUE max_travel; 201 GX_VALUE needle_width; 202 GX_VALUE needle_height; 203 GX_VALUE needle_inset; 204 GX_VALUE needle_hotspot; 205 } GX_SLIDER_PROPERTIES; 206 207 typedef struct 208 { 209 int min_val; 210 int max_val; 211 int current_val; 212 int increment; 213 GX_VALUE min_travel; 214 GX_VALUE max_travel; 215 GX_VALUE needle_width; 216 GX_VALUE needle_height; 217 GX_VALUE needle_inset; 218 GX_VALUE needle_hotspot; 219 GX_RESOURCE_ID lower_pixelmap; 220 GX_RESOURCE_ID upper_pixelmap; 221 GX_RESOURCE_ID needle_pixelmap; 222 } GX_PIXELMAP_SLIDER_PROPERTIES; 223 224 typedef struct 225 { 226 GX_SPRITE_FRAME *frame_list; 227 USHORT frame_count; 228 } GX_SPRITE_PROPERTIES; 229 230 typedef struct 231 { 232 GX_RESOURCE_ID string_id; 233 GX_RESOURCE_ID font_id; 234 GX_RESOURCE_ID normal_text_color_id; 235 GX_RESOURCE_ID selected_text_color_id; 236 GX_RESOURCE_ID disabled_text_color_id; 237 } GX_PROMPT_PROPERTIES; 238 239 typedef struct 240 { 241 GX_RESOURCE_ID string_id; 242 GX_RESOURCE_ID font_id; 243 GX_RESOURCE_ID normal_text_color_id; 244 GX_RESOURCE_ID selected_text_color_id; 245 GX_RESOURCE_ID disabled_text_color_id; 246 VOID (*format_func)(GX_NUMERIC_PROMPT *, INT); 247 INT numeric_prompt_value; 248 } GX_NUMERIC_PROMPT_PROPERTIES; 249 250 typedef struct 251 { 252 GX_RESOURCE_ID string_id; 253 GX_RESOURCE_ID font_id; 254 GX_RESOURCE_ID normal_text_color_id; 255 GX_RESOURCE_ID selected_text_color_id; 256 GX_RESOURCE_ID disabled_text_color_id; 257 GX_RESOURCE_ID left_map_id; 258 GX_RESOURCE_ID fill_map_id; 259 GX_RESOURCE_ID right_map_id; 260 GX_RESOURCE_ID selected_left_map_id; 261 GX_RESOURCE_ID selected_fill_map_id; 262 GX_RESOURCE_ID selected_right_map_id; 263 } GX_PIXELMAP_PROMPT_PROPERTIES; 264 265 typedef struct 266 { 267 GX_RESOURCE_ID string_id; 268 GX_RESOURCE_ID font_id; 269 GX_RESOURCE_ID normal_text_color_id; 270 GX_RESOURCE_ID selected_text_color_id; 271 GX_RESOURCE_ID disabled_text_color_id; 272 GX_RESOURCE_ID left_map_id; 273 GX_RESOURCE_ID fill_map_id; 274 GX_RESOURCE_ID right_map_id; 275 GX_RESOURCE_ID selected_left_map_id; 276 GX_RESOURCE_ID selected_fill_map_id; 277 GX_RESOURCE_ID selected_right_map_id; 278 VOID (*format_func)(GX_NUMERIC_PIXELMAP_PROMPT *, INT); 279 INT numeric_prompt_value; 280 } GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES; 281 282 typedef struct 283 { 284 GX_RESOURCE_ID wallpaper_id; 285 } GX_WINDOW_PROPERTIES; 286 287 typedef struct 288 { 289 GX_RESOURCE_ID wallpaper_id; 290 VOID (*callback)(GX_VERTICAL_LIST *, GX_WIDGET *, INT); 291 int total_rows; 292 } GX_VERTICAL_LIST_PROPERTIES; 293 294 typedef struct 295 { 296 GX_RESOURCE_ID wallpaper_id; 297 VOID (*callback)(GX_HORIZONTAL_LIST *, GX_WIDGET *, INT); 298 int total_rows; 299 } GX_HORIZONTAL_LIST_PROPERTIES; 300 301 typedef struct 302 { 303 GX_RESOURCE_ID pixelmap_id; 304 GX_RESOURCE_ID wallpaper_id; 305 VOID (*callback)(GX_VERTICAL_LIST *, GX_WIDGET *, INT); 306 int total_rows; 307 int open_height; 308 } GX_DROP_LIST_PROPERTIES; 309 310 typedef struct 311 { 312 int total_rows; 313 int selected_row; 314 GX_VALUE row_height; 315 GX_UBYTE start_alpha; 316 GX_UBYTE end_alpha; 317 GX_RESOURCE_ID normal_font; 318 GX_RESOURCE_ID selected_font; 319 GX_RESOURCE_ID normal_text_color; 320 GX_RESOURCE_ID selected_text_color; 321 GX_RESOURCE_ID disabled_text_color; 322 GX_RESOURCE_ID wallpaper_id; 323 GX_RESOURCE_ID selected_background; 324 GX_CONST GX_RESOURCE_ID *string_id_list; 325 UINT (*callback)(struct GX_STRING_SCROLL_WHEEL_STRUCT *, INT, GX_STRING *); 326 } GX_STRING_SCROLL_WHEEL_PROPERTIES; 327 328 typedef struct 329 { 330 int total_rows; 331 int selected_row; 332 GX_VALUE row_height; 333 GX_UBYTE start_alpha; 334 GX_UBYTE end_alpha; 335 GX_RESOURCE_ID normal_font; 336 GX_RESOURCE_ID selected_font; 337 GX_RESOURCE_ID normal_text_color; 338 GX_RESOURCE_ID selected_text_color; 339 GX_RESOURCE_ID disabled_text_color; 340 GX_RESOURCE_ID wallpaper_id; 341 GX_RESOURCE_ID selected_background; 342 UINT (*callback)(struct GX_NUMERIC_SCROLL_WHEEL_STRUCT *, INT, GX_STRING *); 343 int start_val; 344 int end_val; 345 } GX_NUMERIC_SCROLL_WHEEL_PROPERTIES; 346 347 typedef struct 348 { 349 GX_RESOURCE_ID string_id; 350 GX_RESOURCE_ID font_id; 351 GX_RESOURCE_ID normal_text_color_id; 352 GX_RESOURCE_ID selected_text_color_id; 353 GX_RESOURCE_ID disabled_text_color_id; 354 GX_RESOURCE_ID readonly_fill_color_id; 355 GX_RESOURCE_ID readonly_text_color_id; 356 GX_CHAR *buffer; 357 UINT buffer_size; 358 } GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES; 359 360 typedef struct 361 { 362 GX_RESOURCE_ID string_id; 363 GX_RESOURCE_ID font_id; 364 GX_RESOURCE_ID normal_text_color_id; 365 GX_RESOURCE_ID selected_text_color_id; 366 GX_RESOURCE_ID disabled_text_color_id; 367 GX_UBYTE whitespace; 368 GX_BYTE line_space; 369 } GX_ML_TEXT_VIEW_PROPERTIES; 370 371 typedef struct 372 { 373 GX_RESOURCE_ID string_id; 374 GX_RESOURCE_ID font_id; 375 GX_RESOURCE_ID normal_text_color_id; 376 GX_RESOURCE_ID selected_text_color_id; 377 GX_RESOURCE_ID disabled_text_color_id; 378 GX_RESOURCE_ID readonly_fill_color_id; 379 GX_RESOURCE_ID readonly_text_color_id; 380 GX_UBYTE whitespace; 381 GX_BYTE line_space; 382 GX_CHAR *buffer; 383 UINT buffer_size; 384 } GX_MULTI_LINE_TEXT_INPUT_PROPERTIES; 385 386 typedef struct 387 { 388 GX_RESOURCE_ID string_id; 389 GX_RESOURCE_ID font_id; 390 GX_RESOURCE_ID normal_text_color_id; 391 GX_RESOURCE_ID selected_text_color_id; 392 GX_RESOURCE_ID disabled_text_color_id; 393 GX_RESOURCE_ID left_map_id; 394 GX_RESOURCE_ID fill_map_id; 395 GX_RESOURCE_ID right_map_id; 396 GX_RESOURCE_ID selected_left_map_id; 397 GX_RESOURCE_ID selected_fill_map_id; 398 GX_RESOURCE_ID selected_right_map_id; 399 GX_VALUE text_x_offset; 400 GX_VALUE text_y_offset; 401 GX_VALUE list_total_count; 402 } GX_MENU_PROPERTIES; 403 404 typedef struct 405 { 406 GX_RESOURCE_ID expand_map_id; 407 GX_RESOURCE_ID collapse_map_id; 408 GX_RESOURCE_ID root_line_color_id; 409 GX_VALUE indentation; 410 } GX_TREE_VIEW_PROPERTIES; 411 412 413 /* Declare top-level control blocks */ 414 415 typedef struct LINE_SCREEN_CONTROL_BLOCK_STRUCT 416 { 417 GX_WINDOW_MEMBERS_DECLARE 418 GX_WINDOW line_screen_line_window; 419 GX_PROMPT line_screen_prompt_12_6; 420 GX_SLIDER line_screen_line_width_slider; 421 GX_PROMPT line_screen_width_display; 422 GX_PROMPT line_screen_prompt_13_2; 423 GX_SLIDER line_screen_line_angle_slider; 424 GX_PROMPT line_screen_line_angle; 425 GX_CHECKBOX line_screen_pattern_box; 426 GX_CHECKBOX line_screen_rounded_box; 427 GX_TEXT_BUTTON line_screen_next_button_11; 428 GX_CHECKBOX line_screen_aa_box_1; 429 } LINE_SCREEN_CONTROL_BLOCK; 430 431 typedef struct RESIZE_SCREEN_CONTROL_BLOCK_STRUCT 432 { 433 GX_WINDOW_MEMBERS_DECLARE 434 GX_PROMPT resize_screen_prompt_16; 435 GX_SLIDER resize_screen_slider_angle; 436 GX_PROMPT resize_screen_prompt_angle; 437 GX_WINDOW resize_screen_resize_window; 438 GX_RADIO_BUTTON resize_screen_radio_button_10; 439 GX_RADIO_BUTTON resize_screen_radio_button_11; 440 GX_RADIO_BUTTON resize_screen_radio_button_12; 441 GX_PROMPT resize_screen_prompt_17; 442 GX_PROMPT resize_screen_prompt_18; 443 GX_SLIDER resize_screen_slider_angle_1; 444 GX_PROMPT resize_screen_prompt_angle_1; 445 GX_TEXT_BUTTON resize_screen_next_button_10; 446 } RESIZE_SCREEN_CONTROL_BLOCK; 447 448 typedef struct MENU_SCREEN_CONTROL_BLOCK_STRUCT 449 { 450 GX_WINDOW_MEMBERS_DECLARE 451 GX_TEXT_BUTTON menu_screen_next_button_9; 452 GX_PROMPT menu_screen_title_1; 453 GX_PROMPT menu_screen_title_3; 454 GX_ACCORDION_MENU menu_screen_one_level_accordion_2; 455 GX_MENU menu_screen_ola_menu_4; 456 GX_PROMPT menu_screen_prompt_25; 457 GX_NUMERIC_PROMPT menu_screen_prompt_26; 458 GX_MENU menu_screen_ola_menu; 459 GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_1; 460 GX_TEXT_BUTTON menu_screen_ola_menu_1; 461 GX_MENU menu_screen_ola_menu_2; 462 GX_MENU menu_screen_item_1; 463 GX_MENU menu_screen_item_2; 464 GX_ACCORDION_MENU menu_screen_one_level_accordion_1; 465 GX_MENU menu_screen_ola_2_menu_3; 466 GX_PROMPT menu_screen_prompt_14_1; 467 GX_ACCORDION_MENU menu_screen_ola_2_menu; 468 GX_MENU menu_screen_ola_2_menu_1; 469 GX_PIXELMAP_PROMPT menu_screen_prompt_15_1; 470 GX_MENU menu_screen_ola_2_menu_2; 471 GX_NUMERIC_PIXELMAP_PROMPT menu_screen_numeric_pixelmap_prompt_1; 472 GX_MENU menu_screen_ola_2_menu_5; 473 GX_PROMPT menu_screen_prompt_10_3; 474 GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_2; 475 GX_ACCORDION_MENU menu_screen_multi_level_accordion; 476 GX_MENU menu_screen_mla_menu_3; 477 GX_ACCORDION_MENU menu_screen_mla_menu_1_accordion; 478 GX_MENU menu_screen_mla_menu; 479 GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_3; 480 GX_MENU menu_screen_mla_menu_1; 481 GX_PROMPT menu_screen_prompt_15_3; 482 GX_MENU menu_screen_mla_menu_6; 483 GX_ACCORDION_MENU menu_screen_mla_menu_2_accordion; 484 GX_MENU menu_screen_mla_menu_4; 485 GX_ACCORDION_MENU menu_screen_mla_menu_2_1_accordion; 486 GX_MENU menu_screen_mla_menu_2; 487 GX_PROMPT menu_screen_prompt_11_7; 488 GX_MENU menu_screen_mla_menu_2_1; 489 GX_PROMPT menu_screen_prompt_12_5; 490 GX_MENU menu_screen_mla_menu_2_4; 491 GX_ACCORDION_MENU menu_screen_mla_menu_2_2_accordion; 492 GX_MENU menu_screen_mla_menu_2_3; 493 GX_PROMPT menu_screen_prompt_13_1; 494 GX_MENU menu_screen_mla_menu_2_2; 495 GX_PROMPT menu_screen_prompt_14_3; 496 GX_MENU menu_screen_mla_menu_7; 497 GX_PROMPT menu_screen_mla_menu_3_item_2; 498 GX_PROMPT menu_screen_mla_menu_3_item; 499 GX_ICON menu_screen_mla_menu_3_icon; 500 GX_PROMPT menu_screen_title_4; 501 GX_TREE_VIEW menu_screen_tree_view; 502 GX_MENU menu_screen_tree_menu_6; 503 GX_PROMPT menu_screen_tree_menu; 504 GX_PROMPT menu_screen_tree_menu_1; 505 GX_ICON menu_screen_icon_10_1; 506 GX_MENU menu_screen_tree_menu_7; 507 GX_MENU menu_screen_tree_menu_4; 508 GX_PROMPT menu_screen_tree_menu_2; 509 GX_PROMPT menu_screen_tree_menu_2_1; 510 GX_ICON menu_screen_icon_11_1; 511 GX_MENU menu_screen_tree_menu_2_4; 512 GX_MENU menu_screen_tree_menu_2_3; 513 GX_PROMPT menu_screen_tree_menu_2_2; 514 GX_PROMPT menu_screen_tree_menu_2_2_1; 515 GX_ICON menu_screen_icon_9; 516 GX_ICON menu_screen_icon_6; 517 GX_ICON menu_screen_icon_8; 518 GX_MENU menu_screen_tree_menu_8; 519 GX_PROMPT menu_screen_tree_menu_5; 520 GX_ICON menu_screen_icon_12_1; 521 GX_SCROLLBAR menu_screen_tree_hscroll; 522 GX_SCROLLBAR menu_screen_tree_vscroll; 523 GX_PROMPT menu_screen_prompt_16_1; 524 GX_MENU menu_screen_menu; 525 GX_PROMPT menu_screen_prompt_10_2; 526 GX_ICON menu_screen_icon_7; 527 GX_PROMPT menu_screen_title; 528 } MENU_SCREEN_CONTROL_BLOCK; 529 530 typedef struct SCROLL_WHEEL_SCREEN_CONTROL_BLOCK_STRUCT 531 { 532 GX_WINDOW_MEMBERS_DECLARE 533 } SCROLL_WHEEL_SCREEN_CONTROL_BLOCK; 534 535 typedef struct WINDOW_SCREEN_CONTROL_BLOCK_STRUCT 536 { 537 GX_WINDOW_MEMBERS_DECLARE 538 GX_TEXT_BUTTON window_screen_next_button_6; 539 GX_WINDOW window_screen_window_1; 540 GX_WINDOW window_screen_window_2; 541 GX_WINDOW window_screen_window_4; 542 GX_PROMPT window_screen_prompt_12; 543 GX_WINDOW window_screen_window_5; 544 GX_WINDOW window_screen_window; 545 GX_SCROLLBAR window_screen_vertical_scroll; 546 GX_SCROLLBAR window_screen_hscroll; 547 GX_PROMPT window_screen_prompt_12_1; 548 GX_PROMPT window_screen_prompt_12_2; 549 GX_PROMPT window_screen_prompt_12_3; 550 GX_PROMPT window_screen_prompt_12_4; 551 GX_VERTICAL_LIST window_screen_vertical_list; 552 GX_TEXT_BUTTON window_screen_button_2; 553 GX_TEXT_BUTTON window_screen_button_3; 554 GX_TEXT_BUTTON window_screen_button_4; 555 GX_TEXT_BUTTON window_screen_button_5; 556 GX_DROP_LIST window_screen_drop_list; 557 GX_BUTTON window_screen_button_6; 558 GX_HORIZONTAL_LIST window_screen_horizontal_list; 559 GX_ICON_BUTTON window_screen_icon_button_1; 560 GX_ICON_BUTTON window_screen_icon_button_2; 561 GX_ICON_BUTTON window_screen_icon_button_3; 562 GX_ICON_BUTTON window_screen_icon_button_4; 563 GX_ICON_BUTTON window_screen_icon_button_5; 564 } WINDOW_SCREEN_CONTROL_BLOCK; 565 566 typedef struct BUTTON_SCREEN_CONTROL_BLOCK_STRUCT 567 { 568 GX_WINDOW_MEMBERS_DECLARE 569 GX_ICON button_screen_icon_3; 570 GX_ICON button_screen_icon; 571 GX_ICON button_screen_icon_1; 572 GX_SLIDER button_screen_slider_2; 573 GX_SLIDER button_screen_slider_3; 574 GX_PIXELMAP_SLIDER button_screen_pixelmap_slider_1; 575 GX_ICON button_screen_icon_2; 576 GX_PROGRESS_BAR button_screen_progress_bar; 577 GX_TEXT_BUTTON button_screen_next_button_5; 578 GX_BUTTON button_screen_button; 579 GX_TEXT_BUTTON button_screen_button_1; 580 GX_PIXELMAP_BUTTON button_screen_pixelmap_button; 581 GX_CHECKBOX button_screen_checkbox_1; 582 GX_RADIO_BUTTON button_screen_radio_button_9; 583 GX_ICON_BUTTON button_screen_icon_button; 584 GX_ICON button_screen_icon_4; 585 GX_PROMPT button_screen_prompt_11; 586 GX_PROMPT button_screen_prompt_11_1; 587 GX_PROMPT button_screen_prompt_11_2; 588 GX_PROMPT button_screen_prompt_11_3; 589 GX_PROMPT button_screen_prompt_11_4; 590 GX_PROMPT button_screen_prompt_11_5; 591 GX_PROMPT button_screen_prompt_11_6; 592 GX_PIXELMAP_SLIDER button_screen_pixelmap_slider; 593 GX_PIXELMAP_SLIDER button_screen_pixelmap_slider_2; 594 GX_RADIAL_PROGRESS_BAR button_screen_radial_progress_bar_1; 595 } BUTTON_SCREEN_CONTROL_BLOCK; 596 597 typedef struct SHAPES_SCREEN_CONTROL_BLOCK_STRUCT 598 { 599 GX_WINDOW_MEMBERS_DECLARE 600 GX_WINDOW shapes_screen_graphics_window; 601 GX_PROMPT shapes_screen_prompt_20; 602 GX_PROMPT shapes_screen_prompt_19; 603 GX_PROMPT shapes_screen_prompt_5; 604 GX_SLIDER shapes_screen_radius_slider; 605 GX_PROMPT shapes_screen_prompt_6; 606 GX_SLIDER shapes_screen_brush_width_slider; 607 GX_PROMPT shapes_screen_prompt_8; 608 GX_PROMPT shapes_screen_prompt_10; 609 GX_CHECKBOX shapes_screen_checkbox_anti_alised; 610 GX_CHECKBOX shapes_screen_checkbox_round_end; 611 GX_CHECKBOX shapes_screen_checkbox_fill; 612 GX_CHECKBOX shapes_screen_checkbox_pixelmap_fill; 613 GX_TEXT_BUTTON shapes_screen_next_button_4; 614 GX_RADIO_BUTTON shapes_screen_radio_button_3; 615 GX_RADIO_BUTTON shapes_screen_radio_button_4; 616 GX_RADIO_BUTTON shapes_screen_radio_button_5; 617 GX_RADIO_BUTTON shapes_screen_radio_button_6; 618 GX_RADIO_BUTTON shapes_screen_radio_button_7; 619 GX_RADIO_BUTTON shapes_screen_radio_button_8; 620 GX_PROMPT shapes_screen_prompt_7; 621 GX_PROMPT shapes_screen_prompt_13; 622 GX_SLIDER shapes_screen_brush_alpha_slider; 623 GX_PROMPT shapes_screen_prompt_14; 624 GX_CHECKBOX shapes_screen_checkbox_alpha; 625 GX_CHECKBOX shapes_screen_checkbox_compress; 626 } SHAPES_SCREEN_CONTROL_BLOCK; 627 628 typedef struct SPRITE_SCREEN_CONTROL_BLOCK_STRUCT 629 { 630 GX_WINDOW_MEMBERS_DECLARE 631 GX_TEXT_BUTTON sprite_screen_next_button_3; 632 GX_WINDOW sprite_screen_apple_window; 633 GX_SLIDER sprite_screen_slider_1; 634 GX_SPRITE sprite_screen_sprite; 635 } SPRITE_SCREEN_CONTROL_BLOCK; 636 637 typedef struct ROTATE_SCREEN_CONTROL_BLOCK_STRUCT 638 { 639 GX_WINDOW_MEMBERS_DECLARE 640 GX_TEXT_BUTTON rotate_screen_next_button_2; 641 GX_CHECKBOX rotate_screen_checkbox; 642 GX_PROMPT rotate_screen_prompt_9; 643 GX_SLIDER rotate_screen_slider; 644 GX_PROMPT rotate_screen_prompt; 645 GX_WINDOW rotate_screen_pixelmap_window; 646 GX_RADIO_BUTTON rotate_screen_radio_button; 647 GX_RADIO_BUTTON rotate_screen_radio_button_1; 648 GX_RADIO_BUTTON rotate_screen_radio_button_2; 649 } ROTATE_SCREEN_CONTROL_BLOCK; 650 651 typedef struct TEXT_SCREEN_CONTROL_BLOCK_STRUCT 652 { 653 GX_WINDOW_MEMBERS_DECLARE 654 GX_TEXT_BUTTON text_screen_next_button_1; 655 GX_PROMPT text_screen_prompt_1; 656 GX_PROMPT text_screen_prompt_3; 657 GX_PROMPT text_screen_prompt_2; 658 GX_PIXELMAP_PROMPT text_screen_prompt_4; 659 GX_SINGLE_LINE_TEXT_INPUT text_screen_text_input_1; 660 GX_MULTI_LINE_TEXT_VIEW text_screen_text_view; 661 GX_MULTI_LINE_TEXT_INPUT text_screen_text_input_2; 662 GX_NUMERIC_PIXELMAP_PROMPT text_screen_numeric_pixelmap_prompt_2; 663 GX_NUMERIC_PROMPT text_screen_numeric_prompt_1; 664 } TEXT_SCREEN_CONTROL_BLOCK; 665 666 typedef struct PIC_SCREEN_CONTROL_BLOCK_STRUCT 667 { 668 GX_WINDOW_MEMBERS_DECLARE 669 GX_WINDOW pic_screen_pic_window; 670 GX_CHECKBOX pic_screen_alpha; 671 GX_CHECKBOX pic_screen_compressed; 672 GX_TEXT_BUTTON pic_screen_next_button; 673 } PIC_SCREEN_CONTROL_BLOCK; 674 675 676 /* extern statically defined control blocks */ 677 678 #ifndef GUIX_STUDIO_GENERATED_FILE 679 extern LINE_SCREEN_CONTROL_BLOCK line_screen; 680 extern RESIZE_SCREEN_CONTROL_BLOCK resize_screen; 681 extern MENU_SCREEN_CONTROL_BLOCK menu_screen; 682 extern WINDOW_SCREEN_CONTROL_BLOCK window_screen; 683 extern BUTTON_SCREEN_CONTROL_BLOCK button_screen; 684 extern SHAPES_SCREEN_CONTROL_BLOCK shapes_screen; 685 extern SPRITE_SCREEN_CONTROL_BLOCK sprite_screen; 686 extern ROTATE_SCREEN_CONTROL_BLOCK rotate_screen; 687 extern TEXT_SCREEN_CONTROL_BLOCK text_screen; 688 extern PIC_SCREEN_CONTROL_BLOCK pic_screen; 689 #endif 690 691 /* Declare event process functions, draw functions, and callback functions */ 692 693 UINT line_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 694 VOID line_win_draw(GX_WINDOW *widget); 695 UINT resize_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 696 VOID resize_window_draw(GX_WINDOW *widget); 697 UINT next_button_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 698 UINT scroll_wheel_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 699 UINT day_wheel_value_format(GX_NUMERIC_SCROLL_WHEEL *wheel, INT row, GX_STRING *string); 700 VOID drop_list_row_create(GX_VERTICAL_LIST *, GX_WIDGET *, INT); 701 UINT shapesscreen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 702 VOID graphics_draw(GX_WINDOW *widget); 703 UINT sprite_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 704 VOID apple_window_draw(GX_WINDOW *widget); 705 UINT rotate_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 706 VOID pixelmap_draw(GX_WINDOW *widget); 707 VOID numeric_pixelmap_format_func(GX_NUMERIC_PIXELMAP_PROMPT *, INT); 708 VOID format_func(GX_NUMERIC_PROMPT *, INT); 709 UINT pic_screen_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 710 VOID pic_window_draw(GX_WINDOW *widget); 711 712 /* Declare the GX_STUDIO_DISPLAY_INFO structure */ 713 714 715 typedef struct GX_STUDIO_DISPLAY_INFO_STRUCT 716 { 717 GX_CONST GX_CHAR *name; 718 GX_CONST GX_CHAR *canvas_name; 719 GX_CONST GX_THEME **theme_table; 720 GX_CONST GX_STRING **language_table; 721 USHORT theme_table_size; 722 USHORT language_table_size; 723 UINT string_table_size; 724 UINT x_resolution; 725 UINT y_resolution; 726 GX_DISPLAY *display; 727 GX_CANVAS *canvas; 728 GX_WINDOW_ROOT *root_window; 729 GX_COLOR *canvas_memory; 730 ULONG canvas_memory_size; 731 USHORT rotation_angle; 732 } GX_STUDIO_DISPLAY_INFO; 733 734 735 /* Declare Studio-generated functions for creating top-level widgets */ 736 737 UINT gx_studio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 738 UINT gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 739 UINT gx_studio_checkbox_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 740 UINT gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 741 UINT gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 742 UINT gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 743 UINT gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 744 UINT gx_studio_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 745 UINT gx_studio_pixelmap_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 746 UINT gx_studio_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 747 UINT gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 748 UINT gx_studio_sprite_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 749 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 750 UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 751 UINT gx_studio_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 752 UINT gx_studio_numeric_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 753 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 754 UINT gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 755 UINT gx_studio_horizontal_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 756 UINT gx_studio_drop_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 757 UINT gx_studio_string_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 758 UINT gx_studio_numeric_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 759 UINT gx_studio_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 760 UINT gx_studio_multi_line_text_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 761 UINT gx_studio_multi_line_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 762 UINT gx_studio_horizontal_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 763 UINT gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 764 UINT gx_studio_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 765 UINT gx_studio_accordion_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 766 UINT gx_studio_tree_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 767 GX_WIDGET *gx_studio_widget_create(GX_BYTE *storage, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent); 768 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget); 769 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *), GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root); 770 771 /* Determine if a C++ compiler is being used. If so, complete the standard 772 C conditional started above. */ 773 #ifdef __cplusplus 774 } 775 #endif 776 777 #endif /* sentry */ 778