1 /* 2 * This file generated automatically from shape.xml by c-client.xsl using XSLT. 3 * Edit at your peril. 4 */ 5 6 /** 7 * @defgroup XCB_Shape_API XCB Shape API 8 * @brief Shape XCB Protocol Implementation. 9 * @{ 10 **/ 11 12 13 module std.c.linux.X11.xcb.shape; 14 15 import std.c.linux.X11.xcb.xcb; 16 import std.c.linux.X11.xcb.xproto; 17 18 const int XCB_SHAPE_MAJOR_VERSION =1; 19 const int XCB_SHAPE_MINOR_VERSION =1; 20 21 extern(C) extern xcb_extension_t xcb_shape_id; 22 23 alias ubyte xcb_shape_op_t; 24 25 /** 26 * @brief xcb_shape_op_iterator_t 27 **/ 28 struct xcb_shape_op_iterator_t { 29 xcb_shape_op_t *data; /**< */ 30 int rem; /**< */ 31 int index; /**< */ 32 } ; 33 34 alias ubyte xcb_shape_kind_t; 35 36 /** 37 * @brief xcb_shape_kind_iterator_t 38 **/ 39 struct xcb_shape_kind_iterator_t { 40 xcb_shape_kind_t *data; /**< */ 41 int rem; /**< */ 42 int index; /**< */ 43 } ; 44 45 enum :int{ 46 XCB_SHAPE_SO_SET, 47 XCB_SHAPE_SO_UNION, 48 XCB_SHAPE_SO_INTERSECT, 49 XCB_SHAPE_SO_SUBTRACT, 50 XCB_SHAPE_SO_INVERT 51 }; 52 53 enum :int{ 54 XCB_SHAPE_SK_BOUNDING, 55 XCB_SHAPE_SK_CLIP, 56 XCB_SHAPE_SK_INPUT 57 }; 58 59 /** Opcode for xcb_shape_notify. */ 60 const uint XCB_SHAPE_NOTIFY = 0; 61 62 /** 63 * @brief xcb_shape_notify_event_t 64 **/ 65 struct xcb_shape_notify_event_t { 66 ubyte response_type; /**< */ 67 xcb_shape_kind_t shape_kind; /**< */ 68 ushort sequence; /**< */ 69 xcb_window_t affected_window; /**< */ 70 short extents_x; /**< */ 71 short extents_y; /**< */ 72 ushort extents_width; /**< */ 73 ushort extents_height; /**< */ 74 xcb_timestamp_t server_time; /**< */ 75 bool shaped; /**< */ 76 } ; 77 78 /** 79 * @brief xcb_shape_query_version_cookie_t 80 **/ 81 struct xcb_shape_query_version_cookie_t { 82 uint sequence; /**< */ 83 } ; 84 85 /** Opcode for xcb_shape_query_version. */ 86 const uint XCB_SHAPE_QUERY_VERSION = 0; 87 88 /** 89 * @brief xcb_shape_query_version_request_t 90 **/ 91 struct xcb_shape_query_version_request_t { 92 ubyte major_opcode; /**< */ 93 ubyte minor_opcode; /**< */ 94 ushort length; /**< */ 95 } ; 96 97 /** 98 * @brief xcb_shape_query_version_reply_t 99 **/ 100 struct xcb_shape_query_version_reply_t { 101 ubyte response_type; /**< */ 102 ubyte pad0; /**< */ 103 ushort sequence; /**< */ 104 uint length; /**< */ 105 ushort major_version; /**< */ 106 ushort minor_version; /**< */ 107 } ; 108 109 /** Opcode for xcb_shape_rectangles. */ 110 const uint XCB_SHAPE_RECTANGLES = 1; 111 112 /** 113 * @brief xcb_shape_rectangles_request_t 114 **/ 115 struct xcb_shape_rectangles_request_t { 116 ubyte major_opcode; /**< */ 117 ubyte minor_opcode; /**< */ 118 ushort length; /**< */ 119 xcb_shape_op_t operation; /**< */ 120 xcb_shape_kind_t destination_kind; /**< */ 121 ubyte ordering; /**< */ 122 ubyte pad0; /**< */ 123 xcb_window_t destination_window; /**< */ 124 short x_offset; /**< */ 125 short y_offset; /**< */ 126 } ; 127 128 /** Opcode for xcb_shape_mask. */ 129 const uint XCB_SHAPE_MASK = 2; 130 131 /** 132 * @brief xcb_shape_mask_request_t 133 **/ 134 struct xcb_shape_mask_request_t { 135 ubyte major_opcode; /**< */ 136 ubyte minor_opcode; /**< */ 137 ushort length; /**< */ 138 xcb_shape_op_t operation; /**< */ 139 xcb_shape_kind_t destination_kind; /**< */ 140 ubyte pad0[2]; /**< */ 141 xcb_window_t destination_window; /**< */ 142 short x_offset; /**< */ 143 short y_offset; /**< */ 144 xcb_pixmap_t source_bitmap; /**< */ 145 } ; 146 147 /** Opcode for xcb_shape_combine. */ 148 const uint XCB_SHAPE_COMBINE = 3; 149 150 /** 151 * @brief xcb_shape_combine_request_t 152 **/ 153 struct xcb_shape_combine_request_t { 154 ubyte major_opcode; /**< */ 155 ubyte minor_opcode; /**< */ 156 ushort length; /**< */ 157 xcb_shape_op_t operation; /**< */ 158 xcb_shape_kind_t destination_kind; /**< */ 159 xcb_shape_kind_t source_kind; /**< */ 160 ubyte pad0; /**< */ 161 xcb_window_t destination_window; /**< */ 162 short x_offset; /**< */ 163 short y_offset; /**< */ 164 xcb_window_t source_window; /**< */ 165 } ; 166 167 /** Opcode for xcb_shape_offset. */ 168 const uint XCB_SHAPE_OFFSET = 4; 169 170 /** 171 * @brief xcb_shape_offset_request_t 172 **/ 173 struct xcb_shape_offset_request_t { 174 ubyte major_opcode; /**< */ 175 ubyte minor_opcode; /**< */ 176 ushort length; /**< */ 177 xcb_shape_kind_t destination_kind; /**< */ 178 ubyte pad0[3]; /**< */ 179 xcb_window_t destination_window; /**< */ 180 short x_offset; /**< */ 181 short y_offset; /**< */ 182 } ; 183 184 /** 185 * @brief xcb_shape_query_extents_cookie_t 186 **/ 187 struct xcb_shape_query_extents_cookie_t { 188 uint sequence; /**< */ 189 } ; 190 191 /** Opcode for xcb_shape_query_extents. */ 192 const uint XCB_SHAPE_QUERY_EXTENTS = 5; 193 194 /** 195 * @brief xcb_shape_query_extents_request_t 196 **/ 197 struct xcb_shape_query_extents_request_t { 198 ubyte major_opcode; /**< */ 199 ubyte minor_opcode; /**< */ 200 ushort length; /**< */ 201 xcb_window_t destination_window; /**< */ 202 } ; 203 204 /** 205 * @brief xcb_shape_query_extents_reply_t 206 **/ 207 struct xcb_shape_query_extents_reply_t { 208 ubyte response_type; /**< */ 209 ubyte pad0; /**< */ 210 ushort sequence; /**< */ 211 uint length; /**< */ 212 bool bounding_shaped; /**< */ 213 bool clip_shaped; /**< */ 214 ubyte pad1[2]; /**< */ 215 short bounding_shape_extents_x; /**< */ 216 short bounding_shape_extents_y; /**< */ 217 ushort bounding_shape_extents_width; /**< */ 218 ushort bounding_shape_extents_height; /**< */ 219 short clip_shape_extents_x; /**< */ 220 short clip_shape_extents_y; /**< */ 221 ushort clip_shape_extents_width; /**< */ 222 ushort clip_shape_extents_height; /**< */ 223 } ; 224 225 /** Opcode for xcb_shape_select_input. */ 226 const uint XCB_SHAPE_SELECT_INPUT = 6; 227 228 /** 229 * @brief xcb_shape_select_input_request_t 230 **/ 231 struct xcb_shape_select_input_request_t { 232 ubyte major_opcode; /**< */ 233 ubyte minor_opcode; /**< */ 234 ushort length; /**< */ 235 xcb_window_t destination_window; /**< */ 236 bool enable; /**< */ 237 } ; 238 239 /** 240 * @brief xcb_shape_input_selected_cookie_t 241 **/ 242 struct xcb_shape_input_selected_cookie_t { 243 uint sequence; /**< */ 244 } ; 245 246 /** Opcode for xcb_shape_input_selected. */ 247 const uint XCB_SHAPE_INPUT_SELECTED = 7; 248 249 /** 250 * @brief xcb_shape_input_selected_request_t 251 **/ 252 struct xcb_shape_input_selected_request_t { 253 ubyte major_opcode; /**< */ 254 ubyte minor_opcode; /**< */ 255 ushort length; /**< */ 256 xcb_window_t destination_window; /**< */ 257 } ; 258 259 /** 260 * @brief xcb_shape_input_selected_reply_t 261 **/ 262 struct xcb_shape_input_selected_reply_t { 263 ubyte response_type; /**< */ 264 bool enabled; /**< */ 265 ushort sequence; /**< */ 266 uint length; /**< */ 267 } ; 268 269 /** 270 * @brief xcb_shape_get_rectangles_cookie_t 271 **/ 272 struct xcb_shape_get_rectangles_cookie_t { 273 uint sequence; /**< */ 274 } ; 275 276 /** Opcode for xcb_shape_get_rectangles. */ 277 const uint XCB_SHAPE_GET_RECTANGLES = 8; 278 279 /** 280 * @brief xcb_shape_get_rectangles_request_t 281 **/ 282 struct xcb_shape_get_rectangles_request_t { 283 ubyte major_opcode; /**< */ 284 ubyte minor_opcode; /**< */ 285 ushort length; /**< */ 286 xcb_window_t window; /**< */ 287 xcb_shape_kind_t source_kind; /**< */ 288 } ; 289 290 /** 291 * @brief xcb_shape_get_rectangles_reply_t 292 **/ 293 struct xcb_shape_get_rectangles_reply_t { 294 ubyte response_type; /**< */ 295 ubyte ordering; /**< */ 296 ushort sequence; /**< */ 297 uint length; /**< */ 298 uint rectangles_len; /**< */ 299 } ; 300 301 302 /***************************************************************************** 303 ** 304 ** void xcb_shape_op_next 305 ** 306 ** @param xcb_shape_op_iterator_t *i 307 ** @returns void 308 ** 309 *****************************************************************************/ 310 311 extern(C) void 312 xcb_shape_op_next (xcb_shape_op_iterator_t *i /**< */); 313 314 315 /***************************************************************************** 316 ** 317 ** xcb_generic_iterator_t xcb_shape_op_end 318 ** 319 ** @param xcb_shape_op_iterator_t i 320 ** @returns xcb_generic_iterator_t 321 ** 322 *****************************************************************************/ 323 324 extern(C) xcb_generic_iterator_t 325 xcb_shape_op_end (xcb_shape_op_iterator_t i /**< */); 326 327 328 /***************************************************************************** 329 ** 330 ** void xcb_shape_kind_next 331 ** 332 ** @param xcb_shape_kind_iterator_t *i 333 ** @returns void 334 ** 335 *****************************************************************************/ 336 337 extern(C) void 338 xcb_shape_kind_next (xcb_shape_kind_iterator_t *i /**< */); 339 340 341 /***************************************************************************** 342 ** 343 ** xcb_generic_iterator_t xcb_shape_kind_end 344 ** 345 ** @param xcb_shape_kind_iterator_t i 346 ** @returns xcb_generic_iterator_t 347 ** 348 *****************************************************************************/ 349 350 extern(C) xcb_generic_iterator_t 351 xcb_shape_kind_end (xcb_shape_kind_iterator_t i /**< */); 352 353 354 /***************************************************************************** 355 ** 356 ** xcb_shape_query_version_cookie_t xcb_shape_query_version 357 ** 358 ** @param xcb_connection_t *c 359 ** @returns xcb_shape_query_version_cookie_t 360 ** 361 *****************************************************************************/ 362 363 extern(C) xcb_shape_query_version_cookie_t 364 xcb_shape_query_version (xcb_connection_t *c /**< */); 365 366 367 /***************************************************************************** 368 ** 369 ** xcb_shape_query_version_cookie_t xcb_shape_query_version_unchecked 370 ** 371 ** @param xcb_connection_t *c 372 ** @returns xcb_shape_query_version_cookie_t 373 ** 374 *****************************************************************************/ 375 376 extern(C) xcb_shape_query_version_cookie_t 377 xcb_shape_query_version_unchecked (xcb_connection_t *c /**< */); 378 379 380 /***************************************************************************** 381 ** 382 ** xcb_shape_query_version_reply_t * xcb_shape_query_version_reply 383 ** 384 ** @param xcb_connection_t *c 385 ** @param xcb_shape_query_version_cookie_t cookie 386 ** @param xcb_generic_error_t **e 387 ** @returns xcb_shape_query_version_reply_t * 388 ** 389 *****************************************************************************/ 390 391 extern(C) xcb_shape_query_version_reply_t * 392 xcb_shape_query_version_reply (xcb_connection_t *c /**< */, 393 xcb_shape_query_version_cookie_t cookie /**< */, 394 xcb_generic_error_t **e /**< */); 395 396 397 /***************************************************************************** 398 ** 399 ** xcb_void_cookie_t xcb_shape_rectangles_checked 400 ** 401 ** @param xcb_connection_t *c 402 ** @param xcb_shape_op_t operation 403 ** @param xcb_shape_kind_t destination_kind 404 ** @param ubyte ordering 405 ** @param xcb_window_t destination_window 406 ** @param short x_offset 407 ** @param short y_offset 408 ** @param uint rectangles_len 409 ** @param /+const+/ xcb_rectangle_t *rectangles 410 ** @returns xcb_void_cookie_t 411 ** 412 *****************************************************************************/ 413 414 extern(C) xcb_void_cookie_t 415 xcb_shape_rectangles_checked (xcb_connection_t *c /**< */, 416 xcb_shape_op_t operation /**< */, 417 xcb_shape_kind_t destination_kind /**< */, 418 ubyte ordering /**< */, 419 xcb_window_t destination_window /**< */, 420 short x_offset /**< */, 421 short y_offset /**< */, 422 uint rectangles_len /**< */, 423 /+const+/ xcb_rectangle_t *rectangles /**< */); 424 425 426 /***************************************************************************** 427 ** 428 ** xcb_void_cookie_t xcb_shape_rectangles 429 ** 430 ** @param xcb_connection_t *c 431 ** @param xcb_shape_op_t operation 432 ** @param xcb_shape_kind_t destination_kind 433 ** @param ubyte ordering 434 ** @param xcb_window_t destination_window 435 ** @param short x_offset 436 ** @param short y_offset 437 ** @param uint rectangles_len 438 ** @param /+const+/ xcb_rectangle_t *rectangles 439 ** @returns xcb_void_cookie_t 440 ** 441 *****************************************************************************/ 442 443 extern(C) xcb_void_cookie_t 444 xcb_shape_rectangles (xcb_connection_t *c /**< */, 445 xcb_shape_op_t operation /**< */, 446 xcb_shape_kind_t destination_kind /**< */, 447 ubyte ordering /**< */, 448 xcb_window_t destination_window /**< */, 449 short x_offset /**< */, 450 short y_offset /**< */, 451 uint rectangles_len /**< */, 452 /+const+/ xcb_rectangle_t *rectangles /**< */); 453 454 455 /***************************************************************************** 456 ** 457 ** xcb_void_cookie_t xcb_shape_mask_checked 458 ** 459 ** @param xcb_connection_t *c 460 ** @param xcb_shape_op_t operation 461 ** @param xcb_shape_kind_t destination_kind 462 ** @param xcb_window_t destination_window 463 ** @param short x_offset 464 ** @param short y_offset 465 ** @param xcb_pixmap_t source_bitmap 466 ** @returns xcb_void_cookie_t 467 ** 468 *****************************************************************************/ 469 470 extern(C) xcb_void_cookie_t 471 xcb_shape_mask_checked (xcb_connection_t *c /**< */, 472 xcb_shape_op_t operation /**< */, 473 xcb_shape_kind_t destination_kind /**< */, 474 xcb_window_t destination_window /**< */, 475 short x_offset /**< */, 476 short y_offset /**< */, 477 xcb_pixmap_t source_bitmap /**< */); 478 479 480 /***************************************************************************** 481 ** 482 ** xcb_void_cookie_t xcb_shape_mask 483 ** 484 ** @param xcb_connection_t *c 485 ** @param xcb_shape_op_t operation 486 ** @param xcb_shape_kind_t destination_kind 487 ** @param xcb_window_t destination_window 488 ** @param short x_offset 489 ** @param short y_offset 490 ** @param xcb_pixmap_t source_bitmap 491 ** @returns xcb_void_cookie_t 492 ** 493 *****************************************************************************/ 494 495 extern(C) xcb_void_cookie_t 496 xcb_shape_mask (xcb_connection_t *c /**< */, 497 xcb_shape_op_t operation /**< */, 498 xcb_shape_kind_t destination_kind /**< */, 499 xcb_window_t destination_window /**< */, 500 short x_offset /**< */, 501 short y_offset /**< */, 502 xcb_pixmap_t source_bitmap /**< */); 503 504 505 /***************************************************************************** 506 ** 507 ** xcb_void_cookie_t xcb_shape_combine_checked 508 ** 509 ** @param xcb_connection_t *c 510 ** @param xcb_shape_op_t operation 511 ** @param xcb_shape_kind_t destination_kind 512 ** @param xcb_shape_kind_t source_kind 513 ** @param xcb_window_t destination_window 514 ** @param short x_offset 515 ** @param short y_offset 516 ** @param xcb_window_t source_window 517 ** @returns xcb_void_cookie_t 518 ** 519 *****************************************************************************/ 520 521 extern(C) xcb_void_cookie_t 522 xcb_shape_combine_checked (xcb_connection_t *c /**< */, 523 xcb_shape_op_t operation /**< */, 524 xcb_shape_kind_t destination_kind /**< */, 525 xcb_shape_kind_t source_kind /**< */, 526 xcb_window_t destination_window /**< */, 527 short x_offset /**< */, 528 short y_offset /**< */, 529 xcb_window_t source_window /**< */); 530 531 532 /***************************************************************************** 533 ** 534 ** xcb_void_cookie_t xcb_shape_combine 535 ** 536 ** @param xcb_connection_t *c 537 ** @param xcb_shape_op_t operation 538 ** @param xcb_shape_kind_t destination_kind 539 ** @param xcb_shape_kind_t source_kind 540 ** @param xcb_window_t destination_window 541 ** @param short x_offset 542 ** @param short y_offset 543 ** @param xcb_window_t source_window 544 ** @returns xcb_void_cookie_t 545 ** 546 *****************************************************************************/ 547 548 extern(C) xcb_void_cookie_t 549 xcb_shape_combine (xcb_connection_t *c /**< */, 550 xcb_shape_op_t operation /**< */, 551 xcb_shape_kind_t destination_kind /**< */, 552 xcb_shape_kind_t source_kind /**< */, 553 xcb_window_t destination_window /**< */, 554 short x_offset /**< */, 555 short y_offset /**< */, 556 xcb_window_t source_window /**< */); 557 558 559 /***************************************************************************** 560 ** 561 ** xcb_void_cookie_t xcb_shape_offset_checked 562 ** 563 ** @param xcb_connection_t *c 564 ** @param xcb_shape_kind_t destination_kind 565 ** @param xcb_window_t destination_window 566 ** @param short x_offset 567 ** @param short y_offset 568 ** @returns xcb_void_cookie_t 569 ** 570 *****************************************************************************/ 571 572 extern(C) xcb_void_cookie_t 573 xcb_shape_offset_checked (xcb_connection_t *c /**< */, 574 xcb_shape_kind_t destination_kind /**< */, 575 xcb_window_t destination_window /**< */, 576 short x_offset /**< */, 577 short y_offset /**< */); 578 579 580 /***************************************************************************** 581 ** 582 ** xcb_void_cookie_t xcb_shape_offset 583 ** 584 ** @param xcb_connection_t *c 585 ** @param xcb_shape_kind_t destination_kind 586 ** @param xcb_window_t destination_window 587 ** @param short x_offset 588 ** @param short y_offset 589 ** @returns xcb_void_cookie_t 590 ** 591 *****************************************************************************/ 592 593 extern(C) xcb_void_cookie_t 594 xcb_shape_offset (xcb_connection_t *c /**< */, 595 xcb_shape_kind_t destination_kind /**< */, 596 xcb_window_t destination_window /**< */, 597 short x_offset /**< */, 598 short y_offset /**< */); 599 600 601 /***************************************************************************** 602 ** 603 ** xcb_shape_query_extents_cookie_t xcb_shape_query_extents 604 ** 605 ** @param xcb_connection_t *c 606 ** @param xcb_window_t destination_window 607 ** @returns xcb_shape_query_extents_cookie_t 608 ** 609 *****************************************************************************/ 610 611 extern(C) xcb_shape_query_extents_cookie_t 612 xcb_shape_query_extents (xcb_connection_t *c /**< */, 613 xcb_window_t destination_window /**< */); 614 615 616 /***************************************************************************** 617 ** 618 ** xcb_shape_query_extents_cookie_t xcb_shape_query_extents_unchecked 619 ** 620 ** @param xcb_connection_t *c 621 ** @param xcb_window_t destination_window 622 ** @returns xcb_shape_query_extents_cookie_t 623 ** 624 *****************************************************************************/ 625 626 extern(C) xcb_shape_query_extents_cookie_t 627 xcb_shape_query_extents_unchecked (xcb_connection_t *c /**< */, 628 xcb_window_t destination_window /**< */); 629 630 631 /***************************************************************************** 632 ** 633 ** xcb_shape_query_extents_reply_t * xcb_shape_query_extents_reply 634 ** 635 ** @param xcb_connection_t *c 636 ** @param xcb_shape_query_extents_cookie_t cookie 637 ** @param xcb_generic_error_t **e 638 ** @returns xcb_shape_query_extents_reply_t * 639 ** 640 *****************************************************************************/ 641 642 extern(C) xcb_shape_query_extents_reply_t * 643 xcb_shape_query_extents_reply (xcb_connection_t *c /**< */, 644 xcb_shape_query_extents_cookie_t cookie /**< */, 645 xcb_generic_error_t **e /**< */); 646 647 648 /***************************************************************************** 649 ** 650 ** xcb_void_cookie_t xcb_shape_select_input_checked 651 ** 652 ** @param xcb_connection_t *c 653 ** @param xcb_window_t destination_window 654 ** @param bool enable 655 ** @returns xcb_void_cookie_t 656 ** 657 *****************************************************************************/ 658 659 extern(C) xcb_void_cookie_t 660 xcb_shape_select_input_checked (xcb_connection_t *c /**< */, 661 xcb_window_t destination_window /**< */, 662 bool enable /**< */); 663 664 665 /***************************************************************************** 666 ** 667 ** xcb_void_cookie_t xcb_shape_select_input 668 ** 669 ** @param xcb_connection_t *c 670 ** @param xcb_window_t destination_window 671 ** @param bool enable 672 ** @returns xcb_void_cookie_t 673 ** 674 *****************************************************************************/ 675 676 extern(C) xcb_void_cookie_t 677 xcb_shape_select_input (xcb_connection_t *c /**< */, 678 xcb_window_t destination_window /**< */, 679 bool enable /**< */); 680 681 682 /***************************************************************************** 683 ** 684 ** xcb_shape_input_selected_cookie_t xcb_shape_input_selected 685 ** 686 ** @param xcb_connection_t *c 687 ** @param xcb_window_t destination_window 688 ** @returns xcb_shape_input_selected_cookie_t 689 ** 690 *****************************************************************************/ 691 692 extern(C) xcb_shape_input_selected_cookie_t 693 xcb_shape_input_selected (xcb_connection_t *c /**< */, 694 xcb_window_t destination_window /**< */); 695 696 697 /***************************************************************************** 698 ** 699 ** xcb_shape_input_selected_cookie_t xcb_shape_input_selected_unchecked 700 ** 701 ** @param xcb_connection_t *c 702 ** @param xcb_window_t destination_window 703 ** @returns xcb_shape_input_selected_cookie_t 704 ** 705 *****************************************************************************/ 706 707 extern(C) xcb_shape_input_selected_cookie_t 708 xcb_shape_input_selected_unchecked (xcb_connection_t *c /**< */, 709 xcb_window_t destination_window /**< */); 710 711 712 /***************************************************************************** 713 ** 714 ** xcb_shape_input_selected_reply_t * xcb_shape_input_selected_reply 715 ** 716 ** @param xcb_connection_t *c 717 ** @param xcb_shape_input_selected_cookie_t cookie 718 ** @param xcb_generic_error_t **e 719 ** @returns xcb_shape_input_selected_reply_t * 720 ** 721 *****************************************************************************/ 722 723 extern(C) xcb_shape_input_selected_reply_t * 724 xcb_shape_input_selected_reply (xcb_connection_t *c /**< */, 725 xcb_shape_input_selected_cookie_t cookie /**< */, 726 xcb_generic_error_t **e /**< */); 727 728 729 /***************************************************************************** 730 ** 731 ** xcb_shape_get_rectangles_cookie_t xcb_shape_get_rectangles 732 ** 733 ** @param xcb_connection_t *c 734 ** @param xcb_window_t window 735 ** @param xcb_shape_kind_t source_kind 736 ** @returns xcb_shape_get_rectangles_cookie_t 737 ** 738 *****************************************************************************/ 739 740 extern(C) xcb_shape_get_rectangles_cookie_t 741 xcb_shape_get_rectangles (xcb_connection_t *c /**< */, 742 xcb_window_t window /**< */, 743 xcb_shape_kind_t source_kind /**< */); 744 745 746 /***************************************************************************** 747 ** 748 ** xcb_shape_get_rectangles_cookie_t xcb_shape_get_rectangles_unchecked 749 ** 750 ** @param xcb_connection_t *c 751 ** @param xcb_window_t window 752 ** @param xcb_shape_kind_t source_kind 753 ** @returns xcb_shape_get_rectangles_cookie_t 754 ** 755 *****************************************************************************/ 756 757 extern(C) xcb_shape_get_rectangles_cookie_t 758 xcb_shape_get_rectangles_unchecked (xcb_connection_t *c /**< */, 759 xcb_window_t window /**< */, 760 xcb_shape_kind_t source_kind /**< */); 761 762 763 /***************************************************************************** 764 ** 765 ** xcb_rectangle_t * xcb_shape_get_rectangles_rectangles 766 ** 767 ** @param /+const+/ xcb_shape_get_rectangles_reply_t *R 768 ** @returns xcb_rectangle_t * 769 ** 770 *****************************************************************************/ 771 772 extern(C) xcb_rectangle_t * 773 xcb_shape_get_rectangles_rectangles (/+const+/ xcb_shape_get_rectangles_reply_t *R /**< */); 774 775 776 /***************************************************************************** 777 ** 778 ** int xcb_shape_get_rectangles_rectangles_length 779 ** 780 ** @param /+const+/ xcb_shape_get_rectangles_reply_t *R 781 ** @returns int 782 ** 783 *****************************************************************************/ 784 785 extern(C) int 786 xcb_shape_get_rectangles_rectangles_length (/+const+/ xcb_shape_get_rectangles_reply_t *R /**< */); 787 788 789 /***************************************************************************** 790 ** 791 ** xcb_rectangle_iterator_t xcb_shape_get_rectangles_rectangles_iterator 792 ** 793 ** @param /+const+/ xcb_shape_get_rectangles_reply_t *R 794 ** @returns xcb_rectangle_iterator_t 795 ** 796 *****************************************************************************/ 797 798 extern(C) xcb_rectangle_iterator_t 799 xcb_shape_get_rectangles_rectangles_iterator (/+const+/ xcb_shape_get_rectangles_reply_t *R /**< */); 800 801 802 /***************************************************************************** 803 ** 804 ** xcb_shape_get_rectangles_reply_t * xcb_shape_get_rectangles_reply 805 ** 806 ** @param xcb_connection_t *c 807 ** @param xcb_shape_get_rectangles_cookie_t cookie 808 ** @param xcb_generic_error_t **e 809 ** @returns xcb_shape_get_rectangles_reply_t * 810 ** 811 *****************************************************************************/ 812 813 extern(C) xcb_shape_get_rectangles_reply_t * 814 xcb_shape_get_rectangles_reply (xcb_connection_t *c /**< */, 815 xcb_shape_get_rectangles_cookie_t cookie /**< */, 816 xcb_generic_error_t **e /**< */); 817 818 819 820 /** 821 * @} 822 */