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_16BPP_ROTATED_CCW_BINARY_SPECIFICATIONS_H_ 14 #define _ALL_WIDGETS_16BPP_ROTATED_CCW_BINARY_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_GAUGE_SCREEN 10 35 #define ID_GAUGE 11 36 #define ID_LINES_SCREEN 12 37 #define ID_LINE_WIDTH 13 38 #define ID_LINE_ANGLE 14 39 #define ID_ANGLE_DISPLAY 15 40 #define ID_ANTI_ALIASED 16 41 #define ID_ROUNDED 17 42 #define ID_LINE_WINDOW 18 43 #define ID_BRUSH_ALPHA_SLIDER 19 44 #define ID_BRUSH_ALPHA_PROMPT 20 45 #define ID_COLOR_BLACK 21 46 #define ID_COLOR_ORANGE 22 47 #define ID_COLOR_WHITE 23 48 #define ID_MENU_SCREEN 24 49 #define ID_SCROLL_WHEEL_SCREEN 25 50 #define ID_DAY_WHEEL 26 51 #define ID_MONTH_WHEEL 27 52 #define ID_YEAR_WHEEL 28 53 #define ID_DAY_SELECT 29 54 #define ID_DAY_INPUT 30 55 #define ID_SHAPES_SCREEN 31 56 #define ID_CIRCLE 32 57 #define ID_ELLIPSE 33 58 #define ID_ARC 34 59 #define ID_PIE 35 60 #define ID_RECTANGLE 36 61 #define ID_POLYGON 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_COMPRESS 45 70 #define ID_ALPHA 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 RESIZE_SCREEN_CONTROL_BLOCK_STRUCT 426 { 427 GX_WINDOW_MEMBERS_DECLARE 428 GX_PROMPT resize_screen_prompt_16; 429 GX_SLIDER resize_screen_slider_angle; 430 GX_PROMPT resize_screen_prompt_angle; 431 GX_WINDOW resize_screen_resize_window; 432 GX_RADIO_BUTTON resize_screen_radio_button_5; 433 GX_RADIO_BUTTON resize_screen_radio_button_6; 434 GX_RADIO_BUTTON resize_screen_radio_button_7; 435 GX_PROMPT resize_screen_prompt_17; 436 GX_PROMPT resize_screen_prompt_18; 437 GX_SLIDER resize_screen_slider_angle_1; 438 GX_PROMPT resize_screen_prompt_angle_1; 439 GX_TEXT_BUTTON resize_screen_next_button_9; 440 } RESIZE_SCREEN_CONTROL_BLOCK; 441 442 typedef struct GAUGE_SCREEN_CONTROL_BLOCK_STRUCT 443 { 444 GX_WINDOW_MEMBERS_DECLARE 445 GX_PROMPT gauge_screen_prompt_6; 446 GX_TEXT_BUTTON gauge_screen_next_button_4; 447 GX_CIRCULAR_GAUGE gauge_screen_gauge_1; 448 } GAUGE_SCREEN_CONTROL_BLOCK; 449 450 typedef struct LINES_SCREEN_CONTROL_BLOCK_STRUCT 451 { 452 GX_WINDOW_MEMBERS_DECLARE 453 GX_PROMPT lines_screen_prompt_16; 454 GX_SLIDER lines_screen_line_width_slider; 455 GX_PROMPT lines_screen_prompt_17; 456 GX_SLIDER lines_screen_line_angle_slider; 457 GX_PROMPT lines_screen_width_display; 458 GX_PROMPT lines_screen_angle_display; 459 GX_CHECKBOX lines_screen_aa_box; 460 GX_CHECKBOX lines_screen_rounded_box; 461 GX_WINDOW lines_screen_line_window; 462 GX_PROMPT lines_screen_color_label; 463 GX_PROMPT lines_screen_prompt_18; 464 GX_SLIDER lines_screen_brush_alpha_slider_1; 465 GX_PROMPT lines_screen_brush_alpha_prompt; 466 GX_TEXT_BUTTON lines_screen_next_button_8; 467 GX_PROMPT lines_screen_title_2; 468 GX_RADIO_BUTTON lines_screen_radio_button_5; 469 GX_RADIO_BUTTON lines_screen_radio_button_10; 470 GX_RADIO_BUTTON lines_screen_radio_button_11; 471 } LINES_SCREEN_CONTROL_BLOCK; 472 473 typedef struct MENU_SCREEN_CONTROL_BLOCK_STRUCT 474 { 475 GX_WINDOW_MEMBERS_DECLARE 476 GX_TEXT_BUTTON menu_screen_next_button_6; 477 GX_PROMPT menu_screen_title_3; 478 GX_PROMPT menu_screen_title_4; 479 GX_ACCORDION_MENU menu_screen_one_level_accordion_2; 480 GX_MENU menu_screen_ola_menu_4; 481 GX_PROMPT menu_screen_prompt_25; 482 GX_NUMERIC_PROMPT menu_screen_prompt_26; 483 GX_MENU menu_screen_ola_menu; 484 GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_3; 485 GX_TEXT_BUTTON menu_screen_ola_menu_1; 486 GX_MENU menu_screen_ola_menu_2; 487 GX_MENU menu_screen_item_1; 488 GX_MENU menu_screen_item_2; 489 GX_ACCORDION_MENU menu_screen_one_level_accordion_1; 490 GX_MENU menu_screen_ola_2_menu_3; 491 GX_PROMPT menu_screen_prompt_14_1; 492 GX_ACCORDION_MENU menu_screen_ola_2_menu; 493 GX_MENU menu_screen_ola_2_menu_1; 494 GX_PIXELMAP_PROMPT menu_screen_prompt_15_1; 495 GX_MENU menu_screen_ola_2_menu_2; 496 GX_NUMERIC_PIXELMAP_PROMPT menu_screen_numeric_pixelmap_prompt_1; 497 GX_MENU menu_screen_ola_2_menu_5; 498 GX_PROMPT menu_screen_prompt_10; 499 GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_2; 500 GX_ACCORDION_MENU menu_screen_multi_level_accordion; 501 GX_MENU menu_screen_mla_menu_3; 502 GX_ACCORDION_MENU menu_screen_mla_menu_1_accordion; 503 GX_MENU menu_screen_mla_menu; 504 GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_4; 505 GX_MENU menu_screen_mla_menu_1; 506 GX_PROMPT menu_screen_prompt_15; 507 GX_MENU menu_screen_mla_menu_6; 508 GX_ACCORDION_MENU menu_screen_mla_menu_2_accordion; 509 GX_MENU menu_screen_mla_menu_4; 510 GX_ACCORDION_MENU menu_screen_mla_menu_2_1_accordion; 511 GX_MENU menu_screen_mla_menu_2; 512 GX_PROMPT menu_screen_prompt_11; 513 GX_MENU menu_screen_mla_menu_2_1; 514 GX_PROMPT menu_screen_prompt_12_1; 515 GX_MENU menu_screen_mla_menu_2_4; 516 GX_ACCORDION_MENU menu_screen_mla_menu_2_2_accordion; 517 GX_MENU menu_screen_mla_menu_2_3; 518 GX_PROMPT menu_screen_prompt_13_1; 519 GX_MENU menu_screen_mla_menu_2_2; 520 GX_PROMPT menu_screen_prompt_14_3; 521 GX_MENU menu_screen_mla_menu_7; 522 GX_PROMPT menu_screen_mla_menu_3_item_2; 523 GX_PROMPT menu_screen_mla_menu_3_item; 524 GX_ICON menu_screen_mla_menu_3_icon; 525 GX_PROMPT menu_screen_title_5; 526 GX_TREE_VIEW menu_screen_tree_view; 527 GX_MENU menu_screen_tree_menu_6; 528 GX_PROMPT menu_screen_tree_menu; 529 GX_PROMPT menu_screen_tree_menu_1; 530 GX_ICON menu_screen_icon_10_1; 531 GX_MENU menu_screen_tree_menu_7; 532 GX_MENU menu_screen_tree_menu_4; 533 GX_PROMPT menu_screen_tree_menu_2; 534 GX_PROMPT menu_screen_tree_menu_2_1; 535 GX_ICON menu_screen_icon_11_1; 536 GX_MENU menu_screen_tree_menu_2_4; 537 GX_MENU menu_screen_tree_menu_2_3; 538 GX_PROMPT menu_screen_tree_menu_2_2; 539 GX_PROMPT menu_screen_tree_menu_2_2_1; 540 GX_ICON menu_screen_icon_9; 541 GX_ICON menu_screen_icon_6; 542 GX_ICON menu_screen_icon_8; 543 GX_MENU menu_screen_tree_menu_8; 544 GX_PROMPT menu_screen_tree_menu_5; 545 GX_ICON menu_screen_icon_12_1; 546 GX_SCROLLBAR menu_screen_tree_hscroll; 547 GX_SCROLLBAR menu_screen_tree_vscroll; 548 GX_PROMPT menu_screen_prompt_16_1; 549 GX_MENU menu_screen_menu; 550 GX_PROMPT menu_screen_prompt_10_2; 551 GX_ICON menu_screen_icon_7; 552 GX_PROMPT menu_screen_title; 553 } MENU_SCREEN_CONTROL_BLOCK; 554 555 typedef struct SCROLL_WHEEL_SCREEN_CONTROL_BLOCK_STRUCT 556 { 557 GX_WINDOW_MEMBERS_DECLARE 558 GX_TEXT_BUTTON scroll_wheel_screen_next_button_7; 559 GX_PROMPT scroll_wheel_screen_prompt_8; 560 GX_NUMERIC_SCROLL_WHEEL scroll_wheel_screen_day_wheel_1; 561 GX_STRING_SCROLL_WHEEL scroll_wheel_screen_month_wheel_1; 562 GX_NUMERIC_SCROLL_WHEEL scroll_wheel_screen_year_wheel_1; 563 GX_TEXT_BUTTON scroll_wheel_screen_button_5; 564 GX_SINGLE_LINE_TEXT_INPUT scroll_wheel_screen_text_input_3; 565 } SCROLL_WHEEL_SCREEN_CONTROL_BLOCK; 566 567 typedef struct SHAPES_SCREEN_CONTROL_BLOCK_STRUCT 568 { 569 GX_WINDOW_MEMBERS_DECLARE 570 GX_WINDOW shapes_screen_graphics_window; 571 GX_TEXT_BUTTON shapes_screen_next_button_5; 572 GX_WINDOW shapes_screen_window_11; 573 GX_RADIO_BUTTON shapes_screen_radio_button_6; 574 GX_RADIO_BUTTON shapes_screen_radio_button_7; 575 GX_RADIO_BUTTON shapes_screen_radio_button_8; 576 GX_RADIO_BUTTON shapes_screen_radio_button_9; 577 GX_RADIO_BUTTON shapes_screen_radio_button_3; 578 GX_RADIO_BUTTON shapes_screen_radio_button_4; 579 GX_CHECKBOX shapes_screen_checkbox_anti_alised; 580 GX_CHECKBOX shapes_screen_checkbox_round_end; 581 GX_CHECKBOX shapes_screen_checkbox_fill; 582 GX_CHECKBOX shapes_screen_checkbox_pixelmap_fill; 583 GX_PROMPT shapes_screen_prompt_14; 584 GX_PROMPT shapes_screen_prompt_13; 585 GX_SLIDER shapes_screen_radius_slider_1; 586 GX_PROMPT shapes_screen_prompt_6; 587 GX_PROMPT shapes_screen_prompt_7; 588 GX_SLIDER shapes_screen_brush_width_slider; 589 GX_PROMPT shapes_screen_prompt_11_1; 590 GX_SLIDER shapes_screen_brush_alpha_slider; 591 GX_PROMPT shapes_screen_prompt_12; 592 GX_CHECKBOX shapes_screen_checkbox_1; 593 GX_CHECKBOX shapes_screen_checkbox_2; 594 } SHAPES_SCREEN_CONTROL_BLOCK; 595 596 typedef struct ROTATE_SCREEN_CONTROL_BLOCK_STRUCT 597 { 598 GX_WINDOW_MEMBERS_DECLARE 599 GX_TEXT_BUTTON rotate_screen_next_button_4; 600 GX_CHECKBOX rotate_screen_checkbox; 601 GX_PROMPT rotate_screen_prompt; 602 GX_SLIDER rotate_screen_slider_2; 603 GX_WINDOW rotate_screen_pixelmap_window; 604 GX_RADIO_BUTTON rotate_screen_radio_button; 605 GX_RADIO_BUTTON rotate_screen_radio_button_1; 606 GX_RADIO_BUTTON rotate_screen_radio_button_2; 607 GX_NUMERIC_PROMPT rotate_screen_angle_value; 608 } ROTATE_SCREEN_CONTROL_BLOCK; 609 610 typedef struct INDICATOR_SCREEN_CONTROL_BLOCK_STRUCT 611 { 612 GX_WINDOW_MEMBERS_DECLARE 613 GX_SLIDER indicator_screen_slider; 614 GX_SLIDER indicator_screen_slider_1; 615 GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider; 616 GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider_1; 617 GX_ICON indicator_screen_icon_1; 618 GX_ICON indicator_screen_icon_2; 619 GX_PROMPT indicator_screen_slider_title; 620 GX_TEXT_BUTTON indicator_screen_next_button_3; 621 GX_PROGRESS_BAR indicator_screen_progress_bar_1; 622 GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider_2; 623 GX_ICON indicator_screen_icon_3; 624 GX_ICON indicator_screen_icon_4; 625 GX_RADIAL_PROGRESS_BAR indicator_screen_radial_progress_bar_1; 626 } INDICATOR_SCREEN_CONTROL_BLOCK; 627 628 typedef struct TEXT_SCREEN_CONTROL_BLOCK_STRUCT 629 { 630 GX_WINDOW_MEMBERS_DECLARE 631 GX_PROMPT text_screen_prompt_1; 632 GX_PROMPT text_screen_prompt_2; 633 GX_PROMPT text_screen_prompt_3; 634 GX_PIXELMAP_PROMPT text_screen_prompt_4; 635 GX_SINGLE_LINE_TEXT_INPUT text_screen_text_input_1; 636 GX_MULTI_LINE_TEXT_VIEW text_screen_text_view_1; 637 GX_MULTI_LINE_TEXT_INPUT text_screen_text_input_2; 638 GX_TEXT_BUTTON text_screen_next_button_2; 639 GX_NUMERIC_PIXELMAP_PROMPT text_screen_numeric_pixelmap_prompt_2; 640 GX_NUMERIC_PROMPT text_screen_numeric_prompt_1; 641 } TEXT_SCREEN_CONTROL_BLOCK; 642 643 typedef struct WINDOW_SCREEN_CONTROL_BLOCK_STRUCT 644 { 645 GX_WINDOW_MEMBERS_DECLARE 646 GX_WINDOW window_screen_window_5; 647 GX_WINDOW window_screen_window_6; 648 GX_WINDOW window_screen_window_8; 649 GX_WINDOW window_screen_fade_window; 650 GX_WINDOW window_screen_scroll_frame_1; 651 GX_WINDOW window_screen_window_4; 652 GX_SCROLLBAR window_screen_hscroll_1; 653 GX_SCROLLBAR window_screen_vertical_scroll_1; 654 GX_VERTICAL_LIST window_screen_vertical_list; 655 GX_TEXT_BUTTON window_screen_button_1; 656 GX_TEXT_BUTTON window_screen_button_2; 657 GX_TEXT_BUTTON window_screen_button_3; 658 GX_TEXT_BUTTON window_screen_button_4; 659 GX_PROMPT window_screen_nested_label_1; 660 GX_PROMPT window_screen_frame_label_1; 661 GX_PROMPT window_screen_vlist_label_1; 662 GX_HORIZONTAL_LIST window_screen_horizontal_list_1; 663 GX_ICON_BUTTON window_screen_icon_button_1; 664 GX_ICON_BUTTON window_screen_icon_button_2; 665 GX_ICON_BUTTON window_screen_icon_button_3; 666 GX_ICON_BUTTON window_screen_icon_button_4; 667 GX_ICON_BUTTON window_screen_icon_button_5; 668 GX_PROMPT window_screen_hlist_label_1; 669 GX_TEXT_BUTTON window_screen_next_button_1; 670 GX_DROP_LIST window_screen_drop_list; 671 GX_BUTTON window_screen_button; 672 GX_PROMPT window_screen_hlist_label; 673 } WINDOW_SCREEN_CONTROL_BLOCK; 674 675 typedef struct BUTTON_SCREEN_CONTROL_BLOCK_STRUCT 676 { 677 GX_WINDOW_MEMBERS_DECLARE 678 GX_PROMPT button_screen_title_1; 679 GX_BUTTON button_screen_base_button_1; 680 GX_TEXT_BUTTON button_screen_text_button_1; 681 GX_CHECKBOX button_screen_checkbox1_1; 682 GX_RADIO_BUTTON button_screen_radio_button1_1; 683 GX_PIXELMAP_BUTTON button_screen_pixelmap_button1_1; 684 GX_ICON button_screen_icon; 685 GX_ICON_BUTTON button_screen_icon_button_6; 686 GX_PROMPT button_screen_button_label_1; 687 GX_PROMPT button_screen_radio_label_1; 688 GX_PROMPT button_screen_pixbutton_label_1; 689 GX_PROMPT button_screen_texbutton_label_1; 690 GX_PROMPT button_screen_checkbox_label_1; 691 GX_PROMPT button_screen_iconbutton_label_1; 692 GX_PROMPT button_screen_icon_label_1; 693 GX_TEXT_BUTTON button_screen_next_button; 694 } BUTTON_SCREEN_CONTROL_BLOCK; 695 696 697 /* extern statically defined control blocks */ 698 699 #ifndef GUIX_STUDIO_GENERATED_FILE 700 extern RESIZE_SCREEN_CONTROL_BLOCK resize_screen; 701 extern GAUGE_SCREEN_CONTROL_BLOCK gauge_screen; 702 extern LINES_SCREEN_CONTROL_BLOCK lines_screen; 703 extern MENU_SCREEN_CONTROL_BLOCK menu_screen; 704 extern SCROLL_WHEEL_SCREEN_CONTROL_BLOCK scroll_wheel_screen; 705 extern SHAPES_SCREEN_CONTROL_BLOCK shapes_screen; 706 extern ROTATE_SCREEN_CONTROL_BLOCK rotate_screen; 707 extern INDICATOR_SCREEN_CONTROL_BLOCK indicator_screen; 708 extern TEXT_SCREEN_CONTROL_BLOCK text_screen; 709 extern WINDOW_SCREEN_CONTROL_BLOCK window_screen; 710 extern BUTTON_SCREEN_CONTROL_BLOCK button_screen; 711 #endif 712 713 /* Declare event process functions, draw functions, and callback functions */ 714 715 UINT resize_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 716 VOID resize_window_draw(GX_WINDOW *widget); 717 UINT gauge_event_handle(GX_WINDOW *widget, GX_EVENT *event_ptr); 718 UINT main_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 719 VOID line_win_draw(GX_WINDOW *widget); 720 UINT next_button_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 721 UINT scroll_wheel_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 722 UINT day_wheel_value_format(GX_NUMERIC_SCROLL_WHEEL *wheel, INT row, GX_STRING *string); 723 UINT shapesscreen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 724 VOID graphics_draw(GX_WINDOW *widget); 725 UINT rotate_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 726 VOID pixelmap_draw(GX_WINDOW *widget); 727 VOID drop_list_row_create(GX_VERTICAL_LIST *, GX_WIDGET *, INT); 728 729 /* Declare the GX_STUDIO_DISPLAY_INFO structure */ 730 731 732 typedef struct GX_STUDIO_DISPLAY_INFO_STRUCT 733 { 734 GX_CONST GX_CHAR *name; 735 GX_CONST GX_CHAR *canvas_name; 736 GX_CONST GX_THEME **theme_table; 737 GX_CONST GX_STRING **language_table; 738 USHORT theme_table_size; 739 USHORT language_table_size; 740 UINT string_table_size; 741 UINT x_resolution; 742 UINT y_resolution; 743 GX_DISPLAY *display; 744 GX_CANVAS *canvas; 745 GX_WINDOW_ROOT *root_window; 746 GX_COLOR *canvas_memory; 747 ULONG canvas_memory_size; 748 USHORT rotation_angle; 749 } GX_STUDIO_DISPLAY_INFO; 750 751 752 /* Declare Studio-generated functions for creating top-level widgets */ 753 754 UINT gx_studio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 755 UINT gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 756 UINT gx_studio_checkbox_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 757 UINT gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 758 UINT gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 759 UINT gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 760 UINT gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 761 UINT gx_studio_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 762 UINT gx_studio_pixelmap_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 763 UINT gx_studio_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 764 UINT gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 765 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 766 UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 767 UINT gx_studio_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 768 UINT gx_studio_numeric_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 769 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 770 UINT gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 771 UINT gx_studio_horizontal_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 772 UINT gx_studio_drop_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 773 UINT gx_studio_string_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 774 UINT gx_studio_numeric_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 775 UINT gx_studio_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 776 UINT gx_studio_multi_line_text_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 777 UINT gx_studio_multi_line_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 778 UINT gx_studio_horizontal_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 779 UINT gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 780 UINT gx_studio_circular_gauge_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 781 UINT gx_studio_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 782 UINT gx_studio_accordion_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 783 UINT gx_studio_tree_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 784 GX_WIDGET *gx_studio_widget_create(GX_BYTE *storage, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent); 785 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget); 786 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *), GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root); 787 788 /* Determine if a C++ compiler is being used. If so, complete the standard 789 C conditional started above. */ 790 #ifdef __cplusplus 791 } 792 #endif 793 794 #endif /* sentry */ 795