PageRenderTime 45ms CodeModel.GetById 32ms RepoModel.GetById 0ms app.codeStats 0ms

/brlcad/tags/rel-5-2/libtk/generic/tkIntXlibDecls.h

https://bitbucket.org/vrrm/brl-cad-copy-for-fast-history-browsing-in-git
C Header | 1180 lines | 949 code | 13 blank | 218 comment | 1 complexity | 19c0347e81b536acfc6bb634770095ca 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. #ifdef MAC_TCL
  17. #include "Xutil.h"
  18. #else
  19. #include "X11/Xutil.h"
  20. #endif
  21. #ifdef BUILD_tk
  22. #undef TCL_STORAGE_CLASS
  23. #define TCL_STORAGE_CLASS DLLEXPORT
  24. #endif
  25. /*
  26. * WARNING: This file is automatically generated by the tools/genStubs.tcl
  27. * script. Any modifications to the function declarations below should be made
  28. * in the generic/tkInt.decls script.
  29. */
  30. /* !BEGIN!: Do not edit below this line. */
  31. /*
  32. * Exported function declarations:
  33. */
  34. #ifdef __WIN32__
  35. /* Slot 0 is reserved */
  36. /* 1 */
  37. EXTERN XModifierKeymap* XGetModifierMapping _ANSI_ARGS_((Display* d));
  38. /* 2 */
  39. EXTERN XImage * XCreateImage _ANSI_ARGS_((Display* d, Visual* v,
  40. unsigned int ui1, int i1, int i2, char* cp,
  41. unsigned int ui2, unsigned int ui3, int i3,
  42. int i4));
  43. /* 3 */
  44. EXTERN XImage * XGetImage _ANSI_ARGS_((Display* d, Drawable dr,
  45. int i1, int i2, unsigned int ui1,
  46. unsigned int ui2, unsigned long ul, int i3));
  47. /* 4 */
  48. EXTERN char * XGetAtomName _ANSI_ARGS_((Display* d, Atom a));
  49. /* 5 */
  50. EXTERN char * XKeysymToString _ANSI_ARGS_((KeySym k));
  51. /* 6 */
  52. EXTERN Colormap XCreateColormap _ANSI_ARGS_((Display* d, Window w,
  53. Visual* v, int i));
  54. /* 7 */
  55. EXTERN Cursor XCreatePixmapCursor _ANSI_ARGS_((Display* d,
  56. Pixmap p1, Pixmap p2, XColor* x1, XColor* x2,
  57. unsigned int ui1, unsigned int ui2));
  58. /* 8 */
  59. EXTERN Cursor XCreateGlyphCursor _ANSI_ARGS_((Display* d, Font f1,
  60. Font f2, unsigned int ui1, unsigned int ui2,
  61. XColor* x1, XColor* x2));
  62. /* 9 */
  63. EXTERN GContext XGContextFromGC _ANSI_ARGS_((GC g));
  64. /* 10 */
  65. EXTERN XHostAddress * XListHosts _ANSI_ARGS_((Display* d, int* i, Bool* b));
  66. /* 11 */
  67. EXTERN KeySym XKeycodeToKeysym _ANSI_ARGS_((Display* d,
  68. unsigned int k, int i));
  69. /* 12 */
  70. EXTERN KeySym XStringToKeysym _ANSI_ARGS_((_Xconst char* c));
  71. /* 13 */
  72. EXTERN Window XRootWindow _ANSI_ARGS_((Display* d, int i));
  73. /* 14 */
  74. EXTERN XErrorHandler XSetErrorHandler _ANSI_ARGS_((XErrorHandler x));
  75. /* 15 */
  76. EXTERN Status XIconifyWindow _ANSI_ARGS_((Display* d, Window w,
  77. int i));
  78. /* 16 */
  79. EXTERN Status XWithdrawWindow _ANSI_ARGS_((Display* d, Window w,
  80. int i));
  81. /* 17 */
  82. EXTERN Status XGetWMColormapWindows _ANSI_ARGS_((Display* d,
  83. Window w, Window** wpp, int* ip));
  84. /* 18 */
  85. EXTERN Status XAllocColor _ANSI_ARGS_((Display* d, Colormap c,
  86. XColor* xp));
  87. /* 19 */
  88. EXTERN void XBell _ANSI_ARGS_((Display* d, int i));
  89. /* 20 */
  90. EXTERN void XChangeProperty _ANSI_ARGS_((Display* d, Window w,
  91. Atom a1, Atom a2, int i1, int i2,
  92. _Xconst unsigned char* c, int i3));
  93. /* 21 */
  94. EXTERN void XChangeWindowAttributes _ANSI_ARGS_((Display* d,
  95. Window w, unsigned long ul,
  96. XSetWindowAttributes* x));
  97. /* 22 */
  98. EXTERN void XClearWindow _ANSI_ARGS_((Display* d, Window w));
  99. /* 23 */
  100. EXTERN void XConfigureWindow _ANSI_ARGS_((Display* d, Window w,
  101. unsigned int i, XWindowChanges* x));
  102. /* 24 */
  103. EXTERN void XCopyArea _ANSI_ARGS_((Display* d, Drawable dr1,
  104. Drawable dr2, GC g, int i1, int i2,
  105. unsigned int ui1, unsigned int ui2, int i3,
  106. int i4));
  107. /* 25 */
  108. EXTERN void XCopyPlane _ANSI_ARGS_((Display* d, Drawable dr1,
  109. Drawable dr2, GC g, int i1, int i2,
  110. unsigned int ui1, unsigned int ui2, int i3,
  111. int i4, unsigned long ul));
  112. /* 26 */
  113. EXTERN Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display* display,
  114. Drawable d, _Xconst char* data,
  115. unsigned int width, unsigned int height));
  116. /* 27 */
  117. EXTERN void XDefineCursor _ANSI_ARGS_((Display* d, Window w,
  118. Cursor c));
  119. /* 28 */
  120. EXTERN void XDeleteProperty _ANSI_ARGS_((Display* d, Window w,
  121. Atom a));
  122. /* 29 */
  123. EXTERN void XDestroyWindow _ANSI_ARGS_((Display* d, Window w));
  124. /* 30 */
  125. EXTERN void XDrawArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
  126. int i1, int i2, unsigned int ui1,
  127. unsigned int ui2, int i3, int i4));
  128. /* 31 */
  129. EXTERN void XDrawLines _ANSI_ARGS_((Display* d, Drawable dr,
  130. GC g, XPoint* x, int i1, int i2));
  131. /* 32 */
  132. EXTERN void XDrawRectangle _ANSI_ARGS_((Display* d, Drawable dr,
  133. GC g, int i1, int i2, unsigned int ui1,
  134. unsigned int ui2));
  135. /* 33 */
  136. EXTERN void XFillArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
  137. int i1, int i2, unsigned int ui1,
  138. unsigned int ui2, int i3, int i4));
  139. /* 34 */
  140. EXTERN void XFillPolygon _ANSI_ARGS_((Display* d, Drawable dr,
  141. GC g, XPoint* x, int i1, int i2, int i3));
  142. /* 35 */
  143. EXTERN void XFillRectangles _ANSI_ARGS_((Display* d, Drawable dr,
  144. GC g, XRectangle* x, int i));
  145. /* 36 */
  146. EXTERN void XForceScreenSaver _ANSI_ARGS_((Display* d, int i));
  147. /* 37 */
  148. EXTERN void XFreeColormap _ANSI_ARGS_((Display* d, Colormap c));
  149. /* 38 */
  150. EXTERN void XFreeColors _ANSI_ARGS_((Display* d, Colormap c,
  151. unsigned long* ulp, int i, unsigned long ul));
  152. /* 39 */
  153. EXTERN void XFreeCursor _ANSI_ARGS_((Display* d, Cursor c));
  154. /* 40 */
  155. EXTERN void XFreeModifiermap _ANSI_ARGS_((XModifierKeymap* x));
  156. /* 41 */
  157. EXTERN Status XGetGeometry _ANSI_ARGS_((Display* d, Drawable dr,
  158. Window* w, int* i1, int* i2,
  159. unsigned int* ui1, unsigned int* ui2,
  160. unsigned int* ui3, unsigned int* ui4));
  161. /* 42 */
  162. EXTERN void XGetInputFocus _ANSI_ARGS_((Display* d, Window* w,
  163. int* i));
  164. /* 43 */
  165. EXTERN int XGetWindowProperty _ANSI_ARGS_((Display* d, Window w,
  166. Atom a1, long l1, long l2, Bool b, Atom a2,
  167. Atom* ap, int* ip, unsigned long* ulp1,
  168. unsigned long* ulp2, unsigned char** cpp));
  169. /* 44 */
  170. EXTERN Status XGetWindowAttributes _ANSI_ARGS_((Display* d,
  171. Window w, XWindowAttributes* x));
  172. /* 45 */
  173. EXTERN int XGrabKeyboard _ANSI_ARGS_((Display* d, Window w,
  174. Bool b, int i1, int i2, Time t));
  175. /* 46 */
  176. EXTERN int XGrabPointer _ANSI_ARGS_((Display* d, Window w1,
  177. Bool b, unsigned int ui, int i1, int i2,
  178. Window w2, Cursor c, Time t));
  179. /* 47 */
  180. EXTERN KeyCode XKeysymToKeycode _ANSI_ARGS_((Display* d, KeySym k));
  181. /* 48 */
  182. EXTERN Status XLookupColor _ANSI_ARGS_((Display* d, Colormap c1,
  183. _Xconst char* c2, XColor* x1, XColor* x2));
  184. /* 49 */
  185. EXTERN void XMapWindow _ANSI_ARGS_((Display* d, Window w));
  186. /* 50 */
  187. EXTERN void XMoveResizeWindow _ANSI_ARGS_((Display* d, Window w,
  188. int i1, int i2, unsigned int ui1,
  189. unsigned int ui2));
  190. /* 51 */
  191. EXTERN void XMoveWindow _ANSI_ARGS_((Display* d, Window w,
  192. int i1, int i2));
  193. /* 52 */
  194. EXTERN void XNextEvent _ANSI_ARGS_((Display* d, XEvent* x));
  195. /* 53 */
  196. EXTERN void XPutBackEvent _ANSI_ARGS_((Display* d, XEvent* x));
  197. /* 54 */
  198. EXTERN void XQueryColors _ANSI_ARGS_((Display* d, Colormap c,
  199. XColor* x, int i));
  200. /* 55 */
  201. EXTERN Bool XQueryPointer _ANSI_ARGS_((Display* d, Window w1,
  202. Window* w2, Window* w3, int* i1, int* i2,
  203. int* i3, int* i4, unsigned int* ui));
  204. /* 56 */
  205. EXTERN Status XQueryTree _ANSI_ARGS_((Display* d, Window w1,
  206. Window* w2, Window* w3, Window** w4,
  207. unsigned int* ui));
  208. /* 57 */
  209. EXTERN void XRaiseWindow _ANSI_ARGS_((Display* d, Window w));
  210. /* 58 */
  211. EXTERN void XRefreshKeyboardMapping _ANSI_ARGS_((
  212. XMappingEvent* x));
  213. /* 59 */
  214. EXTERN void XResizeWindow _ANSI_ARGS_((Display* d, Window w,
  215. unsigned int ui1, unsigned int ui2));
  216. /* 60 */
  217. EXTERN void XSelectInput _ANSI_ARGS_((Display* d, Window w,
  218. long l));
  219. /* 61 */
  220. EXTERN Status XSendEvent _ANSI_ARGS_((Display* d, Window w, Bool b,
  221. long l, XEvent* x));
  222. /* 62 */
  223. EXTERN void XSetCommand _ANSI_ARGS_((Display* d, Window w,
  224. char** c, int i));
  225. /* 63 */
  226. EXTERN void XSetIconName _ANSI_ARGS_((Display* d, Window w,
  227. _Xconst char* c));
  228. /* 64 */
  229. EXTERN void XSetInputFocus _ANSI_ARGS_((Display* d, Window w,
  230. int i, Time t));
  231. /* 65 */
  232. EXTERN void XSetSelectionOwner _ANSI_ARGS_((Display* d, Atom a,
  233. Window w, Time t));
  234. /* 66 */
  235. EXTERN void XSetWindowBackground _ANSI_ARGS_((Display* d,
  236. Window w, unsigned long ul));
  237. /* 67 */
  238. EXTERN void XSetWindowBackgroundPixmap _ANSI_ARGS_((Display* d,
  239. Window w, Pixmap p));
  240. /* 68 */
  241. EXTERN void XSetWindowBorder _ANSI_ARGS_((Display* d, Window w,
  242. unsigned long ul));
  243. /* 69 */
  244. EXTERN void XSetWindowBorderPixmap _ANSI_ARGS_((Display* d,
  245. Window w, Pixmap p));
  246. /* 70 */
  247. EXTERN void XSetWindowBorderWidth _ANSI_ARGS_((Display* d,
  248. Window w, unsigned int ui));
  249. /* 71 */
  250. EXTERN void XSetWindowColormap _ANSI_ARGS_((Display* d, Window w,
  251. Colormap c));
  252. /* 72 */
  253. EXTERN Bool XTranslateCoordinates _ANSI_ARGS_((Display* d,
  254. Window w1, Window w2, int i1, int i2,
  255. int* i3, int* i4, Window* w3));
  256. /* 73 */
  257. EXTERN void XUngrabKeyboard _ANSI_ARGS_((Display* d, Time t));
  258. /* 74 */
  259. EXTERN void XUngrabPointer _ANSI_ARGS_((Display* d, Time t));
  260. /* 75 */
  261. EXTERN void XUnmapWindow _ANSI_ARGS_((Display* d, Window w));
  262. /* 76 */
  263. EXTERN void XWindowEvent _ANSI_ARGS_((Display* d, Window w,
  264. long l, XEvent* x));
  265. /* 77 */
  266. EXTERN void XDestroyIC _ANSI_ARGS_((XIC x));
  267. /* 78 */
  268. EXTERN Bool XFilterEvent _ANSI_ARGS_((XEvent* x, Window w));
  269. /* 79 */
  270. EXTERN int XmbLookupString _ANSI_ARGS_((XIC xi,
  271. XKeyPressedEvent* xk, char* c, int i,
  272. KeySym* k, Status* s));
  273. /* 80 */
  274. EXTERN void TkPutImage _ANSI_ARGS_((unsigned long * colors,
  275. int ncolors, Display* display, Drawable d,
  276. GC gc, XImage* image, int src_x, int src_y,
  277. int dest_x, int dest_y, unsigned int width,
  278. unsigned int height));
  279. /* Slot 81 is reserved */
  280. /* 82 */
  281. EXTERN Status XParseColor _ANSI_ARGS_((Display * display,
  282. Colormap map, _Xconst char* spec,
  283. XColor * colorPtr));
  284. /* 83 */
  285. EXTERN GC XCreateGC _ANSI_ARGS_((Display* display, Drawable d,
  286. unsigned long valuemask, XGCValues* values));
  287. /* 84 */
  288. EXTERN void XFreeGC _ANSI_ARGS_((Display* display, GC gc));
  289. /* 85 */
  290. EXTERN Atom XInternAtom _ANSI_ARGS_((Display* display,
  291. _Xconst char* atom_name, Bool only_if_exists));
  292. /* 86 */
  293. EXTERN void XSetBackground _ANSI_ARGS_((Display* display, GC gc,
  294. unsigned long foreground));
  295. /* 87 */
  296. EXTERN void XSetForeground _ANSI_ARGS_((Display* display, GC gc,
  297. unsigned long foreground));
  298. /* 88 */
  299. EXTERN void XSetClipMask _ANSI_ARGS_((Display* display, GC gc,
  300. Pixmap pixmap));
  301. /* 89 */
  302. EXTERN void XSetClipOrigin _ANSI_ARGS_((Display* display, GC gc,
  303. int clip_x_origin, int clip_y_origin));
  304. /* 90 */
  305. EXTERN void XSetTSOrigin _ANSI_ARGS_((Display* display, GC gc,
  306. int ts_x_origin, int ts_y_origin));
  307. /* 91 */
  308. EXTERN void XChangeGC _ANSI_ARGS_((Display * d, GC gc,
  309. unsigned long mask, XGCValues * values));
  310. /* 92 */
  311. EXTERN void XSetFont _ANSI_ARGS_((Display * display, GC gc,
  312. Font font));
  313. /* 93 */
  314. EXTERN void XSetArcMode _ANSI_ARGS_((Display * display, GC gc,
  315. int arc_mode));
  316. /* 94 */
  317. EXTERN void XSetStipple _ANSI_ARGS_((Display * display, GC gc,
  318. Pixmap stipple));
  319. /* 95 */
  320. EXTERN void XSetFillRule _ANSI_ARGS_((Display * display, GC gc,
  321. int fill_rule));
  322. /* 96 */
  323. EXTERN void XSetFillStyle _ANSI_ARGS_((Display * display, GC gc,
  324. int fill_style));
  325. /* 97 */
  326. EXTERN void XSetFunction _ANSI_ARGS_((Display * display, GC gc,
  327. int function));
  328. /* 98 */
  329. EXTERN void XSetLineAttributes _ANSI_ARGS_((Display * display,
  330. GC gc, unsigned int line_width,
  331. int line_style, int cap_style,
  332. int join_style));
  333. /* 99 */
  334. EXTERN int _XInitImageFuncPtrs _ANSI_ARGS_((XImage * image));
  335. /* 100 */
  336. EXTERN XIC XCreateIC _ANSI_ARGS_((void));
  337. /* 101 */
  338. EXTERN XVisualInfo * XGetVisualInfo _ANSI_ARGS_((Display* display,
  339. long vinfo_mask, XVisualInfo* vinfo_template,
  340. int* nitems_return));
  341. /* 102 */
  342. EXTERN void XSetWMClientMachine _ANSI_ARGS_((Display* display,
  343. Window w, XTextProperty* text_prop));
  344. /* 103 */
  345. EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char** list,
  346. int count, XTextProperty* text_prop_return));
  347. /* 104 */
  348. EXTERN void XDrawLine _ANSI_ARGS_((Display* d, Drawable dr, GC g,
  349. int x1, int y1, int x2, int y2));
  350. /* Slot 105 is reserved */
  351. /* 106 */
  352. EXTERN void XFillRectangle _ANSI_ARGS_((Display* display,
  353. Drawable d, GC gc, int x, int y,
  354. unsigned int width, unsigned int height));
  355. #endif /* __WIN32__ */
  356. #ifdef MAC_TCL
  357. /* Slot 0 is reserved */
  358. /* 1 */
  359. EXTERN XModifierKeymap* XGetModifierMapping _ANSI_ARGS_((Display* d));
  360. /* 2 */
  361. EXTERN XImage * XCreateImage _ANSI_ARGS_((Display* d, Visual* v,
  362. unsigned int ui1, int i1, int i2, char* cp,
  363. unsigned int ui2, unsigned int ui3, int i3,
  364. int i4));
  365. /* 3 */
  366. EXTERN XImage * XGetImage _ANSI_ARGS_((Display* d, Drawable dr,
  367. int i1, int i2, unsigned int ui1,
  368. unsigned int ui2, unsigned long ul, int i3));
  369. /* 4 */
  370. EXTERN char * XGetAtomName _ANSI_ARGS_((Display* d, Atom a));
  371. /* 5 */
  372. EXTERN char * XKeysymToString _ANSI_ARGS_((KeySym k));
  373. /* 6 */
  374. EXTERN Colormap XCreateColormap _ANSI_ARGS_((Display* d, Window w,
  375. Visual* v, int i));
  376. /* 7 */
  377. EXTERN GContext XGContextFromGC _ANSI_ARGS_((GC g));
  378. /* 8 */
  379. EXTERN KeySym XKeycodeToKeysym _ANSI_ARGS_((Display* d, KeyCode k,
  380. int i));
  381. /* 9 */
  382. EXTERN KeySym XStringToKeysym _ANSI_ARGS_((_Xconst char* c));
  383. /* 10 */
  384. EXTERN Window XRootWindow _ANSI_ARGS_((Display* d, int i));
  385. /* 11 */
  386. EXTERN XErrorHandler XSetErrorHandler _ANSI_ARGS_((XErrorHandler x));
  387. /* 12 */
  388. EXTERN Status XAllocColor _ANSI_ARGS_((Display* d, Colormap c,
  389. XColor* xp));
  390. /* 13 */
  391. EXTERN void XBell _ANSI_ARGS_((Display* d, int i));
  392. /* 14 */
  393. EXTERN void XChangeProperty _ANSI_ARGS_((Display* d, Window w,
  394. Atom a1, Atom a2, int i1, int i2,
  395. _Xconst unsigned char* c, int i3));
  396. /* 15 */
  397. EXTERN void XChangeWindowAttributes _ANSI_ARGS_((Display* d,
  398. Window w, unsigned long ul,
  399. XSetWindowAttributes* x));
  400. /* 16 */
  401. EXTERN void XConfigureWindow _ANSI_ARGS_((Display* d, Window w,
  402. unsigned int i, XWindowChanges* x));
  403. /* 17 */
  404. EXTERN void XCopyArea _ANSI_ARGS_((Display* d, Drawable dr1,
  405. Drawable dr2, GC g, int i1, int i2,
  406. unsigned int ui1, unsigned int ui2, int i3,
  407. int i4));
  408. /* 18 */
  409. EXTERN void XCopyPlane _ANSI_ARGS_((Display* d, Drawable dr1,
  410. Drawable dr2, GC g, int i1, int i2,
  411. unsigned int ui1, unsigned int ui2, int i3,
  412. int i4, unsigned long ul));
  413. /* 19 */
  414. EXTERN Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display* display,
  415. Drawable d, _Xconst char* data,
  416. unsigned int width, unsigned int height));
  417. /* 20 */
  418. EXTERN void XDefineCursor _ANSI_ARGS_((Display* d, Window w,
  419. Cursor c));
  420. /* 21 */
  421. EXTERN void XDestroyWindow _ANSI_ARGS_((Display* d, Window w));
  422. /* 22 */
  423. EXTERN void XDrawArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
  424. int i1, int i2, unsigned int ui1,
  425. unsigned int ui2, int i3, int i4));
  426. /* 23 */
  427. EXTERN void XDrawLines _ANSI_ARGS_((Display* d, Drawable dr,
  428. GC g, XPoint* x, int i1, int i2));
  429. /* 24 */
  430. EXTERN void XDrawRectangle _ANSI_ARGS_((Display* d, Drawable dr,
  431. GC g, int i1, int i2, unsigned int ui1,
  432. unsigned int ui2));
  433. /* 25 */
  434. EXTERN void XFillArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
  435. int i1, int i2, unsigned int ui1,
  436. unsigned int ui2, int i3, int i4));
  437. /* 26 */
  438. EXTERN void XFillPolygon _ANSI_ARGS_((Display* d, Drawable dr,
  439. GC g, XPoint* x, int i1, int i2, int i3));
  440. /* 27 */
  441. EXTERN void XFillRectangles _ANSI_ARGS_((Display* d, Drawable dr,
  442. GC g, XRectangle* x, int i));
  443. /* 28 */
  444. EXTERN void XFreeColormap _ANSI_ARGS_((Display* d, Colormap c));
  445. /* 29 */
  446. EXTERN void XFreeColors _ANSI_ARGS_((Display* d, Colormap c,
  447. unsigned long* ulp, int i, unsigned long ul));
  448. /* 30 */
  449. EXTERN void XFreeModifiermap _ANSI_ARGS_((XModifierKeymap* x));
  450. /* 31 */
  451. EXTERN Status XGetGeometry _ANSI_ARGS_((Display* d, Drawable dr,
  452. Window* w, int* i1, int* i2,
  453. unsigned int* ui1, unsigned int* ui2,
  454. unsigned int* ui3, unsigned int* ui4));
  455. /* 32 */
  456. EXTERN int XGetWindowProperty _ANSI_ARGS_((Display* d, Window w,
  457. Atom a1, long l1, long l2, Bool b, Atom a2,
  458. Atom* ap, int* ip, unsigned long* ulp1,
  459. unsigned long* ulp2, unsigned char** cpp));
  460. /* 33 */
  461. EXTERN int XGrabKeyboard _ANSI_ARGS_((Display* d, Window w,
  462. Bool b, int i1, int i2, Time t));
  463. /* 34 */
  464. EXTERN int XGrabPointer _ANSI_ARGS_((Display* d, Window w1,
  465. Bool b, unsigned int ui, int i1, int i2,
  466. Window w2, Cursor c, Time t));
  467. /* 35 */
  468. EXTERN KeyCode XKeysymToKeycode _ANSI_ARGS_((Display* d, KeySym k));
  469. /* 36 */
  470. EXTERN void XMapWindow _ANSI_ARGS_((Display* d, Window w));
  471. /* 37 */
  472. EXTERN void XMoveResizeWindow _ANSI_ARGS_((Display* d, Window w,
  473. int i1, int i2, unsigned int ui1,
  474. unsigned int ui2));
  475. /* 38 */
  476. EXTERN void XMoveWindow _ANSI_ARGS_((Display* d, Window w,
  477. int i1, int i2));
  478. /* 39 */
  479. EXTERN Bool XQueryPointer _ANSI_ARGS_((Display* d, Window w1,
  480. Window* w2, Window* w3, int* i1, int* i2,
  481. int* i3, int* i4, unsigned int* ui));
  482. /* 40 */
  483. EXTERN void XRaiseWindow _ANSI_ARGS_((Display* d, Window w));
  484. /* 41 */
  485. EXTERN void XRefreshKeyboardMapping _ANSI_ARGS_((
  486. XMappingEvent* x));
  487. /* 42 */
  488. EXTERN void XResizeWindow _ANSI_ARGS_((Display* d, Window w,
  489. unsigned int ui1, unsigned int ui2));
  490. /* 43 */
  491. EXTERN void XSelectInput _ANSI_ARGS_((Display* d, Window w,
  492. long l));
  493. /* 44 */
  494. EXTERN Status XSendEvent _ANSI_ARGS_((Display* d, Window w, Bool b,
  495. long l, XEvent* x));
  496. /* 45 */
  497. EXTERN void XSetIconName _ANSI_ARGS_((Display* d, Window w,
  498. _Xconst char* c));
  499. /* 46 */
  500. EXTERN void XSetInputFocus _ANSI_ARGS_((Display* d, Window w,
  501. int i, Time t));
  502. /* 47 */
  503. EXTERN void XSetSelectionOwner _ANSI_ARGS_((Display* d, Atom a,
  504. Window w, Time t));
  505. /* 48 */
  506. EXTERN void XSetWindowBackground _ANSI_ARGS_((Display* d,
  507. Window w, unsigned long ul));
  508. /* 49 */
  509. EXTERN void XSetWindowBackgroundPixmap _ANSI_ARGS_((Display* d,
  510. Window w, Pixmap p));
  511. /* 50 */
  512. EXTERN void XSetWindowBorder _ANSI_ARGS_((Display* d, Window w,
  513. unsigned long ul));
  514. /* 51 */
  515. EXTERN void XSetWindowBorderPixmap _ANSI_ARGS_((Display* d,
  516. Window w, Pixmap p));
  517. /* 52 */
  518. EXTERN void XSetWindowBorderWidth _ANSI_ARGS_((Display* d,
  519. Window w, unsigned int ui));
  520. /* 53 */
  521. EXTERN void XSetWindowColormap _ANSI_ARGS_((Display* d, Window w,
  522. Colormap c));
  523. /* 54 */
  524. EXTERN void XUngrabKeyboard _ANSI_ARGS_((Display* d, Time t));
  525. /* 55 */
  526. EXTERN void XUngrabPointer _ANSI_ARGS_((Display* d, Time t));
  527. /* 56 */
  528. EXTERN void XUnmapWindow _ANSI_ARGS_((Display* d, Window w));
  529. /* 57 */
  530. EXTERN void TkPutImage _ANSI_ARGS_((unsigned long * colors,
  531. int ncolors, Display* display, Drawable d,
  532. GC gc, XImage* image, int src_x, int src_y,
  533. int dest_x, int dest_y, unsigned int width,
  534. unsigned int height));
  535. /* 58 */
  536. EXTERN Status XParseColor _ANSI_ARGS_((Display * display,
  537. Colormap map, _Xconst char* spec,
  538. XColor * colorPtr));
  539. /* 59 */
  540. EXTERN GC XCreateGC _ANSI_ARGS_((Display* display, Drawable d,
  541. unsigned long valuemask, XGCValues* values));
  542. /* 60 */
  543. EXTERN void XFreeGC _ANSI_ARGS_((Display* display, GC gc));
  544. /* 61 */
  545. EXTERN Atom XInternAtom _ANSI_ARGS_((Display* display,
  546. _Xconst char* atom_name, Bool only_if_exists));
  547. /* 62 */
  548. EXTERN void XSetBackground _ANSI_ARGS_((Display* display, GC gc,
  549. unsigned long foreground));
  550. /* 63 */
  551. EXTERN void XSetForeground _ANSI_ARGS_((Display* display, GC gc,
  552. unsigned long foreground));
  553. /* 64 */
  554. EXTERN void XSetClipMask _ANSI_ARGS_((Display* display, GC gc,
  555. Pixmap pixmap));
  556. /* 65 */
  557. EXTERN void XSetClipOrigin _ANSI_ARGS_((Display* display, GC gc,
  558. int clip_x_origin, int clip_y_origin));
  559. /* 66 */
  560. EXTERN void XSetTSOrigin _ANSI_ARGS_((Display* display, GC gc,
  561. int ts_x_origin, int ts_y_origin));
  562. /* 67 */
  563. EXTERN void XChangeGC _ANSI_ARGS_((Display * d, GC gc,
  564. unsigned long mask, XGCValues * values));
  565. /* 68 */
  566. EXTERN void XSetFont _ANSI_ARGS_((Display * display, GC gc,
  567. Font font));
  568. /* 69 */
  569. EXTERN void XSetArcMode _ANSI_ARGS_((Display * display, GC gc,
  570. int arc_mode));
  571. /* 70 */
  572. EXTERN void XSetStipple _ANSI_ARGS_((Display * display, GC gc,
  573. Pixmap stipple));
  574. /* 71 */
  575. EXTERN void XSetFillRule _ANSI_ARGS_((Display * display, GC gc,
  576. int fill_rule));
  577. /* 72 */
  578. EXTERN void XSetFillStyle _ANSI_ARGS_((Display * display, GC gc,
  579. int fill_style));
  580. /* 73 */
  581. EXTERN void XSetFunction _ANSI_ARGS_((Display * display, GC gc,
  582. int function));
  583. /* 74 */
  584. EXTERN void XSetLineAttributes _ANSI_ARGS_((Display * display,
  585. GC gc, unsigned int line_width,
  586. int line_style, int cap_style,
  587. int join_style));
  588. /* 75 */
  589. EXTERN int _XInitImageFuncPtrs _ANSI_ARGS_((XImage * image));
  590. /* 76 */
  591. EXTERN XIC XCreateIC _ANSI_ARGS_((void));
  592. /* 77 */
  593. EXTERN XVisualInfo * XGetVisualInfo _ANSI_ARGS_((Display* display,
  594. long vinfo_mask, XVisualInfo* vinfo_template,
  595. int* nitems_return));
  596. /* 78 */
  597. EXTERN void XSetWMClientMachine _ANSI_ARGS_((Display* display,
  598. Window w, XTextProperty* text_prop));
  599. /* 79 */
  600. EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char** list,
  601. int count, XTextProperty* text_prop_return));
  602. /* 80 */
  603. EXTERN void XDrawSegments _ANSI_ARGS_((Display * display,
  604. Drawable d, GC gc, XSegment * segments,
  605. int nsegments));
  606. /* 81 */
  607. EXTERN void XForceScreenSaver _ANSI_ARGS_((Display* display,
  608. int mode));
  609. /* 82 */
  610. EXTERN void XDrawLine _ANSI_ARGS_((Display* d, Drawable dr, GC g,
  611. int x1, int y1, int x2, int y2));
  612. /* 83 */
  613. EXTERN void XFillRectangle _ANSI_ARGS_((Display* display,
  614. Drawable d, GC gc, int x, int y,
  615. unsigned int width, unsigned int height));
  616. #endif /* MAC_TCL */
  617. typedef struct TkIntXlibStubs {
  618. int magic;
  619. struct TkIntXlibStubHooks *hooks;
  620. #ifdef __WIN32__
  621. void *reserved0;
  622. XModifierKeymap* (*xGetModifierMapping) _ANSI_ARGS_((Display* d)); /* 1 */
  623. XImage * (*xCreateImage) _ANSI_ARGS_((Display* d, Visual* v, unsigned int ui1, int i1, int i2, char* cp, unsigned int ui2, unsigned int ui3, int i3, int i4)); /* 2 */
  624. XImage * (*xGetImage) _ANSI_ARGS_((Display* d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)); /* 3 */
  625. char * (*xGetAtomName) _ANSI_ARGS_((Display* d, Atom a)); /* 4 */
  626. char * (*xKeysymToString) _ANSI_ARGS_((KeySym k)); /* 5 */
  627. Colormap (*xCreateColormap) _ANSI_ARGS_((Display* d, Window w, Visual* v, int i)); /* 6 */
  628. Cursor (*xCreatePixmapCursor) _ANSI_ARGS_((Display* d, Pixmap p1, Pixmap p2, XColor* x1, XColor* x2, unsigned int ui1, unsigned int ui2)); /* 7 */
  629. Cursor (*xCreateGlyphCursor) _ANSI_ARGS_((Display* d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor* x1, XColor* x2)); /* 8 */
  630. GContext (*xGContextFromGC) _ANSI_ARGS_((GC g)); /* 9 */
  631. XHostAddress * (*xListHosts) _ANSI_ARGS_((Display* d, int* i, Bool* b)); /* 10 */
  632. KeySym (*xKeycodeToKeysym) _ANSI_ARGS_((Display* d, unsigned int k, int i)); /* 11 */
  633. KeySym (*xStringToKeysym) _ANSI_ARGS_((_Xconst char* c)); /* 12 */
  634. Window (*xRootWindow) _ANSI_ARGS_((Display* d, int i)); /* 13 */
  635. XErrorHandler (*xSetErrorHandler) _ANSI_ARGS_((XErrorHandler x)); /* 14 */
  636. Status (*xIconifyWindow) _ANSI_ARGS_((Display* d, Window w, int i)); /* 15 */
  637. Status (*xWithdrawWindow) _ANSI_ARGS_((Display* d, Window w, int i)); /* 16 */
  638. Status (*xGetWMColormapWindows) _ANSI_ARGS_((Display* d, Window w, Window** wpp, int* ip)); /* 17 */
  639. Status (*xAllocColor) _ANSI_ARGS_((Display* d, Colormap c, XColor* xp)); /* 18 */
  640. void (*xBell) _ANSI_ARGS_((Display* d, int i)); /* 19 */
  641. void (*xChangeProperty) _ANSI_ARGS_((Display* d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char* c, int i3)); /* 20 */
  642. void (*xChangeWindowAttributes) _ANSI_ARGS_((Display* d, Window w, unsigned long ul, XSetWindowAttributes* x)); /* 21 */
  643. void (*xClearWindow) _ANSI_ARGS_((Display* d, Window w)); /* 22 */
  644. void (*xConfigureWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int i, XWindowChanges* x)); /* 23 */
  645. void (*xCopyArea) _ANSI_ARGS_((Display* d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 24 */
  646. void (*xCopyPlane) _ANSI_ARGS_((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 */
  647. Pixmap (*xCreateBitmapFromData) _ANSI_ARGS_((Display* display, Drawable d, _Xconst char* data, unsigned int width, unsigned int height)); /* 26 */
  648. void (*xDefineCursor) _ANSI_ARGS_((Display* d, Window w, Cursor c)); /* 27 */
  649. void (*xDeleteProperty) _ANSI_ARGS_((Display* d, Window w, Atom a)); /* 28 */
  650. void (*xDestroyWindow) _ANSI_ARGS_((Display* d, Window w)); /* 29 */
  651. void (*xDrawArc) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 30 */
  652. void (*xDrawLines) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)); /* 31 */
  653. void (*xDrawRectangle) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 32 */
  654. void (*xFillArc) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 33 */
  655. void (*xFillPolygon) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2, int i3)); /* 34 */
  656. void (*xFillRectangles) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XRectangle* x, int i)); /* 35 */
  657. void (*xForceScreenSaver) _ANSI_ARGS_((Display* d, int i)); /* 36 */
  658. void (*xFreeColormap) _ANSI_ARGS_((Display* d, Colormap c)); /* 37 */
  659. void (*xFreeColors) _ANSI_ARGS_((Display* d, Colormap c, unsigned long* ulp, int i, unsigned long ul)); /* 38 */
  660. void (*xFreeCursor) _ANSI_ARGS_((Display* d, Cursor c)); /* 39 */
  661. void (*xFreeModifiermap) _ANSI_ARGS_((XModifierKeymap* x)); /* 40 */
  662. Status (*xGetGeometry) _ANSI_ARGS_((Display* d, Drawable dr, Window* w, int* i1, int* i2, unsigned int* ui1, unsigned int* ui2, unsigned int* ui3, unsigned int* ui4)); /* 41 */
  663. void (*xGetInputFocus) _ANSI_ARGS_((Display* d, Window* w, int* i)); /* 42 */
  664. int (*xGetWindowProperty) _ANSI_ARGS_((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 */
  665. Status (*xGetWindowAttributes) _ANSI_ARGS_((Display* d, Window w, XWindowAttributes* x)); /* 44 */
  666. int (*xGrabKeyboard) _ANSI_ARGS_((Display* d, Window w, Bool b, int i1, int i2, Time t)); /* 45 */
  667. int (*xGrabPointer) _ANSI_ARGS_((Display* d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t)); /* 46 */
  668. KeyCode (*xKeysymToKeycode) _ANSI_ARGS_((Display* d, KeySym k)); /* 47 */
  669. Status (*xLookupColor) _ANSI_ARGS_((Display* d, Colormap c1, _Xconst char* c2, XColor* x1, XColor* x2)); /* 48 */
  670. void (*xMapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 49 */
  671. void (*xMoveResizeWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 50 */
  672. void (*xMoveWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2)); /* 51 */
  673. void (*xNextEvent) _ANSI_ARGS_((Display* d, XEvent* x)); /* 52 */
  674. void (*xPutBackEvent) _ANSI_ARGS_((Display* d, XEvent* x)); /* 53 */
  675. void (*xQueryColors) _ANSI_ARGS_((Display* d, Colormap c, XColor* x, int i)); /* 54 */
  676. Bool (*xQueryPointer) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, int* i1, int* i2, int* i3, int* i4, unsigned int* ui)); /* 55 */
  677. Status (*xQueryTree) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, Window** w4, unsigned int* ui)); /* 56 */
  678. void (*xRaiseWindow) _ANSI_ARGS_((Display* d, Window w)); /* 57 */
  679. void (*xRefreshKeyboardMapping) _ANSI_ARGS_((XMappingEvent* x)); /* 58 */
  680. void (*xResizeWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int ui1, unsigned int ui2)); /* 59 */
  681. void (*xSelectInput) _ANSI_ARGS_((Display* d, Window w, long l)); /* 60 */
  682. Status (*xSendEvent) _ANSI_ARGS_((Display* d, Window w, Bool b, long l, XEvent* x)); /* 61 */
  683. void (*xSetCommand) _ANSI_ARGS_((Display* d, Window w, char** c, int i)); /* 62 */
  684. void (*xSetIconName) _ANSI_ARGS_((Display* d, Window w, _Xconst char* c)); /* 63 */
  685. void (*xSetInputFocus) _ANSI_ARGS_((Display* d, Window w, int i, Time t)); /* 64 */
  686. void (*xSetSelectionOwner) _ANSI_ARGS_((Display* d, Atom a, Window w, Time t)); /* 65 */
  687. void (*xSetWindowBackground) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 66 */
  688. void (*xSetWindowBackgroundPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 67 */
  689. void (*xSetWindowBorder) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 68 */
  690. void (*xSetWindowBorderPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 69 */
  691. void (*xSetWindowBorderWidth) _ANSI_ARGS_((Display* d, Window w, unsigned int ui)); /* 70 */
  692. void (*xSetWindowColormap) _ANSI_ARGS_((Display* d, Window w, Colormap c)); /* 71 */
  693. Bool (*xTranslateCoordinates) _ANSI_ARGS_((Display* d, Window w1, Window w2, int i1, int i2, int* i3, int* i4, Window* w3)); /* 72 */
  694. void (*xUngrabKeyboard) _ANSI_ARGS_((Display* d, Time t)); /* 73 */
  695. void (*xUngrabPointer) _ANSI_ARGS_((Display* d, Time t)); /* 74 */
  696. void (*xUnmapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 75 */
  697. void (*xWindowEvent) _ANSI_ARGS_((Display* d, Window w, long l, XEvent* x)); /* 76 */
  698. void (*xDestroyIC) _ANSI_ARGS_((XIC x)); /* 77 */
  699. Bool (*xFilterEvent) _ANSI_ARGS_((XEvent* x, Window w)); /* 78 */
  700. int (*xmbLookupString) _ANSI_ARGS_((XIC xi, XKeyPressedEvent* xk, char* c, int i, KeySym* k, Status* s)); /* 79 */
  701. void (*tkPutImage) _ANSI_ARGS_((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 */
  702. void *reserved81;
  703. Status (*xParseColor) _ANSI_ARGS_((Display * display, Colormap map, _Xconst char* spec, XColor * colorPtr)); /* 82 */
  704. GC (*xCreateGC) _ANSI_ARGS_((Display* display, Drawable d, unsigned long valuemask, XGCValues* values)); /* 83 */
  705. void (*xFreeGC) _ANSI_ARGS_((Display* display, GC gc)); /* 84 */
  706. Atom (*xInternAtom) _ANSI_ARGS_((Display* display, _Xconst char* atom_name, Bool only_if_exists)); /* 85 */
  707. void (*xSetBackground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 86 */
  708. void (*xSetForeground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 87 */
  709. void (*xSetClipMask) _ANSI_ARGS_((Display* display, GC gc, Pixmap pixmap)); /* 88 */
  710. void (*xSetClipOrigin) _ANSI_ARGS_((Display* display, GC gc, int clip_x_origin, int clip_y_origin)); /* 89 */
  711. void (*xSetTSOrigin) _ANSI_ARGS_((Display* display, GC gc, int ts_x_origin, int ts_y_origin)); /* 90 */
  712. void (*xChangeGC) _ANSI_ARGS_((Display * d, GC gc, unsigned long mask, XGCValues * values)); /* 91 */
  713. void (*xSetFont) _ANSI_ARGS_((Display * display, GC gc, Font font)); /* 92 */
  714. void (*xSetArcMode) _ANSI_ARGS_((Display * display, GC gc, int arc_mode)); /* 93 */
  715. void (*xSetStipple) _ANSI_ARGS_((Display * display, GC gc, Pixmap stipple)); /* 94 */
  716. void (*xSetFillRule) _ANSI_ARGS_((Display * display, GC gc, int fill_rule)); /* 95 */
  717. void (*xSetFillStyle) _ANSI_ARGS_((Display * display, GC gc, int fill_style)); /* 96 */
  718. void (*xSetFunction) _ANSI_ARGS_((Display * display, GC gc, int function)); /* 97 */
  719. void (*xSetLineAttributes) _ANSI_ARGS_((Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)); /* 98 */
  720. int (*_XInitImageFuncPtrs) _ANSI_ARGS_((XImage * image)); /* 99 */
  721. XIC (*xCreateIC) _ANSI_ARGS_((void)); /* 100 */
  722. XVisualInfo * (*xGetVisualInfo) _ANSI_ARGS_((Display* display, long vinfo_mask, XVisualInfo* vinfo_template, int* nitems_return)); /* 101 */
  723. void (*xSetWMClientMachine) _ANSI_ARGS_((Display* display, Window w, XTextProperty* text_prop)); /* 102 */
  724. Status (*xStringListToTextProperty) _ANSI_ARGS_((char** list, int count, XTextProperty* text_prop_return)); /* 103 */
  725. void (*xDrawLine) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 104 */
  726. void *reserved105;
  727. void (*xFillRectangle) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 106 */
  728. #endif /* __WIN32__ */
  729. #ifdef MAC_TCL
  730. void *reserved0;
  731. XModifierKeymap* (*xGetModifierMapping) _ANSI_ARGS_((Display* d)); /* 1 */
  732. XImage * (*xCreateImage) _ANSI_ARGS_((Display* d, Visual* v, unsigned int ui1, int i1, int i2, char* cp, unsigned int ui2, unsigned int ui3, int i3, int i4)); /* 2 */
  733. XImage * (*xGetImage) _ANSI_ARGS_((Display* d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)); /* 3 */
  734. char * (*xGetAtomName) _ANSI_ARGS_((Display* d, Atom a)); /* 4 */
  735. char * (*xKeysymToString) _ANSI_ARGS_((KeySym k)); /* 5 */
  736. Colormap (*xCreateColormap) _ANSI_ARGS_((Display* d, Window w, Visual* v, int i)); /* 6 */
  737. GContext (*xGContextFromGC) _ANSI_ARGS_((GC g)); /* 7 */
  738. KeySym (*xKeycodeToKeysym) _ANSI_ARGS_((Display* d, KeyCode k, int i)); /* 8 */
  739. KeySym (*xStringToKeysym) _ANSI_ARGS_((_Xconst char* c)); /* 9 */
  740. Window (*xRootWindow) _ANSI_ARGS_((Display* d, int i)); /* 10 */
  741. XErrorHandler (*xSetErrorHandler) _ANSI_ARGS_((XErrorHandler x)); /* 11 */
  742. Status (*xAllocColor) _ANSI_ARGS_((Display* d, Colormap c, XColor* xp)); /* 12 */
  743. void (*xBell) _ANSI_ARGS_((Display* d, int i)); /* 13 */
  744. void (*xChangeProperty) _ANSI_ARGS_((Display* d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char* c, int i3)); /* 14 */
  745. void (*xChangeWindowAttributes) _ANSI_ARGS_((Display* d, Window w, unsigned long ul, XSetWindowAttributes* x)); /* 15 */
  746. void (*xConfigureWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int i, XWindowChanges* x)); /* 16 */
  747. void (*xCopyArea) _ANSI_ARGS_((Display* d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 17 */
  748. void (*xCopyPlane) _ANSI_ARGS_((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 */
  749. Pixmap (*xCreateBitmapFromData) _ANSI_ARGS_((Display* display, Drawable d, _Xconst char* data, unsigned int width, unsigned int height)); /* 19 */
  750. void (*xDefineCursor) _ANSI_ARGS_((Display* d, Window w, Cursor c)); /* 20 */
  751. void (*xDestroyWindow) _ANSI_ARGS_((Display* d, Window w)); /* 21 */
  752. void (*xDrawArc) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 22 */
  753. void (*xDrawLines) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)); /* 23 */
  754. void (*xDrawRectangle) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 24 */
  755. void (*xFillArc) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4)); /* 25 */
  756. void (*xFillPolygon) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2, int i3)); /* 26 */
  757. void (*xFillRectangles) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XRectangle* x, int i)); /* 27 */
  758. void (*xFreeColormap) _ANSI_ARGS_((Display* d, Colormap c)); /* 28 */
  759. void (*xFreeColors) _ANSI_ARGS_((Display* d, Colormap c, unsigned long* ulp, int i, unsigned long ul)); /* 29 */
  760. void (*xFreeModifiermap) _ANSI_ARGS_((XModifierKeymap* x)); /* 30 */
  761. Status (*xGetGeometry) _ANSI_ARGS_((Display* d, Drawable dr, Window* w, int* i1, int* i2, unsigned int* ui1, unsigned int* ui2, unsigned int* ui3, unsigned int* ui4)); /* 31 */
  762. int (*xGetWindowProperty) _ANSI_ARGS_((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 */
  763. int (*xGrabKeyboard) _ANSI_ARGS_((Display* d, Window w, Bool b, int i1, int i2, Time t)); /* 33 */
  764. int (*xGrabPointer) _ANSI_ARGS_((Display* d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t)); /* 34 */
  765. KeyCode (*xKeysymToKeycode) _ANSI_ARGS_((Display* d, KeySym k)); /* 35 */
  766. void (*xMapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 36 */
  767. void (*xMoveResizeWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 37 */
  768. void (*xMoveWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2)); /* 38 */
  769. Bool (*xQueryPointer) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, int* i1, int* i2, int* i3, int* i4, unsigned int* ui)); /* 39 */
  770. void (*xRaiseWindow) _ANSI_ARGS_((Display* d, Window w)); /* 40 */
  771. void (*xRefreshKeyboardMapping) _ANSI_ARGS_((XMappingEvent* x)); /* 41 */
  772. void (*xResizeWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int ui1, unsigned int ui2)); /* 42 */
  773. void (*xSelectInput) _ANSI_ARGS_((Display* d, Window w, long l)); /* 43 */
  774. Status (*xSendEvent) _ANSI_ARGS_((Display* d, Window w, Bool b, long l, XEvent* x)); /* 44 */
  775. void (*xSetIconName) _ANSI_ARGS_((Display* d, Window w, _Xconst char* c)); /* 45 */
  776. void (*xSetInputFocus) _ANSI_ARGS_((Display* d, Window w, int i, Time t)); /* 46 */
  777. void (*xSetSelectionOwner) _ANSI_ARGS_((Display* d, Atom a, Window w, Time t)); /* 47 */
  778. void (*xSetWindowBackground) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 48 */
  779. void (*xSetWindowBackgroundPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 49 */
  780. void (*xSetWindowBorder) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 50 */
  781. void (*xSetWindowBorderPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 51 */
  782. void (*xSetWindowBorderWidth) _ANSI_ARGS_((Display* d, Window w, unsigned int ui)); /* 52 */
  783. void (*xSetWindowColormap) _ANSI_ARGS_((Display* d, Window w, Colormap c)); /* 53 */
  784. void (*xUngrabKeyboard) _ANSI_ARGS_((Display* d, Time t)); /* 54 */
  785. void (*xUngrabPointer) _ANSI_ARGS_((Display* d, Time t)); /* 55 */
  786. void (*xUnmapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 56 */
  787. void (*tkPutImage) _ANSI_ARGS_((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)); /* 57 */
  788. Status (*xParseColor) _ANSI_ARGS_((Display * display, Colormap map, _Xconst char* spec, XColor * colorPtr)); /* 58 */
  789. GC (*xCreateGC) _ANSI_ARGS_((Display* display, Drawable d, unsigned long valuemask, XGCValues* values)); /* 59 */
  790. void (*xFreeGC) _ANSI_ARGS_((Display* display, GC gc)); /* 60 */
  791. Atom (*xInternAtom) _ANSI_ARGS_((Display* display, _Xconst char* atom_name, Bool only_if_exists)); /* 61 */
  792. void (*xSetBackground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 62 */
  793. void (*xSetForeground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 63 */
  794. void (*xSetClipMask) _ANSI_ARGS_((Display* display, GC gc, Pixmap pixmap)); /* 64 */
  795. void (*xSetClipOrigin) _ANSI_ARGS_((Display* display, GC gc, int clip_x_origin, int clip_y_origin)); /* 65 */
  796. void (*xSetTSOrigin) _ANSI_ARGS_((Display* display, GC gc, int ts_x_origin, int ts_y_origin)); /* 66 */
  797. void (*xChangeGC) _ANSI_ARGS_((Display * d, GC gc, unsigned long mask, XGCValues * values)); /* 67 */
  798. void (*xSetFont) _ANSI_ARGS_((Display * display, GC gc, Font font)); /* 68 */
  799. void (*xSetArcMode) _ANSI_ARGS_((Display * display, GC gc, int arc_mode)); /* 69 */
  800. void (*xSetStipple) _ANSI_ARGS_((Display * display, GC gc, Pixmap stipple)); /* 70 */
  801. void (*xSetFillRule) _ANSI_ARGS_((Display * display, GC gc, int fill_rule)); /* 71 */
  802. void (*xSetFillStyle) _ANSI_ARGS_((Display * display, GC gc, int fill_style)); /* 72 */
  803. void (*xSetFunction) _ANSI_ARGS_((Display * display, GC gc, int function)); /* 73 */
  804. void (*xSetLineAttributes) _ANSI_ARGS_((Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)); /* 74 */
  805. int (*_XInitImageFuncPtrs) _ANSI_ARGS_((XImage * image)); /* 75 */
  806. XIC (*xCreateIC) _ANSI_ARGS_((void)); /* 76 */
  807. XVisualInfo * (*xGetVisualInfo) _ANSI_ARGS_((Display* display, long vinfo_mask, XVisualInfo* vinfo_template, int* nitems_return)); /* 77 */
  808. void (*xSetWMClientMachine) _ANSI_ARGS_((Display* display, Window w, XTextProperty* text_prop)); /* 78 */
  809. Status (*xStringListToTextProperty) _ANSI_ARGS_((char** list, int count, XTextProperty* text_prop_return)); /* 79 */
  810. void (*xDrawSegments) _ANSI_ARGS_((Display * display, Drawable d, GC gc, XSegment * segments, int nsegments)); /* 80 */
  811. void (*xForceScreenSaver) _ANSI_ARGS_((Display* display, int mode)); /* 81 */
  812. void (*xDrawLine) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 82 */
  813. void (*xFillRectangle) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 83 */
  814. #endif /* MAC_TCL */
  815. } TkIntXlibStubs;
  816. #ifdef __cplusplus
  817. extern "C" {
  818. #endif
  819. extern TkIntXlibStubs *tkIntXlibStubsPtr;
  820. #ifdef __cplusplus
  821. }
  822. #endif
  823. #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)
  824. /*
  825. * Inline function declarations:
  826. */
  827. #ifdef __WIN32__
  828. /* Slot 0 is reserved */
  829. #ifndef XGetModifierMapping
  830. #define XGetModifierMapping \
  831. (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */
  832. #endif
  833. #ifndef XCreateImage
  834. #define XCreateImage \
  835. (tkIntXlibStubsPtr->xCreateImage) /* 2 */
  836. #endif
  837. #ifndef XGetImage
  838. #define XGetImage \
  839. (tkIntXlibStubsPtr->xGetImage) /* 3 */
  840. #endif
  841. #ifndef XGetAtomName
  842. #define XGetAtomName \
  843. (tkIntXlibStubsPtr->xGetAtomName) /* 4 */
  844. #endif
  845. #ifndef XKeysymToString
  846. #define XKeysymToString \
  847. (tkIntXlibStubsPtr->xKeysymToString) /* 5 */
  848. #endif
  849. #ifndef XCreateColormap
  850. #define XCreateColormap \
  851. (tkIntXlibStubsPtr->xCreateColormap) /* 6 */
  852. #endif
  853. #ifndef XCreatePixmapCursor
  854. #define XCreatePixmapCursor \
  855. (tkIntXlibStubsPtr->xCreatePixmapCursor) /* 7 */
  856. #endif
  857. #ifndef XCreateGlyphCursor
  858. #define XCreateGlyphCursor \
  859. (tkIntXlibStubsPtr->xCreateGlyphCursor) /* 8 */
  860. #endif
  861. #ifndef XGContextFromGC
  862. #define XGContextFromGC \
  863. (tkIntXlibStubsPtr->xGContextFromGC) /* 9 */
  864. #endif
  865. #ifndef XListHosts
  866. #define XListHosts \
  867. (tkIntXlibStubsPtr->xListHosts) /* 10 */
  868. #endif
  869. #ifndef XKeycodeToKeysym
  870. #define XKeycodeToKeysym \
  871. (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 11 */
  872. #endif
  873. #ifndef XStringToKeysym
  874. #define XStringToKeysym \
  875. (tkIntXlibStubsPtr->xStringToKeysym) /* 12 */
  876. #endif
  877. #ifndef XRootWindow
  878. #define XRootWindow \
  879. (tkIntXlibStubsPtr->xRootWindow) /* 13 */
  880. #endif
  881. #ifndef XSetErrorHandler
  882. #define XSetErrorHandler \
  883. (tkIntXlibStubsPtr->xSetErrorHandler) /* 14 */
  884. #endif
  885. #ifndef XIconifyWindow
  886. #define XIconifyWindow \
  887. (tkIntXlibStubsPtr->xIconifyWindow) /* 15 */
  888. #endif
  889. #ifndef XWithdrawWindow
  890. #define XWithdrawWindow \
  891. (tkIntXlibStubsPtr->xWithdrawWindow) /* 16 */
  892. #endif
  893. #ifndef XGetWMColormapWindows
  894. #define XGetWMColormapWindows \
  895. (tkIntXlibStubsPtr->xGetWMColormapWindows) /* 17 */
  896. #endif
  897. #ifndef XAllocColor
  898. #define XAllocColor \
  899. (tkIntXlibStubsPtr->xAllocColor) /* 18 */
  900. #endif
  901. #ifndef XBell
  902. #define XBell \
  903. (tkIntXlibStubsPtr->xBell) /* 19 */
  904. #endif
  905. #ifndef XChangeProperty
  906. #define XChangeProperty \
  907. (tkIntXlibStubsPtr->xChangeProperty) /* 20 */
  908. #endif
  909. #ifndef XChangeWindowAttributes
  910. #define XChangeWindowAttributes \
  911. (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 21 */
  912. #endif
  913. #ifndef XClearWindow
  914. #define XClearWindow \
  915. (tkIntXlibStubsPtr->xClearWindow) /* 22 */
  916. #endif
  917. #ifndef XConfigureWindow
  918. #define XConfigureWindow \
  919. (tkIntXlibStubsPtr->xConfigureWindow) /* 23 */
  920. #endif
  921. #ifndef XCopyArea
  922. #define XCopyArea \
  923. (tkIntXlibStubsPtr->xCopyArea) /* 24 */
  924. #endif
  925. #ifndef XCopyPlane
  926. #define XCopyPlane \
  927. (tkIntXlibStubsPtr->xCopyPlane) /* 25 */
  928. #endif
  929. #ifndef XCreateBitmapFromData
  930. #define XCreateBitmapFromData \
  931. (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 26 */
  932. #endif
  933. #ifndef XDefineCursor
  934. #define XDefineCursor \
  935. (tkIntXlibStubsPtr->xDefineCursor) /* 27 */
  936. #endif
  937. #ifndef XDeleteProperty
  938. #define XDeleteProperty \
  939. (tkIntXlibStubsPtr->xDeleteProperty) /* 28 */
  940. #endif
  941. #ifndef XDestroyWindow
  942. #define XDestroyWindow \
  943. (tkIntXlibStubsPtr->xDestroyWindow) /* 29 */
  944. #endif
  945. #ifndef XDrawArc
  946. #define XDrawArc \
  947. (tkIntXlibStubsPtr->xDrawArc) /* 30 */
  948. #endif
  949. #ifndef XDrawLines
  950. #define XDrawLines \
  951. (tkIntXlibStubsPtr->xDrawLines) /* 31 */
  952. #endif
  953. #ifndef XDrawRectangle
  954. #define XDrawRectangle \
  955. (tkIntXlibStubsPtr->xDrawRectangle) /* 32 */
  956. #endif
  957. #ifndef XFillArc
  958. #define XFillArc \
  959. (tkIntXlibStubsPtr->xFillArc) /* 33 */
  960. #endif
  961. #ifndef XFillPolygon
  962. #define XFillPolygon \
  963. (tkIntXlibStubsPtr->xFillPolygon) /* 34 */
  964. #endif
  965. #ifndef XFillRectangles
  966. #define XFillRectangles \
  967. (tkIntXlibStubsPtr->xFillRectangles) /* 35 */
  968. #endif
  969. #ifndef XForceScreenSaver
  970. #define XForceScreenSaver \
  971. (tkIntXlibStubsPtr->xForceScreenSaver) /* 36 */
  972. #endif
  973. #ifndef XFreeColormap
  974. #define XFreeColormap \
  975. (tkIntXlibStubsPtr->xFreeColormap) /* 37 */
  976. #endif
  977. #ifndef XFreeColors
  978. #define XFreeColors \
  979. (tkIntXlibStubsPtr->xFreeColors) /* 38 */
  980. #endif
  981. #ifndef XFreeCursor
  982. #define XFreeCursor \
  983. (tkIntXlibStubsPtr->xFreeCursor) /* 39 */
  984. #endif
  985. #ifndef XFreeModifiermap
  986. #define XFreeModifiermap \
  987. (tkIntXlibStubsPtr->xFreeModifiermap) /* 40 */
  988. #endif
  989. #ifndef XGetGeometry
  990. #define XGetGeometry \
  991. (tkIntXlibStubsPtr->xGetGeometry) /* 41 */
  992. #endif
  993. #ifndef XGetInputFocus
  994. #define XGetInputFocus \
  995. (tkIntXlibStubsPtr->xGetInputFocus) /* 42 */
  996. #endif
  997. #ifndef XGetWindowProperty
  998. #define XGetWindowProperty \
  999. (tkIntXlibStubsPtr->xGetWindowProperty) /* 43 */
  1000. #endif
  1001. #ifndef XGetWindowAttributes
  1002. #define XGetWindowAttributes \
  1003. (tkIntXlibStubsPtr->xGetWindowAttributes) /* 44 */
  1004. #endif
  1005. #ifndef XGrabKeyboard
  1006. #define XGrabKeyboard \
  1007. (tkIntXlibStubsPtr->xGrabKeyboard) /* 45 */
  1008. #endif
  1009. #ifndef XGrabPointer
  1010. #define XGrabPointer \
  1011. (tkIntXlibStubsPtr->xGrabPointer) /* 46 */
  1012. #endif
  1013. #ifndef XKeysymToKeycode
  1014. #define XKeysymToKeycode \
  1015. (tkIntXlibStubsPtr->xKeysymToKeycode) /* 47 */
  1016. #endif
  1017. #ifndef XLookupColor
  1018. #define XLookupColor \
  1019. (tkIntXlibStubsPtr->xLookupColor) /* 48 */
  1020. #endif
  1021. #ifndef XMapWindow
  1022. #define XMapWindow \
  1023. (tkIntXlibStubsPtr->xMapWindow) /* 49 */
  1024. #endif
  1025. #ifndef XMoveResizeWindow
  1026. #define XMoveResizeWindow \
  1027. (tkIntXlibStubsPtr->xMoveResizeWindow) /* 50 */
  1028. #endif
  1029. #ifndef XMoveWindow
  1030. #define XMoveWindow \
  1031. (tkIntXlibStubsPtr->xMoveWindow) /* 51 */
  1032. #endif
  1033. #ifndef XNextEvent
  1034. #define XNextEvent \
  1035. (tkIntXlibStubsPtr->xNextEvent) /* 52 */
  1036. #endif
  1037. #ifndef XPutBackEvent
  1038. #define XPutBackEvent \
  1039. (tkIntXlibStubsPtr->xPutBackEvent) /* 53 */
  1040. #endif
  1041. #ifndef XQueryColors
  1042. #define XQueryColors \
  1043. (tkIntXlibStubsPtr->xQueryColors) /* 54 */
  1044. #endif
  1045. #ifndef XQueryPointer
  1046. #define XQueryPointer \
  1047. (tkIntXlibStubsPtr->xQueryPointer) /* 55 */
  1048. #endif
  1049. #ifndef XQueryTree
  1050. #define XQueryTree \
  1051. (tkIntXlibStubsPtr->xQueryTree) /* 56 */
  1052. #endif
  1053. #ifndef XRaiseWindow
  1054. #define XRaiseWindow \
  1055. (tkIntXlibStubsPtr->xRaiseWindow) /* 57 */
  1056. #endif
  1057. #ifndef XRefreshKeyboardMapping
  1058. #define XRefreshKeyboardMapping \
  1059. (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 58 */
  1060. #endif
  1061. #ifndef XResizeWindow
  1062. #define XResizeWindow \
  1063. (tkIntXlibStubsPtr->xResizeWindow) /* 59 */
  1064. #endif
  1065. #ifndef XSelectInput
  1066. #define XSelectInput \
  1067. (tkIntXlibStubsPtr->xSelectInput) /* 60 */
  1068. #endif
  1069. #ifndef XSendEvent
  1070. #define XSendEvent \
  1071. (tkIntXlibStubsPtr->xSendEvent) /* 61 */
  1072. #endif
  1073. #ifndef XSetCommand
  1074. #define XSetCommand \
  1075. (tkIntXlibStubsPtr->xSetCommand) /* 62 */
  1076. #endif
  1077. #ifndef XSetIconName
  1078. #define XSetIconName \
  1079. (tkIntXlibStubsPtr->xSetIconName) /* 63 */
  1080. #endif
  1081. #ifndef XSetInputFocus
  1082. #define XSetInputFocus \
  1083. (tkIntXlibStubsPtr->xSetInputFocus) /* 64 */
  1084. #endif
  1085. #ifndef XSetSelectionOwner
  1086. #define XSetSelectionOwner \
  1087. (tkIntXlibStubsPtr->xSetSelectionOwner) /* 65 */
  1088. #endif
  1089. #ifndef XSetWindowBackground
  1090. #define XSetWindowBackground \
  1091. (tkIntXlibStubsPtr->xSetWindowBackground) /* 66 */
  1092. #endif
  1093. #ifndef XSetWindowBackgroundPixmap
  1094. #define XSetWindowBackgroundPixmap \
  1095. (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 67 */
  1096. #endif
  1097. #ifndef XSetWindowBorder
  1098. #define XSetWindowBorder \
  1099. (tkIntXlibStubsPtr->xSetWindowBorder) /* 68 */
  1100. #endif
  1101. #ifndef XSetWindowBorderPixmap
  1102. #define XSetWindowBorderPixmap \
  1103. (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 69 */
  1104. #endif
  1105. #ifndef XSetWindowBorderWidth
  1106. #define XSetWindowBorderWidth \
  1107. (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 70 */
  1108. #endif
  1109. #ifndef XSetWindowColormap
  1110. #define XSetWindowColormap \
  1111. (tkIntXlibStubsPtr->xSetWindowColormap) /* 71 */
  1112. #endif
  1113. #ifndef XTranslateCoordinates
  1114. #define XTranslateCoordinates \
  1115. (tkIntXlibStubsPtr->xTranslateCoordinates) /* 72 */
  1116. #endif
  1117. #ifndef XUngrabKeyboard
  1118. #define XUngrabKeyboard \
  1119. (tkIntXlibStubsPtr->xUngrabKeyboard) /* 73 */
  1120. #endif
  1121. #ifndef XUngrabPointer
  1122. #define XUngrabPointer \
  1123. (tkIntXlibStubsPtr->xUngrabPointer) /* 74 */
  1124. #endif
  1125. #ifndef XUnmapWindow
  1126. #define XUnmapWindow \
  1127. (tkIntXlibStubsPtr->xUnmapWindow) /* 75 */
  1128. #endif
  1129. #ifndef XWindowEvent
  1130. #define XWindowEvent \
  1131. (tkIntXlibStubsPtr->xWindowEvent) /* 76 */
  1132. #endif
  1133. #ifndef XDestroyIC
  1134. #define XDestroyIC \
  1135. (tkIntXlibStubsPtr->xDestroyIC) /* 77 */
  1136. #endif
  1137. #ifndef XFilterEvent
  1138. #define XFilterEvent \
  1139. (tkIntXlibStubsPtr->xFilterEvent) /* 78 */
  1140. #endif
  1141. #ifndef XmbLookupString
  1142. #define XmbLookupString \
  1143. (tkIntXlibStubsPtr->xmbLookupString) /* 79 */
  1144. #endif
  1145. #ifndef TkPutImage
  1146. #define TkPutImage \
  1147. (tkIntXlibStubsPtr->tkPutImage) /* 80 */
  1148. #endif
  1149. /* Slot 81 is reserved */
  1150. #ifndef XParseColor
  1151. #define XParseColor \
  1152. (tkIntXlibStubsPtr->xParseColor) /* 82 */
  1153. #endif
  1154. #ifndef XCreateGC
  1155. #define XCreateGC \
  1156. (tkIntXlibStubsPtr->xCreateGC) /* 83 */
  1157. #endif
  1158. #ifndef XFreeGC
  1159. #define XFreeGC \
  1160. (tkIntXlibStubsPtr->xFreeGC) /* 84 */
  1161. #endif
  1162. #ifndef XInternAtom
  1163. #define XInternAtom \
  1164. (tkIntXlibStubsPtr->xInternAtom) /* 85 */
  1165. #endif
  1166. #ifndef XSetBackground
  1167. #define X