PageRenderTime 73ms CodeModel.GetById 27ms RepoModel.GetById 1ms app.codeStats 0ms

/brlcad/branches/dmtogl/src/other/tk/generic/tkIntXlibDecls.h

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