PageRenderTime 83ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

/Master/tlpkg/tlperl/lib/Tk/pTk/tkIntXlibDecls.h

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