| 1 | # PySoy GLX Declarations |
|---|
| 2 | # |
|---|
| 3 | # Copyright (C) 2006,2007,2008 PySoy Group |
|---|
| 4 | # |
|---|
| 5 | # This program is free software; you can redistribute it and/or modify |
|---|
| 6 | # it under the terms of the GNU Affero General Public License as published |
|---|
| 7 | # by the Free Software Foundation, either version 3 of the License, or |
|---|
| 8 | # (at your option) any later version. |
|---|
| 9 | # |
|---|
| 10 | # This program is distributed in the hope that it will be useful, |
|---|
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | # GNU Affero General Public License for more details. |
|---|
| 14 | # |
|---|
| 15 | # You should have received a copy of the GNU Affero General Public License |
|---|
| 16 | # along with this program; if not, see http://www.gnu.org/licenses |
|---|
| 17 | # |
|---|
| 18 | # $Id$ |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | cdef extern from "GL/glx.h" : |
|---|
| 22 | ctypedef enum: |
|---|
| 23 | # |
|---|
| 24 | # Tokens for glXChooseVisual and glXGetConfig |
|---|
| 25 | GLX_USE_GL |
|---|
| 26 | GLX_BUFFER_SIZE |
|---|
| 27 | GLX_LEVEL |
|---|
| 28 | GLX_RGBA |
|---|
| 29 | GLX_DOUBLEBUFFER |
|---|
| 30 | GLX_STEREO |
|---|
| 31 | GLX_AUX_BUFFERS |
|---|
| 32 | GLX_RED_SIZE |
|---|
| 33 | GLX_GREEN_SIZE |
|---|
| 34 | GLX_BLUE_SIZE |
|---|
| 35 | GLX_ALPHA_SIZE |
|---|
| 36 | GLX_DEPTH_SIZE |
|---|
| 37 | GLX_STENCIL_SIZE |
|---|
| 38 | GLX_ACCUM_RED_SIZE |
|---|
| 39 | GLX_ACCUM_GREEN_SIZE |
|---|
| 40 | GLX_ACCUM_BLUE_SIZE |
|---|
| 41 | GLX_ACCUM_ALPHA_SIZE |
|---|
| 42 | # |
|---|
| 43 | # Error codes returned by glXGetConfig |
|---|
| 44 | GLX_BAD_SCREEN |
|---|
| 45 | GLX_BAD_ATTRIBUTE |
|---|
| 46 | GLX_NO_EXTENSION |
|---|
| 47 | GLX_BAD_VISUAL |
|---|
| 48 | GLX_BAD_CONTEXT |
|---|
| 49 | GLX_BAD_VALUE |
|---|
| 50 | GLX_BAD_ENUM |
|---|
| 51 | # |
|---|
| 52 | # GLX 1.1 and later |
|---|
| 53 | GLX_VENDOR |
|---|
| 54 | GLX_VERSION |
|---|
| 55 | GLX_EXTENSIONS |
|---|
| 56 | # |
|---|
| 57 | # GLX 1.3 and later |
|---|
| 58 | GLX_CONFIG_CAVEAT |
|---|
| 59 | GLX_DONT_CARE |
|---|
| 60 | GLX_X_VISUAL_TYPE |
|---|
| 61 | GLX_TRANSPARENT_TYPE |
|---|
| 62 | GLX_TRANSPARENT_INDEX_VALUE |
|---|
| 63 | GLX_TRANSPARENT_RED_VALUE |
|---|
| 64 | GLX_TRANSPARENT_GREEN_VALUE |
|---|
| 65 | GLX_TRANSPARENT_BLUE_VALUE |
|---|
| 66 | GLX_TRANSPARENT_ALPHA_VALUE |
|---|
| 67 | GLX_WINDOW_BIT |
|---|
| 68 | GLX_PIXMAP_BIT |
|---|
| 69 | GLX_PBUFFER_BIT |
|---|
| 70 | GLX_AUX_BUFFERS_BIT |
|---|
| 71 | GLX_FRONT_LEFT_BUFFER_BIT |
|---|
| 72 | GLX_FRONT_RIGHT_BUFFER_BIT |
|---|
| 73 | GLX_BACK_LEFT_BUFFER_BIT |
|---|
| 74 | GLX_BACK_RIGHT_BUFFER_BIT |
|---|
| 75 | GLX_DEPTH_BUFFER_BIT |
|---|
| 76 | GLX_STENCIL_BUFFER_BIT |
|---|
| 77 | GLX_ACCUM_BUFFER_BIT |
|---|
| 78 | GLX_NONE |
|---|
| 79 | GLX_SLOW_CONFIG |
|---|
| 80 | GLX_TRUE_COLOR |
|---|
| 81 | GLX_DIRECT_COLOR |
|---|
| 82 | GLX_PSEUDO_COLOR |
|---|
| 83 | GLX_STATIC_COLOR |
|---|
| 84 | GLX_GRAY_SCALE |
|---|
| 85 | GLX_STATIC_GRAY |
|---|
| 86 | GLX_TRANSPARENT_RGB |
|---|
| 87 | GLX_TRANSPARENT_INDEX |
|---|
| 88 | GLX_VISUAL_ID |
|---|
| 89 | GLX_SCREEN |
|---|
| 90 | GLX_NON_CONFORMANT_CONFIG |
|---|
| 91 | GLX_DRAWABLE_TYPE |
|---|
| 92 | GLX_RENDER_TYPE |
|---|
| 93 | GLX_X_RENDERABLE |
|---|
| 94 | GLX_FBCONFIG_ID |
|---|
| 95 | GLX_RGBA_TYPE |
|---|
| 96 | GLX_COLOR_INDEX_TYPE |
|---|
| 97 | GLX_MAX_PBUFFER_WIDTH |
|---|
| 98 | GLX_MAX_PBUFFER_HEIGHT |
|---|
| 99 | GLX_MAX_PBUFFER_PIXELS |
|---|
| 100 | GLX_PRESERVED_CONTENTS |
|---|
| 101 | GLX_LARGEST_PBUFFER |
|---|
| 102 | GLX_WIDTH |
|---|
| 103 | GLX_HEIGHT |
|---|
| 104 | GLX_EVENT_MASK |
|---|
| 105 | GLX_DAMAGED |
|---|
| 106 | GLX_SAVED |
|---|
| 107 | GLX_WINDOW |
|---|
| 108 | GLX_PBUFFER |
|---|
| 109 | GLX_PBUFFER_HEIGHT |
|---|
| 110 | GLX_PBUFFER_WIDTH |
|---|
| 111 | GLX_RGBA_BIT |
|---|
| 112 | GLX_COLOR_INDEX_BIT |
|---|
| 113 | GLX_PBUFFER_CLOBBER_MASK |
|---|
| 114 | # |
|---|
| 115 | # GLX 1.4 and later |
|---|
| 116 | GLX_SAMPLE_BUFFERS |
|---|
| 117 | GLX_SAMPLES |
|---|
| 118 | # |
|---|
| 119 | # Xlib Misc |
|---|
| 120 | True |
|---|
| 121 | False |
|---|
| 122 | GXcopy |
|---|
| 123 | GCFunction |
|---|
| 124 | # |
|---|
| 125 | # Xlib Window Classes |
|---|
| 126 | InputOutput |
|---|
| 127 | InputOnly |
|---|
| 128 | # |
|---|
| 129 | # Xlib Window Attributes |
|---|
| 130 | CWBackPixmap |
|---|
| 131 | CWBackPixel |
|---|
| 132 | CWBorderPixmap |
|---|
| 133 | CWBorderPixel |
|---|
| 134 | CWBitGravity |
|---|
| 135 | CWWinGravity |
|---|
| 136 | CWBackingStore |
|---|
| 137 | CWBackingPlanes |
|---|
| 138 | CWBackingPixel |
|---|
| 139 | CWOverrideRedirect |
|---|
| 140 | CWSaveUnder |
|---|
| 141 | CWEventMask |
|---|
| 142 | CWDontPropagate |
|---|
| 143 | CWColormap |
|---|
| 144 | CWCursor |
|---|
| 145 | # |
|---|
| 146 | # Xlib ImageFormat |
|---|
| 147 | XYBitmap |
|---|
| 148 | XYPixmap |
|---|
| 149 | ZPixmap |
|---|
| 150 | # |
|---|
| 151 | # Xlib CreateColormap |
|---|
| 152 | AllocNone |
|---|
| 153 | AllocAll |
|---|
| 154 | # |
|---|
| 155 | # Xlib "RESERVED RESOURCE AND CONSTANT DEFINITION" |
|---|
| 156 | None |
|---|
| 157 | ParentRelative |
|---|
| 158 | CopyFromParent |
|---|
| 159 | PointerWindow |
|---|
| 160 | InputFocus |
|---|
| 161 | PointerRoot |
|---|
| 162 | AnyPropertyType |
|---|
| 163 | AnyKey |
|---|
| 164 | AnyButton |
|---|
| 165 | AllTemporary |
|---|
| 166 | CurrentTime |
|---|
| 167 | NoSymbol |
|---|
| 168 | # |
|---|
| 169 | # Xlib Event Input Masks |
|---|
| 170 | NoEventMask |
|---|
| 171 | KeyPressMask |
|---|
| 172 | KeyReleaseMask |
|---|
| 173 | ButtonPressMask |
|---|
| 174 | ButtonReleaseMask |
|---|
| 175 | EnterWindowMask |
|---|
| 176 | LeaveWindowMask |
|---|
| 177 | PointerMotionMask |
|---|
| 178 | PointerMotionHintMask |
|---|
| 179 | Button1MotionMask |
|---|
| 180 | Button2MotionMask |
|---|
| 181 | Button3MotionMask |
|---|
| 182 | Button4MotionMask |
|---|
| 183 | Button5MotionMask |
|---|
| 184 | ButtonMotionMask |
|---|
| 185 | KeymapStateMask |
|---|
| 186 | ExposureMask |
|---|
| 187 | VisibilityChangeMask |
|---|
| 188 | StructureNotifyMask |
|---|
| 189 | ResizeRedirectMask |
|---|
| 190 | SubstructureNotifyMask |
|---|
| 191 | SubstructureRedirectMask |
|---|
| 192 | FocusChangeMask |
|---|
| 193 | PropertyChangeMask |
|---|
| 194 | ColormapChangeMask |
|---|
| 195 | OwnerGrabButtonMask |
|---|
| 196 | # |
|---|
| 197 | # Event names |
|---|
| 198 | KeyPress |
|---|
| 199 | KeyRelease |
|---|
| 200 | ButtonPress |
|---|
| 201 | ButtonRelease |
|---|
| 202 | MotionNotify |
|---|
| 203 | EnterNotify |
|---|
| 204 | LeaveNotify |
|---|
| 205 | FocusIn |
|---|
| 206 | FocusOut |
|---|
| 207 | KeymapNotify |
|---|
| 208 | Expose |
|---|
| 209 | GraphicsExpose |
|---|
| 210 | NoExpose |
|---|
| 211 | VisibilityNotify |
|---|
| 212 | CreateNotify |
|---|
| 213 | DestroyNotify |
|---|
| 214 | UnmapNotify |
|---|
| 215 | MapNotify |
|---|
| 216 | MapRequest |
|---|
| 217 | ReparentNotify |
|---|
| 218 | ConfigureNotify |
|---|
| 219 | ConfigureRequest |
|---|
| 220 | GravityNotify |
|---|
| 221 | ResizeRequest |
|---|
| 222 | CirculateNotify |
|---|
| 223 | CirculateRequest |
|---|
| 224 | PropertyNotify |
|---|
| 225 | SelectionClear |
|---|
| 226 | SelectionRequest |
|---|
| 227 | SelectionNotify |
|---|
| 228 | ColormapNotify |
|---|
| 229 | ClientMessage |
|---|
| 230 | MappingNotify |
|---|
| 231 | LASTEvent |
|---|
| 232 | # |
|---|
| 233 | # Key masks |
|---|
| 234 | ShiftMask |
|---|
| 235 | LockMask |
|---|
| 236 | ControlMask |
|---|
| 237 | Mod1Mask |
|---|
| 238 | Mod2Mask |
|---|
| 239 | Mod3Mask |
|---|
| 240 | Mod4Mask |
|---|
| 241 | Mod5Mask |
|---|
| 242 | # |
|---|
| 243 | # Modifier names |
|---|
| 244 | ShiftMapIndex |
|---|
| 245 | LockMapIndex |
|---|
| 246 | ControlMapIndex |
|---|
| 247 | Mod1MapIndex |
|---|
| 248 | Mod2MapIndex |
|---|
| 249 | Mod3MapIndex |
|---|
| 250 | Mod4MapIndex |
|---|
| 251 | Mod5MapIndex |
|---|
| 252 | # |
|---|
| 253 | # Button masks |
|---|
| 254 | Button1Mask |
|---|
| 255 | Button2Mask |
|---|
| 256 | Button3Mask |
|---|
| 257 | Button4Mask |
|---|
| 258 | Button5Mask |
|---|
| 259 | AnyModifier |
|---|
| 260 | # |
|---|
| 261 | # Button names |
|---|
| 262 | Button1 |
|---|
| 263 | Button2 |
|---|
| 264 | Button3 |
|---|
| 265 | Button4 |
|---|
| 266 | Button5 |
|---|
| 267 | # |
|---|
| 268 | # Notify modes |
|---|
| 269 | NotifyNormal |
|---|
| 270 | NotifyGrab |
|---|
| 271 | NotifyUngrab |
|---|
| 272 | NotifyWhileGrabbed |
|---|
| 273 | # |
|---|
| 274 | # Notify hint |
|---|
| 275 | NotifyHint |
|---|
| 276 | # |
|---|
| 277 | # Notify details |
|---|
| 278 | NotifyAncestor |
|---|
| 279 | NotifyVirtual |
|---|
| 280 | NotifyInferior |
|---|
| 281 | NotifyNonlinear |
|---|
| 282 | NotifyNonlinearVirtual |
|---|
| 283 | NotifyPointer |
|---|
| 284 | NotifyPointerRoot |
|---|
| 285 | NotifyDetailNone |
|---|
| 286 | # |
|---|
| 287 | # Visibility notify |
|---|
| 288 | VisibilityUnobscured |
|---|
| 289 | VisibilityPartiallyObscured |
|---|
| 290 | VisibilityFullyObscured |
|---|
| 291 | # |
|---|
| 292 | # Circulation request |
|---|
| 293 | PlaceOnTop |
|---|
| 294 | PlaceOnBottom |
|---|
| 295 | # |
|---|
| 296 | # Used in SetInputFocus, GetInputFocus |
|---|
| 297 | RevertToNone |
|---|
| 298 | RevertToPointerRoot |
|---|
| 299 | RevertToParent |
|---|
| 300 | # |
|---|
| 301 | # Error Names |
|---|
| 302 | Success |
|---|
| 303 | BadRequest |
|---|
| 304 | BadValue |
|---|
| 305 | BadWindow |
|---|
| 306 | BadPixmap |
|---|
| 307 | BadAtom |
|---|
| 308 | BadCursor |
|---|
| 309 | BadFont |
|---|
| 310 | BadMatch |
|---|
| 311 | BadDrawable |
|---|
| 312 | BadAccess |
|---|
| 313 | BadAlloc |
|---|
| 314 | BadColor |
|---|
| 315 | BadGC |
|---|
| 316 | BadIDChoice |
|---|
| 317 | BadName |
|---|
| 318 | BadLength |
|---|
| 319 | BadImplementation |
|---|
| 320 | FirstExtensionError |
|---|
| 321 | LastExtensionError |
|---|
| 322 | |
|---|
| 323 | ctypedef char* XPointer |
|---|
| 324 | ctypedef int Bool |
|---|
| 325 | ctypedef int Status |
|---|
| 326 | ctypedef unsigned long XID |
|---|
| 327 | ctypedef XID Window |
|---|
| 328 | ctypedef XID Drawable |
|---|
| 329 | ctypedef XID Pixmap |
|---|
| 330 | ctypedef XID Cursor |
|---|
| 331 | ctypedef XID Colormap |
|---|
| 332 | ctypedef XID GContext |
|---|
| 333 | ctypedef XID KeySym |
|---|
| 334 | ctypedef unsigned char KeyCode |
|---|
| 335 | ctypedef unsigned long Atom |
|---|
| 336 | ctypedef unsigned long VisualID |
|---|
| 337 | ctypedef unsigned long Time |
|---|
| 338 | ctypedef void* GLXContext |
|---|
| 339 | ctypedef XID GLXPixmap |
|---|
| 340 | ctypedef XID GLXDrawable |
|---|
| 341 | ctypedef void* GLXFBConfig |
|---|
| 342 | ctypedef XID GLXFBConfigID |
|---|
| 343 | ctypedef XID GLXContextID |
|---|
| 344 | ctypedef XID GLXWindow |
|---|
| 345 | ctypedef XID GLXPbuffer |
|---|
| 346 | |
|---|
| 347 | |
|---|
| 348 | ctypedef struct XGCValues : |
|---|
| 349 | int function |
|---|
| 350 | unsigned long plane_mask |
|---|
| 351 | unsigned long foreground |
|---|
| 352 | unsigned long background |
|---|
| 353 | int line_width |
|---|
| 354 | int line_style |
|---|
| 355 | int cap_style |
|---|
| 356 | int join_style |
|---|
| 357 | int fill_style |
|---|
| 358 | int fill_rule |
|---|
| 359 | int arc_mode |
|---|
| 360 | Pixmap tile |
|---|
| 361 | Pixmap stipple |
|---|
| 362 | int ts_x_origin |
|---|
| 363 | int ts_y_origin |
|---|
| 364 | int subwindow_mode |
|---|
| 365 | Bool graphics_exposures |
|---|
| 366 | int clip_x_origin |
|---|
| 367 | int clip_y_origin |
|---|
| 368 | Pixmap clip_mask |
|---|
| 369 | int dash_offset |
|---|
| 370 | char dashes |
|---|
| 371 | |
|---|
| 372 | |
|---|
| 373 | ctypedef void* GC |
|---|
| 374 | ctypedef void Display |
|---|
| 375 | ctypedef void Visual |
|---|
| 376 | |
|---|
| 377 | |
|---|
| 378 | ctypedef struct Depth : |
|---|
| 379 | int depth |
|---|
| 380 | int nvisuals |
|---|
| 381 | Visual *visuals |
|---|
| 382 | |
|---|
| 383 | ctypedef struct aspect : |
|---|
| 384 | int x |
|---|
| 385 | int y |
|---|
| 386 | |
|---|
| 387 | ctypedef struct XSizeHints : |
|---|
| 388 | long flags |
|---|
| 389 | int x |
|---|
| 390 | int y |
|---|
| 391 | int width |
|---|
| 392 | int height |
|---|
| 393 | int min_width |
|---|
| 394 | int min_height |
|---|
| 395 | int max_width |
|---|
| 396 | int max_height |
|---|
| 397 | int width_inc |
|---|
| 398 | int height_inc |
|---|
| 399 | aspect min_aspect |
|---|
| 400 | aspect max_aspect |
|---|
| 401 | int base_width |
|---|
| 402 | int base_height |
|---|
| 403 | int win_gravity |
|---|
| 404 | |
|---|
| 405 | ctypedef struct Screen : |
|---|
| 406 | void *ext_data |
|---|
| 407 | Display *display |
|---|
| 408 | Window root |
|---|
| 409 | int width |
|---|
| 410 | int height |
|---|
| 411 | int mwidth |
|---|
| 412 | int mheight |
|---|
| 413 | int ndepths |
|---|
| 414 | Depth *depths |
|---|
| 415 | int root_depth |
|---|
| 416 | Visual *root_visual |
|---|
| 417 | GC default_gc |
|---|
| 418 | Colormap cmap |
|---|
| 419 | unsigned long white_pixel |
|---|
| 420 | unsigned long black_pixel |
|---|
| 421 | int max_maps |
|---|
| 422 | int min_maps |
|---|
| 423 | int backing_store |
|---|
| 424 | Bool save_unders |
|---|
| 425 | long root_input_mask |
|---|
| 426 | |
|---|
| 427 | ctypedef struct XVisualInfo : |
|---|
| 428 | Visual *visual |
|---|
| 429 | VisualID visualid |
|---|
| 430 | int screen |
|---|
| 431 | int depth |
|---|
| 432 | int _class "class" |
|---|
| 433 | unsigned long red_mask |
|---|
| 434 | unsigned long green_mask |
|---|
| 435 | unsigned long blue_mask |
|---|
| 436 | int colormap_size |
|---|
| 437 | int bits_per_rgb |
|---|
| 438 | |
|---|
| 439 | ctypedef struct XSetWindowAttributes : |
|---|
| 440 | Pixmap background_pixmap |
|---|
| 441 | unsigned long background_pixel |
|---|
| 442 | Pixmap border_pixmap |
|---|
| 443 | unsigned long border_pixel |
|---|
| 444 | int bit_gravity |
|---|
| 445 | int win_gravity |
|---|
| 446 | int backing_store |
|---|
| 447 | unsigned long backing_planes |
|---|
| 448 | unsigned long backing_pixel |
|---|
| 449 | int save_under |
|---|
| 450 | long event_mask |
|---|
| 451 | long do_not_propagate_mask |
|---|
| 452 | int override_redirect |
|---|
| 453 | Colormap colormap |
|---|
| 454 | Cursor cursor |
|---|
| 455 | |
|---|
| 456 | |
|---|
| 457 | ctypedef struct XImage : |
|---|
| 458 | int width, height |
|---|
| 459 | int xoffset |
|---|
| 460 | int format |
|---|
| 461 | char *data |
|---|
| 462 | int byte_order |
|---|
| 463 | int bitmap_unit |
|---|
| 464 | int bitmap_bit_order |
|---|
| 465 | int bitmap_pad |
|---|
| 466 | int depth |
|---|
| 467 | int bytes_per_line |
|---|
| 468 | int bits_per_pixel |
|---|
| 469 | unsigned long red_mask |
|---|
| 470 | unsigned long green_mask |
|---|
| 471 | unsigned long blue_mask |
|---|
| 472 | XPointer obdata |
|---|
| 473 | |
|---|
| 474 | ctypedef struct XWindowChanges : |
|---|
| 475 | int x, y |
|---|
| 476 | int width, height |
|---|
| 477 | int border_width |
|---|
| 478 | Window sibling |
|---|
| 479 | int stack_mode |
|---|
| 480 | |
|---|
| 481 | ctypedef struct XColor : |
|---|
| 482 | unsigned long pixel |
|---|
| 483 | unsigned short red, green, blue |
|---|
| 484 | char flags |
|---|
| 485 | char pad |
|---|
| 486 | |
|---|
| 487 | # XSegment |
|---|
| 488 | # XPoint |
|---|
| 489 | # XRectangle |
|---|
| 490 | # XArc |
|---|
| 491 | |
|---|
| 492 | ctypedef struct XKeyboardControl : |
|---|
| 493 | int key_click_percent |
|---|
| 494 | int bell_percent |
|---|
| 495 | int bell_pitch |
|---|
| 496 | int bell_duration |
|---|
| 497 | int led |
|---|
| 498 | int led_mode |
|---|
| 499 | int key |
|---|
| 500 | int auto_repeat_mode |
|---|
| 501 | |
|---|
| 502 | ctypedef struct XKeyboardState : |
|---|
| 503 | int key_click_percent |
|---|
| 504 | int bell_percent |
|---|
| 505 | unsigned int bell_pitch, bell_duration |
|---|
| 506 | unsigned long led_mask |
|---|
| 507 | int global_auto_repeat |
|---|
| 508 | char auto_repeats[32] |
|---|
| 509 | |
|---|
| 510 | ctypedef struct XTimeCoord : |
|---|
| 511 | Time time |
|---|
| 512 | short x, y |
|---|
| 513 | |
|---|
| 514 | # XModifierKeymap |
|---|
| 515 | |
|---|
| 516 | ######################################################################### |
|---|
| 517 | # Event Definition Structs |
|---|
| 518 | |
|---|
| 519 | ctypedef struct XKeyEvent : |
|---|
| 520 | int type |
|---|
| 521 | unsigned long serial |
|---|
| 522 | Bool send_event |
|---|
| 523 | Display *display |
|---|
| 524 | Window window |
|---|
| 525 | Window root |
|---|
| 526 | Window subwindow |
|---|
| 527 | Time time |
|---|
| 528 | int x |
|---|
| 529 | int y |
|---|
| 530 | int x_root |
|---|
| 531 | int y_root |
|---|
| 532 | unsigned int state |
|---|
| 533 | unsigned int keycode |
|---|
| 534 | Bool same_screen |
|---|
| 535 | |
|---|
| 536 | ctypedef struct XButtonEvent : |
|---|
| 537 | int type |
|---|
| 538 | unsigned long serial |
|---|
| 539 | Bool send_event |
|---|
| 540 | Display *display |
|---|
| 541 | Window window |
|---|
| 542 | Window root |
|---|
| 543 | Window subwindow |
|---|
| 544 | Time time |
|---|
| 545 | int x |
|---|
| 546 | int y |
|---|
| 547 | int x_root |
|---|
| 548 | int y_root |
|---|
| 549 | unsigned int state |
|---|
| 550 | unsigned int button |
|---|
| 551 | Bool same_screen |
|---|
| 552 | |
|---|
| 553 | ctypedef struct XMotionEvent : |
|---|
| 554 | int type |
|---|
| 555 | unsigned long serial |
|---|
| 556 | Bool send_event |
|---|
| 557 | Display *display |
|---|
| 558 | Window window |
|---|
| 559 | Window root |
|---|
| 560 | Window subwindow |
|---|
| 561 | Time time |
|---|
| 562 | int x |
|---|
| 563 | int y |
|---|
| 564 | int x_root |
|---|
| 565 | int y_root |
|---|
| 566 | unsigned int state |
|---|
| 567 | char is_hint |
|---|
| 568 | Bool same_screen |
|---|
| 569 | |
|---|
| 570 | ctypedef struct XExposeEvent : |
|---|
| 571 | int type |
|---|
| 572 | unsigned long serial |
|---|
| 573 | Bool send_event |
|---|
| 574 | Display *display |
|---|
| 575 | Window window |
|---|
| 576 | int x |
|---|
| 577 | int y |
|---|
| 578 | int width |
|---|
| 579 | int height |
|---|
| 580 | int count |
|---|
| 581 | |
|---|
| 582 | ctypedef struct XCreateWindowEvent : |
|---|
| 583 | int type |
|---|
| 584 | unsigned long serial |
|---|
| 585 | Bool send_event |
|---|
| 586 | Display *display |
|---|
| 587 | Window parent |
|---|
| 588 | Window window |
|---|
| 589 | int x |
|---|
| 590 | int y |
|---|
| 591 | int width |
|---|
| 592 | int height |
|---|
| 593 | Bool override_redirect |
|---|
| 594 | |
|---|
| 595 | ctypedef struct XConfigureEvent : |
|---|
| 596 | int type |
|---|
| 597 | unsigned long serial |
|---|
| 598 | Bool send_event |
|---|
| 599 | Display *display |
|---|
| 600 | Window event |
|---|
| 601 | Window window |
|---|
| 602 | int x |
|---|
| 603 | int y |
|---|
| 604 | int width |
|---|
| 605 | int height |
|---|
| 606 | int border_width |
|---|
| 607 | Window above |
|---|
| 608 | Bool override_redirect |
|---|
| 609 | |
|---|
| 610 | ctypedef union MessageData : |
|---|
| 611 | char b[20] |
|---|
| 612 | short s[10] |
|---|
| 613 | long l[5] |
|---|
| 614 | |
|---|
| 615 | ctypedef struct XClientMessageEvent : |
|---|
| 616 | int type |
|---|
| 617 | unsigned long serial |
|---|
| 618 | Bool send_event |
|---|
| 619 | Display *display |
|---|
| 620 | Window window |
|---|
| 621 | Atom message_type |
|---|
| 622 | int format |
|---|
| 623 | MessageData data |
|---|
| 624 | |
|---|
| 625 | ctypedef struct XAnyEvent : |
|---|
| 626 | int type |
|---|
| 627 | unsigned long serial |
|---|
| 628 | Bool send_event |
|---|
| 629 | Display *display |
|---|
| 630 | Window window |
|---|
| 631 | |
|---|
| 632 | ctypedef union XEvent : |
|---|
| 633 | int type |
|---|
| 634 | XAnyEvent xany |
|---|
| 635 | XKeyEvent xkey |
|---|
| 636 | XButtonEvent xbutton |
|---|
| 637 | XMotionEvent xmotion |
|---|
| 638 | XExposeEvent xexpose |
|---|
| 639 | XCreateWindowEvent xcreatewindow |
|---|
| 640 | XConfigureEvent xconfigure |
|---|
| 641 | XClientMessageEvent xclient |
|---|
| 642 | |
|---|
| 643 | cdef char *DisplayString ( Display* ) |
|---|
| 644 | cdef int DefaultScreen ( Display* ) |
|---|
| 645 | cdef int ScreenCount ( Display* ) |
|---|
| 646 | cdef Screen *ScreenOfDisplay ( Display*, int ) |
|---|
| 647 | cdef Display *DisplayOfScreen ( Screen* ) |
|---|
| 648 | cdef Window RootWindowOfScreen ( Screen* ) |
|---|
| 649 | cdef Colormap DefaultColormapOfScreen( Screen* ) |
|---|
| 650 | cdef int DefaultDepthOfScreen ( Screen* ) |
|---|
| 651 | cdef GC DefaultGCOfScreen ( Screen* ) |
|---|
| 652 | cdef Visual *DefaultVisualOfScreen ( Screen* ) |
|---|
| 653 | cdef int WidthOfScreen ( Screen* ) |
|---|
| 654 | cdef int HeightOfScreen ( Screen* ) |
|---|
| 655 | cdef int WidthMMOfScreen ( Screen* ) |
|---|
| 656 | cdef int HeightMMOfScreen ( Screen* ) |
|---|
| 657 | cdef int PlanesOfScreen ( Screen* ) |
|---|
| 658 | cdef int glXQueryVersion ( Display*, int *maj, int *min ) |
|---|
| 659 | cdef XVisualInfo *glXChooseVisual ( Display*, int, int* ) |
|---|
| 660 | cdef GLXContext glXCreateContext ( Display*, XVisualInfo*, |
|---|
| 661 | GLXContext, Bool ) |
|---|
| 662 | cdef void glXDestroyContext ( Display*, GLXContext ) |
|---|
| 663 | cdef Bool glXMakeCurrent ( Display*, Window, GLXContext ) |
|---|
| 664 | cdef void glXSwapBuffers ( Display*, Window ) |
|---|
| 665 | cdef GLXPixmap glXCreateGLXPixmap ( Display*, XVisualInfo*, Pixmap ) |
|---|
| 666 | cdef void glXDestroyGLXPixmap ( Display*, GLXPixmap ) |
|---|
| 667 | cdef GLXContext glXGetCurrentContext ( ) |
|---|
| 668 | # |
|---|
| 669 | ############################ from Xlib.h ############################# |
|---|
| 670 | # XLoadQueryFont |
|---|
| 671 | # XQueryFont |
|---|
| 672 | # XGetMotionEvents |
|---|
| 673 | # XDeleteModifiermapEntry |
|---|
| 674 | # XGetModifierMapping |
|---|
| 675 | # XInsertModifiermapEntry |
|---|
| 676 | # XNewModifiermap |
|---|
| 677 | cdef XImage* XCreateImage ( Display*, Visual*, unsigned int, |
|---|
| 678 | int, int, char*, unsigned int, |
|---|
| 679 | unsigned int, int, int ) |
|---|
| 680 | # XInitImage |
|---|
| 681 | # XGetImage |
|---|
| 682 | # XGetSubImage |
|---|
| 683 | cdef Display *XOpenDisplay ( char* ) |
|---|
| 684 | # XrmInitialize |
|---|
| 685 | # XFetchBytes |
|---|
| 686 | # XFetchBuffer |
|---|
| 687 | # XGetAtomName |
|---|
| 688 | # XGetAtomNames |
|---|
| 689 | cdef char* XGetDefault ( Display*, char*, char* ) |
|---|
| 690 | cdef char* XDisplayName ( char* ) |
|---|
| 691 | # XKeysymToString |
|---|
| 692 | # XSynchronize |
|---|
| 693 | # XSetAfterFunction |
|---|
| 694 | # XInternAtom |
|---|
| 695 | # XInternAtoms |
|---|
| 696 | # XCopyColormapAndFree |
|---|
| 697 | cdef Colormap XCreateColormap ( Display*, Window, Visual*, int ) |
|---|
| 698 | # XCreatePixmapCursor |
|---|
| 699 | # XCreateGlyphCursor |
|---|
| 700 | # XCreateFontCursor |
|---|
| 701 | # XLoadFont |
|---|
| 702 | cdef GC XCreateGC ( Display*, Drawable, unsigned long, |
|---|
| 703 | XGCValues* ) |
|---|
| 704 | cdef GContext XGContextFromGC ( GC ) |
|---|
| 705 | cdef void XFlushGC ( Display*, GC ) |
|---|
| 706 | cdef Pixmap XCreatePixmap ( Display*, Window, unsigned int, |
|---|
| 707 | unsigned int, unsigned int ) |
|---|
| 708 | cdef Pixmap XCreateBitmapFromData ( Display*, Window, char*, |
|---|
| 709 | unsigned int, unsigned int ) |
|---|
| 710 | cdef Pixmap XCreatePixmapFromBitmapData( |
|---|
| 711 | Display*, Window, char*, |
|---|
| 712 | unsigned int, unsigned int, |
|---|
| 713 | unsigned long, unsigned long, |
|---|
| 714 | unsigned int) |
|---|
| 715 | # XCreateSimpleWindow |
|---|
| 716 | # XGetSelectionOwner |
|---|
| 717 | cdef Window XCreateWindow ( Display*, Window, int, int, |
|---|
| 718 | unsigned int, unsigned int, |
|---|
| 719 | unsigned int, int, |
|---|
| 720 | unsigned int, Visual*, |
|---|
| 721 | unsigned long, |
|---|
| 722 | XSetWindowAttributes* ) |
|---|
| 723 | # XListInstalledColormaps |
|---|
| 724 | # XListFonts |
|---|
| 725 | # XListFontsWithInfo |
|---|
| 726 | # XGetFontPath |
|---|
| 727 | cdef char** XListExtensions ( Display*, int* ) |
|---|
| 728 | # XListProperties |
|---|
| 729 | # XListHosts |
|---|
| 730 | # XKeycodeToKeysym |
|---|
| 731 | cdef KeySym XLookupKeysym ( XKeyEvent*, int ) |
|---|
| 732 | # XGetKeyboardMapping |
|---|
| 733 | # XStringToKeysym |
|---|
| 734 | # XMaxRequestSize |
|---|
| 735 | # XExtendedMaxRequestSize |
|---|
| 736 | # XResourceManagerString |
|---|
| 737 | # XScreenResourceString |
|---|
| 738 | # XDisplayMotionBufferSize |
|---|
| 739 | # XVisualIDFromVisual |
|---|
| 740 | # XInitThreads |
|---|
| 741 | # XLockDisplay |
|---|
| 742 | # XUnlockDisplay |
|---|
| 743 | # XInitExtension |
|---|
| 744 | # XAddExtension |
|---|
| 745 | # XFindOnExtensionList |
|---|
| 746 | # XEHeadOfExtensionList |
|---|
| 747 | # XRootWindow |
|---|
| 748 | # XDefaultRootWindow |
|---|
| 749 | # XRootWindowOfScreen |
|---|
| 750 | # XDefaultVisual |
|---|
| 751 | # XDefaultVisualOfScreen |
|---|
| 752 | cdef GC XDefaultGC ( Display*, int ) |
|---|
| 753 | cdef GC XDefaultGCOfScreen ( Screen* ) |
|---|
| 754 | # XBlackPixel |
|---|
| 755 | # XWhitePixel |
|---|
| 756 | # XAllPlanes |
|---|
| 757 | # XBlackPixelOfScreen |
|---|
| 758 | # XWhitePixelOfScreen |
|---|
| 759 | # XNextRequest |
|---|
| 760 | # XLastKnownRequestProcessed |
|---|
| 761 | cdef char* XServerVendor ( Display* ) |
|---|
| 762 | cdef char* XDisplayString ( Display* ) |
|---|
| 763 | # XDefaultColormap |
|---|
| 764 | # XDefaultColormapOfScreen |
|---|
| 765 | # XDisplayOfScreen |
|---|
| 766 | # XScreenOfDisplay |
|---|
| 767 | # XDefaultScreenOfDisplay |
|---|
| 768 | # XEventMaskOfScreen |
|---|
| 769 | # XScreenNumberOfScreen |
|---|
| 770 | # XErrorHandler |
|---|
| 771 | # XSetErrorHandler |
|---|
| 772 | # XIOErrorHandler |
|---|
| 773 | # XSetIOErrorHandler |
|---|
| 774 | # XListPixmapFormats |
|---|
| 775 | cdef int* XListDepths ( Display*, int, int* ) |
|---|
| 776 | # XReconfigureWMWindow |
|---|
| 777 | # XGetWMProtocols |
|---|
| 778 | cdef int XSetWMProtocols ( Display*, Window, Atom*, int ) |
|---|
| 779 | cdef Status XIconifyWindow ( Display*, Window, int ) |
|---|
| 780 | cdef Status XWithdrawWindow ( Display*, Window, int ) |
|---|
| 781 | # XGetCommand |
|---|
| 782 | # XGetWMColormapWindows |
|---|
| 783 | # XSetWMColormapWindows |
|---|
| 784 | # XFreeStringList |
|---|
| 785 | # XSetTransientForHint |
|---|
| 786 | cdef int XActivateScreenSaver ( Display* ) |
|---|
| 787 | # XAddHost |
|---|
| 788 | # XAddHosts |
|---|
| 789 | # XAddToExtensionList |
|---|
| 790 | # XAddToSaveSet |
|---|
| 791 | # XAllocColor |
|---|
| 792 | # XAllocColorCells |
|---|
| 793 | # XAllocColorPlanes |
|---|
| 794 | # XAllocNamedColor |
|---|
| 795 | # XAllowEvents |
|---|
| 796 | cdef int XAutoRepeatOff ( Display* ) |
|---|
| 797 | cdef int XAutoRepeatOn ( Display* ) |
|---|
| 798 | cdef int XBell ( Display*, int ) |
|---|
| 799 | # XBitmapBitOrder |
|---|
| 800 | # XBitmapPad |
|---|
| 801 | # XBitmapUnit |
|---|
| 802 | # XCellsOfScreen |
|---|
| 803 | # XChangeActivePointerGrab |
|---|
| 804 | # XChangeGC |
|---|
| 805 | # XChangeKeyboardControl |
|---|
| 806 | # XChangeKeyboardMapping |
|---|
| 807 | # XChangePointerControl |
|---|
| 808 | # XChangeProperty |
|---|
| 809 | # XChangeSaveSet |
|---|
| 810 | cdef Window XChangeWindowAttributes( Display*, Window, |
|---|
| 811 | unsigned long, |
|---|
| 812 | XSetWindowAttributes* ) |
|---|
| 813 | # XCheckIfEvent |
|---|
| 814 | # XCheckMaskEvent |
|---|
| 815 | # XCheckTypedEvent |
|---|
| 816 | # XCheckTypedWindowEvent |
|---|
| 817 | # XCheckWindowEvent |
|---|
| 818 | # XCirculateSubwindows |
|---|
| 819 | # XCirculateSubwindowsDown |
|---|
| 820 | # XCirculateSubwindowsUp |
|---|
| 821 | # XClearArea |
|---|
| 822 | # XClearWindow |
|---|
| 823 | cdef int XCloseDisplay ( Display* ) |
|---|
| 824 | # XConfigureWindow |
|---|
| 825 | # XConnectionNumber |
|---|
| 826 | # XConvertSelection |
|---|
| 827 | cdef int XCopyArea ( Display*, Drawable, Drawable, |
|---|
| 828 | GC, int, int, |
|---|
| 829 | unsigned int, unsigned int, |
|---|
| 830 | int, int ) |
|---|
| 831 | # XCopyGC |
|---|
| 832 | # XCopyPlane |
|---|
| 833 | # XDefaultDepth |
|---|
| 834 | # XDefaultDepthOfScreen |
|---|
| 835 | cdef int XDefaultScreen ( Display* ) |
|---|
| 836 | # XDefineCursor |
|---|
| 837 | # XDeleteProperty |
|---|
| 838 | cdef int XDestroyWindow ( Display*, Window ) |
|---|
| 839 | # XDestroySubwindows |
|---|
| 840 | # XDoesBackingStore |
|---|
| 841 | # XDoesSaveUnders |
|---|
| 842 | # XDisableAccessControl |
|---|
| 843 | # XDisplayCells |
|---|
| 844 | # XDisplayHeight |
|---|
| 845 | # XDisplayHeightMM |
|---|
| 846 | # XDisplayKeycodes |
|---|
| 847 | # XDisplayPlanes |
|---|
| 848 | # XDisplayWidth |
|---|
| 849 | # XDisplayWidthMM |
|---|
| 850 | # XDrawArc |
|---|
| 851 | # XDrawArcs |
|---|
| 852 | # XDrawImageString |
|---|
| 853 | # XDrawImageString16 |
|---|
| 854 | # XDrawLine |
|---|
| 855 | # XDrawLines |
|---|
| 856 | # XDrawPoint |
|---|
| 857 | # XDrawPoints |
|---|
| 858 | # XDrawRectangle |
|---|
| 859 | # XDrawRectangles |
|---|
| 860 | # XDrawSegments |
|---|
| 861 | # XDrawString |
|---|
| 862 | # XDrawString16 |
|---|
| 863 | # XDrawText |
|---|
| 864 | # XDrawText16 |
|---|
| 865 | # XEnableAccessControl |
|---|
| 866 | # XEventsQueued |
|---|
| 867 | # XFetchName |
|---|
| 868 | # XFillArc |
|---|
| 869 | # XFillArcs |
|---|
| 870 | # XFillPolygon |
|---|
| 871 | # XFillRectangle |
|---|
| 872 | # XFillRectangles |
|---|
| 873 | cdef int XFlush ( Display* ) |
|---|
| 874 | # XForceScreenSaver |
|---|
| 875 | # XFree |
|---|
| 876 | # XFreeColormap |
|---|
| 877 | # XFreeColors |
|---|
| 878 | # XFreeCursor |
|---|
| 879 | # XFreeExtensionList |
|---|
| 880 | # XFreeFont |
|---|
| 881 | # XFreeFontInfo |
|---|
| 882 | # XFreeFontNames |
|---|
| 883 | # XFreeFontPath |
|---|
| 884 | cdef int XFreeGC ( Display*, GC ) |
|---|
| 885 | # XFreeModifiermap |
|---|
| 886 | cdef int XFreePixmap ( Display*, Pixmap ) |
|---|
| 887 | # XGeometry |
|---|
| 888 | # XGetErrorDatabaseText |
|---|
| 889 | # XGetErrorText |
|---|
| 890 | # XGetFontProperty |
|---|
| 891 | # XGetGCValues |
|---|
| 892 | cdef int XGetGeometry ( Display*, Window, Window*, |
|---|
| 893 | int*, int*, |
|---|
| 894 | unsigned int*, unsigned int*, |
|---|
| 895 | unsigned int*, unsigned int* ) |
|---|
| 896 | cdef Status XGetIconName ( Display*, Window, char** ) |
|---|
| 897 | cdef int XGetInputFocus ( Display*, Window*, int* ) |
|---|
| 898 | cdef int XGetKeyboardControl ( Display*, XKeyboardState* ) |
|---|
| 899 | cdef int XGetPointerControl ( Display*, int*, int*, int* ) |
|---|
| 900 | cdef int XGetPointerMapping ( Display*, unsigned char*, int ) |
|---|
| 901 | cdef int XGetScreenSaver ( Display*, int*, int*, int*, int* ) |
|---|
| 902 | cdef Status XGetTransientForHint ( Display*, Window, Window* ) |
|---|
| 903 | # XGetWindowProperty |
|---|
| 904 | # XGetWindowAttributes |
|---|
| 905 | # XGrabButton |
|---|
| 906 | # XGrabKey |
|---|
| 907 | # XGrabKeyboard |
|---|
| 908 | # XGrabPointer |
|---|
| 909 | cdef int XGrabServer ( Display* ) |
|---|
| 910 | # XHeightMMOfScreen |
|---|
| 911 | # XHeightOfScreen |
|---|
| 912 | # XIfEvent |
|---|
| 913 | cdef int XImageByteOrder ( Display* ) |
|---|
| 914 | # XInstallColormap |
|---|
| 915 | # XKeysymToKeycode |
|---|
| 916 | # XKillClient |
|---|
| 917 | # XLookupColor |
|---|
| 918 | # XLowerWindow |
|---|
| 919 | cdef int XMapRaised ( Display*, Window ) |
|---|
| 920 | # XMapSubwindows |
|---|
| 921 | cdef int XMapWindow ( Display*, Window ) |
|---|
| 922 | # XMaskEvent |
|---|
| 923 | # XMaxCmapsOfScreen |
|---|
| 924 | # XMinCmapsOfScreen |
|---|
| 925 | cdef int XMoveResizeWindow ( Display*, Window, int, int, |
|---|
| 926 | unsigned int, unsigned int ) |
|---|
| 927 | cdef int XMoveWindow ( Display*, Window, int, int ) |
|---|
| 928 | |
|---|
| 929 | cdef int XNextEvent ( Display*, XEvent* ) |
|---|
| 930 | cdef int XNoOp ( Display* ) |
|---|
| 931 | # XParseColor |
|---|
| 932 | # XParseGeometry |
|---|
| 933 | cdef int XPeekEvent ( Display*, XEvent* ) |
|---|
| 934 | # XPeekIfEvent |
|---|
| 935 | cdef int XPending ( Display* ) |
|---|
| 936 | # XPlanesOfScreen |
|---|
| 937 | # XProtocolRevision |
|---|
| 938 | # XProtocolVersion |
|---|
| 939 | cdef int XPutBackEvent ( Display*, XEvent* ) |
|---|
| 940 | cdef int XPutImage ( Display*, Drawable, GC, XImage*, |
|---|
| 941 | int, int, int, int, |
|---|
| 942 | unsigned int, unsigned int ) |
|---|
| 943 | cdef int XQLength ( Display* ) |
|---|
| 944 | # XQueryBestCursor |
|---|
| 945 | # XQueryBestSize |
|---|
| 946 | # XQueryBestStipple |
|---|
| 947 | # XQueryBestTile |
|---|
| 948 | # XQueryColor |
|---|
| 949 | # XQueryColors |
|---|
| 950 | # XQueryExtension |
|---|
| 951 | # XQueryKeymap |
|---|
| 952 | # XQueryPointer |
|---|
| 953 | # XQueryTextExtents |
|---|
| 954 | # XQueryTextExtents16 |
|---|
| 955 | cdef int XQueryTree ( Display*, Window, Window*, |
|---|
| 956 | Window*, Window**, unsigned int* ) |
|---|
| 957 | cdef int XRaiseWindow ( Display*, Window ) |
|---|
| 958 | # XReadBitmapFile |
|---|
| 959 | # XReadBitmapFileData |
|---|
| 960 | # XRebindKeysym |
|---|
| 961 | cdef int XRecolorCursor ( Display*, Cursor, |
|---|
| 962 | XColor*, XColor* ) |
|---|
| 963 | # XRefreshKeyboardMapping |
|---|
| 964 | # XRemoveFromSaveSet |
|---|
| 965 | # XRemoveHost |
|---|
| 966 | # XRemoveHosts |
|---|
| 967 | # XReparentWindow |
|---|
| 968 | cdef int XResetScreenSaver ( Display* ) |
|---|
| 969 | cdef int XResizeWindow ( Display*, Window, int, int ) |
|---|
| 970 | # |
|---|
| 971 | # ... |
|---|
| 972 | # |
|---|
| 973 | cdef int XSetInputFocus ( Display*, Window, int, Time ) |
|---|
| 974 | cdef int XSync ( Display*, Bool ) |
|---|
| 975 | # |
|---|
| 976 | cdef int XSetStandardProperties ( Display*, Window, char*, char*, |
|---|
| 977 | Pixmap, char**, int, XSizeHints* ) |
|---|
| 978 | cdef int XUnmapWindow ( Display*, Window ) |
|---|
| 979 | |
|---|
| 980 | cdef Atom XInternAtom ( Display*, char*, Bool ) |
|---|
| 981 | |
|---|
| 982 | |
|---|
| 983 | cdef extern from "X11/extensions/xf86vmode.h" : |
|---|
| 984 | ctypedef int INT32 |
|---|
| 985 | ctypedef struct XF86VidModeModeInfo : |
|---|
| 986 | unsigned int dotclock |
|---|
| 987 | unsigned short hdisplay |
|---|
| 988 | unsigned short hsyncstart |
|---|
| 989 | unsigned short hsyncend |
|---|
| 990 | unsigned short htotal |
|---|
| 991 | unsigned short hskew |
|---|
| 992 | unsigned short vdisplay |
|---|
| 993 | unsigned short vsyncstart |
|---|
| 994 | unsigned short vsyncend |
|---|
| 995 | unsigned short vtotal |
|---|
| 996 | unsigned int flags |
|---|
| 997 | int privsize |
|---|
| 998 | INT32 *private |
|---|
| 999 | |
|---|
| 1000 | cdef Bool XF86VidModeGetAllModeLines ( Display*, int, int*, |
|---|
| 1001 | XF86VidModeModeInfo*** ) |
|---|
| 1002 | cdef Bool XF86VidModeSwitchToMode ( Display*, int, |
|---|
| 1003 | XF86VidModeModeInfo* ) |
|---|
| 1004 | cdef Bool XF86VidModeSetViewPort ( Display*, int, int, int ) |
|---|