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