PageRenderTime 53ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 1ms

/brlcad/tags/rel-7-10-0/src/other/tk/generic/tkIntXlibDecls.h

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