| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
#ifndef _X11_XLIB_H_ |
| 34 |
#define _X11_XLIB_H_ |
| 35 |
|
| 36 |
#define XlibSpecificationRelease 6 |
| 37 |
|
| 38 |
#include <sys/types.h> |
| 39 |
|
| 40 |
#if defined(__SCO__) || defined(__UNIXWARE__) |
| 41 |
#include <stdint.h> |
| 42 |
#endif |
| 43 |
|
| 44 |
#include <X11/X.h> |
| 45 |
|
| 46 |
|
| 47 |
#include <X11/Xfuncproto.h> |
| 48 |
#include <X11/Xosdefs.h> |
| 49 |
|
| 50 |
#ifndef X_WCHAR |
| 51 |
#include <stddef.h> |
| 52 |
#else |
| 53 |
#ifdef __UNIXOS2__ |
| 54 |
#include <stdlib.h> |
| 55 |
#else |
| 56 |
|
| 57 |
typedef unsigned long wchar_t; |
| 58 |
#endif |
| 59 |
#endif |
| 60 |
|
| 61 |
|
| 62 |
extern int |
| 63 |
_Xmblen( |
| 64 |
char *str, |
| 65 |
int len |
| 66 |
); |
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
#define X_HAVE_UTF8_STRING 1 |
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
#ifdef __clang__ |
| 76 |
#pragma clang diagnostic push |
| 77 |
#pragma clang diagnostic ignored "-Wpadded" |
| 78 |
#endif |
| 79 |
|
| 80 |
typedef char *XPointer; |
| 81 |
|
| 82 |
#define Bool int |
| 83 |
#define Status int |
| 84 |
#define True 1 |
| 85 |
#define False 0 |
| 86 |
|
| 87 |
#define QueuedAlready 0 |
| 88 |
#define QueuedAfterReading 1 |
| 89 |
#define QueuedAfterFlush 2 |
| 90 |
|
| 91 |
#define ConnectionNumber(dpy) (((_XPrivDisplay)(dpy))->fd) |
| 92 |
#define RootWindow(dpy, scr) (ScreenOfDisplay(dpy,scr)->root) |
| 93 |
#define DefaultScreen(dpy) (((_XPrivDisplay)(dpy))->default_screen) |
| 94 |
#define DefaultRootWindow(dpy) (ScreenOfDisplay(dpy,DefaultScreen(dpy))->root) |
| 95 |
#define DefaultVisual(dpy, scr) (ScreenOfDisplay(dpy,scr)->root_visual) |
| 96 |
#define DefaultGC(dpy, scr) (ScreenOfDisplay(dpy,scr)->default_gc) |
| 97 |
#define BlackPixel(dpy, scr) (ScreenOfDisplay(dpy,scr)->black_pixel) |
| 98 |
#define WhitePixel(dpy, scr) (ScreenOfDisplay(dpy,scr)->white_pixel) |
| 99 |
#define AllPlanes ((unsigned long)~0L) |
| 100 |
#define QLength(dpy) (((_XPrivDisplay)(dpy))->qlen) |
| 101 |
#define DisplayWidth(dpy, scr) (ScreenOfDisplay(dpy,scr)->width) |
| 102 |
#define DisplayHeight(dpy, scr) (ScreenOfDisplay(dpy,scr)->height) |
| 103 |
#define DisplayWidthMM(dpy, scr)(ScreenOfDisplay(dpy,scr)->mwidth) |
| 104 |
#define DisplayHeightMM(dpy, scr)(ScreenOfDisplay(dpy,scr)->mheight) |
| 105 |
#define DisplayPlanes(dpy, scr) (ScreenOfDisplay(dpy,scr)->root_depth) |
| 106 |
#define DisplayCells(dpy, scr) (DefaultVisual(dpy,scr)->map_entries) |
| 107 |
#define ScreenCount(dpy) (((_XPrivDisplay)(dpy))->nscreens) |
| 108 |
#define ServerVendor(dpy) (((_XPrivDisplay)(dpy))->vendor) |
| 109 |
#define ProtocolVersion(dpy) (((_XPrivDisplay)(dpy))->proto_major_version) |
| 110 |
#define ProtocolRevision(dpy) (((_XPrivDisplay)(dpy))->proto_minor_version) |
| 111 |
#define VendorRelease(dpy) (((_XPrivDisplay)(dpy))->release) |
| 112 |
#define DisplayString(dpy) (((_XPrivDisplay)(dpy))->display_name) |
| 113 |
#define DefaultDepth(dpy, scr) (ScreenOfDisplay(dpy,scr)->root_depth) |
| 114 |
#define DefaultColormap(dpy, scr)(ScreenOfDisplay(dpy,scr)->cmap) |
| 115 |
#define BitmapUnit(dpy) (((_XPrivDisplay)(dpy))->bitmap_unit) |
| 116 |
#define BitmapBitOrder(dpy) (((_XPrivDisplay)(dpy))->bitmap_bit_order) |
| 117 |
#define BitmapPad(dpy) (((_XPrivDisplay)(dpy))->bitmap_pad) |
| 118 |
#define ImageByteOrder(dpy) (((_XPrivDisplay)(dpy))->byte_order) |
| 119 |
#define NextRequest(dpy) (((_XPrivDisplay)(dpy))->request + 1) |
| 120 |
#define LastKnownRequestProcessed(dpy) (((_XPrivDisplay)(dpy))->last_request_read) |
| 121 |
|
| 122 |
|
| 123 |
#define ScreenOfDisplay(dpy, scr)(&((_XPrivDisplay)(dpy))->screens[scr]) |
| 124 |
#define DefaultScreenOfDisplay(dpy) ScreenOfDisplay(dpy,DefaultScreen(dpy)) |
| 125 |
#define DisplayOfScreen(s) ((s)->display) |
| 126 |
#define RootWindowOfScreen(s) ((s)->root) |
| 127 |
#define BlackPixelOfScreen(s) ((s)->black_pixel) |
| 128 |
#define WhitePixelOfScreen(s) ((s)->white_pixel) |
| 129 |
#define DefaultColormapOfScreen(s)((s)->cmap) |
| 130 |
#define DefaultDepthOfScreen(s) ((s)->root_depth) |
| 131 |
#define DefaultGCOfScreen(s) ((s)->default_gc) |
| 132 |
#define DefaultVisualOfScreen(s)((s)->root_visual) |
| 133 |
#define WidthOfScreen(s) ((s)->width) |
| 134 |
#define HeightOfScreen(s) ((s)->height) |
| 135 |
#define WidthMMOfScreen(s) ((s)->mwidth) |
| 136 |
#define HeightMMOfScreen(s) ((s)->mheight) |
| 137 |
#define PlanesOfScreen(s) ((s)->root_depth) |
| 138 |
#define CellsOfScreen(s) (DefaultVisualOfScreen((s))->map_entries) |
| 139 |
#define MinCmapsOfScreen(s) ((s)->min_maps) |
| 140 |
#define MaxCmapsOfScreen(s) ((s)->max_maps) |
| 141 |
#define DoesSaveUnders(s) ((s)->save_unders) |
| 142 |
#define DoesBackingStore(s) ((s)->backing_store) |
| 143 |
#define EventMaskOfScreen(s) ((s)->root_input_mask) |
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
typedef struct _XExtData { |
| 149 |
int number; |
| 150 |
struct _XExtData *next; |
| 151 |
int (*free_private)( |
| 152 |
struct _XExtData *extension |
| 153 |
); |
| 154 |
XPointer private_data; |
| 155 |
} XExtData; |
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
typedef struct { |
| 161 |
int extension; |
| 162 |
int major_opcode; |
| 163 |
int first_event; |
| 164 |
int first_error; |
| 165 |
} XExtCodes; |
| 166 |
|
| 167 |
|
| 168 |
|
| 169 |
|
| 170 |
|
| 171 |
typedef struct { |
| 172 |
int depth; |
| 173 |
int bits_per_pixel; |
| 174 |
int scanline_pad; |
| 175 |
} XPixmapFormatValues; |
| 176 |
|
| 177 |
|
| 178 |
|
| 179 |
|
| 180 |
|
| 181 |
typedef struct { |
| 182 |
int function; |
| 183 |
unsigned long plane_mask; |
| 184 |
unsigned long foreground; |
| 185 |
unsigned long background; |
| 186 |
int line_width; |
| 187 |
int line_style; |
| 188 |
int cap_style; |
| 189 |
|
| 190 |
int join_style; |
| 191 |
int fill_style; |
| 192 |
|
| 193 |
int fill_rule; |
| 194 |
int arc_mode; |
| 195 |
Pixmap tile; |
| 196 |
Pixmap stipple; |
| 197 |
int ts_x_origin; |
| 198 |
int ts_y_origin; |
| 199 |
Font font; |
| 200 |
int subwindow_mode; |
| 201 |
Bool graphics_exposures; |
| 202 |
int clip_x_origin; |
| 203 |
int clip_y_origin; |
| 204 |
Pixmap clip_mask; |
| 205 |
int dash_offset; |
| 206 |
char dashes; |
| 207 |
} XGCValues; |
| 208 |
|
| 209 |
|
| 210 |
|
| 211 |
|
| 212 |
|
| 213 |
|
| 214 |
typedef struct _XGC |
| 215 |
#ifdef XLIB_ILLEGAL_ACCESS |
| 216 |
{ |
| 217 |
XExtData *ext_data; |
| 218 |
GContext gid; |
| 219 |
|
| 220 |
} |
| 221 |
#endif |
| 222 |
*GC; |
| 223 |
|
| 224 |
|
| 225 |
|
| 226 |
|
| 227 |
typedef struct { |
| 228 |
XExtData *ext_data; |
| 229 |
VisualID visualid; |
| 230 |
#if defined(__cplusplus) || defined(c_plusplus) |
| 231 |
int c_class; |
| 232 |
#else |
| 233 |
int class; |
| 234 |
#endif |
| 235 |
unsigned long red_mask, green_mask, blue_mask; |
| 236 |
int bits_per_rgb; |
| 237 |
int map_entries; |
| 238 |
} Visual; |
| 239 |
|
| 240 |
|
| 241 |
|
| 242 |
|
| 243 |
typedef struct { |
| 244 |
int depth; |
| 245 |
int nvisuals; |
| 246 |
Visual *visuals; |
| 247 |
} Depth; |
| 248 |
|
| 249 |
|
| 250 |
|
| 251 |
|
| 252 |
|
| 253 |
|
| 254 |
|
| 255 |
struct _XDisplay; |
| 256 |
|
| 257 |
typedef struct { |
| 258 |
XExtData *ext_data; |
| 259 |
struct _XDisplay *display; |
| 260 |
Window root; |
| 261 |
int width, height; |
| 262 |
int mwidth, mheight; |
| 263 |
int ndepths; |
| 264 |
Depth *depths; |
| 265 |
int root_depth; |
| 266 |
Visual *root_visual; |
| 267 |
GC default_gc; |
| 268 |
Colormap cmap; |
| 269 |
unsigned long white_pixel; |
| 270 |
unsigned long black_pixel; |
| 271 |
int max_maps, min_maps; |
| 272 |
int backing_store; |
| 273 |
Bool save_unders; |
| 274 |
long root_input_mask; |
| 275 |
} Screen; |
| 276 |
|
| 277 |
|
| 278 |
|
| 279 |
|
| 280 |
typedef struct { |
| 281 |
XExtData *ext_data; |
| 282 |
int depth; |
| 283 |
int bits_per_pixel; |
| 284 |
int scanline_pad; |
| 285 |
} ScreenFormat; |
| 286 |
|
| 287 |
|
| 288 |
|
| 289 |
|
| 290 |
typedef struct { |
| 291 |
Pixmap background_pixmap; |
| 292 |
unsigned long background_pixel; |
| 293 |
Pixmap border_pixmap; |
| 294 |
unsigned long border_pixel; |
| 295 |
int bit_gravity; |
| 296 |
int win_gravity; |
| 297 |
int backing_store; |
| 298 |
unsigned long backing_planes; |
| 299 |
unsigned long backing_pixel; |
| 300 |
Bool save_under; |
| 301 |
long event_mask; |
| 302 |
long do_not_propagate_mask; |
| 303 |
Bool override_redirect; |
| 304 |
Colormap colormap; |
| 305 |
Cursor cursor; |
| 306 |
} XSetWindowAttributes; |
| 307 |
|
| 308 |
typedef struct { |
| 309 |
int x, y; |
| 310 |
int width, height; |
| 311 |
int border_width; |
| 312 |
int depth; |
| 313 |
Visual *visual; |
| 314 |
Window root; |
| 315 |
#if defined(__cplusplus) || defined(c_plusplus) |
| 316 |
int c_class; |
| 317 |
#else |
| 318 |
int class; |
| 319 |
#endif |
| 320 |
int bit_gravity; |
| 321 |
int win_gravity; |
| 322 |
int backing_store; |
| 323 |
unsigned long backing_planes; |
| 324 |
unsigned long backing_pixel; |
| 325 |
Bool save_under; |
| 326 |
Colormap colormap; |
| 327 |
Bool map_installed; |
| 328 |
int map_state; |
| 329 |
long all_event_masks; |
| 330 |
long your_event_mask; |
| 331 |
long do_not_propagate_mask; |
| 332 |
Bool override_redirect; |
| 333 |
Screen *screen; |
| 334 |
} XWindowAttributes; |
| 335 |
|
| 336 |
|
| 337 |
|
| 338 |
|
| 339 |
|
| 340 |
|
| 341 |
typedef struct { |
| 342 |
int family; |
| 343 |
int length; |
| 344 |
char *address; |
| 345 |
} XHostAddress; |
| 346 |
|
| 347 |
|
| 348 |
|
| 349 |
|
| 350 |
typedef struct { |
| 351 |
int typelength; |
| 352 |
int valuelength; |
| 353 |
char *type; |
| 354 |
char *value; |
| 355 |
} XServerInterpretedAddress; |
| 356 |
|
| 357 |
|
| 358 |
|
| 359 |
|
| 360 |
typedef struct _XImage { |
| 361 |
int width, height; |
| 362 |
int xoffset; |
| 363 |
int format; |
| 364 |
char *data; |
| 365 |
int byte_order; |
| 366 |
int bitmap_unit; |
| 367 |
int bitmap_bit_order; |
| 368 |
int bitmap_pad; |
| 369 |
int depth; |
| 370 |
int bytes_per_line; |
| 371 |
int bits_per_pixel; |
| 372 |
unsigned long red_mask; |
| 373 |
unsigned long green_mask; |
| 374 |
unsigned long blue_mask; |
| 375 |
XPointer obdata; |
| 376 |
struct funcs { |
| 377 |
struct _XImage *(*create_image)( |
| 378 |
struct _XDisplay* , |
| 379 |
Visual* , |
| 380 |
unsigned int , |
| 381 |
int , |
| 382 |
int , |
| 383 |
char* , |
| 384 |
unsigned int , |
| 385 |
unsigned int , |
| 386 |
int , |
| 387 |
int ); |
| 388 |
int (*destroy_image) (struct _XImage *); |
| 389 |
unsigned long (*get_pixel) (struct _XImage *, int, int); |
| 390 |
int (*put_pixel) (struct _XImage *, int, int, unsigned long); |
| 391 |
struct _XImage *(*sub_image)(struct _XImage *, int, int, unsigned int, unsigned int); |
| 392 |
int (*add_pixel) (struct _XImage *, long); |
| 393 |
} f; |
| 394 |
} XImage; |
| 395 |
|
| 396 |
|
| 397 |
|
| 398 |
|
| 399 |
typedef struct { |
| 400 |
int x, y; |
| 401 |
int width, height; |
| 402 |
int border_width; |
| 403 |
Window sibling; |
| 404 |
int stack_mode; |
| 405 |
} XWindowChanges; |
| 406 |
|
| 407 |
|
| 408 |
|
| 409 |
|
| 410 |
typedef struct { |
| 411 |
unsigned long pixel; |
| 412 |
unsigned short red, green, blue; |
| 413 |
char flags; |
| 414 |
char pad; |
| 415 |
} XColor; |
| 416 |
|
| 417 |
|
| 418 |
|
| 419 |
|
| 420 |
|
| 421 |
|
| 422 |
typedef struct { |
| 423 |
short x1, y1, x2, y2; |
| 424 |
} XSegment; |
| 425 |
|
| 426 |
typedef struct { |
| 427 |
short x, y; |
| 428 |
} XPoint; |
| 429 |
|
| 430 |
typedef struct { |
| 431 |
short x, y; |
| 432 |
unsigned short width, height; |
| 433 |
} XRectangle; |
| 434 |
|
| 435 |
typedef struct { |
| 436 |
short x, y; |
| 437 |
unsigned short width, height; |
| 438 |
short angle1, angle2; |
| 439 |
} XArc; |
| 440 |
|
| 441 |
|
| 442 |
|
| 443 |
|
| 444 |
typedef struct { |
| 445 |
int key_click_percent; |
| 446 |
int bell_percent; |
| 447 |
int bell_pitch; |
| 448 |
int bell_duration; |
| 449 |
int led; |
| 450 |
int led_mode; |
| 451 |
int key; |
| 452 |
int auto_repeat_mode; |
| 453 |
} XKeyboardControl; |
| 454 |
|
| 455 |
|
| 456 |
|
| 457 |
typedef struct { |
| 458 |
int key_click_percent; |
| 459 |
int bell_percent; |
| 460 |
unsigned int bell_pitch, bell_duration; |
| 461 |
unsigned long led_mask; |
| 462 |
int global_auto_repeat; |
| 463 |
char auto_repeats[32]; |
| 464 |
} XKeyboardState; |
| 465 |
|
| 466 |
|
| 467 |
|
| 468 |
typedef struct { |
| 469 |
Time time; |
| 470 |
short x, y; |
| 471 |
} XTimeCoord; |
| 472 |
|
| 473 |
|
| 474 |
|
| 475 |
typedef struct { |
| 476 |
int max_keypermod; |
| 477 |
KeyCode *modifiermap; |
| 478 |
} XModifierKeymap; |
| 479 |
|
| 480 |
|
| 481 |
|
| 482 |
|
| 483 |
|
| 484 |
|
| 485 |
|
| 486 |
#ifndef XLIB_ILLEGAL_ACCESS |
| 487 |
typedef struct _XDisplay Display; |
| 488 |
#endif |
| 489 |
|
| 490 |
struct _XPrivate; |
| 491 |
struct _XrmHashBucketRec; |
| 492 |
|
| 493 |
typedef struct |
| 494 |
#ifdef XLIB_ILLEGAL_ACCESS |
| 495 |
_XDisplay |
| 496 |
#endif |
| 497 |
{ |
| 498 |
XExtData *ext_data; |
| 499 |
struct _XPrivate *private1; |
| 500 |
int fd; |
| 501 |
int private2; |
| 502 |
int proto_major_version; |
| 503 |
int proto_minor_version; |
| 504 |
char *vendor; |
| 505 |
XID private3; |
| 506 |
XID private4; |
| 507 |
XID private5; |
| 508 |
int private6; |
| 509 |
XID (*resource_alloc)( |
| 510 |
struct _XDisplay* |
| 511 |
); |
| 512 |
int byte_order; |
| 513 |
int bitmap_unit; |
| 514 |
int bitmap_pad; |
| 515 |
int bitmap_bit_order; |
| 516 |
int nformats; |
| 517 |
ScreenFormat *pixmap_format; |
| 518 |
int private8; |
| 519 |
int release; |
| 520 |
struct _XPrivate *private9, *private10; |
| 521 |
int qlen; |
| 522 |
unsigned long last_request_read; |
| 523 |
unsigned long request; |
| 524 |
XPointer private11; |
| 525 |
XPointer private12; |
| 526 |
XPointer private13; |
| 527 |
XPointer private14; |
| 528 |
unsigned max_request_size; |
| 529 |
struct _XrmHashBucketRec *db; |
| 530 |
int (*private15)( |
| 531 |
struct _XDisplay* |
| 532 |
); |
| 533 |
char *display_name; |
| 534 |
int default_screen; |
| 535 |
int nscreens; |
| 536 |
Screen *screens; |
| 537 |
unsigned long motion_buffer; |
| 538 |
unsigned long private16; |
| 539 |
int min_keycode; |
| 540 |
int max_keycode; |
| 541 |
XPointer private17; |
| 542 |
XPointer private18; |
| 543 |
int private19; |
| 544 |
char *xdefaults; |
| 545 |
|
| 546 |
} |
| 547 |
#ifdef XLIB_ILLEGAL_ACCESS |
| 548 |
Display, |
| 549 |
#endif |
| 550 |
*_XPrivDisplay; |
| 551 |
|
| 552 |
#undef _XEVENT_ |
| 553 |
#ifndef _XEVENT_ |
| 554 |
|
| 555 |
|
| 556 |
|
| 557 |
typedef struct { |
| 558 |
int type; |
| 559 |
unsigned long serial; |
| 560 |
Bool send_event; |
| 561 |
Display *display; |
| 562 |
Window window; |
| 563 |
Window root; |
| 564 |
Window subwindow; |
| 565 |
Time time; |
| 566 |
int x, y; |
| 567 |
int x_root, y_root; |
| 568 |
unsigned int state; |
| 569 |
unsigned int keycode; |
| 570 |
Bool same_screen; |
| 571 |
} XKeyEvent; |
| 572 |
typedef XKeyEvent XKeyPressedEvent; |
| 573 |
typedef XKeyEvent XKeyReleasedEvent; |
| 574 |
|
| 575 |
typedef struct { |
| 576 |
int type; |
| 577 |
unsigned long serial; |
| 578 |
Bool send_event; |
| 579 |
Display *display; |
| 580 |
Window window; |
| 581 |
Window root; |
| 582 |
Window subwindow; |
| 583 |
Time time; |
| 584 |
int x, y; |
| 585 |
int x_root, y_root; |
| 586 |
unsigned int state; |
| 587 |
unsigned int button; |
| 588 |
Bool same_screen; |
| 589 |
} XButtonEvent; |
| 590 |
typedef XButtonEvent XButtonPressedEvent; |
| 591 |
typedef XButtonEvent XButtonReleasedEvent; |
| 592 |
|
| 593 |
typedef struct { |
| 594 |
int type; |
| 595 |
unsigned long serial; |
| 596 |
Bool send_event; |
| 597 |
Display *display; |
| 598 |
Window window; |
| 599 |
Window root; |
| 600 |
Window subwindow; |
| 601 |
Time time; |
| 602 |
int x, y; |
| 603 |
int x_root, y_root; |
| 604 |
unsigned int state; |
| 605 |
char is_hint; |
| 606 |
Bool same_screen; |
| 607 |
} XMotionEvent; |
| 608 |
typedef XMotionEvent XPointerMovedEvent; |
| 609 |
|
| 610 |
typedef struct { |
| 611 |
int type; |
| 612 |
unsigned long serial; |
| 613 |
Bool send_event; |
| 614 |
Display *display; |
| 615 |
Window window; |
| 616 |
Window root; |
| 617 |
Window subwindow; |
| 618 |
Time time; |
| 619 |
int x, y; |
| 620 |
int x_root, y_root; |
| 621 |
int mode; |
| 622 |
int detail; |
| 623 |
|
| 624 |
|
| 625 |
|
| 626 |
|
| 627 |
Bool same_screen; |
| 628 |
Bool focus; |
| 629 |
unsigned int state; |
| 630 |
} XCrossingEvent; |
| 631 |
typedef XCrossingEvent XEnterWindowEvent; |
| 632 |
typedef XCrossingEvent XLeaveWindowEvent; |
| 633 |
|
| 634 |
typedef struct { |
| 635 |
int type; |
| 636 |
unsigned long serial; |
| 637 |
Bool send_event; |
| 638 |
Display *display; |
| 639 |
Window window; |
| 640 |
int mode; |
| 641 |
|
| 642 |
int detail; |
| 643 |
|
| 644 |
|
| 645 |
|
| 646 |
|
| 647 |
|
| 648 |
} XFocusChangeEvent; |
| 649 |
typedef XFocusChangeEvent XFocusInEvent; |
| 650 |
typedef XFocusChangeEvent XFocusOutEvent; |
| 651 |
|
| 652 |
|
| 653 |
typedef struct { |
| 654 |
int type; |
| 655 |
unsigned long serial; |
| 656 |
Bool send_event; |
| 657 |
Display *display; |
| 658 |
Window window; |
| 659 |
char key_vector[32]; |
| 660 |
} XKeymapEvent; |
| 661 |
|
| 662 |
typedef struct { |
| 663 |
int type; |
| 664 |
unsigned long serial; |
| 665 |
Bool send_event; |
| 666 |
Display *display; |
| 667 |
Window window; |
| 668 |
int x, y; |
| 669 |
int width, height; |
| 670 |
int count; |
| 671 |
} XExposeEvent; |
| 672 |
|
| 673 |
typedef struct { |
| 674 |
int type; |
| 675 |
unsigned long serial; |
| 676 |
Bool send_event; |
| 677 |
Display *display; |
| 678 |
Drawable drawable; |
| 679 |
int x, y; |
| 680 |
int width, height; |
| 681 |
int count; |
| 682 |
int major_code; |
| 683 |
int minor_code; |
| 684 |
} XGraphicsExposeEvent; |
| 685 |
|
| 686 |
typedef struct { |
| 687 |
int type; |
| 688 |
unsigned long serial; |
| 689 |
Bool send_event; |
| 690 |
Display *display; |
| 691 |
Drawable drawable; |
| 692 |
int major_code; |
| 693 |
int minor_code; |
| 694 |
} XNoExposeEvent; |
| 695 |
|
| 696 |
typedef struct { |
| 697 |
int type; |
| 698 |
unsigned long serial; |
| 699 |
Bool send_event; |
| 700 |
Display *display; |
| 701 |
Window window; |
| 702 |
int state; |
| 703 |
} XVisibilityEvent; |
| 704 |
|
| 705 |
typedef struct { |
| 706 |
int type; |
| 707 |
unsigned long serial; |
| 708 |
Bool send_event; |
| 709 |
Display *display; |
| 710 |
Window parent; |
| 711 |
Window window; |
| 712 |
int x, y; |
| 713 |
int width, height; |
| 714 |
int border_width; |
| 715 |
Bool override_redirect; |
| 716 |
} XCreateWindowEvent; |
| 717 |
|
| 718 |
typedef struct { |
| 719 |
int type; |
| 720 |
unsigned long serial; |
| 721 |
Bool send_event; |
| 722 |
Display *display; |
| 723 |
Window event; |
| 724 |
Window window; |
| 725 |
} XDestroyWindowEvent; |
| 726 |
|
| 727 |
typedef struct { |
| 728 |
int type; |
| 729 |
unsigned long serial; |
| 730 |
Bool send_event; |
| 731 |
Display *display; |
| 732 |
Window event; |
| 733 |
Window window; |
| 734 |
Bool from_configure; |
| 735 |
} XUnmapEvent; |
| 736 |
|
| 737 |
typedef struct { |
| 738 |
int type; |
| 739 |
unsigned long serial; |
| 740 |
Bool send_event; |
| 741 |
Display *display; |
| 742 |
Window event; |
| 743 |
Window window; |
| 744 |
Bool override_redirect; |
| 745 |
} XMapEvent; |
| 746 |
|
| 747 |
typedef struct { |
| 748 |
int type; |
| 749 |
unsigned long serial; |
| 750 |
Bool send_event; |
| 751 |
Display *display; |
| 752 |
Window parent; |
| 753 |
Window window; |
| 754 |
} XMapRequestEvent; |
| 755 |
|
| 756 |
typedef struct { |
| 757 |
int type; |
| 758 |
unsigned long serial; |
| 759 |
Bool send_event; |
| 760 |
Display *display; |
| 761 |
Window event; |
| 762 |
Window window; |
| 763 |
Window parent; |
| 764 |
int x, y; |
| 765 |
Bool override_redirect; |
| 766 |
} XReparentEvent; |
| 767 |
|
| 768 |
typedef struct { |
| 769 |
int type; |
| 770 |
unsigned long serial; |
| 771 |
Bool send_event; |
| 772 |
Display *display; |
| 773 |
Window event; |
| 774 |
Window window; |
| 775 |
int x, y; |
| 776 |
int width, height; |
| 777 |
int border_width; |
| 778 |
Window above; |
| 779 |
Bool override_redirect; |
| 780 |
} XConfigureEvent; |
| 781 |
|
| 782 |
typedef struct { |
| 783 |
int type; |
| 784 |
unsigned long serial; |
| 785 |
Bool send_event; |
| 786 |
Display *display; |
| 787 |
Window event; |
| 788 |
Window window; |
| 789 |
int x, y; |
| 790 |
} XGravityEvent; |
| 791 |
|
| 792 |
typedef struct { |
| 793 |
int type; |
| 794 |
unsigned long serial; |
| 795 |
Bool send_event; |
| 796 |
Display *display; |
| 797 |
Window window; |
| 798 |
int width, height; |
| 799 |
} XResizeRequestEvent; |
| 800 |
|
| 801 |
typedef struct { |
| 802 |
int type; |
| 803 |
unsigned long serial; |
| 804 |
Bool send_event; |
| 805 |
Display *display; |
| 806 |
Window parent; |
| 807 |
Window window; |
| 808 |
int x, y; |
| 809 |
int width, height; |
| 810 |
int border_width; |
| 811 |
Window above; |
| 812 |
int detail; |
| 813 |
unsigned long value_mask; |
| 814 |
} XConfigureRequestEvent; |
| 815 |
|
| 816 |
typedef struct { |
| 817 |
int type; |
| 818 |
unsigned long serial; |
| 819 |
Bool send_event; |
| 820 |
Display *display; |
| 821 |
Window event; |
| 822 |
Window window; |
| 823 |
int place; |
| 824 |
} XCirculateEvent; |
| 825 |
|
| 826 |
typedef struct { |
| 827 |
int type; |
| 828 |
unsigned long serial; |
| 829 |
Bool send_event; |
| 830 |
Display *display; |
| 831 |
Window parent; |
| 832 |
Window window; |
| 833 |
int place; |
| 834 |
} XCirculateRequestEvent; |
| 835 |
|
| 836 |
typedef struct { |
| 837 |
int type; |
| 838 |
unsigned long serial; |
| 839 |
Bool send_event; |
| 840 |
Display *display; |
| 841 |
Window window; |
| 842 |
Atom atom; |
| 843 |
Time time; |
| 844 |
int state; |
| 845 |
} XPropertyEvent; |
| 846 |
|
| 847 |
typedef struct { |
| 848 |
int type; |
| 849 |
unsigned long serial; |
| 850 |
Bool send_event; |
| 851 |
Display *display; |
| 852 |
Window window; |
| 853 |
Atom selection; |
| 854 |
Time time; |
| 855 |
} XSelectionClearEvent; |
| 856 |
|
| 857 |
typedef struct { |
| 858 |
int type; |
| 859 |
unsigned long serial; |
| 860 |
Bool send_event; |
| 861 |
Display *display; |
| 862 |
Window owner; |
| 863 |
Window requestor; |
| 864 |
Atom selection; |
| 865 |
Atom target; |
| 866 |
Atom property; |
| 867 |
Time time; |
| 868 |
} XSelectionRequestEvent; |
| 869 |
|
| 870 |
typedef struct { |
| 871 |
int type; |
| 872 |
unsigned long serial; |
| 873 |
Bool send_event; |
| 874 |
Display *display; |
| 875 |
Window requestor; |
| 876 |
Atom selection; |
| 877 |
Atom target; |
| 878 |
Atom property; |
| 879 |
Time time; |
| 880 |
} XSelectionEvent; |
| 881 |
|
| 882 |
typedef struct { |
| 883 |
int type; |
| 884 |
unsigned long serial; |
| 885 |
Bool send_event; |
| 886 |
Display *display; |
| 887 |
Window window; |
| 888 |
Colormap colormap; |
| 889 |
#if defined(__cplusplus) || defined(c_plusplus) |
| 890 |
Bool c_new; |
| 891 |
#else |
| 892 |
Bool new; |
| 893 |
#endif |
| 894 |
int state; |
| 895 |
} XColormapEvent; |
| 896 |
|
| 897 |
typedef struct { |
| 898 |
int type; |
| 899 |
unsigned long serial; |
| 900 |
Bool send_event; |
| 901 |
Display *display; |
| 902 |
Window window; |
| 903 |
Atom message_type; |
| 904 |
int format; |
| 905 |
union { |
| 906 |
char b[20]; |
| 907 |
short s[10]; |
| 908 |
long l[5]; |
| 909 |
} data; |
| 910 |
} XClientMessageEvent; |
| 911 |
|
| 912 |
typedef struct { |
| 913 |
int type; |
| 914 |
unsigned long serial; |
| 915 |
Bool send_event; |
| 916 |
Display *display; |
| 917 |
Window window; |
| 918 |
int request; |
| 919 |
|
| 920 |
int first_keycode; |
| 921 |
int count; |
| 922 |
} XMappingEvent; |
| 923 |
|
| 924 |
typedef struct { |
| 925 |
int type; |
| 926 |
Display *display; |
| 927 |
XID resourceid; |
| 928 |
unsigned long serial; |
| 929 |
unsigned char error_code; |
| 930 |
unsigned char request_code; |
| 931 |
unsigned char minor_code; |
| 932 |
} XErrorEvent; |
| 933 |
|
| 934 |
typedef struct { |
| 935 |
int type; |
| 936 |
unsigned long serial; |
| 937 |
Bool send_event; |
| 938 |
Display *display; |
| 939 |
Window window; |
| 940 |
} XAnyEvent; |
| 941 |
|
| 942 |
|
| 943 |
|
| 944 |
|
| 945 |
|
| 946 |
|
| 947 |
|
| 948 |
typedef struct |
| 949 |
{ |
| 950 |
int type; |
| 951 |
unsigned long serial; |
| 952 |
Bool send_event; |
| 953 |
Display *display; |
| 954 |
int extension; |
| 955 |
int evtype; |
| 956 |
} XGenericEvent; |
| 957 |
|
| 958 |
typedef struct { |
| 959 |
int type; |
| 960 |
unsigned long serial; |
| 961 |
Bool send_event; |
| 962 |
Display *display; |
| 963 |
int extension; |
| 964 |
int evtype; |
| 965 |
unsigned int cookie; |
| 966 |
void *data; |
| 967 |
} XGenericEventCookie; |
| 968 |
|
| 969 |
|
| 970 |
|
| 971 |
|
| 972 |
|
| 973 |
typedef union _XEvent { |
| 974 |
int type; |
| 975 |
XAnyEvent xany; |
| 976 |
XKeyEvent xkey; |
| 977 |
XButtonEvent xbutton; |
| 978 |
XMotionEvent xmotion; |
| 979 |
XCrossingEvent xcrossing; |
| 980 |
XFocusChangeEvent xfocus; |
| 981 |
XExposeEvent xexpose; |
| 982 |
XGraphicsExposeEvent xgraphicsexpose; |
| 983 |
XNoExposeEvent xnoexpose; |
| 984 |
XVisibilityEvent xvisibility; |
| 985 |
XCreateWindowEvent xcreatewindow; |
| 986 |
XDestroyWindowEvent xdestroywindow; |
| 987 |
XUnmapEvent xunmap; |
| 988 |
XMapEvent xmap; |
| 989 |
XMapRequestEvent xmaprequest; |
| 990 |
XReparentEvent xreparent; |
| 991 |
XConfigureEvent xconfigure; |
| 992 |
XGravityEvent xgravity; |
| 993 |
XResizeRequestEvent xresizerequest; |
| 994 |
XConfigureRequestEvent xconfigurerequest; |
| 995 |
XCirculateEvent xcirculate; |
| 996 |
XCirculateRequestEvent xcirculaterequest; |
| 997 |
XPropertyEvent xproperty; |
| 998 |
XSelectionClearEvent xselectionclear; |
| 999 |
XSelectionRequestEvent xselectionrequest; |
| 1000 |
XSelectionEvent xselection; |
| 1001 |
XColormapEvent xcolormap; |
| 1002 |
XClientMessageEvent xclient; |
| 1003 |
XMappingEvent xmapping; |
| 1004 |
XErrorEvent xerror; |
| 1005 |
XKeymapEvent xkeymap; |
| 1006 |
XGenericEvent xgeneric; |
| 1007 |
XGenericEventCookie xcookie; |
| 1008 |
long pad[24]; |
| 1009 |
} XEvent; |
| 1010 |
#endif |
| 1011 |
|
| 1012 |
#define XAllocID(dpy) ((*((_XPrivDisplay)(dpy))->resource_alloc)((dpy))) |
| 1013 |
|
| 1014 |
|
| 1015 |
|
| 1016 |
|
| 1017 |
typedef struct { |
| 1018 |
short lbearing; |
| 1019 |
short rbearing; |
| 1020 |
short width; |
| 1021 |
short ascent; |
| 1022 |
short descent; |
| 1023 |
unsigned short attributes; |
| 1024 |
} XCharStruct; |
| 1025 |
|
| 1026 |
|
| 1027 |
|
| 1028 |
|
| 1029 |
|
| 1030 |
typedef struct { |
| 1031 |
Atom name; |
| 1032 |
unsigned long card32; |
| 1033 |
} XFontProp; |
| 1034 |
|
| 1035 |
typedef struct { |
| 1036 |
XExtData *ext_data; |
| 1037 |
Font fid; |
| 1038 |
unsigned direction; |
| 1039 |
unsigned min_char_or_byte2; |
| 1040 |
unsigned max_char_or_byte2; |
| 1041 |
unsigned min_byte1; |
| 1042 |
unsigned max_byte1; |
| 1043 |
Bool all_chars_exist; |
| 1044 |
unsigned default_char; |
| 1045 |
int n_properties; |
| 1046 |
XFontProp *properties; |
| 1047 |
XCharStruct min_bounds; |
| 1048 |
XCharStruct max_bounds; |
| 1049 |
XCharStruct *per_char; |
| 1050 |
int ascent; |
| 1051 |
int descent; |
| 1052 |
} XFontStruct; |
| 1053 |
|
| 1054 |
|
| 1055 |
|
| 1056 |
|
| 1057 |
typedef struct { |
| 1058 |
char *chars; |
| 1059 |
int nchars; |
| 1060 |
int delta; |
| 1061 |
Font font; |
| 1062 |
} XTextItem; |
| 1063 |
|
| 1064 |
typedef struct { |
| 1065 |
unsigned char byte1; |
| 1066 |
unsigned char byte2; |
| 1067 |
} XChar2b; |
| 1068 |
|
| 1069 |
typedef struct { |
| 1070 |
XChar2b *chars; |
| 1071 |
int nchars; |
| 1072 |
int delta; |
| 1073 |
Font font; |
| 1074 |
} XTextItem16; |
| 1075 |
|
| 1076 |
|
| 1077 |
typedef union { Display *display; |
| 1078 |
GC gc; |
| 1079 |
Visual *visual; |
| 1080 |
Screen *screen; |
| 1081 |
ScreenFormat *pixmap_format; |
| 1082 |
XFontStruct *font; } XEDataObject; |
| 1083 |
|
| 1084 |
typedef struct { |
| 1085 |
XRectangle max_ink_extent; |
| 1086 |
XRectangle max_logical_extent; |
| 1087 |
} XFontSetExtents; |
| 1088 |
|
| 1089 |
|
| 1090 |
|
| 1091 |
|
| 1092 |
|
| 1093 |
typedef struct _XOM *XOM; |
| 1094 |
typedef struct _XOC *XOC, *XFontSet; |
| 1095 |
|
| 1096 |
typedef struct { |
| 1097 |
char *chars; |
| 1098 |
int nchars; |
| 1099 |
int delta; |
| 1100 |
XFontSet font_set; |
| 1101 |
} XmbTextItem; |
| 1102 |
|
| 1103 |
typedef struct { |
| 1104 |
wchar_t *chars; |
| 1105 |
int nchars; |
| 1106 |
int delta; |
| 1107 |
XFontSet font_set; |
| 1108 |
} XwcTextItem; |
| 1109 |
|
| 1110 |
#define XNRequiredCharSet "requiredCharSet" |
| 1111 |
#define XNQueryOrientation "queryOrientation" |
| 1112 |
#define XNBaseFontName "baseFontName" |
| 1113 |
#define XNOMAutomatic "omAutomatic" |
| 1114 |
#define XNMissingCharSet "missingCharSet" |
| 1115 |
#define XNDefaultString "defaultString" |
| 1116 |
#define XNOrientation "orientation" |
| 1117 |
#define XNDirectionalDependentDrawing "directionalDependentDrawing" |
| 1118 |
#define XNContextualDrawing "contextualDrawing" |
| 1119 |
#define XNFontInfo "fontInfo" |
| 1120 |
|
| 1121 |
typedef struct { |
| 1122 |
int charset_count; |
| 1123 |
char **charset_list; |
| 1124 |
} XOMCharSetList; |
| 1125 |
|
| 1126 |
typedef enum { |
| 1127 |
XOMOrientation_LTR_TTB, |
| 1128 |
XOMOrientation_RTL_TTB, |
| 1129 |
XOMOrientation_TTB_LTR, |
| 1130 |
XOMOrientation_TTB_RTL, |
| 1131 |
XOMOrientation_Context |
| 1132 |
} XOrientation; |
| 1133 |
|
| 1134 |
typedef struct { |
| 1135 |
int num_orientation; |
| 1136 |
XOrientation *orientation; |
| 1137 |
} XOMOrientation; |
| 1138 |
|
| 1139 |
typedef struct { |
| 1140 |
int num_font; |
| 1141 |
XFontStruct **font_struct_list; |
| 1142 |
char **font_name_list; |
| 1143 |
} XOMFontInfo; |
| 1144 |
|
| 1145 |
typedef struct _XIM *XIM; |
| 1146 |
typedef struct _XIC *XIC; |
| 1147 |
|
| 1148 |
typedef void (*XIMProc)( |
| 1149 |
XIM, |
| 1150 |
XPointer, |
| 1151 |
XPointer |
| 1152 |
); |
| 1153 |
|
| 1154 |
typedef Bool (*XICProc)( |
| 1155 |
XIC, |
| 1156 |
XPointer, |
| 1157 |
XPointer |
| 1158 |
); |
| 1159 |
|
| 1160 |
typedef void (*XIDProc)( |
| 1161 |
Display*, |
| 1162 |
XPointer, |
| 1163 |
XPointer |
| 1164 |
); |
| 1165 |
|
| 1166 |
typedef unsigned long XIMStyle; |
| 1167 |
|
| 1168 |
typedef struct { |
| 1169 |
unsigned short count_styles; |
| 1170 |
XIMStyle *supported_styles; |
| 1171 |
} XIMStyles; |
| 1172 |
|
| 1173 |
#define XIMPreeditArea 0x0001L |
| 1174 |
#define XIMPreeditCallbacks 0x0002L |
| 1175 |
#define XIMPreeditPosition 0x0004L |
| 1176 |
#define XIMPreeditNothing 0x0008L |
| 1177 |
#define XIMPreeditNone 0x0010L |
| 1178 |
#define XIMStatusArea 0x0100L |
| 1179 |
#define XIMStatusCallbacks 0x0200L |
| 1180 |
#define XIMStatusNothing 0x0400L |
| 1181 |
#define XIMStatusNone 0x0800L |
| 1182 |
|
| 1183 |
#define XNVaNestedList "XNVaNestedList" |
| 1184 |
#define XNQueryInputStyle "queryInputStyle" |
| 1185 |
#define XNClientWindow "clientWindow" |
| 1186 |
#define XNInputStyle "inputStyle" |
| 1187 |
#define XNFocusWindow "focusWindow" |
| 1188 |
#define XNResourceName "resourceName" |
| 1189 |
#define XNResourceClass "resourceClass" |
| 1190 |
#define XNGeometryCallback "geometryCallback" |
| 1191 |
#define XNDestroyCallback "destroyCallback" |
| 1192 |
#define XNFilterEvents "filterEvents" |
| 1193 |
#define XNPreeditStartCallback "preeditStartCallback" |
| 1194 |
#define XNPreeditDoneCallback "preeditDoneCallback" |
| 1195 |
#define XNPreeditDrawCallback "preeditDrawCallback" |
| 1196 |
#define XNPreeditCaretCallback "preeditCaretCallback" |
| 1197 |
#define XNPreeditStateNotifyCallback "preeditStateNotifyCallback" |
| 1198 |
#define XNPreeditAttributes "preeditAttributes" |
| 1199 |
#define XNStatusStartCallback "statusStartCallback" |
| 1200 |
#define XNStatusDoneCallback "statusDoneCallback" |
| 1201 |
#define XNStatusDrawCallback "statusDrawCallback" |
| 1202 |
#define XNStatusAttributes "statusAttributes" |
| 1203 |
#define XNArea "area" |
| 1204 |
#define XNAreaNeeded "areaNeeded" |
| 1205 |
#define XNSpotLocation "spotLocation" |
| 1206 |
#define XNColormap "colorMap" |
| 1207 |
#define XNStdColormap "stdColorMap" |
| 1208 |
#define XNForeground "foreground" |
| 1209 |
#define XNBackground "background" |
| 1210 |
#define XNBackgroundPixmap "backgroundPixmap" |
| 1211 |
#define XNFontSet "fontSet" |
| 1212 |
#define XNLineSpace "lineSpace" |
| 1213 |
#define XNCursor "cursor" |
| 1214 |
|
| 1215 |
#define XNQueryIMValuesList "queryIMValuesList" |
| 1216 |
#define XNQueryICValuesList "queryICValuesList" |
| 1217 |
#define XNVisiblePosition "visiblePosition" |
| 1218 |
#define XNR6PreeditCallback "r6PreeditCallback" |
| 1219 |
#define XNStringConversionCallback "stringConversionCallback" |
| 1220 |
#define XNStringConversion "stringConversion" |
| 1221 |
#define XNResetState "resetState" |
| 1222 |
#define XNHotKey "hotKey" |
| 1223 |
#define XNHotKeyState "hotKeyState" |
| 1224 |
#define XNPreeditState "preeditState" |
| 1225 |
#define XNSeparatorofNestedList "separatorofNestedList" |
| 1226 |
|
| 1227 |
#define XBufferOverflow -1 |
| 1228 |
#define XLookupNone 1 |
| 1229 |
#define XLookupChars 2 |
| 1230 |
#define XLookupKeySym 3 |
| 1231 |
#define XLookupBoth 4 |
| 1232 |
|
| 1233 |
typedef void *XVaNestedList; |
| 1234 |
|
| 1235 |
typedef struct { |
| 1236 |
XPointer client_data; |
| 1237 |
XIMProc callback; |
| 1238 |
} XIMCallback; |
| 1239 |
|
| 1240 |
typedef struct { |
| 1241 |
XPointer client_data; |
| 1242 |
XICProc callback; |
| 1243 |
} XICCallback; |
| 1244 |
|
| 1245 |
typedef unsigned long XIMFeedback; |
| 1246 |
|
| 1247 |
#define XIMReverse 1L |
| 1248 |
#define XIMUnderline (1L<<1) |
| 1249 |
#define XIMHighlight (1L<<2) |
| 1250 |
#define XIMPrimary (1L<<5) |
| 1251 |
#define XIMSecondary (1L<<6) |
| 1252 |
#define XIMTertiary (1L<<7) |
| 1253 |
#define XIMVisibleToForward (1L<<8) |
| 1254 |
#define XIMVisibleToBackword (1L<<9) |
| 1255 |
#define XIMVisibleToCenter (1L<<10) |
| 1256 |
|
| 1257 |
typedef struct _XIMText { |
| 1258 |
unsigned short length; |
| 1259 |
XIMFeedback *feedback; |
| 1260 |
Bool encoding_is_wchar; |
| 1261 |
union { |
| 1262 |
char *multi_byte; |
| 1263 |
wchar_t *wide_char; |
| 1264 |
} string; |
| 1265 |
} XIMText; |
| 1266 |
|
| 1267 |
typedef unsigned long XIMPreeditState; |
| 1268 |
|
| 1269 |
#define XIMPreeditUnKnown 0L |
| 1270 |
#define XIMPreeditEnable 1L |
| 1271 |
#define XIMPreeditDisable (1L<<1) |
| 1272 |
|
| 1273 |
typedef struct _XIMPreeditStateNotifyCallbackStruct { |
| 1274 |
XIMPreeditState state; |
| 1275 |
} XIMPreeditStateNotifyCallbackStruct; |
| 1276 |
|
| 1277 |
typedef unsigned long XIMResetState; |
| 1278 |
|
| 1279 |
#define XIMInitialState 1L |
| 1280 |
#define XIMPreserveState (1L<<1) |
| 1281 |
|
| 1282 |
typedef unsigned long XIMStringConversionFeedback; |
| 1283 |
|
| 1284 |
#define XIMStringConversionLeftEdge (0x00000001) |
| 1285 |
#define XIMStringConversionRightEdge (0x00000002) |
| 1286 |
#define XIMStringConversionTopEdge (0x00000004) |
| 1287 |
#define XIMStringConversionBottomEdge (0x00000008) |
| 1288 |
#define XIMStringConversionConcealed (0x00000010) |
| 1289 |
#define XIMStringConversionWrapped (0x00000020) |
| 1290 |
|
| 1291 |
typedef struct _XIMStringConversionText { |
| 1292 |
unsigned short length; |
| 1293 |
XIMStringConversionFeedback *feedback; |
| 1294 |
Bool encoding_is_wchar; |
| 1295 |
union { |
| 1296 |
char *mbs; |
| 1297 |
wchar_t *wcs; |
| 1298 |
} string; |
| 1299 |
} XIMStringConversionText; |
| 1300 |
|
| 1301 |
typedef unsigned short XIMStringConversionPosition; |
| 1302 |
|
| 1303 |
typedef unsigned short XIMStringConversionType; |
| 1304 |
|
| 1305 |
#define XIMStringConversionBuffer (0x0001) |
| 1306 |
#define XIMStringConversionLine (0x0002) |
| 1307 |
#define XIMStringConversionWord (0x0003) |
| 1308 |
#define XIMStringConversionChar (0x0004) |
| 1309 |
|
| 1310 |
typedef unsigned short XIMStringConversionOperation; |
| 1311 |
|
| 1312 |
#define XIMStringConversionSubstitution (0x0001) |
| 1313 |
#define XIMStringConversionRetrieval (0x0002) |
| 1314 |
|
| 1315 |
typedef enum { |
| 1316 |
XIMForwardChar, XIMBackwardChar, |
| 1317 |
XIMForwardWord, XIMBackwardWord, |
| 1318 |
XIMCaretUp, XIMCaretDown, |
| 1319 |
XIMNextLine, XIMPreviousLine, |
| 1320 |
XIMLineStart, XIMLineEnd, |
| 1321 |
XIMAbsolutePosition, |
| 1322 |
XIMDontChange |
| 1323 |
} XIMCaretDirection; |
| 1324 |
|
| 1325 |
typedef struct _XIMStringConversionCallbackStruct { |
| 1326 |
XIMStringConversionPosition position; |
| 1327 |
XIMCaretDirection direction; |
| 1328 |
XIMStringConversionOperation operation; |
| 1329 |
unsigned short factor; |
| 1330 |
XIMStringConversionText *text; |
| 1331 |
} XIMStringConversionCallbackStruct; |
| 1332 |
|
| 1333 |
typedef struct _XIMPreeditDrawCallbackStruct { |
| 1334 |
int caret; |
| 1335 |
int chg_first; |
| 1336 |
int chg_length; |
| 1337 |
XIMText *text; |
| 1338 |
} XIMPreeditDrawCallbackStruct; |
| 1339 |
|
| 1340 |
typedef enum { |
| 1341 |
XIMIsInvisible, |
| 1342 |
XIMIsPrimary, |
| 1343 |
XIMIsSecondary |
| 1344 |
} XIMCaretStyle; |
| 1345 |
|
| 1346 |
typedef struct _XIMPreeditCaretCallbackStruct { |
| 1347 |
int position; |
| 1348 |
XIMCaretDirection direction; |
| 1349 |
XIMCaretStyle style; |
| 1350 |
} XIMPreeditCaretCallbackStruct; |
| 1351 |
|
| 1352 |
typedef enum { |
| 1353 |
XIMTextType, |
| 1354 |
XIMBitmapType |
| 1355 |
} XIMStatusDataType; |
| 1356 |
|
| 1357 |
typedef struct _XIMStatusDrawCallbackStruct { |
| 1358 |
XIMStatusDataType type; |
| 1359 |
union { |
| 1360 |
XIMText *text; |
| 1361 |
Pixmap bitmap; |
| 1362 |
} data; |
| 1363 |
} XIMStatusDrawCallbackStruct; |
| 1364 |
|
| 1365 |
typedef struct _XIMHotKeyTrigger { |
| 1366 |
KeySym keysym; |
| 1367 |
int modifier; |
| 1368 |
int modifier_mask; |
| 1369 |
} XIMHotKeyTrigger; |
| 1370 |
|
| 1371 |
typedef struct _XIMHotKeyTriggers { |
| 1372 |
int num_hot_key; |
| 1373 |
XIMHotKeyTrigger *key; |
| 1374 |
} XIMHotKeyTriggers; |
| 1375 |
|
| 1376 |
typedef unsigned long XIMHotKeyState; |
| 1377 |
|
| 1378 |
#define XIMHotKeyStateON (0x0001L) |
| 1379 |
#define XIMHotKeyStateOFF (0x0002L) |
| 1380 |
|
| 1381 |
typedef struct { |
| 1382 |
unsigned short count_values; |
| 1383 |
char **supported_values; |
| 1384 |
} XIMValuesList; |
| 1385 |
|
| 1386 |
_XFUNCPROTOBEGIN |
| 1387 |
|
| 1388 |
#if defined(WIN32) && !defined(_XLIBINT_) |
| 1389 |
#define _Xdebug (*_Xdebug_p) |
| 1390 |
#endif |
| 1391 |
|
| 1392 |
extern int _Xdebug; |
| 1393 |
|
| 1394 |
extern XFontStruct *XLoadQueryFont( |
| 1395 |
Display* , |
| 1396 |
_Xconst char* |
| 1397 |
); |
| 1398 |
|
| 1399 |
extern XFontStruct *XQueryFont( |
| 1400 |
Display* , |
| 1401 |
XID |
| 1402 |
); |
| 1403 |
|
| 1404 |
|
| 1405 |
extern XTimeCoord *XGetMotionEvents( |
| 1406 |
Display* , |
| 1407 |
Window , |
| 1408 |
Time , |
| 1409 |
Time , |
| 1410 |
int* |
| 1411 |
); |
| 1412 |
|
| 1413 |
extern XModifierKeymap *XDeleteModifiermapEntry( |
| 1414 |
XModifierKeymap* , |
| 1415 |
#if NeedWidePrototypes |
| 1416 |
unsigned int , |
| 1417 |
#else |
| 1418 |
KeyCode , |
| 1419 |
#endif |
| 1420 |
int |
| 1421 |
); |
| 1422 |
|
| 1423 |
extern XModifierKeymap *XGetModifierMapping( |
| 1424 |
Display* |
| 1425 |
); |
| 1426 |
|
| 1427 |
extern XModifierKeymap *XInsertModifiermapEntry( |
| 1428 |
XModifierKeymap* , |
| 1429 |
#if NeedWidePrototypes |
| 1430 |
unsigned int , |
| 1431 |
#else |
| 1432 |
KeyCode , |
| 1433 |
#endif |
| 1434 |
int |
| 1435 |
); |
| 1436 |
|
| 1437 |
extern XModifierKeymap *XNewModifiermap( |
| 1438 |
int |
| 1439 |
); |
| 1440 |
|
| 1441 |
extern XImage *XCreateImage( |
| 1442 |
Display* , |
| 1443 |
Visual* , |
| 1444 |
unsigned int , |
| 1445 |
int , |
| 1446 |
int , |
| 1447 |
char* , |
| 1448 |
unsigned int , |
| 1449 |
unsigned int , |
| 1450 |
int , |
| 1451 |
int |
| 1452 |
); |
| 1453 |
extern Status XInitImage( |
| 1454 |
XImage* |
| 1455 |
); |
| 1456 |
extern XImage *XGetImage( |
| 1457 |
Display* , |
| 1458 |
Drawable , |
| 1459 |
int , |
| 1460 |
int , |
| 1461 |
unsigned int , |
| 1462 |
unsigned int , |
| 1463 |
unsigned long , |
| 1464 |
int |
| 1465 |
); |
| 1466 |
extern XImage *XGetSubImage( |
| 1467 |
Display* , |
| 1468 |
Drawable , |
| 1469 |
int , |
| 1470 |
int , |
| 1471 |
unsigned int , |
| 1472 |
unsigned int , |
| 1473 |
unsigned long , |
| 1474 |
int , |
| 1475 |
XImage* , |
| 1476 |
int , |
| 1477 |
int |
| 1478 |
); |
| 1479 |
|
| 1480 |
|
| 1481 |
|
| 1482 |
|
| 1483 |
extern Display *XOpenDisplay( |
| 1484 |
_Xconst char* |
| 1485 |
); |
| 1486 |
|
| 1487 |
extern void XrmInitialize( |
| 1488 |
void |
| 1489 |
); |
| 1490 |
|
| 1491 |
extern char *XFetchBytes( |
| 1492 |
Display* , |
| 1493 |
int* |
| 1494 |
); |
| 1495 |
extern char *XFetchBuffer( |
| 1496 |
Display* , |
| 1497 |
int* , |
| 1498 |
int |
| 1499 |
); |
| 1500 |
extern char *XGetAtomName( |
| 1501 |
Display* , |
| 1502 |
Atom |
| 1503 |
); |
| 1504 |
extern Status XGetAtomNames( |
| 1505 |
Display* , |
| 1506 |
Atom* , |
| 1507 |
int , |
| 1508 |
char** |
| 1509 |
); |
| 1510 |
extern char *XGetDefault( |
| 1511 |
Display* , |
| 1512 |
_Xconst char* , |
| 1513 |
_Xconst char* |
| 1514 |
); |
| 1515 |
extern char *XDisplayName( |
| 1516 |
_Xconst char* |
| 1517 |
); |
| 1518 |
extern char *XKeysymToString( |
| 1519 |
KeySym |
| 1520 |
); |
| 1521 |
|
| 1522 |
extern int (*XSynchronize( |
| 1523 |
Display* , |
| 1524 |
Bool |
| 1525 |
))( |
| 1526 |
Display* |
| 1527 |
); |
| 1528 |
extern int (*XSetAfterFunction( |
| 1529 |
Display* , |
| 1530 |
int (*) ( |
| 1531 |
Display* |
| 1532 |
) |
| 1533 |
))( |
| 1534 |
Display* |
| 1535 |
); |
| 1536 |
extern Atom XInternAtom( |
| 1537 |
Display* , |
| 1538 |
_Xconst char* , |
| 1539 |
Bool |
| 1540 |
); |
| 1541 |
extern Status XInternAtoms( |
| 1542 |
Display* , |
| 1543 |
char** , |
| 1544 |
int , |
| 1545 |
Bool , |
| 1546 |
Atom* |
| 1547 |
); |
| 1548 |
extern Colormap XCopyColormapAndFree( |
| 1549 |
Display* , |
| 1550 |
Colormap |
| 1551 |
); |
| 1552 |
extern Colormap XCreateColormap( |
| 1553 |
Display* , |
| 1554 |
Window , |
| 1555 |
Visual* , |
| 1556 |
int |
| 1557 |
); |
| 1558 |
extern Cursor XCreatePixmapCursor( |
| 1559 |
Display* , |
| 1560 |
Pixmap , |
| 1561 |
Pixmap , |
| 1562 |
XColor* , |
| 1563 |
XColor* , |
| 1564 |
unsigned int , |
| 1565 |
unsigned int |
| 1566 |
); |
| 1567 |
extern Cursor XCreateGlyphCursor( |
| 1568 |
Display* , |
| 1569 |
Font , |
| 1570 |
Font , |
| 1571 |
unsigned int , |
| 1572 |
unsigned int , |
| 1573 |
XColor _Xconst * , |
| 1574 |
XColor _Xconst * |
| 1575 |
); |
| 1576 |
extern Cursor XCreateFontCursor( |
| 1577 |
Display* , |
| 1578 |
unsigned int |
| 1579 |
); |
| 1580 |
extern Font XLoadFont( |
| 1581 |
Display* , |
| 1582 |
_Xconst char* |
| 1583 |
); |
| 1584 |
extern GC XCreateGC( |
| 1585 |
Display* , |
| 1586 |
Drawable , |
| 1587 |
unsigned long , |
| 1588 |
XGCValues* |
| 1589 |
); |
| 1590 |
extern GContext XGContextFromGC( |
| 1591 |
GC |
| 1592 |
); |
| 1593 |
extern void XFlushGC( |
| 1594 |
Display* , |
| 1595 |
GC |
| 1596 |
); |
| 1597 |
extern Pixmap XCreatePixmap( |
| 1598 |
Display* , |
| 1599 |
Drawable , |
| 1600 |
unsigned int , |
| 1601 |
unsigned int , |
| 1602 |
unsigned int |
| 1603 |
); |
| 1604 |
extern Pixmap XCreateBitmapFromData( |
| 1605 |
Display* , |
| 1606 |
Drawable , |
| 1607 |
_Xconst char* , |
| 1608 |
unsigned int , |
| 1609 |
unsigned int |
| 1610 |
); |
| 1611 |
extern Pixmap XCreatePixmapFromBitmapData( |
| 1612 |
Display* , |
| 1613 |
Drawable , |
| 1614 |
char* , |
| 1615 |
unsigned int , |
| 1616 |
unsigned int , |
| 1617 |
unsigned long , |
| 1618 |
unsigned long , |
| 1619 |
unsigned int |
| 1620 |
); |
| 1621 |
extern Window XCreateSimpleWindow( |
| 1622 |
Display* , |
| 1623 |
Window , |
| 1624 |
int , |
| 1625 |
int , |
| 1626 |
unsigned int , |
| 1627 |
unsigned int , |
| 1628 |
unsigned int , |
| 1629 |
unsigned long , |
| 1630 |
unsigned long |
| 1631 |
); |
| 1632 |
extern Window XGetSelectionOwner( |
| 1633 |
Display* , |
| 1634 |
Atom |
| 1635 |
); |
| 1636 |
extern Window XCreateWindow( |
| 1637 |
Display* , |
| 1638 |
Window , |
| 1639 |
int , |
| 1640 |
int , |
| 1641 |
unsigned int , |
| 1642 |
unsigned int , |
| 1643 |
unsigned int , |
| 1644 |
int , |
| 1645 |
unsigned int , |
| 1646 |
Visual* , |
| 1647 |
unsigned long , |
| 1648 |
XSetWindowAttributes* |
| 1649 |
); |
| 1650 |
extern Colormap *XListInstalledColormaps( |
| 1651 |
Display* , |
| 1652 |
Window , |
| 1653 |
int* |
| 1654 |
); |
| 1655 |
extern char **XListFonts( |
| 1656 |
Display* , |
| 1657 |
_Xconst char* , |
| 1658 |
int , |
| 1659 |
int* |
| 1660 |
); |
| 1661 |
extern char **XListFontsWithInfo( |
| 1662 |
Display* , |
| 1663 |
_Xconst char* , |
| 1664 |
int , |
| 1665 |
int* , |
| 1666 |
XFontStruct** |
| 1667 |
); |
| 1668 |
extern char **XGetFontPath( |
| 1669 |
Display* , |
| 1670 |
int* |
| 1671 |
); |
| 1672 |
extern char **XListExtensions( |
| 1673 |
Display* , |
| 1674 |
int* |
| 1675 |
); |
| 1676 |
extern Atom *XListProperties( |
| 1677 |
Display* , |
| 1678 |
Window , |
| 1679 |
int* |
| 1680 |
); |
| 1681 |
extern XHostAddress *XListHosts( |
| 1682 |
Display* , |
| 1683 |
int* , |
| 1684 |
Bool* |
| 1685 |
); |
| 1686 |
_X_DEPRECATED |
| 1687 |
extern KeySym XKeycodeToKeysym( |
| 1688 |
Display* , |
| 1689 |
#if NeedWidePrototypes |
| 1690 |
unsigned int , |
| 1691 |
#else |
| 1692 |
KeyCode , |
| 1693 |
#endif |
| 1694 |
int |
| 1695 |
); |
| 1696 |
extern KeySym XLookupKeysym( |
| 1697 |
XKeyEvent* , |
| 1698 |
int |
| 1699 |
); |
| 1700 |
extern KeySym *XGetKeyboardMapping( |
| 1701 |
Display* , |
| 1702 |
#if NeedWidePrototypes |
| 1703 |
unsigned int , |
| 1704 |
#else |
| 1705 |
KeyCode , |
| 1706 |
#endif |
| 1707 |
int , |
| 1708 |
int* |
| 1709 |
); |
| 1710 |
extern KeySym XStringToKeysym( |
| 1711 |
_Xconst char* |
| 1712 |
); |
| 1713 |
extern long XMaxRequestSize( |
| 1714 |
Display* |
| 1715 |
); |
| 1716 |
extern long XExtendedMaxRequestSize( |
| 1717 |
Display* |
| 1718 |
); |
| 1719 |
extern char *XResourceManagerString( |
| 1720 |
Display* |
| 1721 |
); |
| 1722 |
extern char *XScreenResourceString( |
| 1723 |
Screen* |
| 1724 |
); |
| 1725 |
extern unsigned long XDisplayMotionBufferSize( |
| 1726 |
Display* |
| 1727 |
); |
| 1728 |
extern VisualID XVisualIDFromVisual( |
| 1729 |
Visual* |
| 1730 |
); |
| 1731 |
|
| 1732 |
|
| 1733 |
|
| 1734 |
extern Status XInitThreads( |
| 1735 |
void |
| 1736 |
); |
| 1737 |
|
| 1738 |
extern void XLockDisplay( |
| 1739 |
Display* |
| 1740 |
); |
| 1741 |
|
| 1742 |
extern void XUnlockDisplay( |
| 1743 |
Display* |
| 1744 |
); |
| 1745 |
|
| 1746 |
|
| 1747 |
|
| 1748 |
extern XExtCodes *XInitExtension( |
| 1749 |
Display* , |
| 1750 |
_Xconst char* |
| 1751 |
); |
| 1752 |
|
| 1753 |
extern XExtCodes *XAddExtension( |
| 1754 |
Display* |
| 1755 |
); |
| 1756 |
extern XExtData *XFindOnExtensionList( |
| 1757 |
XExtData** , |
| 1758 |
int |
| 1759 |
); |
| 1760 |
extern XExtData **XEHeadOfExtensionList( |
| 1761 |
XEDataObject |
| 1762 |
); |
| 1763 |
|
| 1764 |
|
| 1765 |
extern Window XRootWindow( |
| 1766 |
Display* , |
| 1767 |
int |
| 1768 |
); |
| 1769 |
extern Window XDefaultRootWindow( |
| 1770 |
Display* |
| 1771 |
); |
| 1772 |
extern Window XRootWindowOfScreen( |
| 1773 |
Screen* |
| 1774 |
); |
| 1775 |
extern Visual *XDefaultVisual( |
| 1776 |
Display* , |
| 1777 |
int |
| 1778 |
); |
| 1779 |
extern Visual *XDefaultVisualOfScreen( |
| 1780 |
Screen* |
| 1781 |
); |
| 1782 |
extern GC XDefaultGC( |
| 1783 |
Display* , |
| 1784 |
int |
| 1785 |
); |
| 1786 |
extern GC XDefaultGCOfScreen( |
| 1787 |
Screen* |
| 1788 |
); |
| 1789 |
extern unsigned long XBlackPixel( |
| 1790 |
Display* , |
| 1791 |
int |
| 1792 |
); |
| 1793 |
extern unsigned long XWhitePixel( |
| 1794 |
Display* , |
| 1795 |
int |
| 1796 |
); |
| 1797 |
extern unsigned long XAllPlanes( |
| 1798 |
void |
| 1799 |
); |
| 1800 |
extern unsigned long XBlackPixelOfScreen( |
| 1801 |
Screen* |
| 1802 |
); |
| 1803 |
extern unsigned long XWhitePixelOfScreen( |
| 1804 |
Screen* |
| 1805 |
); |
| 1806 |
extern unsigned long XNextRequest( |
| 1807 |
Display* |
| 1808 |
); |
| 1809 |
extern unsigned long XLastKnownRequestProcessed( |
| 1810 |
Display* |
| 1811 |
); |
| 1812 |
extern char *XServerVendor( |
| 1813 |
Display* |
| 1814 |
); |
| 1815 |
extern char *XDisplayString( |
| 1816 |
Display* |
| 1817 |
); |
| 1818 |
extern Colormap XDefaultColormap( |
| 1819 |
Display* , |
| 1820 |
int |
| 1821 |
); |
| 1822 |
extern Colormap XDefaultColormapOfScreen( |
| 1823 |
Screen* |
| 1824 |
); |
| 1825 |
extern Display *XDisplayOfScreen( |
| 1826 |
Screen* |
| 1827 |
); |
| 1828 |
extern Screen *XScreenOfDisplay( |
| 1829 |
Display* , |
| 1830 |
int |
| 1831 |
); |
| 1832 |
extern Screen *XDefaultScreenOfDisplay( |
| 1833 |
Display* |
| 1834 |
); |
| 1835 |
extern long XEventMaskOfScreen( |
| 1836 |
Screen* |
| 1837 |
); |
| 1838 |
|
| 1839 |
extern int XScreenNumberOfScreen( |
| 1840 |
Screen* |
| 1841 |
); |
| 1842 |
|
| 1843 |
typedef int (*XErrorHandler) ( |
| 1844 |
Display* , |
| 1845 |
XErrorEvent* |
| 1846 |
); |
| 1847 |
|
| 1848 |
extern XErrorHandler XSetErrorHandler ( |
| 1849 |
XErrorHandler |
| 1850 |
); |
| 1851 |
|
| 1852 |
|
| 1853 |
typedef int (*XIOErrorHandler) ( |
| 1854 |
Display* |
| 1855 |
); |
| 1856 |
|
| 1857 |
extern XIOErrorHandler XSetIOErrorHandler ( |
| 1858 |
XIOErrorHandler |
| 1859 |
); |
| 1860 |
|
| 1861 |
typedef void (*XIOErrorExitHandler) ( |
| 1862 |
Display*, |
| 1863 |
void* |
| 1864 |
); |
| 1865 |
|
| 1866 |
extern void XSetIOErrorExitHandler ( |
| 1867 |
Display*, |
| 1868 |
XIOErrorExitHandler, |
| 1869 |
void* |
| 1870 |
); |
| 1871 |
|
| 1872 |
extern XPixmapFormatValues *XListPixmapFormats( |
| 1873 |
Display* , |
| 1874 |
int* |
| 1875 |
); |
| 1876 |
extern int *XListDepths( |
| 1877 |
Display* , |
| 1878 |
int , |
| 1879 |
int* |
| 1880 |
); |
| 1881 |
|
| 1882 |
|
| 1883 |
|
| 1884 |
extern Status XReconfigureWMWindow( |
| 1885 |
Display* , |
| 1886 |
Window , |
| 1887 |
int , |
| 1888 |
unsigned int , |
| 1889 |
XWindowChanges* |
| 1890 |
); |
| 1891 |
|
| 1892 |
extern Status XGetWMProtocols( |
| 1893 |
Display* , |
| 1894 |
Window , |
| 1895 |
Atom** , |
| 1896 |
int* |
| 1897 |
); |
| 1898 |
extern Status XSetWMProtocols( |
| 1899 |
Display* , |
| 1900 |
Window , |
| 1901 |
Atom* , |
| 1902 |
int |
| 1903 |
); |
| 1904 |
extern Status XIconifyWindow( |
| 1905 |
Display* , |
| 1906 |
Window , |
| 1907 |
int |
| 1908 |
); |
| 1909 |
extern Status XWithdrawWindow( |
| 1910 |
Display* , |
| 1911 |
Window , |
| 1912 |
int |
| 1913 |
); |
| 1914 |
extern Status XGetCommand( |
| 1915 |
Display* , |
| 1916 |
Window , |
| 1917 |
char*** , |
| 1918 |
int* |
| 1919 |
); |
| 1920 |
extern Status XGetWMColormapWindows( |
| 1921 |
Display* , |
| 1922 |
Window , |
| 1923 |
Window** , |
| 1924 |
int* |
| 1925 |
); |
| 1926 |
extern Status XSetWMColormapWindows( |
| 1927 |
Display* , |
| 1928 |
Window , |
| 1929 |
Window* , |
| 1930 |
int |
| 1931 |
); |
| 1932 |
extern void XFreeStringList( |
| 1933 |
char** |
| 1934 |
); |
| 1935 |
extern int XSetTransientForHint( |
| 1936 |
Display* , |
| 1937 |
Window , |
| 1938 |
Window |
| 1939 |
); |
| 1940 |
|
| 1941 |
|
| 1942 |
|
| 1943 |
extern int XActivateScreenSaver( |
| 1944 |
Display* |
| 1945 |
); |
| 1946 |
|
| 1947 |
extern int XAddHost( |
| 1948 |
Display* , |
| 1949 |
XHostAddress* |
| 1950 |
); |
| 1951 |
|
| 1952 |
extern int XAddHosts( |
| 1953 |
Display* , |
| 1954 |
XHostAddress* , |
| 1955 |
int |
| 1956 |
); |
| 1957 |
|
| 1958 |
extern int XAddToExtensionList( |
| 1959 |
struct _XExtData** , |
| 1960 |
XExtData* |
| 1961 |
); |
| 1962 |
|
| 1963 |
extern int XAddToSaveSet( |
| 1964 |
Display* , |
| 1965 |
Window |
| 1966 |
); |
| 1967 |
|
| 1968 |
extern Status XAllocColor( |
| 1969 |
Display* , |
| 1970 |
Colormap , |
| 1971 |
XColor* |
| 1972 |
); |
| 1973 |
|
| 1974 |
extern Status XAllocColorCells( |
| 1975 |
Display* , |
| 1976 |
Colormap , |
| 1977 |
Bool , |
| 1978 |
unsigned long* , |
| 1979 |
unsigned int , |
| 1980 |
unsigned long* , |
| 1981 |
unsigned int |
| 1982 |
); |
| 1983 |
|
| 1984 |
extern Status XAllocColorPlanes( |
| 1985 |
Display* , |
| 1986 |
Colormap , |
| 1987 |
Bool , |
| 1988 |
unsigned long* , |
| 1989 |
int , |
| 1990 |
int , |
| 1991 |
int , |
| 1992 |
int , |
| 1993 |
unsigned long* , |
| 1994 |
unsigned long* , |
| 1995 |
unsigned long* |
| 1996 |
); |
| 1997 |
|
| 1998 |
extern Status XAllocNamedColor( |
| 1999 |
Display* , |
| 2000 |
Colormap , |
| 2001 |
_Xconst char* , |
| 2002 |
XColor* , |
| 2003 |
XColor* |
| 2004 |
); |
| 2005 |
|
| 2006 |
extern int XAllowEvents( |
| 2007 |
Display* , |
| 2008 |
int , |
| 2009 |
Time |
| 2010 |
); |
| 2011 |
|
| 2012 |
extern int XAutoRepeatOff( |
| 2013 |
Display* |
| 2014 |
); |
| 2015 |
|
| 2016 |
extern int XAutoRepeatOn( |
| 2017 |
Display* |
| 2018 |
); |
| 2019 |
|
| 2020 |
extern int XBell( |
| 2021 |
Display* , |
| 2022 |
int |
| 2023 |
); |
| 2024 |
|
| 2025 |
extern int XBitmapBitOrder( |
| 2026 |
Display* |
| 2027 |
); |
| 2028 |
|
| 2029 |
extern int XBitmapPad( |
| 2030 |
Display* |
| 2031 |
); |
| 2032 |
|
| 2033 |
extern int XBitmapUnit( |
| 2034 |
Display* |
| 2035 |
); |
| 2036 |
|
| 2037 |
extern int XCellsOfScreen( |
| 2038 |
Screen* |
| 2039 |
); |
| 2040 |
|
| 2041 |
extern int XChangeActivePointerGrab( |
| 2042 |
Display* , |
| 2043 |
unsigned int , |
| 2044 |
Cursor , |
| 2045 |
Time |
| 2046 |
); |
| 2047 |
|
| 2048 |
extern int XChangeGC( |
| 2049 |
Display* , |
| 2050 |
GC , |
| 2051 |
unsigned long , |
| 2052 |
XGCValues* |
| 2053 |
); |
| 2054 |
|
| 2055 |
extern int XChangeKeyboardControl( |
| 2056 |
Display* , |
| 2057 |
unsigned long , |
| 2058 |
XKeyboardControl* |
| 2059 |
); |
| 2060 |
|
| 2061 |
extern int XChangeKeyboardMapping( |
| 2062 |
Display* , |
| 2063 |
int , |
| 2064 |
int , |
| 2065 |
KeySym* , |
| 2066 |
int |
| 2067 |
); |
| 2068 |
|
| 2069 |
extern int XChangePointerControl( |
| 2070 |
Display* , |
| 2071 |
Bool , |
| 2072 |
Bool , |
| 2073 |
int , |
| 2074 |
int , |
| 2075 |
int |
| 2076 |
); |
| 2077 |
|
| 2078 |
extern int XChangeProperty( |
| 2079 |
Display* , |
| 2080 |
Window , |
| 2081 |
Atom , |
| 2082 |
Atom , |
| 2083 |
int , |
| 2084 |
int , |
| 2085 |
_Xconst unsigned char* , |
| 2086 |
int |
| 2087 |
); |
| 2088 |
|
| 2089 |
extern int XChangeSaveSet( |
| 2090 |
Display* , |
| 2091 |
Window , |
| 2092 |
int |
| 2093 |
); |
| 2094 |
|
| 2095 |
extern int XChangeWindowAttributes( |
| 2096 |
Display* , |
| 2097 |
Window , |
| 2098 |
unsigned long , |
| 2099 |
XSetWindowAttributes* |
| 2100 |
); |
| 2101 |
|
| 2102 |
extern Bool XCheckIfEvent( |
| 2103 |
Display* , |
| 2104 |
XEvent* , |
| 2105 |
Bool (*) ( |
| 2106 |
Display* , |
| 2107 |
XEvent* , |
| 2108 |
XPointer |
| 2109 |
) , |
| 2110 |
XPointer |
| 2111 |
); |
| 2112 |
|
| 2113 |
extern Bool XCheckMaskEvent( |
| 2114 |
Display* , |
| 2115 |
long , |
| 2116 |
XEvent* |
| 2117 |
); |
| 2118 |
|
| 2119 |
extern Bool XCheckTypedEvent( |
| 2120 |
Display* , |
| 2121 |
int , |
| 2122 |
XEvent* |
| 2123 |
); |
| 2124 |
|
| 2125 |
extern Bool XCheckTypedWindowEvent( |
| 2126 |
Display* , |
| 2127 |
Window , |
| 2128 |
int , |
| 2129 |
XEvent* |
| 2130 |
); |
| 2131 |
|
| 2132 |
extern Bool XCheckWindowEvent( |
| 2133 |
Display* , |
| 2134 |
Window , |
| 2135 |
long , |
| 2136 |
XEvent* |
| 2137 |
); |
| 2138 |
|
| 2139 |
extern int XCirculateSubwindows( |
| 2140 |
Display* , |
| 2141 |
Window , |
| 2142 |
int |
| 2143 |
); |
| 2144 |
|
| 2145 |
extern int XCirculateSubwindowsDown( |
| 2146 |
Display* , |
| 2147 |
Window |
| 2148 |
); |
| 2149 |
|
| 2150 |
extern int XCirculateSubwindowsUp( |
| 2151 |
Display* , |
| 2152 |
Window |
| 2153 |
); |
| 2154 |
|
| 2155 |
extern int XClearArea( |
| 2156 |
Display* , |
| 2157 |
Window , |
| 2158 |
int , |
| 2159 |
int , |
| 2160 |
unsigned int , |
| 2161 |
unsigned int , |
| 2162 |
Bool |
| 2163 |
); |
| 2164 |
|
| 2165 |
extern int XClearWindow( |
| 2166 |
Display* , |
| 2167 |
Window |
| 2168 |
); |
| 2169 |
|
| 2170 |
extern int XCloseDisplay( |
| 2171 |
Display* |
| 2172 |
); |
| 2173 |
|
| 2174 |
extern int XConfigureWindow( |
| 2175 |
Display* , |
| 2176 |
Window , |
| 2177 |
unsigned int , |
| 2178 |
XWindowChanges* |
| 2179 |
); |
| 2180 |
|
| 2181 |
extern int XConnectionNumber( |
| 2182 |
Display* |
| 2183 |
); |
| 2184 |
|
| 2185 |
extern int XConvertSelection( |
| 2186 |
Display* , |
| 2187 |
Atom , |
| 2188 |
Atom , |
| 2189 |
Atom , |
| 2190 |
Window , |
| 2191 |
Time |
| 2192 |
); |
| 2193 |
|
| 2194 |
extern int XCopyArea( |
| 2195 |
Display* , |
| 2196 |
Drawable , |
| 2197 |
Drawable , |
| 2198 |
GC , |
| 2199 |
int , |
| 2200 |
int , |
| 2201 |
unsigned int , |
| 2202 |
unsigned int , |
| 2203 |
int , |
| 2204 |
int |
| 2205 |
); |
| 2206 |
|
| 2207 |
extern int XCopyGC( |
| 2208 |
Display* , |
| 2209 |
GC , |
| 2210 |
unsigned long , |
| 2211 |
GC |
| 2212 |
); |
| 2213 |
|
| 2214 |
extern int XCopyPlane( |
| 2215 |
Display* , |
| 2216 |
Drawable , |
| 2217 |
Drawable , |
| 2218 |
GC , |
| 2219 |
int , |
| 2220 |
int , |
| 2221 |
unsigned int , |
| 2222 |
unsigned int , |
| 2223 |
int , |
| 2224 |
int , |
| 2225 |
unsigned long |
| 2226 |
); |
| 2227 |
|
| 2228 |
extern int XDefaultDepth( |
| 2229 |
Display* , |
| 2230 |
int |
| 2231 |
); |
| 2232 |
|
| 2233 |
extern int XDefaultDepthOfScreen( |
| 2234 |
Screen* |
| 2235 |
); |
| 2236 |
|
| 2237 |
extern int XDefaultScreen( |
| 2238 |
Display* |
| 2239 |
); |
| 2240 |
|
| 2241 |
extern int XDefineCursor( |
| 2242 |
Display* , |
| 2243 |
Window , |
| 2244 |
Cursor |
| 2245 |
); |
| 2246 |
|
| 2247 |
extern int XDeleteProperty( |
| 2248 |
Display* , |
| 2249 |
Window , |
| 2250 |
Atom |
| 2251 |
); |
| 2252 |
|
| 2253 |
extern int XDestroyWindow( |
| 2254 |
Display* , |
| 2255 |
Window |
| 2256 |
); |
| 2257 |
|
| 2258 |
extern int XDestroySubwindows( |
| 2259 |
Display* , |
| 2260 |
Window |
| 2261 |
); |
| 2262 |
|
| 2263 |
extern int XDoesBackingStore( |
| 2264 |
Screen* |
| 2265 |
); |
| 2266 |
|
| 2267 |
extern Bool XDoesSaveUnders( |
| 2268 |
Screen* |
| 2269 |
); |
| 2270 |
|
| 2271 |
extern int XDisableAccessControl( |
| 2272 |
Display* |
| 2273 |
); |
| 2274 |
|
| 2275 |
|
| 2276 |
extern int XDisplayCells( |
| 2277 |
Display* , |
| 2278 |
int |
| 2279 |
); |
| 2280 |
|
| 2281 |
extern int XDisplayHeight( |
| 2282 |
Display* , |
| 2283 |
int |
| 2284 |
); |
| 2285 |
|
| 2286 |
extern int XDisplayHeightMM( |
| 2287 |
Display* , |
| 2288 |
int |
| 2289 |
); |
| 2290 |
|
| 2291 |
extern int XDisplayKeycodes( |
| 2292 |
Display* , |
| 2293 |
int* , |
| 2294 |
int* |
| 2295 |
); |
| 2296 |
|
| 2297 |
extern int XDisplayPlanes( |
| 2298 |
Display* , |
| 2299 |
int |
| 2300 |
); |
| 2301 |
|
| 2302 |
extern int XDisplayWidth( |
| 2303 |
Display* , |
| 2304 |
int |
| 2305 |
); |
| 2306 |
|
| 2307 |
extern int XDisplayWidthMM( |
| 2308 |
Display* , |
| 2309 |
int |
| 2310 |
); |
| 2311 |
|
| 2312 |
extern int XDrawArc( |
| 2313 |
Display* , |
| 2314 |
Drawable , |
| 2315 |
GC , |
| 2316 |
int , |
| 2317 |
int , |
| 2318 |
unsigned int , |
| 2319 |
unsigned int , |
| 2320 |
int , |
| 2321 |
int |
| 2322 |
); |
| 2323 |
|
| 2324 |
extern int XDrawArcs( |
| 2325 |
Display* , |
| 2326 |
Drawable , |
| 2327 |
GC , |
| 2328 |
XArc* , |
| 2329 |
int |
| 2330 |
); |
| 2331 |
|
| 2332 |
extern int XDrawImageString( |
| 2333 |
Display* , |
| 2334 |
Drawable , |
| 2335 |
GC , |
| 2336 |
int , |
| 2337 |
int , |
| 2338 |
_Xconst char* , |
| 2339 |
int |
| 2340 |
); |
| 2341 |
|
| 2342 |
extern int XDrawImageString16( |
| 2343 |
Display* , |
| 2344 |
Drawable , |
| 2345 |
GC , |
| 2346 |
int , |
| 2347 |
int , |
| 2348 |
_Xconst XChar2b* , |
| 2349 |
int |
| 2350 |
); |
| 2351 |
|
| 2352 |
extern int XDrawLine( |
| 2353 |
Display* , |
| 2354 |
Drawable , |
| 2355 |
GC , |
| 2356 |
int , |
| 2357 |
int , |
| 2358 |
int , |
| 2359 |
int |
| 2360 |
); |
| 2361 |
|
| 2362 |
extern int XDrawLines( |
| 2363 |
Display* , |
| 2364 |
Drawable , |
| 2365 |
GC , |
| 2366 |
XPoint* , |
| 2367 |
int , |
| 2368 |
int |
| 2369 |
); |
| 2370 |
|
| 2371 |
extern int XDrawPoint( |
| 2372 |
Display* , |
| 2373 |
Drawable , |
| 2374 |
GC , |
| 2375 |
int , |
| 2376 |
int |
| 2377 |
); |
| 2378 |
|
| 2379 |
extern int XDrawPoints( |
| 2380 |
Display* , |
| 2381 |
Drawable , |
| 2382 |
GC , |
| 2383 |
XPoint* , |
| 2384 |
int , |
| 2385 |
int |
| 2386 |
); |
| 2387 |
|
| 2388 |
extern int XDrawRectangle( |
| 2389 |
Display* , |
| 2390 |
Drawable , |
| 2391 |
GC , |
| 2392 |
int , |
| 2393 |
int , |
| 2394 |
unsigned int , |
| 2395 |
unsigned int |
| 2396 |
); |
| 2397 |
|
| 2398 |
extern int XDrawRectangles( |
| 2399 |
Display* , |
| 2400 |
Drawable , |
| 2401 |
GC , |
| 2402 |
XRectangle* , |
| 2403 |
int |
| 2404 |
); |
| 2405 |
|
| 2406 |
extern int XDrawSegments( |
| 2407 |
Display* , |
| 2408 |
Drawable , |
| 2409 |
GC , |
| 2410 |
XSegment* , |
| 2411 |
int |
| 2412 |
); |
| 2413 |
|
| 2414 |
extern int XDrawString( |
| 2415 |
Display* , |
| 2416 |
Drawable , |
| 2417 |
GC , |
| 2418 |
int , |
| 2419 |
int , |
| 2420 |
_Xconst char* , |
| 2421 |
int |
| 2422 |
); |
| 2423 |
|
| 2424 |
extern int XDrawString16( |
| 2425 |
Display* , |
| 2426 |
Drawable , |
| 2427 |
GC , |
| 2428 |
int , |
| 2429 |
int , |
| 2430 |
_Xconst XChar2b* , |
| 2431 |
int |
| 2432 |
); |
| 2433 |
|
| 2434 |
extern int XDrawText( |
| 2435 |
Display* , |
| 2436 |
Drawable , |
| 2437 |
GC , |
| 2438 |
int , |
| 2439 |
int , |
| 2440 |
XTextItem* , |
| 2441 |
int |
| 2442 |
); |
| 2443 |
|
| 2444 |
extern int XDrawText16( |
| 2445 |
Display* , |
| 2446 |
Drawable , |
| 2447 |
GC , |
| 2448 |
int , |
| 2449 |
int , |
| 2450 |
XTextItem16* , |
| 2451 |
int |
| 2452 |
); |
| 2453 |
|
| 2454 |
extern int XEnableAccessControl( |
| 2455 |
Display* |
| 2456 |
); |
| 2457 |
|
| 2458 |
extern int XEventsQueued( |
| 2459 |
Display* , |
| 2460 |
int |
| 2461 |
); |
| 2462 |
|
| 2463 |
extern Status XFetchName( |
| 2464 |
Display* , |
| 2465 |
Window , |
| 2466 |
char** |
| 2467 |
); |
| 2468 |
|
| 2469 |
extern int XFillArc( |
| 2470 |
Display* , |
| 2471 |
Drawable , |
| 2472 |
GC , |
| 2473 |
int , |
| 2474 |
int , |
| 2475 |
unsigned int , |
| 2476 |
unsigned int , |
| 2477 |
int , |
| 2478 |
int |
| 2479 |
); |
| 2480 |
|
| 2481 |
extern int XFillArcs( |
| 2482 |
Display* , |
| 2483 |
Drawable , |
| 2484 |
GC , |
| 2485 |
XArc* , |
| 2486 |
int |
| 2487 |
); |
| 2488 |
|
| 2489 |
extern int XFillPolygon( |
| 2490 |
Display* , |
| 2491 |
Drawable , |
| 2492 |
GC , |
| 2493 |
XPoint* , |
| 2494 |
int , |
| 2495 |
int , |
| 2496 |
int |
| 2497 |
); |
| 2498 |
|
| 2499 |
extern int XFillRectangle( |
| 2500 |
Display* , |
| 2501 |
Drawable , |
| 2502 |
GC , |
| 2503 |
int , |
| 2504 |
int , |
| 2505 |
unsigned int , |
| 2506 |
unsigned int |
| 2507 |
); |
| 2508 |
|
| 2509 |
extern int XFillRectangles( |
| 2510 |
Display* , |
| 2511 |
Drawable , |
| 2512 |
GC , |
| 2513 |
XRectangle* , |
| 2514 |
int |
| 2515 |
); |
| 2516 |
|
| 2517 |
extern int XFlush( |
| 2518 |
Display* |
| 2519 |
); |
| 2520 |
|
| 2521 |
extern int XForceScreenSaver( |
| 2522 |
Display* , |
| 2523 |
int |
| 2524 |
); |
| 2525 |
|
| 2526 |
extern int XFree( |
| 2527 |
void* |
| 2528 |
); |
| 2529 |
|
| 2530 |
extern int XFreeColormap( |
| 2531 |
Display* , |
| 2532 |
Colormap |
| 2533 |
); |
| 2534 |
|
| 2535 |
extern int XFreeColors( |
| 2536 |
Display* , |
| 2537 |
Colormap , |
| 2538 |
unsigned long* , |
| 2539 |
int , |
| 2540 |
unsigned long |
| 2541 |
); |
| 2542 |
|
| 2543 |
extern int XFreeCursor( |
| 2544 |
Display* , |
| 2545 |
Cursor |
| 2546 |
); |
| 2547 |
|
| 2548 |
extern int XFreeExtensionList( |
| 2549 |
char** |
| 2550 |
); |
| 2551 |
|
| 2552 |
extern int XFreeFont( |
| 2553 |
Display* , |
| 2554 |
XFontStruct* |
| 2555 |
); |
| 2556 |
|
| 2557 |
extern int XFreeFontInfo( |
| 2558 |
char** , |
| 2559 |
XFontStruct* , |
| 2560 |
int |
| 2561 |
); |
| 2562 |
|
| 2563 |
extern int XFreeFontNames( |
| 2564 |
char** |
| 2565 |
); |
| 2566 |
|
| 2567 |
extern int XFreeFontPath( |
| 2568 |
char** |
| 2569 |
); |
| 2570 |
|
| 2571 |
extern int XFreeGC( |
| 2572 |
Display* , |
| 2573 |
GC |
| 2574 |
); |
| 2575 |
|
| 2576 |
extern int XFreeModifiermap( |
| 2577 |
XModifierKeymap* |
| 2578 |
); |
| 2579 |
|
| 2580 |
extern int XFreePixmap( |
| 2581 |
Display* , |
| 2582 |
Pixmap |
| 2583 |
); |
| 2584 |
|
| 2585 |
extern int XGeometry( |
| 2586 |
Display* , |
| 2587 |
int , |
| 2588 |
_Xconst char* , |
| 2589 |
_Xconst char* , |
| 2590 |
unsigned int , |
| 2591 |
unsigned int , |
| 2592 |
unsigned int , |
| 2593 |
int , |
| 2594 |
int , |
| 2595 |
int* , |
| 2596 |
int* , |
| 2597 |
int* , |
| 2598 |
int* |
| 2599 |
); |
| 2600 |
|
| 2601 |
extern int XGetErrorDatabaseText( |
| 2602 |
Display* , |
| 2603 |
_Xconst char* , |
| 2604 |
_Xconst char* , |
| 2605 |
_Xconst char* , |
| 2606 |
char* , |
| 2607 |
int |
| 2608 |
); |
| 2609 |
|
| 2610 |
extern int XGetErrorText( |
| 2611 |
Display* , |
| 2612 |
int , |
| 2613 |
char* , |
| 2614 |
int |
| 2615 |
); |
| 2616 |
|
| 2617 |
extern Bool XGetFontProperty( |
| 2618 |
XFontStruct* , |
| 2619 |
Atom , |
| 2620 |
unsigned long* |
| 2621 |
); |
| 2622 |
|
| 2623 |
extern Status XGetGCValues( |
| 2624 |
Display* , |
| 2625 |
GC , |
| 2626 |
unsigned long , |
| 2627 |
XGCValues* |
| 2628 |
); |
| 2629 |
|
| 2630 |
extern Status XGetGeometry( |
| 2631 |
Display* , |
| 2632 |
Drawable , |
| 2633 |
Window* , |
| 2634 |
int* , |
| 2635 |
int* , |
| 2636 |
unsigned int* , |
| 2637 |
unsigned int* , |
| 2638 |
unsigned int* , |
| 2639 |
unsigned int* |
| 2640 |
); |
| 2641 |
|
| 2642 |
extern Status XGetIconName( |
| 2643 |
Display* , |
| 2644 |
Window , |
| 2645 |
char** |
| 2646 |
); |
| 2647 |
|
| 2648 |
extern int XGetInputFocus( |
| 2649 |
Display* , |
| 2650 |
Window* , |
| 2651 |
int* |
| 2652 |
); |
| 2653 |
|
| 2654 |
extern int XGetKeyboardControl( |
| 2655 |
Display* , |
| 2656 |
XKeyboardState* |
| 2657 |
); |
| 2658 |
|
| 2659 |
extern int XGetPointerControl( |
| 2660 |
Display* , |
| 2661 |
int* , |
| 2662 |
int* , |
| 2663 |
int* |
| 2664 |
); |
| 2665 |
|
| 2666 |
extern int XGetPointerMapping( |
| 2667 |
Display* , |
| 2668 |
unsigned char* , |
| 2669 |
int |
| 2670 |
); |
| 2671 |
|
| 2672 |
extern int XGetScreenSaver( |
| 2673 |
Display* , |
| 2674 |
int* , |
| 2675 |
int* , |
| 2676 |
int* , |
| 2677 |
int* |
| 2678 |
); |
| 2679 |
|
| 2680 |
extern Status XGetTransientForHint( |
| 2681 |
Display* , |
| 2682 |
Window , |
| 2683 |
Window* |
| 2684 |
); |
| 2685 |
|
| 2686 |
extern int XGetWindowProperty( |
| 2687 |
Display* , |
| 2688 |
Window , |
| 2689 |
Atom , |
| 2690 |
long , |
| 2691 |
long , |
| 2692 |
Bool , |
| 2693 |
Atom , |
| 2694 |
Atom* , |
| 2695 |
int* , |
| 2696 |
unsigned long* , |
| 2697 |
unsigned long* , |
| 2698 |
unsigned char** |
| 2699 |
); |
| 2700 |
|
| 2701 |
extern Status XGetWindowAttributes( |
| 2702 |
Display* , |
| 2703 |
Window , |
| 2704 |
XWindowAttributes* |
| 2705 |
); |
| 2706 |
|
| 2707 |
extern int XGrabButton( |
| 2708 |
Display* , |
| 2709 |
unsigned int , |
| 2710 |
unsigned int , |
| 2711 |
Window , |
| 2712 |
Bool , |
| 2713 |
unsigned int , |
| 2714 |
int , |
| 2715 |
int , |
| 2716 |
Window , |
| 2717 |
Cursor |
| 2718 |
); |
| 2719 |
|
| 2720 |
extern int XGrabKey( |
| 2721 |
Display* , |
| 2722 |
int , |
| 2723 |
unsigned int , |
| 2724 |
Window , |
| 2725 |
Bool , |
| 2726 |
int , |
| 2727 |
int |
| 2728 |
); |
| 2729 |
|
| 2730 |
extern int XGrabKeyboard( |
| 2731 |
Display* , |
| 2732 |
Window , |
| 2733 |
Bool , |
| 2734 |
int , |
| 2735 |
int , |
| 2736 |
Time |
| 2737 |
); |
| 2738 |
|
| 2739 |
extern int XGrabPointer( |
| 2740 |
Display* , |
| 2741 |
Window , |
| 2742 |
Bool , |
| 2743 |
unsigned int , |
| 2744 |
int , |
| 2745 |
int , |
| 2746 |
Window , |
| 2747 |
Cursor , |
| 2748 |
Time |
| 2749 |
); |
| 2750 |
|
| 2751 |
extern int XGrabServer( |
| 2752 |
Display* |
| 2753 |
); |
| 2754 |
|
| 2755 |
extern int XHeightMMOfScreen( |
| 2756 |
Screen* |
| 2757 |
); |
| 2758 |
|
| 2759 |
extern int XHeightOfScreen( |
| 2760 |
Screen* |
| 2761 |
); |
| 2762 |
|
| 2763 |
extern int XIfEvent( |
| 2764 |
Display* , |
| 2765 |
XEvent* , |
| 2766 |
Bool (*) ( |
| 2767 |
Display* , |
| 2768 |
XEvent* , |
| 2769 |
XPointer |
| 2770 |
) , |
| 2771 |
XPointer |
| 2772 |
); |
| 2773 |
|
| 2774 |
extern int XImageByteOrder( |
| 2775 |
Display* |
| 2776 |
); |
| 2777 |
|
| 2778 |
extern int XInstallColormap( |
| 2779 |
Display* , |
| 2780 |
Colormap |
| 2781 |
); |
| 2782 |
|
| 2783 |
extern KeyCode XKeysymToKeycode( |
| 2784 |
Display* , |
| 2785 |
KeySym |
| 2786 |
); |
| 2787 |
|
| 2788 |
extern int XKillClient( |
| 2789 |
Display* , |
| 2790 |
XID |
| 2791 |
); |
| 2792 |
|
| 2793 |
extern Status XLookupColor( |
| 2794 |
Display* , |
| 2795 |
Colormap , |
| 2796 |
_Xconst char* , |
| 2797 |
XColor* , |
| 2798 |
XColor* |
| 2799 |
); |
| 2800 |
|
| 2801 |
extern int XLowerWindow( |
| 2802 |
Display* , |
| 2803 |
Window |
| 2804 |
); |
| 2805 |
|
| 2806 |
extern int XMapRaised( |
| 2807 |
Display* , |
| 2808 |
Window |
| 2809 |
); |
| 2810 |
|
| 2811 |
extern int XMapSubwindows( |
| 2812 |
Display* , |
| 2813 |
Window |
| 2814 |
); |
| 2815 |
|
| 2816 |
extern int XMapWindow( |
| 2817 |
Display* , |
| 2818 |
Window |
| 2819 |
); |
| 2820 |
|
| 2821 |
extern int XMaskEvent( |
| 2822 |
Display* , |
| 2823 |
long , |
| 2824 |
XEvent* |
| 2825 |
); |
| 2826 |
|
| 2827 |
extern int XMaxCmapsOfScreen( |
| 2828 |
Screen* |
| 2829 |
); |
| 2830 |
|
| 2831 |
extern int XMinCmapsOfScreen( |
| 2832 |
Screen* |
| 2833 |
); |
| 2834 |
|
| 2835 |
extern int XMoveResizeWindow( |
| 2836 |
Display* , |
| 2837 |
Window , |
| 2838 |
int , |
| 2839 |
int , |
| 2840 |
unsigned int , |
| 2841 |
unsigned int |
| 2842 |
); |
| 2843 |
|
| 2844 |
extern int XMoveWindow( |
| 2845 |
Display* , |
| 2846 |
Window , |
| 2847 |
int , |
| 2848 |
int |
| 2849 |
); |
| 2850 |
|
| 2851 |
extern int XNextEvent( |
| 2852 |
Display* , |
| 2853 |
XEvent* |
| 2854 |
); |
| 2855 |
|
| 2856 |
extern int XNoOp( |
| 2857 |
Display* |
| 2858 |
); |
| 2859 |
|
| 2860 |
extern Status XParseColor( |
| 2861 |
Display* , |
| 2862 |
Colormap , |
| 2863 |
_Xconst char* , |
| 2864 |
XColor* |
| 2865 |
); |
| 2866 |
|
| 2867 |
extern int XParseGeometry( |
| 2868 |
_Xconst char* , |
| 2869 |
int* , |
| 2870 |
int* , |
| 2871 |
unsigned int* , |
| 2872 |
unsigned int* |
| 2873 |
); |
| 2874 |
|
| 2875 |
extern int XPeekEvent( |
| 2876 |
Display* , |
| 2877 |
XEvent* |
| 2878 |
); |
| 2879 |
|
| 2880 |
extern int XPeekIfEvent( |
| 2881 |
Display* , |
| 2882 |
XEvent* , |
| 2883 |
Bool (*) ( |
| 2884 |
Display* , |
| 2885 |
XEvent* , |
| 2886 |
XPointer |
| 2887 |
) , |
| 2888 |
XPointer |
| 2889 |
); |
| 2890 |
|
| 2891 |
extern int XPending( |
| 2892 |
Display* |
| 2893 |
); |
| 2894 |
|
| 2895 |
extern int XPlanesOfScreen( |
| 2896 |
Screen* |
| 2897 |
); |
| 2898 |
|
| 2899 |
extern int XProtocolRevision( |
| 2900 |
Display* |
| 2901 |
); |
| 2902 |
|
| 2903 |
extern int XProtocolVersion( |
| 2904 |
Display* |
| 2905 |
); |
| 2906 |
|
| 2907 |
|
| 2908 |
extern int XPutBackEvent( |
| 2909 |
Display* , |
| 2910 |
XEvent* |
| 2911 |
); |
| 2912 |
|
| 2913 |
extern int XPutImage( |
| 2914 |
Display* , |
| 2915 |
Drawable , |
| 2916 |
GC , |
| 2917 |
XImage* , |
| 2918 |
int , |
| 2919 |
int , |
| 2920 |
int , |
| 2921 |
int , |
| 2922 |
unsigned int , |
| 2923 |
unsigned int |
| 2924 |
); |
| 2925 |
|
| 2926 |
extern int XQLength( |
| 2927 |
Display* |
| 2928 |
); |
| 2929 |
|
| 2930 |
extern Status XQueryBestCursor( |
| 2931 |
Display* , |
| 2932 |
Drawable , |
| 2933 |
unsigned int , |
| 2934 |
unsigned int , |
| 2935 |
unsigned int* , |
| 2936 |
unsigned int* |
| 2937 |
); |
| 2938 |
|
| 2939 |
extern Status XQueryBestSize( |
| 2940 |
Display* , |
| 2941 |
int , |
| 2942 |
Drawable , |
| 2943 |
unsigned int , |
| 2944 |
unsigned int , |
| 2945 |
unsigned int* , |
| 2946 |
unsigned int* |
| 2947 |
); |
| 2948 |
|
| 2949 |
extern Status XQueryBestStipple( |
| 2950 |
Display* , |
| 2951 |
Drawable , |
| 2952 |
unsigned int , |
| 2953 |
unsigned int , |
| 2954 |
unsigned int* , |
| 2955 |
unsigned int* |
| 2956 |
); |
| 2957 |
|
| 2958 |
extern Status XQueryBestTile( |
| 2959 |
Display* , |
| 2960 |
Drawable , |
| 2961 |
unsigned int , |
| 2962 |
unsigned int , |
| 2963 |
unsigned int* , |
| 2964 |
unsigned int* |
| 2965 |
); |
| 2966 |
|
| 2967 |
extern int XQueryColor( |
| 2968 |
Display* , |
| 2969 |
Colormap , |
| 2970 |
XColor* |
| 2971 |
); |
| 2972 |
|
| 2973 |
extern int XQueryColors( |
| 2974 |
Display* , |
| 2975 |
Colormap , |
| 2976 |
XColor* , |
| 2977 |
int |
| 2978 |
); |
| 2979 |
|
| 2980 |
extern Bool XQueryExtension( |
| 2981 |
Display* , |
| 2982 |
_Xconst char* , |
| 2983 |
int* , |
| 2984 |
int* , |
| 2985 |
int* |
| 2986 |
); |
| 2987 |
|
| 2988 |
extern int XQueryKeymap( |
| 2989 |
Display* , |
| 2990 |
char [32] |
| 2991 |
); |
| 2992 |
|
| 2993 |
extern Bool XQueryPointer( |
| 2994 |
Display* , |
| 2995 |
Window , |
| 2996 |
Window* , |
| 2997 |
Window* , |
| 2998 |
int* , |
| 2999 |
int* , |
| 3000 |
int* , |
| 3001 |
int* , |
| 3002 |
unsigned int* |
| 3003 |
); |
| 3004 |
|
| 3005 |
extern int XQueryTextExtents( |
| 3006 |
Display* , |
| 3007 |
XID , |
| 3008 |
_Xconst char* , |
| 3009 |
int , |
| 3010 |
int* , |
| 3011 |
int* , |
| 3012 |
int* , |
| 3013 |
XCharStruct* |
| 3014 |
); |
| 3015 |
|
| 3016 |
extern int XQueryTextExtents16( |
| 3017 |
Display* , |
| 3018 |
XID , |
| 3019 |
_Xconst XChar2b* , |
| 3020 |
int , |
| 3021 |
int* , |
| 3022 |
int* , |
| 3023 |
int* , |
| 3024 |
XCharStruct* |
| 3025 |
); |
| 3026 |
|
| 3027 |
extern Status XQueryTree( |
| 3028 |
Display* , |
| 3029 |
Window , |
| 3030 |
Window* , |
| 3031 |
Window* , |
| 3032 |
Window** , |
| 3033 |
unsigned int* |
| 3034 |
); |
| 3035 |
|
| 3036 |
extern int XRaiseWindow( |
| 3037 |
Display* , |
| 3038 |
Window |
| 3039 |
); |
| 3040 |
|
| 3041 |
extern int XReadBitmapFile( |
| 3042 |
Display* , |
| 3043 |
Drawable , |
| 3044 |
_Xconst char* , |
| 3045 |
unsigned int* , |
| 3046 |
unsigned int* , |
| 3047 |
Pixmap* , |
| 3048 |
int* , |
| 3049 |
int* |
| 3050 |
); |
| 3051 |
|
| 3052 |
extern int XReadBitmapFileData( |
| 3053 |
_Xconst char* , |
| 3054 |
unsigned int* , |
| 3055 |
unsigned int* , |
| 3056 |
unsigned char** , |
| 3057 |
int* , |
| 3058 |
int* |
| 3059 |
); |
| 3060 |
|
| 3061 |
extern int XRebindKeysym( |
| 3062 |
Display* , |
| 3063 |
KeySym , |
| 3064 |
KeySym* , |
| 3065 |
int , |
| 3066 |
_Xconst unsigned char* , |
| 3067 |
int |
| 3068 |
); |
| 3069 |
|
| 3070 |
extern int XRecolorCursor( |
| 3071 |
Display* , |
| 3072 |
Cursor , |
| 3073 |
XColor* , |
| 3074 |
XColor* |
| 3075 |
); |
| 3076 |
|
| 3077 |
extern int XRefreshKeyboardMapping( |
| 3078 |
XMappingEvent* |
| 3079 |
); |
| 3080 |
|
| 3081 |
extern int XRemoveFromSaveSet( |
| 3082 |
Display* , |
| 3083 |
Window |
| 3084 |
); |
| 3085 |
|
| 3086 |
extern int XRemoveHost( |
| 3087 |
Display* , |
| 3088 |
XHostAddress* |
| 3089 |
); |
| 3090 |
|
| 3091 |
extern int XRemoveHosts( |
| 3092 |
Display* , |
| 3093 |
XHostAddress* , |
| 3094 |
int |
| 3095 |
); |
| 3096 |
|
| 3097 |
extern int XReparentWindow( |
| 3098 |
Display* , |
| 3099 |
Window , |
| 3100 |
Window , |
| 3101 |
int , |
| 3102 |
int |
| 3103 |
); |
| 3104 |
|
| 3105 |
extern int XResetScreenSaver( |
| 3106 |
Display* |
| 3107 |
); |
| 3108 |
|
| 3109 |
extern int XResizeWindow( |
| 3110 |
Display* , |
| 3111 |
Window , |
| 3112 |
unsigned int , |
| 3113 |
unsigned int |
| 3114 |
); |
| 3115 |
|
| 3116 |
extern int XRestackWindows( |
| 3117 |
Display* , |
| 3118 |
Window* , |
| 3119 |
int |
| 3120 |
); |
| 3121 |
|
| 3122 |
extern int XRotateBuffers( |
| 3123 |
Display* , |
| 3124 |
int |
| 3125 |
); |
| 3126 |
|
| 3127 |
extern int XRotateWindowProperties( |
| 3128 |
Display* , |
| 3129 |
Window , |
| 3130 |
Atom* , |
| 3131 |
int , |
| 3132 |
int |
| 3133 |
); |
| 3134 |
|
| 3135 |
extern int XScreenCount( |
| 3136 |
Display* |
| 3137 |
); |
| 3138 |
|
| 3139 |
extern int XSelectInput( |
| 3140 |
Display* , |
| 3141 |
Window , |
| 3142 |
long |
| 3143 |
); |
| 3144 |
|
| 3145 |
extern Status XSendEvent( |
| 3146 |
Display* , |
| 3147 |
Window , |
| 3148 |
Bool , |
| 3149 |
long , |
| 3150 |
XEvent* |
| 3151 |
); |
| 3152 |
|
| 3153 |
extern int XSetAccessControl( |
| 3154 |
Display* , |
| 3155 |
int |
| 3156 |
); |
| 3157 |
|
| 3158 |
extern int XSetArcMode( |
| 3159 |
Display* , |
| 3160 |
GC , |
| 3161 |
int |
| 3162 |
); |
| 3163 |
|
| 3164 |
extern int XSetBackground( |
| 3165 |
Display* , |
| 3166 |
GC , |
| 3167 |
unsigned long |
| 3168 |
); |
| 3169 |
|
| 3170 |
extern int XSetClipMask( |
| 3171 |
Display* , |
| 3172 |
GC , |
| 3173 |
Pixmap |
| 3174 |
); |
| 3175 |
|
| 3176 |
extern int XSetClipOrigin( |
| 3177 |
Display* , |
| 3178 |
GC , |
| 3179 |
int , |
| 3180 |
int |
| 3181 |
); |
| 3182 |
|
| 3183 |
extern int XSetClipRectangles( |
| 3184 |
Display* , |
| 3185 |
GC , |
| 3186 |
int , |
| 3187 |
int , |
| 3188 |
XRectangle* , |
| 3189 |
int , |
| 3190 |
int |
| 3191 |
); |
| 3192 |
|
| 3193 |
extern int XSetCloseDownMode( |
| 3194 |
Display* , |
| 3195 |
int |
| 3196 |
); |
| 3197 |
|
| 3198 |
extern int XSetCommand( |
| 3199 |
Display* , |
| 3200 |
Window , |
| 3201 |
char** , |
| 3202 |
int |
| 3203 |
); |
| 3204 |
|
| 3205 |
extern int XSetDashes( |
| 3206 |
Display* , |
| 3207 |
GC , |
| 3208 |
int , |
| 3209 |
_Xconst char* , |
| 3210 |
int |
| 3211 |
); |
| 3212 |
|
| 3213 |
extern int XSetFillRule( |
| 3214 |
Display* , |
| 3215 |
GC , |
| 3216 |
int |
| 3217 |
); |
| 3218 |
|
| 3219 |
extern int XSetFillStyle( |
| 3220 |
Display* , |
| 3221 |
GC , |
| 3222 |
int |
| 3223 |
); |
| 3224 |
|
| 3225 |
extern int XSetFont( |
| 3226 |
Display* , |
| 3227 |
GC , |
| 3228 |
Font |
| 3229 |
); |
| 3230 |
|
| 3231 |
extern int XSetFontPath( |
| 3232 |
Display* , |
| 3233 |
char** , |
| 3234 |
int |
| 3235 |
); |
| 3236 |
|
| 3237 |
extern int XSetForeground( |
| 3238 |
Display* , |
| 3239 |
GC , |
| 3240 |
unsigned long |
| 3241 |
); |
| 3242 |
|
| 3243 |
extern int XSetFunction( |
| 3244 |
Display* , |
| 3245 |
GC , |
| 3246 |
int |
| 3247 |
); |
| 3248 |
|
| 3249 |
extern int XSetGraphicsExposures( |
| 3250 |
Display* , |
| 3251 |
GC , |
| 3252 |
Bool |
| 3253 |
); |
| 3254 |
|
| 3255 |
extern int XSetIconName( |
| 3256 |
Display* , |
| 3257 |
Window , |
| 3258 |
_Xconst char* |
| 3259 |
); |
| 3260 |
|
| 3261 |
extern int XSetInputFocus( |
| 3262 |
Display* , |
| 3263 |
Window , |
| 3264 |
int , |
| 3265 |
Time |
| 3266 |
); |
| 3267 |
|
| 3268 |
extern int XSetLineAttributes( |
| 3269 |
Display* , |
| 3270 |
GC , |
| 3271 |
unsigned int , |
| 3272 |
int , |
| 3273 |
int , |
| 3274 |
int |
| 3275 |
); |
| 3276 |
|
| 3277 |
extern int XSetModifierMapping( |
| 3278 |
Display* , |
| 3279 |
XModifierKeymap* |
| 3280 |
); |
| 3281 |
|
| 3282 |
extern int XSetPlaneMask( |
| 3283 |
Display* , |
| 3284 |
GC , |
| 3285 |
unsigned long |
| 3286 |
); |
| 3287 |
|
| 3288 |
extern int XSetPointerMapping( |
| 3289 |
Display* , |
| 3290 |
_Xconst unsigned char* , |
| 3291 |
int |
| 3292 |
); |
| 3293 |
|
| 3294 |
extern int XSetScreenSaver( |
| 3295 |
Display* , |
| 3296 |
int , |
| 3297 |
int , |
| 3298 |
int , |
| 3299 |
int |
| 3300 |
); |
| 3301 |
|
| 3302 |
extern int XSetSelectionOwner( |
| 3303 |
Display* , |
| 3304 |
Atom , |
| 3305 |
Window , |
| 3306 |
Time |
| 3307 |
); |
| 3308 |
|
| 3309 |
extern int XSetState( |
| 3310 |
Display* , |
| 3311 |
GC , |
| 3312 |
unsigned long , |
| 3313 |
unsigned long , |
| 3314 |
int , |
| 3315 |
unsigned long |
| 3316 |
); |
| 3317 |
|
| 3318 |
extern int XSetStipple( |
| 3319 |
Display* , |
| 3320 |
GC , |
| 3321 |
Pixmap |
| 3322 |
); |
| 3323 |
|
| 3324 |
extern int XSetSubwindowMode( |
| 3325 |
Display* , |
| 3326 |
GC , |
| 3327 |
int |
| 3328 |
); |
| 3329 |
|
| 3330 |
extern int XSetTSOrigin( |
| 3331 |
Display* , |
| 3332 |
GC , |
| 3333 |
int , |
| 3334 |
int |
| 3335 |
); |
| 3336 |
|
| 3337 |
extern int XSetTile( |
| 3338 |
Display* , |
| 3339 |
GC , |
| 3340 |
Pixmap |
| 3341 |
); |
| 3342 |
|
| 3343 |
extern int XSetWindowBackground( |
| 3344 |
Display* , |
| 3345 |
Window , |
| 3346 |
unsigned long |
| 3347 |
); |
| 3348 |
|
| 3349 |
extern int XSetWindowBackgroundPixmap( |
| 3350 |
Display* , |
| 3351 |
Window , |
| 3352 |
Pixmap |
| 3353 |
); |
| 3354 |
|
| 3355 |
extern int XSetWindowBorder( |
| 3356 |
Display* , |
| 3357 |
Window , |
| 3358 |
unsigned long |
| 3359 |
); |
| 3360 |
|
| 3361 |
extern int XSetWindowBorderPixmap( |
| 3362 |
Display* , |
| 3363 |
Window , |
| 3364 |
Pixmap |
| 3365 |
); |
| 3366 |
|
| 3367 |
extern int XSetWindowBorderWidth( |
| 3368 |
Display* , |
| 3369 |
Window , |
| 3370 |
unsigned int |
| 3371 |
); |
| 3372 |
|
| 3373 |
extern int XSetWindowColormap( |
| 3374 |
Display* , |
| 3375 |
Window , |
| 3376 |
Colormap |
| 3377 |
); |
| 3378 |
|
| 3379 |
extern int XStoreBuffer( |
| 3380 |
Display* , |
| 3381 |
_Xconst char* , |
| 3382 |
int , |
| 3383 |
int |
| 3384 |
); |
| 3385 |
|
| 3386 |
extern int XStoreBytes( |
| 3387 |
Display* , |
| 3388 |
_Xconst char* , |
| 3389 |
int |
| 3390 |
); |
| 3391 |
|
| 3392 |
extern int XStoreColor( |
| 3393 |
Display* , |
| 3394 |
Colormap , |
| 3395 |
XColor* |
| 3396 |
); |
| 3397 |
|
| 3398 |
extern int XStoreColors( |
| 3399 |
Display* , |
| 3400 |
Colormap , |
| 3401 |
XColor* , |
| 3402 |
int |
| 3403 |
); |
| 3404 |
|
| 3405 |
extern int XStoreName( |
| 3406 |
Display* , |
| 3407 |
Window , |
| 3408 |
_Xconst char* |
| 3409 |
); |
| 3410 |
|
| 3411 |
extern int XStoreNamedColor( |
| 3412 |
Display* , |
| 3413 |
Colormap , |
| 3414 |
_Xconst char* , |
| 3415 |
unsigned long , |
| 3416 |
int |
| 3417 |
); |
| 3418 |
|
| 3419 |
extern int XSync( |
| 3420 |
Display* , |
| 3421 |
Bool |
| 3422 |
); |
| 3423 |
|
| 3424 |
extern int XTextExtents( |
| 3425 |
XFontStruct* , |
| 3426 |
_Xconst char* , |
| 3427 |
int , |
| 3428 |
int* , |
| 3429 |
int* , |
| 3430 |
int* , |
| 3431 |
XCharStruct* |
| 3432 |
); |
| 3433 |
|
| 3434 |
extern int XTextExtents16( |
| 3435 |
XFontStruct* , |
| 3436 |
_Xconst XChar2b* , |
| 3437 |
int , |
| 3438 |
int* , |
| 3439 |
int* , |
| 3440 |
int* , |
| 3441 |
XCharStruct* |
| 3442 |
); |
| 3443 |
|
| 3444 |
extern int XTextWidth( |
| 3445 |
XFontStruct* , |
| 3446 |
_Xconst char* , |
| 3447 |
int |
| 3448 |
); |
| 3449 |
|
| 3450 |
extern int XTextWidth16( |
| 3451 |
XFontStruct* , |
| 3452 |
_Xconst XChar2b* , |
| 3453 |
int |
| 3454 |
); |
| 3455 |
|
| 3456 |
extern Bool XTranslateCoordinates( |
| 3457 |
Display* , |
| 3458 |
Window , |
| 3459 |
Window , |
| 3460 |
int , |
| 3461 |
int , |
| 3462 |
int* , |
| 3463 |
int* , |
| 3464 |
Window* |
| 3465 |
); |
| 3466 |
|
| 3467 |
extern int XUndefineCursor( |
| 3468 |
Display* , |
| 3469 |
Window |
| 3470 |
); |
| 3471 |
|
| 3472 |
extern int XUngrabButton( |
| 3473 |
Display* , |
| 3474 |
unsigned int , |
| 3475 |
unsigned int , |
| 3476 |
Window |
| 3477 |
); |
| 3478 |
|
| 3479 |
extern int XUngrabKey( |
| 3480 |
Display* , |
| 3481 |
int , |
| 3482 |
unsigned int , |
| 3483 |
Window |
| 3484 |
); |
| 3485 |
|
| 3486 |
extern int XUngrabKeyboard( |
| 3487 |
Display* , |
| 3488 |
Time |
| 3489 |
); |
| 3490 |
|
| 3491 |
extern int XUngrabPointer( |
| 3492 |
Display* , |
| 3493 |
Time |
| 3494 |
); |
| 3495 |
|
| 3496 |
extern int XUngrabServer( |
| 3497 |
Display* |
| 3498 |
); |
| 3499 |
|
| 3500 |
extern int XUninstallColormap( |
| 3501 |
Display* , |
| 3502 |
Colormap |
| 3503 |
); |
| 3504 |
|
| 3505 |
extern int XUnloadFont( |
| 3506 |
Display* , |
| 3507 |
Font |
| 3508 |
); |
| 3509 |
|
| 3510 |
extern int XUnmapSubwindows( |
| 3511 |
Display* , |
| 3512 |
Window |
| 3513 |
); |
| 3514 |
|
| 3515 |
extern int XUnmapWindow( |
| 3516 |
Display* , |
| 3517 |
Window |
| 3518 |
); |
| 3519 |
|
| 3520 |
extern int XVendorRelease( |
| 3521 |
Display* |
| 3522 |
); |
| 3523 |
|
| 3524 |
extern int XWarpPointer( |
| 3525 |
Display* , |
| 3526 |
Window , |
| 3527 |
Window , |
| 3528 |
int , |
| 3529 |
int , |
| 3530 |
unsigned int , |
| 3531 |
unsigned int , |
| 3532 |
int , |
| 3533 |
int |
| 3534 |
); |
| 3535 |
|
| 3536 |
extern int XWidthMMOfScreen( |
| 3537 |
Screen* |
| 3538 |
); |
| 3539 |
|
| 3540 |
extern int XWidthOfScreen( |
| 3541 |
Screen* |
| 3542 |
); |
| 3543 |
|
| 3544 |
extern int XWindowEvent( |
| 3545 |
Display* , |
| 3546 |
Window , |
| 3547 |
long , |
| 3548 |
XEvent* |
| 3549 |
); |
| 3550 |
|
| 3551 |
extern int XWriteBitmapFile( |
| 3552 |
Display* , |
| 3553 |
_Xconst char* , |
| 3554 |
Pixmap , |
| 3555 |
unsigned int , |
| 3556 |
unsigned int , |
| 3557 |
int , |
| 3558 |
int |
| 3559 |
); |
| 3560 |
|
| 3561 |
extern Bool XSupportsLocale (void); |
| 3562 |
|
| 3563 |
extern char *XSetLocaleModifiers( |
| 3564 |
const char* |
| 3565 |
); |
| 3566 |
|
| 3567 |
extern XOM XOpenOM( |
| 3568 |
Display* , |
| 3569 |
struct _XrmHashBucketRec* , |
| 3570 |
_Xconst char* , |
| 3571 |
_Xconst char* |
| 3572 |
); |
| 3573 |
|
| 3574 |
extern Status XCloseOM( |
| 3575 |
XOM |
| 3576 |
); |
| 3577 |
|
| 3578 |
extern char *XSetOMValues( |
| 3579 |
XOM , |
| 3580 |
... |
| 3581 |
) _X_SENTINEL(0); |
| 3582 |
|
| 3583 |
extern char *XGetOMValues( |
| 3584 |
XOM , |
| 3585 |
... |
| 3586 |
) _X_SENTINEL(0); |
| 3587 |
|
| 3588 |
extern Display *XDisplayOfOM( |
| 3589 |
XOM |
| 3590 |
); |
| 3591 |
|
| 3592 |
extern char *XLocaleOfOM( |
| 3593 |
XOM |
| 3594 |
); |
| 3595 |
|
| 3596 |
extern XOC XCreateOC( |
| 3597 |
XOM , |
| 3598 |
... |
| 3599 |
) _X_SENTINEL(0); |
| 3600 |
|
| 3601 |
extern void XDestroyOC( |
| 3602 |
XOC |
| 3603 |
); |
| 3604 |
|
| 3605 |
extern XOM XOMOfOC( |
| 3606 |
XOC |
| 3607 |
); |
| 3608 |
|
| 3609 |
extern char *XSetOCValues( |
| 3610 |
XOC , |
| 3611 |
... |
| 3612 |
) _X_SENTINEL(0); |
| 3613 |
|
| 3614 |
extern char *XGetOCValues( |
| 3615 |
XOC , |
| 3616 |
... |
| 3617 |
) _X_SENTINEL(0); |
| 3618 |
|
| 3619 |
extern XFontSet XCreateFontSet( |
| 3620 |
Display* , |
| 3621 |
_Xconst char* , |
| 3622 |
char*** , |
| 3623 |
int* , |
| 3624 |
char** |
| 3625 |
); |
| 3626 |
|
| 3627 |
extern void XFreeFontSet( |
| 3628 |
Display* , |
| 3629 |
XFontSet |
| 3630 |
); |
| 3631 |
|
| 3632 |
extern int XFontsOfFontSet( |
| 3633 |
XFontSet , |
| 3634 |
XFontStruct*** , |
| 3635 |
char*** |
| 3636 |
); |
| 3637 |
|
| 3638 |
extern char *XBaseFontNameListOfFontSet( |
| 3639 |
XFontSet |
| 3640 |
); |
| 3641 |
|
| 3642 |
extern char *XLocaleOfFontSet( |
| 3643 |
XFontSet |
| 3644 |
); |
| 3645 |
|
| 3646 |
extern Bool XContextDependentDrawing( |
| 3647 |
XFontSet |
| 3648 |
); |
| 3649 |
|
| 3650 |
extern Bool XDirectionalDependentDrawing( |
| 3651 |
XFontSet |
| 3652 |
); |
| 3653 |
|
| 3654 |
extern Bool XContextualDrawing( |
| 3655 |
XFontSet |
| 3656 |
); |
| 3657 |
|
| 3658 |
extern XFontSetExtents *XExtentsOfFontSet( |
| 3659 |
XFontSet |
| 3660 |
); |
| 3661 |
|
| 3662 |
extern int XmbTextEscapement( |
| 3663 |
XFontSet , |
| 3664 |
_Xconst char* , |
| 3665 |
int |
| 3666 |
); |
| 3667 |
|
| 3668 |
extern int XwcTextEscapement( |
| 3669 |
XFontSet , |
| 3670 |
_Xconst wchar_t* , |
| 3671 |
int |
| 3672 |
); |
| 3673 |
|
| 3674 |
extern int Xutf8TextEscapement( |
| 3675 |
XFontSet , |
| 3676 |
_Xconst char* , |
| 3677 |
int |
| 3678 |
); |
| 3679 |
|
| 3680 |
extern int XmbTextExtents( |
| 3681 |
XFontSet , |
| 3682 |
_Xconst char* , |
| 3683 |
int , |
| 3684 |
XRectangle* , |
| 3685 |
XRectangle* |
| 3686 |
); |
| 3687 |
|
| 3688 |
extern int XwcTextExtents( |
| 3689 |
XFontSet , |
| 3690 |
_Xconst wchar_t* , |
| 3691 |
int , |
| 3692 |
XRectangle* , |
| 3693 |
XRectangle* |
| 3694 |
); |
| 3695 |
|
| 3696 |
extern int Xutf8TextExtents( |
| 3697 |
XFontSet , |
| 3698 |
_Xconst char* , |
| 3699 |
int , |
| 3700 |
XRectangle* , |
| 3701 |
XRectangle* |
| 3702 |
); |
| 3703 |
|
| 3704 |
extern Status XmbTextPerCharExtents( |
| 3705 |
XFontSet , |
| 3706 |
_Xconst char* , |
| 3707 |
int , |
| 3708 |
XRectangle* , |
| 3709 |
XRectangle* , |
| 3710 |
int , |
| 3711 |
int* , |
| 3712 |
XRectangle* , |
| 3713 |
XRectangle* |
| 3714 |
); |
| 3715 |
|
| 3716 |
extern Status XwcTextPerCharExtents( |
| 3717 |
XFontSet , |
| 3718 |
_Xconst wchar_t* , |
| 3719 |
int , |
| 3720 |
XRectangle* , |
| 3721 |
XRectangle* , |
| 3722 |
int , |
| 3723 |
int* , |
| 3724 |
XRectangle* , |
| 3725 |
XRectangle* |
| 3726 |
); |
| 3727 |
|
| 3728 |
extern Status Xutf8TextPerCharExtents( |
| 3729 |
XFontSet , |
| 3730 |
_Xconst char* , |
| 3731 |
int , |
| 3732 |
XRectangle* , |
| 3733 |
XRectangle* , |
| 3734 |
int , |
| 3735 |
int* , |
| 3736 |
XRectangle* , |
| 3737 |
XRectangle* |
| 3738 |
); |
| 3739 |
|
| 3740 |
extern void XmbDrawText( |
| 3741 |
Display* , |
| 3742 |
Drawable , |
| 3743 |
GC , |
| 3744 |
int , |
| 3745 |
int , |
| 3746 |
XmbTextItem* , |
| 3747 |
int |
| 3748 |
); |
| 3749 |
|
| 3750 |
extern void XwcDrawText( |
| 3751 |
Display* , |
| 3752 |
Drawable , |
| 3753 |
GC , |
| 3754 |
int , |
| 3755 |
int , |
| 3756 |
XwcTextItem* , |
| 3757 |
int |
| 3758 |
); |
| 3759 |
|
| 3760 |
extern void Xutf8DrawText( |
| 3761 |
Display* , |
| 3762 |
Drawable , |
| 3763 |
GC , |
| 3764 |
int , |
| 3765 |
int , |
| 3766 |
XmbTextItem* , |
| 3767 |
int |
| 3768 |
); |
| 3769 |
|
| 3770 |
extern void XmbDrawString( |
| 3771 |
Display* , |
| 3772 |
Drawable , |
| 3773 |
XFontSet , |
| 3774 |
GC , |
| 3775 |
int , |
| 3776 |
int , |
| 3777 |
_Xconst char* , |
| 3778 |
int |
| 3779 |
); |
| 3780 |
|
| 3781 |
extern void XwcDrawString( |
| 3782 |
Display* , |
| 3783 |
Drawable , |
| 3784 |
XFontSet , |
| 3785 |
GC , |
| 3786 |
int , |
| 3787 |
int , |
| 3788 |
_Xconst wchar_t* , |
| 3789 |
int |
| 3790 |
); |
| 3791 |
|
| 3792 |
extern void Xutf8DrawString( |
| 3793 |
Display* , |
| 3794 |
Drawable , |
| 3795 |
XFontSet , |
| 3796 |
GC , |
| 3797 |
int , |
| 3798 |
int , |
| 3799 |
_Xconst char* , |
| 3800 |
int |
| 3801 |
); |
| 3802 |
|
| 3803 |
extern void XmbDrawImageString( |
| 3804 |
Display* , |
| 3805 |
Drawable , |
| 3806 |
XFontSet , |
| 3807 |
GC , |
| 3808 |
int , |
| 3809 |
int , |
| 3810 |
_Xconst char* , |
| 3811 |
int |
| 3812 |
); |
| 3813 |
|
| 3814 |
extern void XwcDrawImageString( |
| 3815 |
Display* , |
| 3816 |
Drawable , |
| 3817 |
XFontSet , |
| 3818 |
GC , |
| 3819 |
int , |
| 3820 |
int , |
| 3821 |
_Xconst wchar_t* , |
| 3822 |
int |
| 3823 |
); |
| 3824 |
|
| 3825 |
extern void Xutf8DrawImageString( |
| 3826 |
Display* , |
| 3827 |
Drawable , |
| 3828 |
XFontSet , |
| 3829 |
GC , |
| 3830 |
int , |
| 3831 |
int , |
| 3832 |
_Xconst char* , |
| 3833 |
int |
| 3834 |
); |
| 3835 |
|
| 3836 |
extern XIM XOpenIM( |
| 3837 |
Display* , |
| 3838 |
struct _XrmHashBucketRec* , |
| 3839 |
char* , |
| 3840 |
char* |
| 3841 |
); |
| 3842 |
|
| 3843 |
extern Status XCloseIM( |
| 3844 |
XIM |
| 3845 |
); |
| 3846 |
|
| 3847 |
extern char *XGetIMValues( |
| 3848 |
XIM , ... |
| 3849 |
) _X_SENTINEL(0); |
| 3850 |
|
| 3851 |
extern char *XSetIMValues( |
| 3852 |
XIM , ... |
| 3853 |
) _X_SENTINEL(0); |
| 3854 |
|
| 3855 |
extern Display *XDisplayOfIM( |
| 3856 |
XIM |
| 3857 |
); |
| 3858 |
|
| 3859 |
extern char *XLocaleOfIM( |
| 3860 |
XIM |
| 3861 |
); |
| 3862 |
|
| 3863 |
extern XIC XCreateIC( |
| 3864 |
XIM , ... |
| 3865 |
) _X_SENTINEL(0); |
| 3866 |
|
| 3867 |
extern void XDestroyIC( |
| 3868 |
XIC |
| 3869 |
); |
| 3870 |
|
| 3871 |
extern void XSetICFocus( |
| 3872 |
XIC |
| 3873 |
); |
| 3874 |
|
| 3875 |
extern void XUnsetICFocus( |
| 3876 |
XIC |
| 3877 |
); |
| 3878 |
|
| 3879 |
extern wchar_t *XwcResetIC( |
| 3880 |
XIC |
| 3881 |
); |
| 3882 |
|
| 3883 |
extern char *XmbResetIC( |
| 3884 |
XIC |
| 3885 |
); |
| 3886 |
|
| 3887 |
extern char *Xutf8ResetIC( |
| 3888 |
XIC |
| 3889 |
); |
| 3890 |
|
| 3891 |
extern char *XSetICValues( |
| 3892 |
XIC , ... |
| 3893 |
) _X_SENTINEL(0); |
| 3894 |
|
| 3895 |
extern char *XGetICValues( |
| 3896 |
XIC , ... |
| 3897 |
) _X_SENTINEL(0); |
| 3898 |
|
| 3899 |
extern XIM XIMOfIC( |
| 3900 |
XIC |
| 3901 |
); |
| 3902 |
|
| 3903 |
extern Bool XFilterEvent( |
| 3904 |
XEvent* , |
| 3905 |
Window |
| 3906 |
); |
| 3907 |
|
| 3908 |
extern int XmbLookupString( |
| 3909 |
XIC , |
| 3910 |
XKeyPressedEvent* , |
| 3911 |
char* , |
| 3912 |
int , |
| 3913 |
KeySym* , |
| 3914 |
Status* |
| 3915 |
); |
| 3916 |
|
| 3917 |
extern int XwcLookupString( |
| 3918 |
XIC , |
| 3919 |
XKeyPressedEvent* , |
| 3920 |
wchar_t* , |
| 3921 |
int , |
| 3922 |
KeySym* , |
| 3923 |
Status* |
| 3924 |
); |
| 3925 |
|
| 3926 |
extern int Xutf8LookupString( |
| 3927 |
XIC , |
| 3928 |
XKeyPressedEvent* , |
| 3929 |
char* , |
| 3930 |
int , |
| 3931 |
KeySym* , |
| 3932 |
Status* |
| 3933 |
); |
| 3934 |
|
| 3935 |
extern XVaNestedList XVaCreateNestedList( |
| 3936 |
int , ... |
| 3937 |
) _X_SENTINEL(0); |
| 3938 |
|
| 3939 |
|
| 3940 |
|
| 3941 |
extern Bool XRegisterIMInstantiateCallback( |
| 3942 |
Display* , |
| 3943 |
struct _XrmHashBucketRec* , |
| 3944 |
char* , |
| 3945 |
char* , |
| 3946 |
XIDProc , |
| 3947 |
XPointer |
| 3948 |
); |
| 3949 |
|
| 3950 |
extern Bool XUnregisterIMInstantiateCallback( |
| 3951 |
Display* , |
| 3952 |
struct _XrmHashBucketRec* , |
| 3953 |
char* , |
| 3954 |
char* , |
| 3955 |
XIDProc , |
| 3956 |
XPointer |
| 3957 |
); |
| 3958 |
|
| 3959 |
typedef void (*XConnectionWatchProc)( |
| 3960 |
Display* , |
| 3961 |
XPointer , |
| 3962 |
int , |
| 3963 |
Bool , |
| 3964 |
XPointer* |
| 3965 |
); |
| 3966 |
|
| 3967 |
|
| 3968 |
extern Status XInternalConnectionNumbers( |
| 3969 |
Display* , |
| 3970 |
int** , |
| 3971 |
int* |
| 3972 |
); |
| 3973 |
|
| 3974 |
extern void XProcessInternalConnection( |
| 3975 |
Display* , |
| 3976 |
int |
| 3977 |
); |
| 3978 |
|
| 3979 |
extern Status XAddConnectionWatch( |
| 3980 |
Display* , |
| 3981 |
XConnectionWatchProc , |
| 3982 |
XPointer |
| 3983 |
); |
| 3984 |
|
| 3985 |
extern void XRemoveConnectionWatch( |
| 3986 |
Display* , |
| 3987 |
XConnectionWatchProc , |
| 3988 |
XPointer |
| 3989 |
); |
| 3990 |
|
| 3991 |
extern void XSetAuthorization( |
| 3992 |
char * , |
| 3993 |
int , |
| 3994 |
char * , |
| 3995 |
int |
| 3996 |
); |
| 3997 |
|
| 3998 |
extern int _Xmbtowc( |
| 3999 |
wchar_t * , |
| 4000 |
char * , |
| 4001 |
int |
| 4002 |
); |
| 4003 |
|
| 4004 |
extern int _Xwctomb( |
| 4005 |
char * , |
| 4006 |
wchar_t |
| 4007 |
); |
| 4008 |
|
| 4009 |
extern Bool XGetEventData( |
| 4010 |
Display* , |
| 4011 |
XGenericEventCookie* |
| 4012 |
); |
| 4013 |
|
| 4014 |
extern void XFreeEventData( |
| 4015 |
Display* , |
| 4016 |
XGenericEventCookie* |
| 4017 |
); |
| 4018 |
|
| 4019 |
#ifdef __clang__ |
| 4020 |
#pragma clang diagnostic pop |
| 4021 |
#endif |
| 4022 |
|
| 4023 |
_XFUNCPROTOEND |
| 4024 |
|
| 4025 |
#endif |