PageRenderTime 29ms CodeModel.GetById 30ms RepoModel.GetById 1ms app.codeStats 0ms

/brlcad/tags/rel-7-14-8/src/other/tk/generic/tkIntXlibDecls.h

https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git
C Header | 1369 lines | 1139 code | 9 blank | 221 comment | 0 complexity | 2501040f056bd2e35ed951934ea44f02 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, LGPL-2.1, Apache-2.0, AGPL-3.0, LGPL-3.0, GPL-3.0, MPL-2.0-no-copyleft-exception, CC-BY-SA-3.0, 0BSD, BSD-3-Clause
  1. /*
  2. * tkIntXlibDecls.h --
  3. *
  4. * This file contains the declarations for all platform dependent
  5. * unsupported functions that are exported by the Tk library. These
  6. * interfaces are not guaranteed to remain the same between
  7. * versions. Use at your own risk.
  8. *
  9. * Copyright (c) 1998-1999 by Scriptics Corporation.
  10. * All rights reserved.
  11. *
  12. * RCS: @(#) $Id$
  13. */
  14. #ifndef _TKINTXLIBDECLS
  15. #define _TKINTXLIBDECLS
  16. #include "X11/Xutil.h"
  17. #ifdef BUILD_tk
  18. #undef TCL_STORAGE_CLASS
  19. #define TCL_STORAGE_CLASS DLLEXPORT
  20. #endif
  21. /*
  22. * WARNING: This file is automatically generated by the tools/genStubs.tcl
  23. * script. Any modifications to the function declarations below should be made
  24. * in the generic/tkInt.decls script.
  25. */
  26. /* !BEGIN!: Do not edit below this line. */
  27. /*
  28. * Exported function declarations:
  29. */
  30. #ifdef __WIN32__ /* WIN */
  31. #ifndef XSetDashes_TCL_DECLARED
  32. #define XSetDashes_TCL_DECLARED
  33. /* 0 */
  34. EXTERN void XSetDashes (Display * display, GC gc,
  35. int dash_offset, _Xconst char * dash_list,
  36. int n);
  37. #endif
  38. #ifndef XGetModifierMapping_TCL_DECLARED
  39. #define XGetModifierMapping_TCL_DECLARED
  40. /* 1 */
  41. EXTERN XModifierKeymap * XGetModifierMapping (Display * d);
  42. #endif
  43. #ifndef XCreateImage_TCL_DECLARED
  44. #define XCreateImage_TCL_DECLARED
  45. /* 2 */
  46. EXTERN XImage * XCreateImage (Display * d, Visual * v,
  47. unsigned int ui1, int i1, int i2, char * cp,
  48. unsigned int ui2, unsigned int ui3, int i3,
  49. int i4);
  50. #endif
  51. #ifndef XGetImage_TCL_DECLARED
  52. #define XGetImage_TCL_DECLARED
  53. /* 3 */
  54. EXTERN XImage * XGetImage (Display * d, Drawable dr, int i1, int i2,
  55. unsigned int ui1, unsigned int ui2,
  56. unsigned long ul, int i3);
  57. #endif
  58. #ifndef XGetAtomName_TCL_DECLARED
  59. #define XGetAtomName_TCL_DECLARED
  60. /* 4 */
  61. EXTERN char * XGetAtomName (Display * d, Atom a);
  62. #endif
  63. #ifndef XKeysymToString_TCL_DECLARED
  64. #define XKeysymToString_TCL_DECLARED
  65. /* 5 */
  66. EXTERN char * XKeysymToString (KeySym k);
  67. #endif
  68. #ifndef XCreateColormap_TCL_DECLARED
  69. #define XCreateColormap_TCL_DECLARED
  70. /* 6 */
  71. EXTERN Colormap XCreateColormap (Display * d, Window w, Visual * v,
  72. int i);
  73. #endif
  74. #ifndef XCreatePixmapCursor_TCL_DECLARED
  75. #define XCreatePixmapCursor_TCL_DECLARED
  76. /* 7 */
  77. EXTERN Cursor XCreatePixmapCursor (Display * d, Pixmap p1,
  78. Pixmap p2, XColor * x1, XColor * x2,
  79. unsigned int ui1, unsigned int ui2);
  80. #endif
  81. #ifndef XCreateGlyphCursor_TCL_DECLARED
  82. #define XCreateGlyphCursor_TCL_DECLARED
  83. /* 8 */
  84. EXTERN Cursor XCreateGlyphCursor (Display * d, Font f1, Font f2,
  85. unsigned int ui1, unsigned int ui2,
  86. XColor * x1, XColor * x2);
  87. #endif
  88. #ifndef XGContextFromGC_TCL_DECLARED
  89. #define XGContextFromGC_TCL_DECLARED
  90. /* 9 */
  91. EXTERN GContext XGContextFromGC (GC g);
  92. #endif
  93. #ifndef XListHosts_TCL_DECLARED
  94. #define XListHosts_TCL_DECLARED
  95. /* 10 */
  96. EXTERN XHostAddress * XListHosts (Display * d, int * i, Bool * b);
  97. #endif
  98. #ifndef XKeycodeToKeysym_TCL_DECLARED
  99. #define XKeycodeToKeysym_TCL_DECLARED
  100. /* 11 */
  101. EXTERN KeySym XKeycodeToKeysym (Display * d, unsigned int k, int i);
  102. #endif
  103. #ifndef XStringToKeysym_TCL_DECLARED
  104. #define XStringToKeysym_TCL_DECLARED
  105. /* 12 */
  106. EXTERN KeySym XStringToKeysym (_Xconst char * c);
  107. #endif
  108. #ifndef XRootWindow_TCL_DECLARED
  109. #define XRootWindow_TCL_DECLARED
  110. /* 13 */
  111. EXTERN Window XRootWindow (Display * d, int i);
  112. #endif
  113. #ifndef XSetErrorHandler_TCL_DECLARED
  114. #define XSetErrorHandler_TCL_DECLARED
  115. /* 14 */
  116. EXTERN XErrorHandler XSetErrorHandler (XErrorHandler x);
  117. #endif
  118. #ifndef XIconifyWindow_TCL_DECLARED
  119. #define XIconifyWindow_TCL_DECLARED
  120. /* 15 */
  121. EXTERN Status XIconifyWindow (Display * d, Window w, int i);
  122. #endif
  123. #ifndef XWithdrawWindow_TCL_DECLARED
  124. #define XWithdrawWindow_TCL_DECLARED
  125. /* 16 */
  126. EXTERN Status XWithdrawWindow (Display * d, Window w, int i);
  127. #endif
  128. #ifndef XGetWMColormapWindows_TCL_DECLARED
  129. #define XGetWMColormapWindows_TCL_DECLARED
  130. /* 17 */
  131. EXTERN Status XGetWMColormapWindows (Display * d, Window w,
  132. Window ** wpp, int * ip);
  133. #endif
  134. #ifndef XAllocColor_TCL_DECLARED
  135. #define XAllocColor_TCL_DECLARED
  136. /* 18 */
  137. EXTERN Status XAllocColor (Display * d, Colormap c, XColor * xp);
  138. #endif
  139. #ifndef XBell_TCL_DECLARED
  140. #define XBell_TCL_DECLARED
  141. /* 19 */
  142. EXTERN void XBell (Display * d, int i);
  143. #endif
  144. #ifndef XChangeProperty_TCL_DECLARED
  145. #define XChangeProperty_TCL_DECLARED
  146. /* 20 */
  147. EXTERN void XChangeProperty (Display * d, Window w, Atom a1,
  148. Atom a2, int i1, int i2,
  149. _Xconst unsigned char * c, int i3);
  150. #endif
  151. #ifndef XChangeWindowAttributes_TCL_DECLARED
  152. #define XChangeWindowAttributes_TCL_DECLARED
  153. /* 21 */
  154. EXTERN void XChangeWindowAttributes (Display * d, Window w,
  155. unsigned long ul, XSetWindowAttributes * x);
  156. #endif
  157. #ifndef XClearWindow_TCL_DECLARED
  158. #define XClearWindow_TCL_DECLARED
  159. /* 22 */
  160. EXTERN void XClearWindow (Display * d, Window w);
  161. #endif
  162. #ifndef XConfigureWindow_TCL_DECLARED
  163. #define XConfigureWindow_TCL_DECLARED
  164. /* 23 */
  165. EXTERN void XConfigureWindow (Display * d, Window w,
  166. unsigned int i, XWindowChanges * x);
  167. #endif
  168. #ifndef XCopyArea_TCL_DECLARED
  169. #define XCopyArea_TCL_DECLARED
  170. /* 24 */
  171. EXTERN void XCopyArea (Display * d, Drawable dr1, Drawable dr2,
  172. GC g, int i1, int i2, unsigned int ui1,
  173. unsigned int ui2, int i3, int i4);
  174. #endif
  175. #ifndef XCopyPlane_TCL_DECLARED
  176. #define XCopyPlane_TCL_DECLARED
  177. /* 25 */
  178. EXTERN void XCopyPlane (Display * d, Drawable dr1, Drawable dr2,
  179. GC g, int i1, int i2, unsigned int ui1,
  180. unsigned int ui2, int i3, int i4,
  181. unsigned long ul);
  182. #endif
  183. #ifndef XCreateBitmapFromData_TCL_DECLARED
  184. #define XCreateBitmapFromData_TCL_DECLARED
  185. /* 26 */
  186. EXTERN Pixmap XCreateBitmapFromData (Display * display, Drawable d,
  187. _Xconst char * data, unsigned int width,
  188. unsigned int height);
  189. #endif
  190. #ifndef XDefineCursor_TCL_DECLARED
  191. #define XDefineCursor_TCL_DECLARED
  192. /* 27 */
  193. EXTERN void XDefineCursor (Display * d, Window w, Cursor c);
  194. #endif
  195. #ifndef XDeleteProperty_TCL_DECLARED
  196. #define XDeleteProperty_TCL_DECLARED
  197. /* 28 */
  198. EXTERN void XDeleteProperty (Display * d, Window w, Atom a);
  199. #endif
  200. #ifndef XDestroyWindow_TCL_DECLARED
  201. #define XDestroyWindow_TCL_DECLARED
  202. /* 29 */
  203. EXTERN void XDestroyWindow (Display * d, Window w);
  204. #endif
  205. #ifndef XDrawArc_TCL_DECLARED
  206. #define XDrawArc_TCL_DECLARED
  207. /* 30 */
  208. EXTERN void XDrawArc (Display * d, Drawable dr, GC g, int i1,
  209. int i2, unsigned int ui1, unsigned int ui2,
  210. int i3, int i4);
  211. #endif
  212. #ifndef XDrawLines_TCL_DECLARED
  213. #define XDrawLines_TCL_DECLARED
  214. /* 31 */
  215. EXTERN void XDrawLines (Display * d, Drawable dr, GC g,
  216. XPoint * x, int i1, int i2);
  217. #endif
  218. #ifndef XDrawRectangle_TCL_DECLARED
  219. #define XDrawRectangle_TCL_DECLARED
  220. /* 32 */
  221. EXTERN void XDrawRectangle (Display * d, Drawable dr, GC g,
  222. int i1, int i2, unsigned int ui1,
  223. unsigned int ui2);
  224. #endif
  225. #ifndef XFillArc_TCL_DECLARED
  226. #define XFillArc_TCL_DECLARED
  227. /* 33 */
  228. EXTERN void XFillArc (Display * d, Drawable dr, GC g, int i1,
  229. int i2, unsigned int ui1, unsigned int ui2,
  230. int i3, int i4);
  231. #endif
  232. #ifndef XFillPolygon_TCL_DECLARED
  233. #define XFillPolygon_TCL_DECLARED
  234. /* 34 */
  235. EXTERN void XFillPolygon (Display * d, Drawable dr, GC g,
  236. XPoint * x, int i1, int i2, int i3);
  237. #endif
  238. #ifndef XFillRectangles_TCL_DECLARED
  239. #define XFillRectangles_TCL_DECLARED
  240. /* 35 */
  241. EXTERN void XFillRectangles (Display * d, Drawable dr, GC g,
  242. XRectangle * x, int i);
  243. #endif
  244. #ifndef XForceScreenSaver_TCL_DECLARED
  245. #define XForceScreenSaver_TCL_DECLARED
  246. /* 36 */
  247. EXTERN void XForceScreenSaver (Display * d, int i);
  248. #endif
  249. #ifndef XFreeColormap_TCL_DECLARED
  250. #define XFreeColormap_TCL_DECLARED
  251. /* 37 */
  252. EXTERN void XFreeColormap (Display * d, Colormap c);
  253. #endif
  254. #ifndef XFreeColors_TCL_DECLARED
  255. #define XFreeColors_TCL_DECLARED
  256. /* 38 */
  257. EXTERN void XFreeColors (Display * d, Colormap c,
  258. unsigned long * ulp, int i, unsigned long ul);
  259. #endif
  260. #ifndef XFreeCursor_TCL_DECLARED
  261. #define XFreeCursor_TCL_DECLARED
  262. /* 39 */
  263. EXTERN void XFreeCursor (Display * d, Cursor c);
  264. #endif
  265. #ifndef XFreeModifiermap_TCL_DECLARED
  266. #define XFreeModifiermap_TCL_DECLARED
  267. /* 40 */
  268. EXTERN void XFreeModifiermap (XModifierKeymap * x);
  269. #endif
  270. #ifndef XGetGeometry_TCL_DECLARED
  271. #define XGetGeometry_TCL_DECLARED
  272. /* 41 */
  273. EXTERN Status XGetGeometry (Display * d, Drawable dr, Window * w,
  274. int * i1, int * i2, unsigned int * ui1,
  275. unsigned int * ui2, unsigned int * ui3,
  276. unsigned int * ui4);
  277. #endif
  278. #ifndef XGetInputFocus_TCL_DECLARED
  279. #define XGetInputFocus_TCL_DECLARED
  280. /* 42 */
  281. EXTERN void XGetInputFocus (Display * d, Window * w, int * i);
  282. #endif
  283. #ifndef XGetWindowProperty_TCL_DECLARED
  284. #define XGetWindowProperty_TCL_DECLARED
  285. /* 43 */
  286. EXTERN int XGetWindowProperty (Display * d, Window w, Atom a1,
  287. long l1, long l2, Bool b, Atom a2, Atom * ap,
  288. int * ip, unsigned long * ulp1,
  289. unsigned long * ulp2, unsigned char ** cpp);
  290. #endif
  291. #ifndef XGetWindowAttributes_TCL_DECLARED
  292. #define XGetWindowAttributes_TCL_DECLARED
  293. /* 44 */
  294. EXTERN Status XGetWindowAttributes (Display * d, Window w,
  295. XWindowAttributes * x);
  296. #endif
  297. #ifndef XGrabKeyboard_TCL_DECLARED
  298. #define XGrabKeyboard_TCL_DECLARED
  299. /* 45 */
  300. EXTERN int XGrabKeyboard (Display * d, Window w, Bool b, int i1,
  301. int i2, Time t);
  302. #endif
  303. #ifndef XGrabPointer_TCL_DECLARED
  304. #define XGrabPointer_TCL_DECLARED
  305. /* 46 */
  306. EXTERN int XGrabPointer (Display * d, Window w1, Bool b,
  307. unsigned int ui, int i1, int i2, Window w2,
  308. Cursor c, Time t);
  309. #endif
  310. #ifndef XKeysymToKeycode_TCL_DECLARED
  311. #define XKeysymToKeycode_TCL_DECLARED
  312. /* 47 */
  313. EXTERN KeyCode XKeysymToKeycode (Display * d, KeySym k);
  314. #endif
  315. #ifndef XLookupColor_TCL_DECLARED
  316. #define XLookupColor_TCL_DECLARED
  317. /* 48 */
  318. EXTERN Status XLookupColor (Display * d, Colormap c1,
  319. _Xconst char * c2, XColor * x1, XColor * x2);
  320. #endif
  321. #ifndef XMapWindow_TCL_DECLARED
  322. #define XMapWindow_TCL_DECLARED
  323. /* 49 */
  324. EXTERN void XMapWindow (Display * d, Window w);
  325. #endif
  326. #ifndef XMoveResizeWindow_TCL_DECLARED
  327. #define XMoveResizeWindow_TCL_DECLARED
  328. /* 50 */
  329. EXTERN void XMoveResizeWindow (Display * d, Window w, int i1,
  330. int i2, unsigned int ui1, unsigned int ui2);
  331. #endif
  332. #ifndef XMoveWindow_TCL_DECLARED
  333. #define XMoveWindow_TCL_DECLARED
  334. /* 51 */
  335. EXTERN void XMoveWindow (Display * d, Window w, int i1, int i2);
  336. #endif
  337. #ifndef XNextEvent_TCL_DECLARED
  338. #define XNextEvent_TCL_DECLARED
  339. /* 52 */
  340. EXTERN void XNextEvent (Display * d, XEvent * x);
  341. #endif
  342. #ifndef XPutBackEvent_TCL_DECLARED
  343. #define XPutBackEvent_TCL_DECLARED
  344. /* 53 */
  345. EXTERN void XPutBackEvent (Display * d, XEvent * x);
  346. #endif
  347. #ifndef XQueryColors_TCL_DECLARED
  348. #define XQueryColors_TCL_DECLARED
  349. /* 54 */
  350. EXTERN void XQueryColors (Display * d, Colormap c, XColor * x,
  351. int i);
  352. #endif
  353. #ifndef XQueryPointer_TCL_DECLARED
  354. #define XQueryPointer_TCL_DECLARED
  355. /* 55 */
  356. EXTERN Bool XQueryPointer (Display * d, Window w1, Window * w2,
  357. Window * w3, int * i1, int * i2, int * i3,
  358. int * i4, unsigned int * ui);
  359. #endif
  360. #ifndef XQueryTree_TCL_DECLARED
  361. #define XQueryTree_TCL_DECLARED
  362. /* 56 */
  363. EXTERN Status XQueryTree (Display * d, Window w1, Window * w2,
  364. Window * w3, Window ** w4, unsigned int * ui);
  365. #endif
  366. #ifndef XRaiseWindow_TCL_DECLARED
  367. #define XRaiseWindow_TCL_DECLARED
  368. /* 57 */
  369. EXTERN void XRaiseWindow (Display * d, Window w);
  370. #endif
  371. #ifndef XRefreshKeyboardMapping_TCL_DECLARED
  372. #define XRefreshKeyboardMapping_TCL_DECLARED
  373. /* 58 */
  374. EXTERN void XRefreshKeyboardMapping (XMappingEvent * x);
  375. #endif
  376. #ifndef XResizeWindow_TCL_DECLARED
  377. #define XResizeWindow_TCL_DECLARED
  378. /* 59 */
  379. EXTERN void XResizeWindow (Display * d, Window w,
  380. unsigned int ui1, unsigned int ui2);
  381. #endif
  382. #ifndef XSelectInput_TCL_DECLARED
  383. #define XSelectInput_TCL_DECLARED
  384. /* 60 */
  385. EXTERN void XSelectInput (Display * d, Window w, long l);
  386. #endif
  387. #ifndef XSendEvent_TCL_DECLARED
  388. #define XSendEvent_TCL_DECLARED
  389. /* 61 */
  390. EXTERN Status XSendEvent (Display * d, Window w, Bool b, long l,
  391. XEvent * x);
  392. #endif
  393. #ifndef XSetCommand_TCL_DECLARED
  394. #define XSetCommand_TCL_DECLARED
  395. /* 62 */
  396. EXTERN void XSetCommand (Display * d, Window w, CONST char ** c,
  397. int i);
  398. #endif
  399. #ifndef XSetIconName_TCL_DECLARED
  400. #define XSetIconName_TCL_DECLARED
  401. /* 63 */
  402. EXTERN void XSetIconName (Display * d, Window w,
  403. _Xconst char * c);
  404. #endif
  405. #ifndef XSetInputFocus_TCL_DECLARED
  406. #define XSetInputFocus_TCL_DECLARED
  407. /* 64 */
  408. EXTERN void XSetInputFocus (Display * d, Window w, int i, Time t);
  409. #endif
  410. #ifndef XSetSelectionOwner_TCL_DECLARED
  411. #define XSetSelectionOwner_TCL_DECLARED
  412. /* 65 */
  413. EXTERN void XSetSelectionOwner (Display * d, Atom a, Window w,
  414. Time t);
  415. #endif
  416. #ifndef XSetWindowBackground_TCL_DECLARED
  417. #define XSetWindowBackground_TCL_DECLARED
  418. /* 66 */
  419. EXTERN void XSetWindowBackground (Display * d, Window w,
  420. unsigned long ul);
  421. #endif
  422. #ifndef XSetWindowBackgroundPixmap_TCL_DECLARED
  423. #define XSetWindowBackgroundPixmap_TCL_DECLARED
  424. /* 67 */
  425. EXTERN void XSetWindowBackgroundPixmap (Display * d, Window w,
  426. Pixmap p);
  427. #endif
  428. #ifndef XSetWindowBorder_TCL_DECLARED
  429. #define XSetWindowBorder_TCL_DECLARED
  430. /* 68 */
  431. EXTERN void XSetWindowBorder (Display * d, Window w,
  432. unsigned long ul);
  433. #endif
  434. #ifndef XSetWindowBorderPixmap_TCL_DECLARED
  435. #define XSetWindowBorderPixmap_TCL_DECLARED
  436. /* 69 */
  437. EXTERN void XSetWindowBorderPixmap (Display * d, Window w,
  438. Pixmap p);
  439. #endif
  440. #ifndef XSetWindowBorderWidth_TCL_DECLARED
  441. #define XSetWindowBorderWidth_TCL_DECLARED
  442. /* 70 */
  443. EXTERN void XSetWindowBorderWidth (Display * d, Window w,
  444. unsigned int ui);
  445. #endif
  446. #ifndef XSetWindowColormap_TCL_DECLARED
  447. #define XSetWindowColormap_TCL_DECLARED
  448. /* 71 */
  449. EXTERN void XSetWindowColormap (Display * d, Window w,
  450. Colormap c);
  451. #endif
  452. #ifndef XTranslateCoordinates_TCL_DECLARED
  453. #define XTranslateCoordinates_TCL_DECLARED
  454. /* 72 */
  455. EXTERN Bool XTranslateCoordinates (Display * d, Window w1,
  456. Window w2, int i1, int i2, int * i3,
  457. int * i4, Window * w3);
  458. #endif
  459. #ifndef XUngrabKeyboard_TCL_DECLARED
  460. #define XUngrabKeyboard_TCL_DECLARED
  461. /* 73 */
  462. EXTERN void XUngrabKeyboard (Display * d, Time t);
  463. #endif
  464. #ifndef XUngrabPointer_TCL_DECLARED
  465. #define XUngrabPointer_TCL_DECLARED
  466. /* 74 */
  467. EXTERN void XUngrabPointer (Display * d, Time t);
  468. #endif
  469. #ifndef XUnmapWindow_TCL_DECLARED
  470. #define XUnmapWindow_TCL_DECLARED
  471. /* 75 */
  472. EXTERN void XUnmapWindow (Display * d, Window w);
  473. #endif
  474. #ifndef XWindowEvent_TCL_DECLARED
  475. #define XWindowEvent_TCL_DECLARED
  476. /* 76 */
  477. EXTERN void XWindowEvent (Display * d, Window w, long l,
  478. XEvent * x);
  479. #endif
  480. #ifndef XDestroyIC_TCL_DECLARED
  481. #define XDestroyIC_TCL_DECLARED
  482. /* 77 */
  483. EXTERN void XDestroyIC (XIC x);
  484. #endif
  485. #ifndef XFilterEvent_TCL_DECLARED
  486. #define XFilterEvent_TCL_DECLARED
  487. /* 78 */
  488. EXTERN Bool XFilterEvent (XEvent * x, Window w);
  489. #endif
  490. #ifndef XmbLookupString_TCL_DECLARED
  491. #define XmbLookupString_TCL_DECLARED
  492. /* 79 */
  493. EXTERN int XmbLookupString (XIC xi, XKeyPressedEvent * xk,
  494. char * c, int i, KeySym * k, Status * s);
  495. #endif
  496. #ifndef TkPutImage_TCL_DECLARED
  497. #define TkPutImage_TCL_DECLARED
  498. /* 80 */
  499. EXTERN void TkPutImage (unsigned long * colors, int ncolors,
  500. Display * display, Drawable d, GC gc,
  501. XImage * image, int src_x, int src_y,
  502. int dest_x, int dest_y, unsigned int width,
  503. unsigned int height);
  504. #endif
  505. /* Slot 81 is reserved */
  506. #ifndef XParseColor_TCL_DECLARED
  507. #define XParseColor_TCL_DECLARED
  508. /* 82 */
  509. EXTERN Status XParseColor (Display * display, Colormap map,
  510. _Xconst char * spec, XColor * colorPtr);
  511. #endif
  512. #ifndef XCreateGC_TCL_DECLARED
  513. #define XCreateGC_TCL_DECLARED
  514. /* 83 */
  515. EXTERN GC XCreateGC (Display * display, Drawable d,
  516. unsigned long valuemask, XGCValues * values);
  517. #endif
  518. #ifndef XFreeGC_TCL_DECLARED
  519. #define XFreeGC_TCL_DECLARED
  520. /* 84 */
  521. EXTERN void XFreeGC (Display * display, GC gc);
  522. #endif
  523. #ifndef XInternAtom_TCL_DECLARED
  524. #define XInternAtom_TCL_DECLARED
  525. /* 85 */
  526. EXTERN Atom XInternAtom (Display * display,
  527. _Xconst char * atom_name,
  528. Bool only_if_exists);
  529. #endif
  530. #ifndef XSetBackground_TCL_DECLARED
  531. #define XSetBackground_TCL_DECLARED
  532. /* 86 */
  533. EXTERN void XSetBackground (Display * display, GC gc,
  534. unsigned long foreground);
  535. #endif
  536. #ifndef XSetForeground_TCL_DECLARED
  537. #define XSetForeground_TCL_DECLARED
  538. /* 87 */
  539. EXTERN void XSetForeground (Display * display, GC gc,
  540. unsigned long foreground);
  541. #endif
  542. #ifndef XSetClipMask_TCL_DECLARED
  543. #define XSetClipMask_TCL_DECLARED
  544. /* 88 */
  545. EXTERN void XSetClipMask (Display * display, GC gc,
  546. Pixmap pixmap);
  547. #endif
  548. #ifndef XSetClipOrigin_TCL_DECLARED
  549. #define XSetClipOrigin_TCL_DECLARED
  550. /* 89 */
  551. EXTERN void XSetClipOrigin (Display * display, GC gc,
  552. int clip_x_origin, int clip_y_origin);
  553. #endif
  554. #ifndef XSetTSOrigin_TCL_DECLARED
  555. #define XSetTSOrigin_TCL_DECLARED
  556. /* 90 */
  557. EXTERN void XSetTSOrigin (Display * display, GC gc,
  558. int ts_x_origin, int ts_y_origin);
  559. #endif
  560. #ifndef XChangeGC_TCL_DECLARED
  561. #define XChangeGC_TCL_DECLARED
  562. /* 91 */
  563. EXTERN void XChangeGC (Display * d, GC gc, unsigned long mask,
  564. XGCValues * values);
  565. #endif
  566. #ifndef XSetFont_TCL_DECLARED
  567. #define XSetFont_TCL_DECLARED
  568. /* 92 */
  569. EXTERN void XSetFont (Display * display, GC gc, Font font);
  570. #endif
  571. #ifndef XSetArcMode_TCL_DECLARED
  572. #define XSetArcMode_TCL_DECLARED
  573. /* 93 */
  574. EXTERN void XSetArcMode (Display * display, GC gc, int arc_mode);
  575. #endif
  576. #ifndef XSetStipple_TCL_DECLARED
  577. #define XSetStipple_TCL_DECLARED
  578. /* 94 */
  579. EXTERN void XSetStipple (Display * display, GC gc,
  580. Pixmap stipple);
  581. #endif
  582. #ifndef XSetFillRule_TCL_DECLARED
  583. #define XSetFillRule_TCL_DECLARED
  584. /* 95 */
  585. EXTERN void XSetFillRule (Display * display, GC gc,
  586. int fill_rule);
  587. #endif
  588. #ifndef XSetFillStyle_TCL_DECLARED
  589. #define XSetFillStyle_TCL_DECLARED
  590. /* 96 */
  591. EXTERN void XSetFillStyle (Display * display, GC gc,
  592. int fill_style);
  593. #endif
  594. #ifndef XSetFunction_TCL_DECLARED
  595. #define XSetFunction_TCL_DECLARED
  596. /* 97 */
  597. EXTERN void XSetFunction (Display * display, GC gc, int function);
  598. #endif
  599. #ifndef XSetLineAttributes_TCL_DECLARED
  600. #define XSetLineAttributes_TCL_DECLARED
  601. /* 98 */
  602. EXTERN void XSetLineAttributes (Display * display, GC gc,
  603. unsigned int line_width, int line_style,
  604. int cap_style, int join_style);
  605. #endif
  606. #ifndef _XInitImageFuncPtrs_TCL_DECLARED
  607. #define _XInitImageFuncPtrs_TCL_DECLARED
  608. /* 99 */
  609. EXTERN int _XInitImageFuncPtrs (XImage * image);
  610. #endif
  611. #ifndef XCreateIC_TCL_DECLARED
  612. #define XCreateIC_TCL_DECLARED
  613. /* 100 */
  614. EXTERN XIC XCreateIC (void);
  615. #endif
  616. #ifndef XGetVisualInfo_TCL_DECLARED
  617. #define XGetVisualInfo_TCL_DECLARED
  618. /* 101 */
  619. EXTERN XVisualInfo * XGetVisualInfo (Display * display, long vinfo_mask,
  620. XVisualInfo * vinfo_template,
  621. int * nitems_return);
  622. #endif
  623. #ifndef XSetWMClientMachine_TCL_DECLARED
  624. #define XSetWMClientMachine_TCL_DECLARED
  625. /* 102 */
  626. EXTERN void XSetWMClientMachine (Display * display, Window w,
  627. XTextProperty * text_prop);
  628. #endif
  629. #ifndef XStringListToTextProperty_TCL_DECLARED
  630. #define XStringListToTextProperty_TCL_DECLARED
  631. /* 103 */
  632. EXTERN Status XStringListToTextProperty (char ** list, int count,
  633. XTextProperty * text_prop_return);
  634. #endif
  635. #ifndef XDrawLine_TCL_DECLARED
  636. #define XDrawLine_TCL_DECLARED
  637. /* 104 */
  638. EXTERN void XDrawLine (Display * d, Drawable dr, GC g, int x1,
  639. int y1, int x2, int y2);
  640. #endif
  641. #ifndef XWarpPointer_TCL_DECLARED
  642. #define XWarpPointer_TCL_DECLARED
  643. /* 105 */
  644. EXTERN void XWarpPointer (Display * d, Window s, Window dw,
  645. int sx, int sy, unsigned int sw,
  646. unsigned int sh, int dx, int dy);
  647. #endif
  648. #ifndef XFillRectangle_TCL_DECLARED
  649. #define XFillRectangle_TCL_DECLARED
  650. /* 106 */
  651. EXTERN void XFillRectangle (Display * display, Drawable d, GC gc,
  652. int x, int y, unsigned int width,
  653. unsigned int height);
  654. #endif
  655. #endif /* WIN */
  656. #ifdef MAC_OSX_TK /* AQUA */
  657. #ifndef XSetDashes_TCL_DECLARED
  658. #define XSetDashes_TCL_DECLARED
  659. /* 0 */
  660. EXTERN void XSetDashes (Display * display, GC gc,
  661. int dash_offset, _Xconst char * dash_list,
  662. int n);
  663. #endif
  664. #ifndef XGetModifierMapping_TCL_DECLARED
  665. #define XGetModifierMapping_TCL_DECLARED
  666. /* 1 */
  667. EXTERN XModifierKeymap * XGetModifierMapping (Display * d);
  668. #endif
  669. #ifndef XCreateImage_TCL_DECLARED
  670. #define XCreateImage_TCL_DECLARED
  671. /* 2 */
  672. EXTERN XImage * XCreateImage (Display * d, Visual * v,
  673. unsigned int ui1, int i1, int i2, char * cp,
  674. unsigned int ui2, unsigned int ui3, int i3,
  675. int i4);
  676. #endif
  677. #ifndef XGetImage_TCL_DECLARED
  678. #define XGetImage_TCL_DECLARED
  679. /* 3 */
  680. EXTERN XImage * XGetImage (Display * d, Drawable dr, int i1, int i2,
  681. unsigned int ui1, unsigned int ui2,
  682. unsigned long ul, int i3);
  683. #endif
  684. #ifndef XGetAtomName_TCL_DECLARED
  685. #define XGetAtomName_TCL_DECLARED
  686. /* 4 */
  687. EXTERN char * XGetAtomName (Display * d, Atom a);
  688. #endif
  689. #ifndef XKeysymToString_TCL_DECLARED
  690. #define XKeysymToString_TCL_DECLARED
  691. /* 5 */
  692. EXTERN char * XKeysymToString (KeySym k);
  693. #endif
  694. #ifndef XCreateColormap_TCL_DECLARED
  695. #define XCreateColormap_TCL_DECLARED
  696. /* 6 */
  697. EXTERN Colormap XCreateColormap (Display * d, Window w, Visual * v,
  698. int i);
  699. #endif
  700. #ifndef XGContextFromGC_TCL_DECLARED
  701. #define XGContextFromGC_TCL_DECLARED
  702. /* 7 */
  703. EXTERN GContext XGContextFromGC (GC g);
  704. #endif
  705. #ifndef XKeycodeToKeysym_TCL_DECLARED
  706. #define XKeycodeToKeysym_TCL_DECLARED
  707. /* 8 */
  708. EXTERN KeySym XKeycodeToKeysym (Display * d, KeyCode k, int i);
  709. #endif
  710. #ifndef XStringToKeysym_TCL_DECLARED
  711. #define XStringToKeysym_TCL_DECLARED
  712. /* 9 */
  713. EXTERN KeySym XStringToKeysym (_Xconst char * c);
  714. #endif
  715. #ifndef XRootWindow_TCL_DECLARED
  716. #define XRootWindow_TCL_DECLARED
  717. /* 10 */
  718. EXTERN Window XRootWindow (Display * d, int i);
  719. #endif
  720. #ifndef XSetErrorHandler_TCL_DECLARED
  721. #define XSetErrorHandler_TCL_DECLARED
  722. /* 11 */
  723. EXTERN XErrorHandler XSetErrorHandler (XErrorHandler x);
  724. #endif
  725. #ifndef XAllocColor_TCL_DECLARED
  726. #define XAllocColor_TCL_DECLARED
  727. /* 12 */
  728. EXTERN Status XAllocColor (Display * d, Colormap c, XColor * xp);
  729. #endif
  730. #ifndef XBell_TCL_DECLARED
  731. #define XBell_TCL_DECLARED
  732. /* 13 */
  733. EXTERN void XBell (Display * d, int i);
  734. #endif
  735. #ifndef XChangeProperty_TCL_DECLARED
  736. #define XChangeProperty_TCL_DECLARED
  737. /* 14 */
  738. EXTERN void XChangeProperty (Display * d, Window w, Atom a1,
  739. Atom a2, int i1, int i2,
  740. _Xconst unsigned char * c, int i3);
  741. #endif
  742. #ifndef XChangeWindowAttributes_TCL_DECLARED
  743. #define XChangeWindowAttributes_TCL_DECLARED
  744. /* 15 */
  745. EXTERN void XChangeWindowAttributes (Display * d, Window w,
  746. unsigned long ul, XSetWindowAttributes * x);
  747. #endif
  748. #ifndef XConfigureWindow_TCL_DECLARED
  749. #define XConfigureWindow_TCL_DECLARED
  750. /* 16 */
  751. EXTERN void XConfigureWindow (Display * d, Window w,
  752. unsigned int i, XWindowChanges * x);
  753. #endif
  754. #ifndef XCopyArea_TCL_DECLARED
  755. #define XCopyArea_TCL_DECLARED
  756. /* 17 */
  757. EXTERN void XCopyArea (Display * d, Drawable dr1, Drawable dr2,
  758. GC g, int i1, int i2, unsigned int ui1,
  759. unsigned int ui2, int i3, int i4);
  760. #endif
  761. #ifndef XCopyPlane_TCL_DECLARED
  762. #define XCopyPlane_TCL_DECLARED
  763. /* 18 */
  764. EXTERN void XCopyPlane (Display * d, Drawable dr1, Drawable dr2,
  765. GC g, int i1, int i2, unsigned int ui1,
  766. unsigned int ui2, int i3, int i4,
  767. unsigned long ul);
  768. #endif
  769. #ifndef XCreateBitmapFromData_TCL_DECLARED
  770. #define XCreateBitmapFromData_TCL_DECLARED
  771. /* 19 */
  772. EXTERN Pixmap XCreateBitmapFromData (Display * display, Drawable d,
  773. _Xconst char * data, unsigned int width,
  774. unsigned int height);
  775. #endif
  776. #ifndef XDefineCursor_TCL_DECLARED
  777. #define XDefineCursor_TCL_DECLARED
  778. /* 20 */
  779. EXTERN void XDefineCursor (Display * d, Window w, Cursor c);
  780. #endif
  781. #ifndef XDestroyWindow_TCL_DECLARED
  782. #define XDestroyWindow_TCL_DECLARED
  783. /* 21 */
  784. EXTERN void XDestroyWindow (Display * d, Window w);
  785. #endif
  786. #ifndef XDrawArc_TCL_DECLARED
  787. #define XDrawArc_TCL_DECLARED
  788. /* 22 */
  789. EXTERN void XDrawArc (Display * d, Drawable dr, GC g, int i1,
  790. int i2, unsigned int ui1, unsigned int ui2,
  791. int i3, int i4);
  792. #endif
  793. #ifndef XDrawLines_TCL_DECLARED
  794. #define XDrawLines_TCL_DECLARED
  795. /* 23 */
  796. EXTERN void XDrawLines (Display * d, Drawable dr, GC g,
  797. XPoint * x, int i1, int i2);
  798. #endif
  799. #ifndef XDrawRectangle_TCL_DECLARED
  800. #define XDrawRectangle_TCL_DECLARED
  801. /* 24 */
  802. EXTERN void XDrawRectangle (Display * d, Drawable dr, GC g,
  803. int i1, int i2, unsigned int ui1,
  804. unsigned int ui2);
  805. #endif
  806. #ifndef XFillArc_TCL_DECLARED
  807. #define XFillArc_TCL_DECLARED
  808. /* 25 */
  809. EXTERN void XFillArc (Display * d, Drawable dr, GC g, int i1,
  810. int i2, unsigned int ui1, unsigned int ui2,
  811. int i3, int i4);
  812. #endif
  813. #ifndef XFillPolygon_TCL_DECLARED
  814. #define XFillPolygon_TCL_DECLARED
  815. /* 26 */
  816. EXTERN void XFillPolygon (Display * d, Drawable dr, GC g,
  817. XPoint * x, int i1, int i2, int i3);
  818. #endif
  819. #ifndef XFillRectangles_TCL_DECLARED
  820. #define XFillRectangles_TCL_DECLARED
  821. /* 27 */
  822. EXTERN void XFillRectangles (Display * d, Drawable dr, GC g,
  823. XRectangle * x, int i);
  824. #endif
  825. #ifndef XFreeColormap_TCL_DECLARED
  826. #define XFreeColormap_TCL_DECLARED
  827. /* 28 */
  828. EXTERN void XFreeColormap (Display * d, Colormap c);
  829. #endif
  830. #ifndef XFreeColors_TCL_DECLARED
  831. #define XFreeColors_TCL_DECLARED
  832. /* 29 */
  833. EXTERN void XFreeColors (Display * d, Colormap c,
  834. unsigned long * ulp, int i, unsigned long ul);
  835. #endif
  836. #ifndef XFreeModifiermap_TCL_DECLARED
  837. #define XFreeModifiermap_TCL_DECLARED
  838. /* 30 */
  839. EXTERN void XFreeModifiermap (XModifierKeymap * x);
  840. #endif
  841. #ifndef XGetGeometry_TCL_DECLARED
  842. #define XGetGeometry_TCL_DECLARED
  843. /* 31 */
  844. EXTERN Status XGetGeometry (Display * d, Drawable dr, Window * w,
  845. int * i1, int * i2, unsigned int * ui1,
  846. unsigned int * ui2, unsigned int * ui3,
  847. unsigned int * ui4);
  848. #endif
  849. #ifndef XGetWindowProperty_TCL_DECLARED
  850. #define XGetWindowProperty_TCL_DECLARED
  851. /* 32 */
  852. EXTERN int XGetWindowProperty (Display * d, Window w, Atom a1,
  853. long l1, long l2, Bool b, Atom a2, Atom * ap,
  854. int * ip, unsigned long * ulp1,
  855. unsigned long * ulp2, unsigned char ** cpp);
  856. #endif
  857. #ifndef XGrabKeyboard_TCL_DECLARED
  858. #define XGrabKeyboard_TCL_DECLARED
  859. /* 33 */
  860. EXTERN int XGrabKeyboard (Display * d, Window w, Bool b, int i1,
  861. int i2, Time t);
  862. #endif
  863. #ifndef XGrabPointer_TCL_DECLARED
  864. #define XGrabPointer_TCL_DECLARED
  865. /* 34 */
  866. EXTERN int XGrabPointer (Display * d, Window w1, Bool b,
  867. unsigned int ui, int i1, int i2, Window w2,
  868. Cursor c, Time t);
  869. #endif
  870. #ifndef XKeysymToKeycode_TCL_DECLARED
  871. #define XKeysymToKeycode_TCL_DECLARED
  872. /* 35 */
  873. EXTERN KeyCode XKeysymToKeycode (Display * d, KeySym k);
  874. #endif
  875. #ifndef XMapWindow_TCL_DECLARED
  876. #define XMapWindow_TCL_DECLARED
  877. /* 36 */
  878. EXTERN void XMapWindow (Display * d, Window w);
  879. #endif
  880. #ifndef XMoveResizeWindow_TCL_DECLARED
  881. #define XMoveResizeWindow_TCL_DECLARED
  882. /* 37 */
  883. EXTERN void XMoveResizeWindow (Display * d, Window w, int i1,
  884. int i2, unsigned int ui1, unsigned int ui2);
  885. #endif
  886. #ifndef XMoveWindow_TCL_DECLARED
  887. #define XMoveWindow_TCL_DECLARED
  888. /* 38 */
  889. EXTERN void XMoveWindow (Display * d, Window w, int i1, int i2);
  890. #endif
  891. #ifndef XQueryPointer_TCL_DECLARED
  892. #define XQueryPointer_TCL_DECLARED
  893. /* 39 */
  894. EXTERN Bool XQueryPointer (Display * d, Window w1, Window * w2,
  895. Window * w3, int * i1, int * i2, int * i3,
  896. int * i4, unsigned int * ui);
  897. #endif
  898. #ifndef XRaiseWindow_TCL_DECLARED
  899. #define XRaiseWindow_TCL_DECLARED
  900. /* 40 */
  901. EXTERN void XRaiseWindow (Display * d, Window w);
  902. #endif
  903. #ifndef XRefreshKeyboardMapping_TCL_DECLARED
  904. #define XRefreshKeyboardMapping_TCL_DECLARED
  905. /* 41 */
  906. EXTERN void XRefreshKeyboardMapping (XMappingEvent * x);
  907. #endif
  908. #ifndef XResizeWindow_TCL_DECLARED
  909. #define XResizeWindow_TCL_DECLARED
  910. /* 42 */
  911. EXTERN void XResizeWindow (Display * d, Window w,
  912. unsigned int ui1, unsigned int ui2);
  913. #endif
  914. #ifndef XSelectInput_TCL_DECLARED
  915. #define XSelectInput_TCL_DECLARED
  916. /* 43 */
  917. EXTERN void XSelectInput (Display * d, Window w, long l);
  918. #endif
  919. #ifndef XSendEvent_TCL_DECLARED
  920. #define XSendEvent_TCL_DECLARED
  921. /* 44 */
  922. EXTERN Status XSendEvent (Display * d, Window w, Bool b, long l,
  923. XEvent * x);
  924. #endif
  925. #ifndef XSetIconName_TCL_DECLARED
  926. #define XSetIconName_TCL_DECLARED
  927. /* 45 */
  928. EXTERN void XSetIconName (Display * d, Window w,
  929. _Xconst char * c);
  930. #endif
  931. #ifndef XSetInputFocus_TCL_DECLARED
  932. #define XSetInputFocus_TCL_DECLARED
  933. /* 46 */
  934. EXTERN void XSetInputFocus (Display * d, Window w, int i, Time t);
  935. #endif
  936. #ifndef XSetSelectionOwner_TCL_DECLARED
  937. #define XSetSelectionOwner_TCL_DECLARED
  938. /* 47 */
  939. EXTERN void XSetSelectionOwner (Display * d, Atom a, Window w,
  940. Time t);
  941. #endif
  942. #ifndef XSetWindowBackground_TCL_DECLARED
  943. #define XSetWindowBackground_TCL_DECLARED
  944. /* 48 */
  945. EXTERN void XSetWindowBackground (Display * d, Window w,
  946. unsigned long ul);
  947. #endif
  948. #ifndef XSetWindowBackgroundPixmap_TCL_DECLARED
  949. #define XSetWindowBackgroundPixmap_TCL_DECLARED
  950. /* 49 */
  951. EXTERN void XSetWindowBackgroundPixmap (Display * d, Window w,
  952. Pixmap p);
  953. #endif
  954. #ifndef XSetWindowBorder_TCL_DECLARED
  955. #define XSetWindowBorder_TCL_DECLARED
  956. /* 50 */
  957. EXTERN void XSetWindowBorder (Display * d, Window w,
  958. unsigned long ul);
  959. #endif
  960. #ifndef XSetWindowBorderPixmap_TCL_DECLARED
  961. #define XSetWindowBorderPixmap_TCL_DECLARED
  962. /* 51 */
  963. EXTERN void XSetWindowBorderPixmap (Display * d, Window w,
  964. Pixmap p);
  965. #endif
  966. #ifndef XSetWindowBorderWidth_TCL_DECLARED
  967. #define XSetWindowBorderWidth_TCL_DECLARED
  968. /* 52 */
  969. EXTERN void XSetWindowBorderWidth (Display * d, Window w,
  970. unsigned int ui);
  971. #endif
  972. #ifndef XSetWindowColormap_TCL_DECLARED
  973. #define XSetWindowColormap_TCL_DECLARED
  974. /* 53 */
  975. EXTERN void XSetWindowColormap (Display * d, Window w,
  976. Colormap c);
  977. #endif
  978. #ifndef XUngrabKeyboard_TCL_DECLARED
  979. #define XUngrabKeyboard_TCL_DECLARED
  980. /* 54 */
  981. EXTERN void XUngrabKeyboard (Display * d, Time t);
  982. #endif
  983. #ifndef XUngrabPointer_TCL_DECLARED
  984. #define XUngrabPointer_TCL_DECLARED
  985. /* 55 */
  986. EXTERN void XUngrabPointer (Display * d, Time t);
  987. #endif
  988. #ifndef XUnmapWindow_TCL_DECLARED
  989. #define XUnmapWindow_TCL_DECLARED
  990. /* 56 */
  991. EXTERN void XUnmapWindow (Display * d, Window w);
  992. #endif
  993. #ifndef TkPutImage_TCL_DECLARED
  994. #define TkPutImage_TCL_DECLARED
  995. /* 57 */
  996. EXTERN void TkPutImage (unsigned long * colors, int ncolors,
  997. Display * display, Drawable d, GC gc,
  998. XImage * image, int src_x, int src_y,
  999. int dest_x, int dest_y, unsigned int width,
  1000. unsigned int height);
  1001. #endif
  1002. #ifndef XParseColor_TCL_DECLARED
  1003. #define XParseColor_TCL_DECLARED
  1004. /* 58 */
  1005. EXTERN Status XParseColor (Display * display, Colormap map,
  1006. _Xconst char * spec, XColor * colorPtr);
  1007. #endif
  1008. #ifndef XCreateGC_TCL_DECLARED
  1009. #define XCreateGC_TCL_DECLARED
  1010. /* 59 */
  1011. EXTERN GC XCreateGC (Display * display, Drawable d,
  1012. unsigned long valuemask, XGCValues * values);
  1013. #endif
  1014. #ifndef XFreeGC_TCL_DECLARED
  1015. #define XFreeGC_TCL_DECLARED
  1016. /* 60 */
  1017. EXTERN void XFreeGC (Display * display, GC gc);
  1018. #endif
  1019. #ifndef XInternAtom_TCL_DECLARED
  1020. #define XInternAtom_TCL_DECLARED
  1021. /* 61 */
  1022. EXTERN Atom XInternAtom (Display * display,
  1023. _Xconst char * atom_name,
  1024. Bool only_if_exists);
  1025. #endif
  1026. #ifndef XSetBackground_TCL_DECLARED
  1027. #define XSetBackground_TCL_DECLARED
  1028. /* 62 */
  1029. EXTERN void XSetBackground (Display * display, GC gc,
  1030. unsigned long foreground);
  1031. #endif
  1032. #ifndef XSetForeground_TCL_DECLARED
  1033. #define XSetForeground_TCL_DECLARED
  1034. /* 63 */
  1035. EXTERN void XSetForeground (Display * display, GC gc,
  1036. unsigned long foreground);
  1037. #endif
  1038. #ifndef XSetClipMask_TCL_DECLARED
  1039. #define XSetClipMask_TCL_DECLARED
  1040. /* 64 */
  1041. EXTERN void XSetClipMask (Display * display, GC gc,
  1042. Pixmap pixmap);
  1043. #endif
  1044. #ifndef XSetClipOrigin_TCL_DECLARED
  1045. #define XSetClipOrigin_TCL_DECLARED
  1046. /* 65 */
  1047. EXTERN void XSetClipOrigin (Display * display, GC gc,
  1048. int clip_x_origin, int clip_y_origin);
  1049. #endif
  1050. #ifndef XSetTSOrigin_TCL_DECLARED
  1051. #define XSetTSOrigin_TCL_DECLARED
  1052. /* 66 */
  1053. EXTERN void XSetTSOrigin (Display * display, GC gc,
  1054. int ts_x_origin, int ts_y_origin);
  1055. #endif
  1056. #ifndef XChangeGC_TCL_DECLARED
  1057. #define XChangeGC_TCL_DECLARED
  1058. /* 67 */
  1059. EXTERN void XChangeGC (Display * d, GC gc, unsigned long mask,
  1060. XGCValues * values);
  1061. #endif
  1062. #ifndef XSetFont_TCL_DECLARED
  1063. #define XSetFont_TCL_DECLARED
  1064. /* 68 */
  1065. EXTERN void XSetFont (Display * display, GC gc, Font font);
  1066. #endif
  1067. #ifndef XSetArcMode_TCL_DECLARED
  1068. #define XSetArcMode_TCL_DECLARED
  1069. /* 69 */
  1070. EXTERN void XSetArcMode (Display * display, GC gc, int arc_mode);
  1071. #endif
  1072. #ifndef XSetStipple_TCL_DECLARED
  1073. #define XSetStipple_TCL_DECLARED
  1074. /* 70 */
  1075. EXTERN void XSetStipple (Display * display, GC gc,
  1076. Pixmap stipple);
  1077. #endif
  1078. #ifndef XSetFillRule_TCL_DECLARED
  1079. #define XSetFillRule_TCL_DECLARED
  1080. /* 71 */
  1081. EXTERN void XSetFillRule (Display * display, GC gc,
  1082. int fill_rule);
  1083. #endif
  1084. #ifndef XSetFillStyle_TCL_DECLARED
  1085. #define XSetFillStyle_TCL_DECLARED
  1086. /* 72 */
  1087. EXTERN void XSetFillStyle (Display * display, GC gc,
  1088. int fill_style);
  1089. #endif
  1090. #ifndef XSetFunction_TCL_DECLARED
  1091. #define XSetFunction_TCL_DECLARED
  1092. /* 73 */
  1093. EXTERN void XSetFunction (Display * display, GC gc, int function);
  1094. #endif
  1095. #ifndef XSetLineAttributes_TCL_DECLARED
  1096. #define XSetLineAttributes_TCL_DECLARED
  1097. /* 74 */
  1098. EXTERN void XSetLineAttributes (Display * display, GC gc,
  1099. unsigned int line_width, int line_style,
  1100. int cap_style, int join_style);
  1101. #endif
  1102. #ifndef _XInitImageFuncPtrs_TCL_DECLARED
  1103. #define _XInitImageFuncPtrs_TCL_DECLARED
  1104. /* 75 */
  1105. EXTERN int _XInitImageFuncPtrs (XImage * image);
  1106. #endif
  1107. #ifndef XCreateIC_TCL_DECLARED
  1108. #define XCreateIC_TCL_DECLARED
  1109. /* 76 */
  1110. EXTERN XIC XCreateIC (void);
  1111. #endif
  1112. #ifndef XGetVisualInfo_TCL_DECLARED
  1113. #define XGetVisualInfo_TCL_DECLARED
  1114. /* 77 */
  1115. EXTERN XVisualInfo * XGetVisualInfo (Display * display, long vinfo_mask,
  1116. XVisualInfo * vinfo_template,
  1117. int * nitems_return);
  1118. #endif
  1119. #ifndef XSetWMClientMachine_TCL_DECLARED
  1120. #define XSetWMClientMachine_TCL_DECLARED
  1121. /* 78 */
  1122. EXTERN void XSetWMClientMachine (Display * display, Window w,
  1123. XTextProperty * text_prop);
  1124. #endif
  1125. #ifndef XStringListToTextProperty_TCL_DECLARED
  1126. #define XStringListToTextProperty_TCL_DECLARED
  1127. /* 79 */
  1128. EXTERN Status XStringListToTextProperty (char ** list, int count,
  1129. XTextProperty * text_prop_return);
  1130. #endif
  1131. #ifndef XDrawSegments_TCL_DECLARED
  1132. #define XDrawSegments_TCL_DECLARED
  1133. /* 80 */
  1134. EXTERN void XDrawSegments (Display * display, Drawable d, GC gc,
  1135. XSegment * segments, int nsegments);
  1136. #endif
  1137. #ifndef XForceScreenSaver_TCL_DECLARED
  1138. #define XForceScreenSaver_TCL_DECLARED
  1139. /* 81 */
  1140. EXTERN void XForceScreenSaver (Display * display, int mode);
  1141. #endif
  1142. #ifndef XDrawLine_TCL_DECLARED
  1143. #define XDrawLine_TCL_DECLARED
  1144. /* 82 */
  1145. EXTERN void XDrawLine (Display * d, Drawable dr, GC g, int x1,
  1146. int y1, int x2, int y2);
  1147. #endif
  1148. #ifndef XFillRectangle_TCL_DECLARED
  1149. #define XFillRectangle_TCL_DECLARED
  1150. /* 83 */
  1151. EXTERN void XFillRectangle (Display * display, Drawable d, GC gc,
  1152. int x, int y, unsigned int width,
  1153. unsigned int height);
  1154. #endif
  1155. #ifndef XClearWindow_TCL_DECLARED
  1156. #define XClearWindow_TCL_DECLARED
  1157. /* 84 */
  1158. EXTERN void XClearWindow (Display * d, Window w);
  1159. #endif
  1160. #ifndef XDrawPoint_TCL_DECLARED
  1161. #define XDrawPoint_TCL_DECLARED
  1162. /* 85 */
  1163. EXTERN void XDrawPoint (Display * display, Drawable d, GC gc,
  1164. int x, int y);
  1165. #endif
  1166. #ifndef XDrawPoints_TCL_DECLARED
  1167. #define XDrawPoints_TCL_DECLARED
  1168. /* 86 */
  1169. EXTERN void XDrawPoints (Display * display, Drawable d, GC gc,
  1170. XPoint * points, int npoints, int mode);
  1171. #endif
  1172. #ifndef XWarpPointer_TCL_DECLARED
  1173. #define XWarpPointer_TCL_DECLARED
  1174. /* 87 */
  1175. EXTERN void XWarpPointer (Display * display, Window src_w,
  1176. Window dest_w, int src_x, int src_y,
  1177. unsigned int src_width,
  1178. unsigned int src_height, int dest_x,
  1179. int dest_y);
  1180. #endif
  1181. #ifndef XQueryColor_TCL_DECLARED
  1182. #define XQueryColor_TCL_DECLARED
  1183. /* 88 */
  1184. EXTERN void XQueryColor (Display * display, Colormap colormap,
  1185. XColor * def_in_out);
  1186. #endif
  1187. #ifndef XQueryColors_TCL_DECLARED
  1188. #define XQueryColors_TCL_DECLARED
  1189. /* 89 */
  1190. EXTERN void XQueryColors (Display * display, Colormap colormap,
  1191. XColor * defs_in_out, int ncolors);
  1192. #endif
  1193. #ifndef XQueryTree_TCL_DECLARED
  1194. #define XQueryTree_TCL_DECLARED
  1195. /* 90 */
  1196. EXTERN Status XQueryTree (Display * d, Window w1, Window * w2,
  1197. Window * w3, Window ** w4, unsigned int * ui);
  1198. #endif
  1199. #ifndef XSync_TCL_DECLARED
  1200. #define XSync_TCL_DECLARED
  1201. /* 91 */
  1202. EXTERN int XSync (Display * display, Bool flag);
  1203. #endif
  1204. #endif /* AQUA */
  1205. typedef struct TkIntXlibStubs {
  1206. int magic;
  1207. struct TkIntXlibStubHooks *hooks;
  1208. #ifdef __WIN32__ /* WIN */
  1209. void (*xSetDashes) (Display * display, GC gc, int dash_offset, _Xconst char * dash_list, int n); /* 0 */
  1210. XModifierKeymap * (*xGetModifierMapping) (Display * d); /* 1 */
  1211. XImage * (*xCreateImage) (Display * d, Visual * v, unsigned int ui1, int i1, int i2, char * cp, unsigned int ui2, unsigned int ui3, int i3, int i4); /* 2 */
  1212. XImage * (*xGetImage) (Display * d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */
  1213. char * (*xGetAtomName) (Display * d, Atom a); /* 4 */
  1214. char * (*xKeysymToString) (KeySym k); /* 5 */
  1215. Colormap (*xCreateColormap) (Display * d, Window w, Visual * v, int i); /* 6 */
  1216. Cursor (*xCreatePixmapCursor) (Display * d, Pixmap p1, Pixmap p2, XColor * x1, XColor * x2, unsigned int ui1, unsigned int ui2); /* 7 */
  1217. Cursor (*xCreateGlyphCursor) (Display * d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor * x1, XColor * x2); /* 8 */
  1218. GContext (*xGContextFromGC) (GC g); /* 9 */
  1219. XHostAddress * (*xListHosts) (Display * d, int * i, Bool * b); /* 10 */
  1220. KeySym (*xKeycodeToKeysym) (Display * d, unsigned int k, int i); /* 11 */
  1221. KeySym (*xStringToKeysym) (_Xconst char * c); /* 12 */
  1222. Window (*xRootWindow) (Display * d, int i); /* 13 */
  1223. XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 14 */
  1224. Status (*xIconifyWindow) (Display * d, Window w, int i); /* 15 */
  1225. Status (*xWithdrawWindow) (Display * d, Window w, int i); /* 16 */
  1226. Status (*xGetWMColormapWindows) (Display * d, Window w, Window ** wpp, int * ip); /* 17 */
  1227. Status (*xAllocColor) (Display * d, Colormap c, XColor * xp); /* 18 */
  1228. void (*xBell) (Display * d, int i); /* 19 */
  1229. void (*xChangeProperty) (Display * d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char * c, int i3); /* 20 */
  1230. void (*xChangeWindowAttributes) (Display * d, Window w, unsigned long ul, XSetWindowAttributes * x); /* 21 */
  1231. void (*xClearWindow) (Display * d, Window w); /* 22 */
  1232. void (*xConfigureWindow) (Display * d, Window w, unsigned int i, XWindowChanges * x); /* 23 */
  1233. void (*xCopyArea) (Display * d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 24 */
  1234. void (*xCopyPlane) (Display * d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 25 */
  1235. Pixmap (*xCreateBitmapFromData) (Display * display, Drawable d, _Xconst char * data, unsigned int width, unsigned int height); /* 26 */
  1236. void (*xDefineCursor) (Display * d, Window w, Cursor c); /* 27 */
  1237. void (*xDeleteProperty) (Display * d, Window w, Atom a); /* 28 */
  1238. void (*xDestroyWindow) (Display * d, Window w); /* 29 */
  1239. void (*xDrawArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 30 */
  1240. void (*xDrawLines) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2); /* 31 */
  1241. void (*xDrawRectangle) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 32 */
  1242. void (*xFillArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 33 */
  1243. void (*xFillPolygon) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2, int i3); /* 34 */
  1244. void (*xFillRectangles) (Display * d, Drawable dr, GC g, XRectangle * x, int i); /* 35 */
  1245. void (*xForceScreenSaver) (Display * d, int i); /* 36 */
  1246. void (*xFreeColormap) (Display * d, Colormap c); /* 37 */
  1247. void (*xFreeColors) (Display * d, Colormap c, unsigned long * ulp, int i, unsigned long ul); /* 38 */
  1248. void (*xFreeCursor) (Display * d, Cursor c); /* 39 */
  1249. void (*xFreeModifiermap) (XModifierKeymap * x); /* 40 */
  1250. Status (*xGetGeometry) (Display * d, Drawable dr, Window * w, int * i1, int * i2, unsigned int * ui1, unsigned int * ui2, unsigned int * ui3, unsigned int * ui4); /* 41 */
  1251. void (*xGetInputFocus) (Display * d, Window * w, int * i); /* 42 */
  1252. int (*xGetWindowProperty) (Display * d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom * ap, int * ip, unsigned long * ulp1, unsigned long * ulp2, unsigned char ** cpp); /* 43 */
  1253. Status (*xGetWindowAttributes) (Display * d, Window w, XWindowAttributes * x); /* 44 */
  1254. int (*xGrabKeyboard) (Display * d, Window w, Bool b, int i1, int i2, Time t); /* 45 */
  1255. int (*xGrabPointer) (Display * d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 46 */
  1256. KeyCode (*xKeysymToKeycode) (Display * d, KeySym k); /* 47 */
  1257. Status (*xLookupColor) (Display * d, Colormap c1, _Xconst char * c2, XColor * x1, XColor * x2); /* 48 */
  1258. void (*xMapWindow) (Display * d, Window w); /* 49 */
  1259. void (*xMoveResizeWindow) (Display * d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 50 */
  1260. void (*xMoveWindow) (Display * d, Window w, int i1, int i2); /* 51 */
  1261. void (*xNextEvent) (Display * d, XEvent * x); /* 52 */
  1262. void (*xPutBackEvent) (Display * d, XEvent * x); /* 53 */
  1263. void (*xQueryColors) (Display * d, Colormap c, XColor * x, int i); /* 54 */
  1264. Bool (*xQueryPointer) (Display * d, Window w1, Window * w2, Window * w3, int * i1, int * i2, int * i3, int * i4, unsigned int * ui); /* 55 */
  1265. Status (*xQueryTree) (Display * d, Window w1, Window * w2, Window * w3, Window ** w4, unsigned int * ui); /* 56 */
  1266. void (*xRaiseWindow) (Display * d, Window w); /* 57 */
  1267. void (*xRefreshKeyboardMapping) (XMappingEvent * x); /* 58 */
  1268. void (*xResizeWindow) (Display * d, Window w, unsigned int ui1, unsigned int ui2); /* 59 */
  1269. void (*xSelectInput) (Display * d, Window w, long l); /* 60 */
  1270. Status (*xSendEvent) (Display * d, Window w, Bool b, long l, XEvent * x); /* 61 */
  1271. void (*xSetCommand) (Display * d, Window w, CONST char ** c, int i); /* 62 */
  1272. void (*xSetIconName) (Display * d, Window w, _Xconst char * c); /* 63 */
  1273. void (*xSetInputFocus) (Display * d, Window w, int i, Time t); /* 64 */
  1274. void (*xSetSelectionOwner) (Display * d, Atom a, Window w, Time t); /* 65 */
  1275. void (*xSetWindowBackground) (Display * d, Window w, unsigned long ul); /* 66 */
  1276. void (*xSetWindowBackgroundPixmap) (Display * d, Window w, Pixmap p); /* 67 */
  1277. void (*xSetWindowBorder) (Display * d, Window w, unsigned long ul); /* 68 */
  1278. void (*xSetWindowBorderPixmap) (Display * d, Window w, Pixmap p); /* 69 */
  1279. void (*xSetWindowBorderWidth) (Display * d, Window w, unsigned int ui); /* 70 */
  1280. void (*xSetWindowColormap) (Display * d, Window w, Colormap c); /* 71 */
  1281. Bool (*xTranslateCoordinates) (Display * d, Window w1, Window w2, int i1, int i2, int * i3, int * i4, Window * w3); /* 72 */
  1282. void (*xUngrabKeyboard) (Display * d, Time t); /* 73 */
  1283. void (*xUngrabPointer) (Display * d, Time t); /* 74 */
  1284. void (*xUnmapWindow) (Display * d, Window w); /* 75 */
  1285. void (*xWindowEvent) (Display * d, Window w, long l, XEvent * x); /* 76 */
  1286. void (*xDestroyIC) (XIC x); /* 77 */
  1287. Bool (*xFilterEvent) (XEvent * x, Window w); /* 78 */
  1288. int (*xmbLookupString) (XIC xi, XKeyPressedEvent * xk, char * c, int i, KeySym * k, Status * s); /* 79 */
  1289. void (*tkPutImage) (unsigned long * colors, int ncolors, Display * display, Drawable d, GC gc, XImage * image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 80 */
  1290. void *reserved81;
  1291. Status (*xParseColor) (Display * display, Colormap map, _Xconst char * spec, XColor * colorPtr); /* 82 */
  1292. GC (*xCreateGC) (Display * display, Drawable d, unsigned long valuemask, XGCValues * values); /* 83 */
  1293. void (*xFreeGC) (Display * display, GC gc); /* 84 */
  1294. Atom (*xInternAtom) (Display * display, _Xconst char * atom_name, Bool only_if_exists); /* 85 */
  1295. void (*xSetBackground) (Display * display, GC gc, unsigned long foreground); /* 86 */
  1296. void (*xSetForeground) (Display * display, GC gc, unsigned long foreground); /* 87 */
  1297. void (*xSetClipMask) (Display * display, GC gc, Pixmap pixmap); /* 88 */
  1298. void (*xSetClipOrigin) (Display * display, GC gc, int clip_x_origin, int clip_y_origin); /* 89 */
  1299. void (*xSetTSOrigin) (Display * display, GC gc, int ts_x_origin, int ts_y_origin); /* 90 */
  1300. void (*xChangeGC) (Display * d, GC gc, unsigned long mask, XGCValues * values); /* 91 */
  1301. void (*xSetFont) (Display * display, GC gc, Font font); /* 92 */
  1302. void (*xSetArcMode) (Display * display, GC gc, int arc_mode); /* 93 */
  1303. void (*xSetStipple) (Display * display, GC gc, Pixmap stipple); /* 94 */
  1304. void (*xSetFillRule) (Display * display, GC gc, int fill_rule); /* 95 */
  1305. void (*xSetFillStyle) (Display * display, GC gc, int fill_style); /* 96 */
  1306. void (*xSetFunction) (Display * display, GC gc, int function); /* 97 */
  1307. void (*xSetLineAttributes) (Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 98 */
  1308. int (*_XInitImageFuncPtrs) (XImage * image); /* 99 */
  1309. XIC (*xCreateIC) (void); /* 100 */
  1310. XVisualInfo * (*xGetVisualInfo) (Display * display, long vinfo_mask, XVisualInfo * vinfo_template, int * nitems_return); /* 101 */
  1311. void (*xSetWMClientMachine) (Display * display, Window w, XTextProperty * text_prop); /* 102 */
  1312. Status (*xStringListToTextProperty) (char ** list, int count, XTextProperty * text_prop_return); /* 103 */
  1313. void (*xDrawLine) (Display * d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 104 */
  1314. void (*xWarpPointer) (Display * d, Window s, Window dw, int sx, int sy, unsigned int sw, unsigned int sh, int dx, int dy); /* 105 */
  1315. void (*xFillRectangle) (Display * display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 106 */
  1316. #endif /* WIN */
  1317. #ifdef MAC_OSX_TK /* AQUA */
  1318. void (*xSetDashes) (Display * display, GC gc, int dash_offset, _Xconst char * dash_list, int n); /* 0 */
  1319. XModifierKeymap * (*xGetModifierMapping) (Display * d); /* 1 */
  1320. XImage * (*xCreateImage) (Display * d, Visual * v, unsigned int ui1, int i1, int i2, char * cp, unsigned int ui2, unsigned int ui3, int i3, int i4); /* 2 */
  1321. XImage * (*xGetImage) (Display * d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */
  1322. char * (*xGetAtomName) (Display * d, Atom a); /* 4 */
  1323. char * (*xKeysymToString) (KeySym k); /* 5 */
  1324. Colormap (*xCreateColormap) (Display * d, Window w, Visual * v, int i); /* 6 */
  1325. GContext (*xGContextFromGC) (GC g); /* 7 */
  1326. KeySym (*xKeycodeToKeysym) (Display * d, KeyCode k, int i); /* 8 */
  1327. KeySym (*xStringToKeysym) (_Xconst char * c); /* 9 */
  1328. Window (*xRootWindow) (Display * d, int i); /* 10 */
  1329. XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 11 */
  1330. Status (*xAllocColor) (Display * d, Colormap c, XColor * xp); /* 12 */
  1331. void (*xBell) (Display * d, int i); /* 13 */
  1332. void (*xChangeProperty) (Display * d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char * c, int i3); /* 14 */
  1333. void (*xChangeWindowAttributes) (Display * d, Window w, unsigned long ul, XSetWindowAttributes * x); /* 15 */
  1334. void (*xConfigureWindow) (Display * d, Window w, unsigned int i, XWindowChanges * x); /* 16 */
  1335. void (*xCopyArea) (Display * d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 17 */
  1336. void (*xCopyPlane) (Display * d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 18 */
  1337. Pixmap (*xCreateBitmapFromData) (Display * display, Drawable d, _Xconst char * data, unsigned int width, unsigned int height); /* 19 */
  1338. void (*xDefineCursor) (Display * d, Window w, Cursor c); /* 20 */
  1339. void (*xDestroyWindow) (Display * d, Window w); /* 21 */
  1340. void (*xDrawArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 22 */
  1341. void (*xDrawLines) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2); /* 23 */
  1342. void (*xDrawRectangle) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 24 */
  1343. void (*xFillArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 25 */
  1344. void (*xFillPolygon) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2, int i3); /* 26 */
  1345. void (*xFillRectangles) (Display * d, Drawable dr, GC g, XRectangle * x, int i); /* 27 */
  1346. void (*xFreeColormap) (Display * d, Colormap c); /* 28 */
  1347. void (*xFreeColors) (Display * d, Colormap c, unsigned long * ulp, int i, unsigned long ul); /* 29 */
  1348. void (*xFreeModifiermap) (XModifierKeymap * x); /* 30 */
  1349. Status (*xGetGeometry) (Display * d, Drawable dr, Window * w, int * i1, int * i2, unsigned int * ui1, unsigned int * ui2, unsigned int * ui3, unsigned int * ui4); /* 31 */
  1350. int (*xGetWindowProperty) (Display * d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom * ap, int * ip, unsigned long * ulp1, unsigned long * ulp2, unsigned char ** cpp); /* 32 */
  1351. int (*xGrabKeyboard) (Display * d, Window w, Bool b, int i1, int i2, Time t); /* 33 */
  1352. int (*xGrabPointer) (Display * d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 34 */
  1353. KeyCode (*xKeysymToKeycode) (Display * d, KeySym k); /* 35 */
  1354. void (*xMapWindow) (Display * d, Window w); /* 36 */
  1355. void (*xMoveResizeWindow) (Display * d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 37 */
  1356. void (*xMoveWindow) (Display * d, Window w, int i1, int i2); /* 38 */
  1357. Bool (*xQueryPointer) (Display * d, Window w1, Window * w2, Window * w3, int * i1, int * i2, int * i3, int * i4, unsigned int * ui); /* 39 */
  1358. void (*xRaiseWindow) (Display * d, Window w); /* 40 */
  1359. void (*xRefreshKeyboardMapping) (XMappingEvent * x); /* 41 */
  1360. void (*xResizeWindow) (Display * d, Window w, unsigned int ui1, unsi