PageRenderTime 1456ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 1ms

/tags/SN-NG4.1/tk/generic/tkIntXlibDecls.h

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