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:08 */ 10 /*******************************************************************************/ 11 12 13 #ifndef _ALL_WIDGETS_SYNERGY_16BPP_ROTATED_CW_SPECIFICATIONS_H_ 14 #define _ALL_WIDGETS_SYNERGY_16BPP_ROTATED_CW_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_GLYPH_SCREEN 1 26 #define ID_8BPP_RAW 2 27 #define ID_4BPP_RAW 3 28 #define ID_1BPP_RAW 4 29 #define ID_8BPP_COMPRESS 5 30 #define ID_1BPP_COMPRESS 6 31 #define ID_4BPP_COMPRESS 7 32 #define IDB_NEXT 8 33 #define ID_RESIZE_SCREEN 9 34 #define ID_SLIDER_WIDTH 10 35 #define ID_WIDTH_DISPLAY 11 36 #define ID_565RGB 12 37 #define ID_32ARGB 13 38 #define ID_4444ARGB 14 39 #define ID_SLIDER_HEIGHT 15 40 #define ID_HEIGHT_DISPLAY 16 41 #define ID_ALPHAMAP 17 42 #define ID_GAUGE_SCREEN 18 43 #define ID_GAUGE 19 44 #define ID_TEXT_WIDGET_STYLES_SCREEN 20 45 #define ID_SL_INPUT 21 46 #define ID_ML_INPUT 22 47 #define ID_LINES_SCREEN 23 48 #define ID_LINE_WIDTH 24 49 #define ID_LINE_ANGLE 25 50 #define ID_ANGLE_DISPLAY 26 51 #define ID_ANTI_ALIASED 27 52 #define ID_ROUNDED 28 53 #define ID_LINE_WINDOW 29 54 #define ID_BRUSH_ALPHA_SLIDER 30 55 #define ID_BRUSH_ALPHA_PROMPT 31 56 #define ID_COLOR_BLACK 32 57 #define ID_COLOR_ORANGE 33 58 #define ID_COLOR_WHITE 34 59 #define ID_MENU_SCREEN 35 60 #define ID_SCROLL_WHEEL_SCREEN 36 61 #define ID_DAY_WHEEL 37 62 #define ID_MONTH_WHEEL 38 63 #define ID_YEAR_WHEEL 39 64 #define ID_DAY_SELECT 40 65 #define ID_DAY_INPUT 41 66 #define ID_SHAPES_SCREEN 42 67 #define ID_CIRCLE 43 68 #define ID_ELLIPSE 44 69 #define ID_ARC 45 70 #define ID_PIE 46 71 #define ID_RECTANGLE 47 72 #define ID_POLYGON 48 73 #define ID_ROUND_END 49 74 #define ID_SOLID_FILL 50 75 #define ID_PIXELMAP_FILL 51 76 #define ID_RADIUS_SLIDER 52 77 #define ID_RADIUS_PROMPT 53 78 #define ID_BRUSH_WIDTH_PROMPT 54 79 #define ID_BRUSH_WIDTH 55 80 #define ID_COMPRESS 56 81 #define ID_ALPHA 57 82 #define ID_ROTATE_SCREEN 58 83 #define ID_ROTATE_TO_CANVAS 59 84 #define ID_SLIDER_ANGLE 60 85 #define ID_INDICATOR_SCREEN 61 86 #define ID_SLIDER_HORIZONTAL 62 87 #define ID_SLIDER_1 63 88 #define ID_PIXELMAP_SLIDER_H 64 89 #define ID_PIXELMAP_SLIDER1 65 90 #define ID_TEXT_SCREEN 66 91 #define ID_PROMPT_1 67 92 #define ID_PROMPT_2 68 93 #define ID_PROMPT_3 69 94 #define ID_PROMPT_4 70 95 #define ID_WINDOW_SCREEN 71 96 #define ID_HORIZONTAL_SCROLLBAR 72 97 #define ID_VERTICAL_SCROLLBAR 73 98 #define ID_VERTICAL_LIST 74 99 #define ID_DROP_LIST 75 100 #define ID_BUTTON_SCREEN 76 101 #define ID_TEXT_BUTTON 77 102 #define ID_CHECKBOX 78 103 #define ID_RADIO_BUTTON 79 104 #define ID_PIXELMAP_BUTTON 80 105 #define ID_ICON 81 106 #define ID_ICON_BUTTON 82 107 108 109 /* Define animation ids */ 110 111 #define GX_NEXT_ANIMATION_ID 1 112 113 114 /* Define user event ids */ 115 116 #define GX_NEXT_USER_EVENT_ID GX_FIRST_USER_EVENT 117 118 119 /* Declare properties structures for each utilized widget type */ 120 121 typedef struct GX_STUDIO_WIDGET_STRUCT 122 { 123 GX_CHAR *widget_name; 124 USHORT widget_type; 125 USHORT widget_id; 126 #if defined(GX_WIDGET_USER_DATA) 127 INT user_data; 128 #endif 129 ULONG style; 130 ULONG status; 131 ULONG control_block_size; 132 GX_RESOURCE_ID normal_fill_color_id; 133 GX_RESOURCE_ID selected_fill_color_id; 134 GX_RESOURCE_ID disabled_fill_color_id; 135 UINT (*create_function) (GX_CONST struct GX_STUDIO_WIDGET_STRUCT *, GX_WIDGET *, GX_WIDGET *); 136 void (*draw_function) (GX_WIDGET *); 137 UINT (*event_function) (GX_WIDGET *, GX_EVENT *); 138 GX_RECTANGLE size; 139 GX_CONST struct GX_STUDIO_WIDGET_STRUCT *next_widget; 140 GX_CONST struct GX_STUDIO_WIDGET_STRUCT *child_widget; 141 ULONG control_block_offset; 142 GX_CONST void *properties; 143 } GX_STUDIO_WIDGET; 144 145 typedef struct 146 { 147 GX_CONST GX_STUDIO_WIDGET *widget_information; 148 GX_WIDGET *widget; 149 } GX_STUDIO_WIDGET_ENTRY; 150 151 typedef struct 152 { 153 GX_RESOURCE_ID string_id; 154 GX_RESOURCE_ID font_id; 155 GX_RESOURCE_ID normal_text_color_id; 156 GX_RESOURCE_ID selected_text_color_id; 157 GX_RESOURCE_ID disabled_text_color_id; 158 } GX_TEXT_BUTTON_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_ML_TEXT_BUTTON_PROPERTIES; 168 169 typedef struct 170 { 171 GX_RESOURCE_ID string_id; 172 GX_RESOURCE_ID font_id; 173 GX_RESOURCE_ID normal_text_color_id; 174 GX_RESOURCE_ID selected_text_color_id; 175 GX_RESOURCE_ID disabled_text_color_id; 176 GX_RESOURCE_ID unchecked_pixelmap_id; 177 GX_RESOURCE_ID checked_pixelmap_id; 178 GX_RESOURCE_ID unchecked_disabled_pixelmap_id; 179 GX_RESOURCE_ID checked_disabled_pixelmap_id; 180 } GX_CHECKBOX_PROPERTIES; 181 182 typedef struct 183 { 184 GX_RESOURCE_ID string_id; 185 GX_RESOURCE_ID font_id; 186 GX_RESOURCE_ID normal_text_color_id; 187 GX_RESOURCE_ID selected_text_color_id; 188 GX_RESOURCE_ID disabled_text_color_id; 189 GX_RESOURCE_ID off_pixelmap_id; 190 GX_RESOURCE_ID on_pixelmap_id; 191 GX_RESOURCE_ID off_disabled_pixelmap_id; 192 GX_RESOURCE_ID on_disabled_pixelmap_id; 193 } GX_RADIO_BUTTON_PROPERTIES; 194 195 typedef struct 196 { 197 GX_RESOURCE_ID pixelmap_id; 198 } GX_ICON_BUTTON_PROPERTIES; 199 200 typedef struct 201 { 202 GX_RESOURCE_ID normal_pixelmap_id; 203 GX_RESOURCE_ID selected_pixelmap_id; 204 GX_RESOURCE_ID disabled_pixelmap_id; 205 } GX_PIXELMAP_BUTTON_PROPERTIES; 206 207 typedef struct 208 { 209 GX_RESOURCE_ID normal_pixelmap_id; 210 GX_RESOURCE_ID selected_pixelmap_id; 211 } GX_ICON_PROPERTIES; 212 213 typedef struct 214 { 215 int tickmark_count; 216 int minval; 217 int maxval; 218 int current_val; 219 int increment; 220 GX_VALUE min_travel; 221 GX_VALUE max_travel; 222 GX_VALUE needle_width; 223 GX_VALUE needle_height; 224 GX_VALUE needle_inset; 225 GX_VALUE needle_hotspot; 226 } GX_SLIDER_PROPERTIES; 227 228 typedef struct 229 { 230 int min_val; 231 int max_val; 232 int current_val; 233 int increment; 234 GX_VALUE min_travel; 235 GX_VALUE max_travel; 236 GX_VALUE needle_width; 237 GX_VALUE needle_height; 238 GX_VALUE needle_inset; 239 GX_VALUE needle_hotspot; 240 GX_RESOURCE_ID lower_pixelmap; 241 GX_RESOURCE_ID upper_pixelmap; 242 GX_RESOURCE_ID needle_pixelmap; 243 } GX_PIXELMAP_SLIDER_PROPERTIES; 244 245 typedef struct 246 { 247 GX_SPRITE_FRAME *frame_list; 248 USHORT frame_count; 249 } GX_SPRITE_PROPERTIES; 250 251 typedef struct 252 { 253 GX_RESOURCE_ID string_id; 254 GX_RESOURCE_ID font_id; 255 GX_RESOURCE_ID normal_text_color_id; 256 GX_RESOURCE_ID selected_text_color_id; 257 GX_RESOURCE_ID disabled_text_color_id; 258 } GX_PROMPT_PROPERTIES; 259 260 typedef struct 261 { 262 GX_RESOURCE_ID string_id; 263 GX_RESOURCE_ID font_id; 264 GX_RESOURCE_ID normal_text_color_id; 265 GX_RESOURCE_ID selected_text_color_id; 266 GX_RESOURCE_ID disabled_text_color_id; 267 VOID (*format_func)(GX_NUMERIC_PROMPT *, INT); 268 INT numeric_prompt_value; 269 } GX_NUMERIC_PROMPT_PROPERTIES; 270 271 typedef struct 272 { 273 GX_RESOURCE_ID string_id; 274 GX_RESOURCE_ID font_id; 275 GX_RESOURCE_ID normal_text_color_id; 276 GX_RESOURCE_ID selected_text_color_id; 277 GX_RESOURCE_ID disabled_text_color_id; 278 GX_RESOURCE_ID left_map_id; 279 GX_RESOURCE_ID fill_map_id; 280 GX_RESOURCE_ID right_map_id; 281 GX_RESOURCE_ID selected_left_map_id; 282 GX_RESOURCE_ID selected_fill_map_id; 283 GX_RESOURCE_ID selected_right_map_id; 284 } GX_PIXELMAP_PROMPT_PROPERTIES; 285 286 typedef struct 287 { 288 GX_RESOURCE_ID string_id; 289 GX_RESOURCE_ID font_id; 290 GX_RESOURCE_ID normal_text_color_id; 291 GX_RESOURCE_ID selected_text_color_id; 292 GX_RESOURCE_ID disabled_text_color_id; 293 GX_RESOURCE_ID left_map_id; 294 GX_RESOURCE_ID fill_map_id; 295 GX_RESOURCE_ID right_map_id; 296 GX_RESOURCE_ID selected_left_map_id; 297 GX_RESOURCE_ID selected_fill_map_id; 298 GX_RESOURCE_ID selected_right_map_id; 299 VOID (*format_func)(GX_NUMERIC_PIXELMAP_PROMPT *, INT); 300 INT numeric_prompt_value; 301 } GX_NUMERIC_PIXELMAP_PROMPT_PROPERTIES; 302 303 typedef struct 304 { 305 GX_RESOURCE_ID wallpaper_id; 306 } GX_WINDOW_PROPERTIES; 307 308 typedef struct 309 { 310 GX_RESOURCE_ID wallpaper_id; 311 VOID (*callback)(GX_VERTICAL_LIST *, GX_WIDGET *, INT); 312 int total_rows; 313 } GX_VERTICAL_LIST_PROPERTIES; 314 315 typedef struct 316 { 317 GX_RESOURCE_ID wallpaper_id; 318 VOID (*callback)(GX_HORIZONTAL_LIST *, GX_WIDGET *, INT); 319 int total_rows; 320 } GX_HORIZONTAL_LIST_PROPERTIES; 321 322 typedef struct 323 { 324 GX_RESOURCE_ID pixelmap_id; 325 GX_RESOURCE_ID wallpaper_id; 326 VOID (*callback)(GX_VERTICAL_LIST *, GX_WIDGET *, INT); 327 int total_rows; 328 int open_height; 329 } GX_DROP_LIST_PROPERTIES; 330 331 typedef struct 332 { 333 int total_rows; 334 int selected_row; 335 GX_VALUE row_height; 336 GX_UBYTE start_alpha; 337 GX_UBYTE end_alpha; 338 GX_RESOURCE_ID normal_font; 339 GX_RESOURCE_ID selected_font; 340 GX_RESOURCE_ID normal_text_color; 341 GX_RESOURCE_ID selected_text_color; 342 GX_RESOURCE_ID disabled_text_color; 343 GX_RESOURCE_ID wallpaper_id; 344 GX_RESOURCE_ID selected_background; 345 GX_CONST GX_RESOURCE_ID *string_id_list; 346 UINT (*callback)(struct GX_STRING_SCROLL_WHEEL_STRUCT *, INT, GX_STRING *); 347 } GX_STRING_SCROLL_WHEEL_PROPERTIES; 348 349 typedef struct 350 { 351 int total_rows; 352 int selected_row; 353 GX_VALUE row_height; 354 GX_UBYTE start_alpha; 355 GX_UBYTE end_alpha; 356 GX_RESOURCE_ID normal_font; 357 GX_RESOURCE_ID selected_font; 358 GX_RESOURCE_ID normal_text_color; 359 GX_RESOURCE_ID selected_text_color; 360 GX_RESOURCE_ID disabled_text_color; 361 GX_RESOURCE_ID wallpaper_id; 362 GX_RESOURCE_ID selected_background; 363 UINT (*callback)(struct GX_NUMERIC_SCROLL_WHEEL_STRUCT *, INT, GX_STRING *); 364 int start_val; 365 int end_val; 366 } GX_NUMERIC_SCROLL_WHEEL_PROPERTIES; 367 368 typedef struct 369 { 370 GX_RESOURCE_ID string_id; 371 GX_RESOURCE_ID font_id; 372 GX_RESOURCE_ID normal_text_color_id; 373 GX_RESOURCE_ID selected_text_color_id; 374 GX_RESOURCE_ID disabled_text_color_id; 375 GX_RESOURCE_ID readonly_fill_color_id; 376 GX_RESOURCE_ID readonly_text_color_id; 377 GX_CHAR *buffer; 378 UINT buffer_size; 379 } GX_SINGLE_LINE_TEXT_INPUT_PROPERTIES; 380 381 typedef struct 382 { 383 GX_RESOURCE_ID string_id; 384 GX_RESOURCE_ID font_id; 385 GX_RESOURCE_ID normal_text_color_id; 386 GX_RESOURCE_ID selected_text_color_id; 387 GX_RESOURCE_ID disabled_text_color_id; 388 GX_UBYTE whitespace; 389 GX_BYTE line_space; 390 } GX_ML_TEXT_VIEW_PROPERTIES; 391 392 typedef struct 393 { 394 GX_RESOURCE_ID string_id; 395 GX_RESOURCE_ID font_id; 396 GX_RESOURCE_ID normal_text_color_id; 397 GX_RESOURCE_ID selected_text_color_id; 398 GX_RESOURCE_ID disabled_text_color_id; 399 GX_RESOURCE_ID readonly_fill_color_id; 400 GX_RESOURCE_ID readonly_text_color_id; 401 GX_UBYTE whitespace; 402 GX_BYTE line_space; 403 GX_CHAR *buffer; 404 UINT buffer_size; 405 } GX_MULTI_LINE_TEXT_INPUT_PROPERTIES; 406 407 typedef struct 408 { 409 GX_VALUE start_angle; 410 GX_VALUE animation_steps; 411 GX_VALUE animation_delay; 412 GX_VALUE needle_xpos; 413 GX_VALUE needle_ypos; 414 GX_VALUE needle_xcor; 415 GX_VALUE needle_ycor; 416 GX_RESOURCE_ID normal_pixelmap_id; 417 GX_RESOURCE_ID selected_pixelmap_id; 418 GX_RESOURCE_ID needle_pixelmap_id; 419 } GX_CIRCULAR_GAUGE_PROPERTIES; 420 421 typedef struct 422 { 423 GX_RESOURCE_ID string_id; 424 GX_RESOURCE_ID font_id; 425 GX_RESOURCE_ID normal_text_color_id; 426 GX_RESOURCE_ID selected_text_color_id; 427 GX_RESOURCE_ID disabled_text_color_id; 428 GX_RESOURCE_ID left_map_id; 429 GX_RESOURCE_ID fill_map_id; 430 GX_RESOURCE_ID right_map_id; 431 GX_RESOURCE_ID selected_left_map_id; 432 GX_RESOURCE_ID selected_fill_map_id; 433 GX_RESOURCE_ID selected_right_map_id; 434 GX_VALUE text_x_offset; 435 GX_VALUE text_y_offset; 436 GX_VALUE list_total_count; 437 } GX_MENU_PROPERTIES; 438 439 typedef struct 440 { 441 GX_RESOURCE_ID expand_map_id; 442 GX_RESOURCE_ID collapse_map_id; 443 GX_RESOURCE_ID root_line_color_id; 444 GX_VALUE indentation; 445 } GX_TREE_VIEW_PROPERTIES; 446 447 448 /* Declare top-level control blocks */ 449 450 typedef struct GLYPH_SCREEN_CONTROL_BLOCK_STRUCT 451 { 452 GX_WINDOW_MEMBERS_DECLARE 453 GX_MULTI_LINE_TEXT_VIEW glyph_screen_view; 454 GX_RADIO_BUTTON glyph_screen_radio_8bpp_raw; 455 GX_RADIO_BUTTON glyph_screen_radio_4bpp_raw; 456 GX_RADIO_BUTTON glyph_screen_radio_1bpp_raw; 457 GX_RADIO_BUTTON glyph_screen_radio_8bpp_compress; 458 GX_RADIO_BUTTON glyph_screen_radio_1bpp_compress; 459 GX_RADIO_BUTTON glyph_screen_radio_4bpp_compress; 460 GX_TEXT_BUTTON glyph_screen_next_button; 461 } GLYPH_SCREEN_CONTROL_BLOCK; 462 463 typedef struct RESIZE_SCREEN_CONTROL_BLOCK_STRUCT 464 { 465 GX_WINDOW_MEMBERS_DECLARE 466 GX_PROMPT resize_screen_prompt_16; 467 GX_SLIDER resize_screen_slider_angle; 468 GX_PROMPT resize_screen_prompt_angle; 469 GX_WINDOW resize_screen_resize_window; 470 GX_RADIO_BUTTON resize_screen_radio_565rgb; 471 GX_RADIO_BUTTON resize_screen_radio_32argb; 472 GX_RADIO_BUTTON resize_screen_radio_4444argb; 473 GX_PROMPT resize_screen_prompt_17; 474 GX_PROMPT resize_screen_prompt_18; 475 GX_SLIDER resize_screen_slider_angle_1; 476 GX_PROMPT resize_screen_prompt_angle_1; 477 GX_TEXT_BUTTON resize_screen_next_button_9; 478 GX_RADIO_BUTTON resize_screen_radio_alphamap; 479 } RESIZE_SCREEN_CONTROL_BLOCK; 480 481 typedef struct ICON_SCREEN_CONTROL_BLOCK_STRUCT 482 { 483 GX_WINDOW_MEMBERS_DECLARE 484 GX_ICON icon_screen_icon_10; 485 } ICON_SCREEN_CONTROL_BLOCK; 486 487 typedef struct GAUGE_SCREEN_CONTROL_BLOCK_STRUCT 488 { 489 GX_WINDOW_MEMBERS_DECLARE 490 GX_PROMPT gauge_screen_prompt_6; 491 GX_TEXT_BUTTON gauge_screen_next_button_4; 492 GX_CIRCULAR_GAUGE gauge_screen_gauge_1; 493 } GAUGE_SCREEN_CONTROL_BLOCK; 494 495 typedef struct WIDGET_COLOR_TEST_SCREEN_CONTROL_BLOCK_STRUCT 496 { 497 GX_WINDOW_MEMBERS_DECLARE 498 GX_PROMPT widget_color_test_screen_prompt_19; 499 GX_NUMERIC_PROMPT widget_color_test_screen_prompt_22; 500 GX_NUMERIC_PIXELMAP_PROMPT widget_color_test_screen_numeric_pixelmap_prompt; 501 GX_SINGLE_LINE_TEXT_INPUT widget_color_test_screen_sl_text_input; 502 GX_TEXT_BUTTON widget_color_test_screen_button_6; 503 GX_MULTI_LINE_TEXT_BUTTON widget_color_test_screen_multi_line_button; 504 GX_CHECKBOX widget_color_test_screen_checkbox_3; 505 GX_RADIO_BUTTON widget_color_test_screen_radio_button_12; 506 GX_PROMPT widget_color_test_screen_prompt_27; 507 GX_PIXELMAP_PROMPT widget_color_test_screen_prompt_24; 508 GX_MULTI_LINE_TEXT_INPUT widget_color_test_screen_ml_text_input; 509 GX_MULTI_LINE_TEXT_VIEW widget_color_test_screen_text_view_5; 510 GX_STRING_SCROLL_WHEEL widget_color_test_screen_string_scroll_wheel; 511 GX_NUMERIC_SCROLL_WHEEL widget_color_test_screen_numeric_scroll_wheel; 512 GX_RADIAL_PROGRESS_BAR widget_color_test_screen_radial_progress_bar; 513 GX_PROGRESS_BAR widget_color_test_screen_progress_bar; 514 GX_WINDOW widget_color_test_screen_window; 515 GX_VERTICAL_LIST widget_color_test_screen_vertical_list_1; 516 GX_HORIZONTAL_LIST widget_color_test_screen_horizontal_list; 517 GX_DROP_LIST widget_color_test_screen_drop_list_1; 518 GX_LINE_CHART widget_color_test_screen_line_chart; 519 GX_BUTTON widget_color_test_screen_button_7; 520 GX_ICON_BUTTON widget_color_test_screen_icon_button; 521 GX_PIXELMAP_BUTTON widget_color_test_screen_pixelmap_button; 522 GX_ICON widget_color_test_screen_icon_5; 523 GX_SLIDER widget_color_test_screen_slider_3; 524 GX_PIXELMAP_SLIDER widget_color_test_screen_pixelmap_slider_3; 525 GX_SCROLLBAR widget_color_test_screen_hscroll; 526 GX_SCROLLBAR widget_color_test_screen_vertical_scroll; 527 GX_SPRITE widget_color_test_screen_sprite; 528 GX_CIRCULAR_GAUGE widget_color_test_screen_gauge; 529 GX_ACCORDION_MENU widget_color_test_screen_accordion; 530 GX_TREE_VIEW widget_color_test_screen_tree_view_1; 531 } WIDGET_COLOR_TEST_SCREEN_CONTROL_BLOCK; 532 533 typedef struct LINES_SCREEN_CONTROL_BLOCK_STRUCT 534 { 535 GX_WINDOW_MEMBERS_DECLARE 536 GX_PROMPT lines_screen_prompt_16; 537 GX_SLIDER lines_screen_line_width_slider; 538 GX_PROMPT lines_screen_prompt_17; 539 GX_SLIDER lines_screen_line_angle_slider; 540 GX_PROMPT lines_screen_width_display; 541 GX_PROMPT lines_screen_angle_display; 542 GX_CHECKBOX lines_screen_aa_box; 543 GX_CHECKBOX lines_screen_rounded_box; 544 GX_WINDOW lines_screen_line_window; 545 GX_PROMPT lines_screen_color_label; 546 GX_PROMPT lines_screen_prompt_18; 547 GX_SLIDER lines_screen_brush_alpha_slider_1; 548 GX_PROMPT lines_screen_brush_alpha_prompt; 549 GX_TEXT_BUTTON lines_screen_next_button_8; 550 GX_PROMPT lines_screen_title_2; 551 GX_RADIO_BUTTON lines_screen_radio_button_5; 552 GX_RADIO_BUTTON lines_screen_radio_button_10; 553 GX_RADIO_BUTTON lines_screen_radio_button_11; 554 } LINES_SCREEN_CONTROL_BLOCK; 555 556 typedef struct MENU_SCREEN_CONTROL_BLOCK_STRUCT 557 { 558 GX_WINDOW_MEMBERS_DECLARE 559 GX_TEXT_BUTTON menu_screen_next_button_6; 560 GX_PROMPT menu_screen_title_3; 561 GX_PROMPT menu_screen_title_4; 562 GX_ACCORDION_MENU menu_screen_one_level_accordion_2; 563 GX_MENU menu_screen_ola_menu_4; 564 GX_PROMPT menu_screen_prompt_25; 565 GX_NUMERIC_PROMPT menu_screen_prompt_26; 566 GX_MENU menu_screen_ola_menu; 567 GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_3; 568 GX_TEXT_BUTTON menu_screen_ola_menu_1; 569 GX_MENU menu_screen_ola_menu_2; 570 GX_MENU menu_screen_item_1; 571 GX_MENU menu_screen_item_2; 572 GX_ACCORDION_MENU menu_screen_one_level_accordion_1; 573 GX_MENU menu_screen_ola_2_menu_3; 574 GX_PROMPT menu_screen_prompt_14_1; 575 GX_ACCORDION_MENU menu_screen_ola_2_menu; 576 GX_MENU menu_screen_ola_2_menu_1; 577 GX_PIXELMAP_PROMPT menu_screen_prompt_15_1; 578 GX_MENU menu_screen_ola_2_menu_2; 579 GX_NUMERIC_PIXELMAP_PROMPT menu_screen_numeric_pixelmap_prompt_1; 580 GX_MENU menu_screen_ola_2_menu_5; 581 GX_PROMPT menu_screen_prompt_10; 582 GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_2; 583 GX_ACCORDION_MENU menu_screen_multi_level_accordion; 584 GX_MENU menu_screen_mla_menu_3; 585 GX_ACCORDION_MENU menu_screen_mla_menu_1_accordion; 586 GX_MENU menu_screen_mla_menu; 587 GX_MULTI_LINE_TEXT_VIEW menu_screen_text_view_4; 588 GX_MENU menu_screen_mla_menu_1; 589 GX_PROMPT menu_screen_prompt_15; 590 GX_MENU menu_screen_mla_menu_6; 591 GX_ACCORDION_MENU menu_screen_mla_menu_2_accordion; 592 GX_MENU menu_screen_mla_menu_4; 593 GX_ACCORDION_MENU menu_screen_mla_menu_2_1_accordion; 594 GX_MENU menu_screen_mla_menu_2; 595 GX_PROMPT menu_screen_prompt_11; 596 GX_MENU menu_screen_mla_menu_2_1; 597 GX_PROMPT menu_screen_prompt_12_1; 598 GX_MENU menu_screen_mla_menu_2_4; 599 GX_ACCORDION_MENU menu_screen_mla_menu_2_2_accordion; 600 GX_MENU menu_screen_mla_menu_2_3; 601 GX_PROMPT menu_screen_prompt_13_1; 602 GX_MENU menu_screen_mla_menu_2_2; 603 GX_PROMPT menu_screen_prompt_14_3; 604 GX_MENU menu_screen_mla_menu_7; 605 GX_PROMPT menu_screen_mla_menu_3_item_2; 606 GX_PROMPT menu_screen_mla_menu_3_item; 607 GX_ICON menu_screen_mla_menu_3_icon; 608 GX_PROMPT menu_screen_title_5; 609 GX_TREE_VIEW menu_screen_tree_view; 610 GX_MENU menu_screen_tree_menu_6; 611 GX_PROMPT menu_screen_tree_menu; 612 GX_PROMPT menu_screen_tree_menu_1; 613 GX_ICON menu_screen_icon_10_1; 614 GX_MENU menu_screen_tree_menu_7; 615 GX_MENU menu_screen_tree_menu_4; 616 GX_PROMPT menu_screen_tree_menu_2; 617 GX_PROMPT menu_screen_tree_menu_2_1; 618 GX_ICON menu_screen_icon_11_1; 619 GX_MENU menu_screen_tree_menu_2_4; 620 GX_MENU menu_screen_tree_menu_2_3; 621 GX_PROMPT menu_screen_tree_menu_2_2; 622 GX_PROMPT menu_screen_tree_menu_2_2_1; 623 GX_ICON menu_screen_icon_9; 624 GX_ICON menu_screen_icon_6; 625 GX_ICON menu_screen_icon_8; 626 GX_MENU menu_screen_tree_menu_8; 627 GX_PROMPT menu_screen_tree_menu_5; 628 GX_ICON menu_screen_icon_12_1; 629 GX_SCROLLBAR menu_screen_tree_hscroll; 630 GX_SCROLLBAR menu_screen_tree_vscroll; 631 GX_PROMPT menu_screen_prompt_16_1; 632 GX_MENU menu_screen_menu; 633 GX_PROMPT menu_screen_prompt_10_2; 634 GX_ICON menu_screen_icon_7; 635 GX_PROMPT menu_screen_title; 636 } MENU_SCREEN_CONTROL_BLOCK; 637 638 typedef struct SCROLL_WHEEL_SCREEN_CONTROL_BLOCK_STRUCT 639 { 640 GX_WINDOW_MEMBERS_DECLARE 641 } SCROLL_WHEEL_SCREEN_CONTROL_BLOCK; 642 643 typedef struct SHAPES_SCREEN_CONTROL_BLOCK_STRUCT 644 { 645 GX_WINDOW_MEMBERS_DECLARE 646 GX_WINDOW shapes_screen_graphics_window; 647 GX_TEXT_BUTTON shapes_screen_next_button_5; 648 GX_WINDOW shapes_screen_window_11; 649 GX_RADIO_BUTTON shapes_screen_radio_button_6; 650 GX_RADIO_BUTTON shapes_screen_radio_button_7; 651 GX_RADIO_BUTTON shapes_screen_radio_button_8; 652 GX_RADIO_BUTTON shapes_screen_radio_button_9; 653 GX_RADIO_BUTTON shapes_screen_radio_button_3; 654 GX_RADIO_BUTTON shapes_screen_radio_button_4; 655 GX_CHECKBOX shapes_screen_checkbox_anti_alised; 656 GX_CHECKBOX shapes_screen_checkbox_round_end; 657 GX_CHECKBOX shapes_screen_checkbox_fill; 658 GX_CHECKBOX shapes_screen_checkbox_pixelmap_fill; 659 GX_PROMPT shapes_screen_prompt_14; 660 GX_PROMPT shapes_screen_prompt_13; 661 GX_SLIDER shapes_screen_radius_slider_1; 662 GX_PROMPT shapes_screen_prompt_6; 663 GX_PROMPT shapes_screen_prompt_7; 664 GX_SLIDER shapes_screen_brush_width_slider; 665 GX_PROMPT shapes_screen_prompt_11_1; 666 GX_SLIDER shapes_screen_brush_alpha_slider; 667 GX_PROMPT shapes_screen_prompt_12; 668 GX_CHECKBOX shapes_screen_checkbox_1; 669 GX_CHECKBOX shapes_screen_checkbox_2; 670 } SHAPES_SCREEN_CONTROL_BLOCK; 671 672 typedef struct ROTATE_SCREEN_CONTROL_BLOCK_STRUCT 673 { 674 GX_WINDOW_MEMBERS_DECLARE 675 GX_TEXT_BUTTON rotate_screen_next_button_4; 676 GX_CHECKBOX rotate_screen_checkbox; 677 GX_PROMPT rotate_screen_prompt; 678 GX_SLIDER rotate_screen_slider_2; 679 GX_PROMPT rotate_screen_prompt_5; 680 GX_WINDOW rotate_screen_pixelmap_window; 681 GX_RADIO_BUTTON rotate_screen_radio_565rgb; 682 GX_RADIO_BUTTON rotate_screen_radio_4444argb; 683 GX_RADIO_BUTTON rotate_screen_radio_alphamap; 684 GX_RADIO_BUTTON rotate_screen_radio_32argb; 685 } ROTATE_SCREEN_CONTROL_BLOCK; 686 687 typedef struct INDICATOR_SCREEN_CONTROL_BLOCK_STRUCT 688 { 689 GX_WINDOW_MEMBERS_DECLARE 690 GX_SLIDER indicator_screen_slider; 691 GX_SLIDER indicator_screen_slider_1; 692 GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider; 693 GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider_1; 694 GX_ICON indicator_screen_icon_1; 695 GX_ICON indicator_screen_icon_2; 696 GX_PROMPT indicator_screen_slider_title; 697 GX_TEXT_BUTTON indicator_screen_next_button_3; 698 GX_PROGRESS_BAR indicator_screen_progress_bar_1; 699 GX_PIXELMAP_SLIDER indicator_screen_pixelmap_slider_2; 700 GX_ICON indicator_screen_icon_3; 701 GX_ICON indicator_screen_icon_4; 702 GX_RADIAL_PROGRESS_BAR indicator_screen_radial_progress_bar_1; 703 } INDICATOR_SCREEN_CONTROL_BLOCK; 704 705 typedef struct TEXT_SCREEN_CONTROL_BLOCK_STRUCT 706 { 707 GX_WINDOW_MEMBERS_DECLARE 708 GX_PROMPT text_screen_prompt_1; 709 GX_PROMPT text_screen_prompt_2; 710 GX_PROMPT text_screen_prompt_3; 711 GX_PIXELMAP_PROMPT text_screen_prompt_4; 712 GX_SINGLE_LINE_TEXT_INPUT text_screen_text_input_1; 713 GX_MULTI_LINE_TEXT_VIEW text_screen_text_view_1; 714 GX_MULTI_LINE_TEXT_INPUT text_screen_text_input_2; 715 GX_TEXT_BUTTON text_screen_next_button_2; 716 GX_NUMERIC_PIXELMAP_PROMPT text_screen_numeric_pixelmap_prompt_2; 717 GX_NUMERIC_PROMPT text_screen_numeric_prompt_1; 718 } TEXT_SCREEN_CONTROL_BLOCK; 719 720 typedef struct WINDOW_SCREEN_CONTROL_BLOCK_STRUCT 721 { 722 GX_WINDOW_MEMBERS_DECLARE 723 GX_WINDOW window_screen_window_5; 724 GX_WINDOW window_screen_window_6; 725 GX_WINDOW window_screen_window_8; 726 GX_WINDOW window_screen_fade_window; 727 GX_WINDOW window_screen_scroll_frame_1; 728 GX_WINDOW window_screen_window_4; 729 GX_SCROLLBAR window_screen_hscroll_1; 730 GX_SCROLLBAR window_screen_vertical_scroll_1; 731 GX_VERTICAL_LIST window_screen_vertical_list; 732 GX_TEXT_BUTTON window_screen_button_1; 733 GX_TEXT_BUTTON window_screen_button_2; 734 GX_TEXT_BUTTON window_screen_button_3; 735 GX_TEXT_BUTTON window_screen_button_4; 736 GX_PROMPT window_screen_nested_label_1; 737 GX_PROMPT window_screen_frame_label_1; 738 GX_PROMPT window_screen_vlist_label_1; 739 GX_HORIZONTAL_LIST window_screen_horizontal_list_1; 740 GX_ICON_BUTTON window_screen_icon_button_1; 741 GX_ICON_BUTTON window_screen_icon_button_2; 742 GX_ICON_BUTTON window_screen_icon_button_3; 743 GX_ICON_BUTTON window_screen_icon_button_4; 744 GX_ICON_BUTTON window_screen_icon_button_5; 745 GX_PROMPT window_screen_hlist_label_1; 746 GX_TEXT_BUTTON window_screen_next_button_1; 747 GX_DROP_LIST window_screen_drop_list; 748 GX_BUTTON window_screen_button; 749 GX_PROMPT window_screen_hlist_label; 750 } WINDOW_SCREEN_CONTROL_BLOCK; 751 752 typedef struct BUTTON_SCREEN_CONTROL_BLOCK_STRUCT 753 { 754 GX_WINDOW_MEMBERS_DECLARE 755 GX_PROMPT button_screen_title_1; 756 GX_BUTTON button_screen_base_button_1; 757 GX_TEXT_BUTTON button_screen_text_button_1; 758 GX_CHECKBOX button_screen_checkbox1_1; 759 GX_RADIO_BUTTON button_screen_radio_button1_1; 760 GX_PIXELMAP_BUTTON button_screen_pixelmap_button1_1; 761 GX_ICON button_screen_icon; 762 GX_ICON_BUTTON button_screen_icon_button_6; 763 GX_PROMPT button_screen_button_label_1; 764 GX_PROMPT button_screen_radio_label_1; 765 GX_PROMPT button_screen_pixbutton_label_1; 766 GX_PROMPT button_screen_texbutton_label_1; 767 GX_PROMPT button_screen_checkbox_label_1; 768 GX_PROMPT button_screen_iconbutton_label_1; 769 GX_PROMPT button_screen_icon_label_1; 770 GX_TEXT_BUTTON button_screen_next_button; 771 } BUTTON_SCREEN_CONTROL_BLOCK; 772 773 774 /* extern statically defined control blocks */ 775 776 #ifndef GUIX_STUDIO_GENERATED_FILE 777 extern GLYPH_SCREEN_CONTROL_BLOCK glyph_screen; 778 extern RESIZE_SCREEN_CONTROL_BLOCK resize_screen; 779 extern ICON_SCREEN_CONTROL_BLOCK icon_screen; 780 extern GAUGE_SCREEN_CONTROL_BLOCK gauge_screen; 781 extern WIDGET_COLOR_TEST_SCREEN_CONTROL_BLOCK widget_color_test_screen; 782 extern LINES_SCREEN_CONTROL_BLOCK lines_screen; 783 extern MENU_SCREEN_CONTROL_BLOCK menu_screen; 784 extern SHAPES_SCREEN_CONTROL_BLOCK shapes_screen; 785 extern ROTATE_SCREEN_CONTROL_BLOCK rotate_screen; 786 extern INDICATOR_SCREEN_CONTROL_BLOCK indicator_screen; 787 extern TEXT_SCREEN_CONTROL_BLOCK text_screen; 788 extern WINDOW_SCREEN_CONTROL_BLOCK window_screen; 789 extern BUTTON_SCREEN_CONTROL_BLOCK button_screen; 790 #endif 791 792 /* Prototype Dave2D display driver specific functions */ 793 794 UINT _gx_synergy_display_driver_setup(GX_DISPLAY *display); 795 #if defined(GX_TARGET_WIN32) || defined(GX_TARGET_LINUX) 796 UINT win32_dave2d_graphics_driver_setup_565rgb_rotated(GX_DISPLAY *display); 797 #else 798 VOID _gx_display_driver_565rgb_rotated_setup(GX_DISPLAY *display, VOID *aux_data, 799 VOID (*toggle_function)(struct GX_CANVAS_STRUCT *canvas, 800 GX_RECTANGLE *dirty_area)); 801 VOID _gx_dave2d_rotated_horizontal_pattern_line_draw_565(GX_DRAW_CONTEXT *context, INT xstart, INT xend, INT ypos); 802 VOID _gx_dave2d_rotated_vertical_pattern_line_draw_565(GX_DRAW_CONTEXT *context, INT ystart, INT yend, INT xpos); 803 VOID _gx_dave2d_rotated_pixel_write_565(GX_DRAW_CONTEXT *context, INT x, INT y, GX_COLOR color); 804 VOID _gx_dave2d_rotated_pixel_blend_565(GX_DRAW_CONTEXT *context, INT x, INT y, GX_COLOR fcolor, GX_UBYTE alpha); 805 VOID _gx_dave2d_rotated_pixelmap_rotate_16bpp(GX_DRAW_CONTEXT *context, INT xpos, INT ypos, GX_PIXELMAP *pixelmap, INT angle, INT rot_cx, INT rot_cy); 806 VOID _gx_dave2d_rotated_drawing_initiate(GX_DISPLAY *display, GX_CANVAS *canvas); 807 VOID _gx_dave2d_rotated_drawing_complete(GX_DISPLAY *display, GX_CANVAS *canvas); 808 VOID _gx_dave2d_rotated_horizontal_line(GX_DRAW_CONTEXT *context, 809 INT xstart, INT xend, INT ypos, INT width, GX_COLOR color); 810 VOID _gx_dave2d_rotated_vertical_line(GX_DRAW_CONTEXT *context, 811 INT ystart, INT yend, INT xpos, INT width, GX_COLOR color); 812 VOID _gx_dave2d_rotated_canvas_copy(GX_CANVAS *canvas, GX_CANVAS *composite); 813 VOID _gx_dave2d_rotated_canvas_blend(GX_CANVAS *canvas, GX_CANVAS *composite); 814 VOID _gx_dave2d_rotated_simple_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, INT xend, INT yend); 815 VOID _gx_dave2d_rotated_simple_wide_line(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, 816 INT xend, INT yend); 817 VOID _gx_dave2d_rotated_aliased_line(GX_DRAW_CONTEXT *context, INT xstart, INT ystart, INT xend, INT yend); 818 VOID _gx_dave2d_rotated_aliased_wide_line(GX_DRAW_CONTEXT *context, INT xstart, 819 INT ystart, INT xend, INT yend); 820 VOID _gx_dave2d_rotated_pixelmap_draw(GX_DRAW_CONTEXT *context, INT xpos, INT ypos, GX_PIXELMAP *pixelmap); 821 VOID _gx_dave2d_rotated_horizontal_pixelmap_line_draw(GX_DRAW_CONTEXT *context, INT xstart, INT xend, INT y, GX_FILL_PIXELMAP_INFO *info); 822 VOID _gx_dave2d_rotated_pixelmap_blend(GX_DRAW_CONTEXT *context, INT xpos, INT ypos, 823 GX_PIXELMAP *pixelmap, GX_UBYTE alpha); 824 VOID _gx_dave2d_rotated_polygon_draw(GX_DRAW_CONTEXT *context, GX_POINT *vertex, INT num); 825 VOID _gx_dave2d_rotated_polygon_fill(GX_DRAW_CONTEXT *context, GX_POINT *vertex, INT num); 826 VOID _gx_dave2d_rotated_block_move(GX_DRAW_CONTEXT *context, 827 GX_RECTANGLE *block, INT xshift, INT yshift); 828 VOID _gx_dave2d_rotated_alphamap_draw(GX_DRAW_CONTEXT *context, INT xpos, INT ypos, GX_PIXELMAP *pixelmap); 829 VOID _gx_dave2d_rotated_compressed_glyph_8bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, const GX_GLYPH *glyph); 830 VOID _gx_dave2d_rotated_raw_glyph_8bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, const GX_GLYPH *glyph); 831 VOID _gx_dave2d_rotated_compressed_glyph_4bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, const GX_GLYPH *glyph); 832 VOID _gx_dave2d_rotated_raw_glyph_4bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, const GX_GLYPH *glyph); 833 VOID _gx_dave2d_rotated_compressed_glyph_1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, const GX_GLYPH *glyph); 834 VOID _gx_dave2d_rotated_raw_glyph_1bit_draw(GX_DRAW_CONTEXT *context, GX_RECTANGLE *draw_area, GX_POINT *map_offset, const GX_GLYPH *glyph); 835 VOID _gx_dave2d_rotated_buffer_toggle(GX_CANVAS *canvas, GX_RECTANGLE *dirty); 836 #if defined(GX_ARC_DRAWING_SUPPORT) 837 VOID _gx_dave2d_rotated_aliased_circle_draw(GX_DRAW_CONTEXT *context, INT xcenter, INT ycenter, UINT r); 838 VOID _gx_dave2d_rotated_circle_draw(GX_DRAW_CONTEXT *context, INT xcenter, INT ycenter, UINT r); 839 VOID _gx_dave2d_rotated_circle_fill(GX_DRAW_CONTEXT *context, INT xcenter, INT ycenter, UINT r); 840 VOID _gx_dave2d_rotated_pie_fill(GX_DRAW_CONTEXT *context, INT xcenter, INT ycenter, UINT r, INT start_angle, INT end_angle); 841 VOID _gx_dave2d_rotated_aliased_arc_draw(GX_DRAW_CONTEXT *context, INT xcenter, INT ycenter, UINT r, INT start_angle, INT end_angle); 842 VOID _gx_dave2d_rotated_arc_draw(GX_DRAW_CONTEXT *context, INT xcenter, INT ycenter, UINT r, INT start_angle, INT end_angle); 843 VOID _gx_dave2d_rotated_arc_fill(GX_DRAW_CONTEXT *context, INT xcenter, INT ycenter, UINT r, INT start_angle, INT end_angle); 844 VOID _gx_dave2d_rotated_aliased_ellipse_draw(GX_DRAW_CONTEXT *context, INT xcenter, INT ycenter, INT a, INT b); 845 VOID _gx_dave2d_rotated_ellipse_draw(GX_DRAW_CONTEXT *context, INT xcenter, INT ycenter, INT a, INT b); 846 VOID _gx_dave2d_rotated_ellipse_fill(GX_DRAW_CONTEXT *context, INT xcenter, INT ycenter, INT a, INT b); 847 #endif 848 VOID _gx_synergy_jpeg_draw (GX_DRAW_CONTEXT *p_context, INT x, INT y, GX_PIXELMAP *p_pixelmap); 849 850 #endif 851 852 /* Declare event process functions, draw functions, and callback functions */ 853 854 UINT glyph_screen_event_process(GX_WINDOW *widget, GX_EVENT *event_ptr); 855 UINT resize_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 856 VOID resize_window_draw(GX_WINDOW *widget); 857 UINT gauge_event_handle(GX_WINDOW *widget, GX_EVENT *event_ptr); 858 UINT main_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 859 VOID line_win_draw(GX_WINDOW *widget); 860 UINT next_button_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 861 UINT scroll_wheel_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 862 UINT day_wheel_value_format(GX_NUMERIC_SCROLL_WHEEL *wheel, INT row, GX_STRING *string); 863 UINT shapesscreen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 864 VOID graphics_draw(GX_WINDOW *widget); 865 UINT rotate_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 866 VOID pixelmap_draw(GX_WINDOW *widget); 867 VOID numeric_pixelmap_format_func(GX_NUMERIC_PIXELMAP_PROMPT *, INT); 868 VOID format_func(GX_NUMERIC_PROMPT *, INT); 869 UINT window_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr); 870 VOID drop_list_row_create(GX_VERTICAL_LIST *, GX_WIDGET *, INT); 871 872 /* Declare the GX_STUDIO_DISPLAY_INFO structure */ 873 874 875 typedef struct GX_STUDIO_DISPLAY_INFO_STRUCT 876 { 877 GX_CONST GX_CHAR *name; 878 GX_CONST GX_CHAR *canvas_name; 879 GX_CONST GX_THEME **theme_table; 880 GX_CONST GX_STRING **language_table; 881 USHORT theme_table_size; 882 USHORT language_table_size; 883 UINT string_table_size; 884 UINT x_resolution; 885 UINT y_resolution; 886 GX_DISPLAY *display; 887 GX_CANVAS *canvas; 888 GX_WINDOW_ROOT *root_window; 889 GX_COLOR *canvas_memory; 890 ULONG canvas_memory_size; 891 USHORT rotation_angle; 892 } GX_STUDIO_DISPLAY_INFO; 893 894 895 /* Declare Studio-generated functions for creating top-level widgets */ 896 897 UINT gx_studio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 898 UINT gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 899 UINT gx_studio_multi_line_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 900 UINT gx_studio_checkbox_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 901 UINT gx_studio_radio_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 902 UINT gx_studio_icon_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 903 UINT gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 904 UINT gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 905 UINT gx_studio_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 906 UINT gx_studio_pixelmap_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 907 UINT gx_studio_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 908 UINT gx_studio_radial_progress_bar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 909 UINT gx_studio_sprite_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 910 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 911 UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 912 UINT gx_studio_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 913 UINT gx_studio_numeric_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 914 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 915 UINT gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 916 UINT gx_studio_horizontal_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 917 UINT gx_studio_drop_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 918 UINT gx_studio_string_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 919 UINT gx_studio_numeric_scroll_wheel_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 920 UINT gx_studio_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 921 UINT gx_studio_multi_line_text_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 922 UINT gx_studio_multi_line_text_input_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 923 UINT gx_studio_horizontal_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 924 UINT gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 925 UINT gx_studio_circular_gauge_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 926 UINT gx_studio_line_chart_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 927 UINT gx_studio_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 928 UINT gx_studio_accordion_menu_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 929 UINT gx_studio_tree_view_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent); 930 GX_WIDGET *gx_studio_widget_create(GX_BYTE *storage, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent); 931 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget); 932 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *), GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root); 933 934 /* Determine if a C++ compiler is being used. If so, complete the standard 935 C conditional started above. */ 936 #ifdef __cplusplus 937 } 938 #endif 939 940 #endif /* sentry */ 941