tkIntXlibDecls.h 66 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703
  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. #ifndef _TKINTXLIBDECLS
  13. #define _TKINTXLIBDECLS
  14. /*
  15. * WARNING: This file is automatically generated by the tools/genStubs.tcl
  16. * script. Any modifications to the function declarations below should be made
  17. * in the generic/tkInt.decls script.
  18. */
  19. #ifndef _TCL
  20. # include <tcl.h>
  21. #endif
  22. /* Some (older) versions of X11/Xutil.h have a wrong signature of those
  23. two functions, so move them out of the way temporarly. */
  24. #define XOffsetRegion _XOffsetRegion
  25. #define XUnionRegion _XUnionRegion
  26. #include "X11/Xutil.h"
  27. #undef XOffsetRegion
  28. #undef XUnionRegion
  29. #ifdef BUILD_tk
  30. #undef TCL_STORAGE_CLASS
  31. #define TCL_STORAGE_CLASS DLLEXPORT
  32. #endif
  33. typedef int (*XAfterFunction) ( /* WARNING, this type not in Xlib spec */
  34. Display* /* display */
  35. );
  36. /* !BEGIN!: Do not edit below this line. */
  37. #ifdef __cplusplus
  38. extern "C" {
  39. #endif
  40. /*
  41. * Exported function declarations:
  42. */
  43. #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */
  44. /* 0 */
  45. EXTERN int XSetDashes(Display *display, GC gc, int dash_offset,
  46. _Xconst char *dash_list, int n);
  47. /* 1 */
  48. EXTERN XModifierKeymap * XGetModifierMapping(Display *d);
  49. /* 2 */
  50. EXTERN XImage * XCreateImage(Display *d, Visual *v, unsigned int ui1,
  51. int i1, int i2, char *cp, unsigned int ui2,
  52. unsigned int ui3, int i3, int i4);
  53. /* 3 */
  54. EXTERN XImage * XGetImage(Display *d, Drawable dr, int i1, int i2,
  55. unsigned int ui1, unsigned int ui2,
  56. unsigned long ul, int i3);
  57. /* 4 */
  58. EXTERN char * XGetAtomName(Display *d, Atom a);
  59. /* 5 */
  60. EXTERN char * XKeysymToString(KeySym k);
  61. /* 6 */
  62. EXTERN Colormap XCreateColormap(Display *d, Window w, Visual *v,
  63. int i);
  64. /* 7 */
  65. EXTERN Cursor XCreatePixmapCursor(Display *d, Pixmap p1, Pixmap p2,
  66. XColor *x1, XColor *x2, unsigned int ui1,
  67. unsigned int ui2);
  68. /* 8 */
  69. EXTERN Cursor XCreateGlyphCursor(Display *d, Font f1, Font f2,
  70. unsigned int ui1, unsigned int ui2,
  71. XColor _Xconst *x1, XColor _Xconst *x2);
  72. /* 9 */
  73. EXTERN GContext XGContextFromGC(GC g);
  74. /* 10 */
  75. EXTERN XHostAddress * XListHosts(Display *d, int *i, Bool *b);
  76. /* 11 */
  77. EXTERN KeySym XKeycodeToKeysym(Display *d, unsigned int k, int i);
  78. /* 12 */
  79. EXTERN KeySym XStringToKeysym(_Xconst char *c);
  80. /* 13 */
  81. EXTERN Window XRootWindow(Display *d, int i);
  82. /* 14 */
  83. EXTERN XErrorHandler XSetErrorHandler(XErrorHandler x);
  84. /* 15 */
  85. EXTERN Status XIconifyWindow(Display *d, Window w, int i);
  86. /* 16 */
  87. EXTERN Status XWithdrawWindow(Display *d, Window w, int i);
  88. /* 17 */
  89. EXTERN Status XGetWMColormapWindows(Display *d, Window w,
  90. Window **wpp, int *ip);
  91. /* 18 */
  92. EXTERN Status XAllocColor(Display *d, Colormap c, XColor *xp);
  93. /* 19 */
  94. EXTERN int XBell(Display *d, int i);
  95. /* 20 */
  96. EXTERN int XChangeProperty(Display *d, Window w, Atom a1,
  97. Atom a2, int i1, int i2,
  98. _Xconst unsigned char *c, int i3);
  99. /* 21 */
  100. EXTERN int XChangeWindowAttributes(Display *d, Window w,
  101. unsigned long ul, XSetWindowAttributes *x);
  102. /* 22 */
  103. EXTERN int XClearWindow(Display *d, Window w);
  104. /* 23 */
  105. EXTERN int XConfigureWindow(Display *d, Window w,
  106. unsigned int i, XWindowChanges *x);
  107. /* 24 */
  108. EXTERN int XCopyArea(Display *d, Drawable dr1, Drawable dr2,
  109. GC g, int i1, int i2, unsigned int ui1,
  110. unsigned int ui2, int i3, int i4);
  111. /* 25 */
  112. EXTERN int XCopyPlane(Display *d, Drawable dr1, Drawable dr2,
  113. GC g, int i1, int i2, unsigned int ui1,
  114. unsigned int ui2, int i3, int i4,
  115. unsigned long ul);
  116. /* 26 */
  117. EXTERN Pixmap XCreateBitmapFromData(Display *display, Drawable d,
  118. _Xconst char *data, unsigned int width,
  119. unsigned int height);
  120. /* 27 */
  121. EXTERN int XDefineCursor(Display *d, Window w, Cursor c);
  122. /* 28 */
  123. EXTERN int XDeleteProperty(Display *d, Window w, Atom a);
  124. /* 29 */
  125. EXTERN int XDestroyWindow(Display *d, Window w);
  126. /* 30 */
  127. EXTERN int XDrawArc(Display *d, Drawable dr, GC g, int i1,
  128. int i2, unsigned int ui1, unsigned int ui2,
  129. int i3, int i4);
  130. /* 31 */
  131. EXTERN int XDrawLines(Display *d, Drawable dr, GC g, XPoint *x,
  132. int i1, int i2);
  133. /* 32 */
  134. EXTERN int XDrawRectangle(Display *d, Drawable dr, GC g, int i1,
  135. int i2, unsigned int ui1, unsigned int ui2);
  136. /* 33 */
  137. EXTERN int XFillArc(Display *d, Drawable dr, GC g, int i1,
  138. int i2, unsigned int ui1, unsigned int ui2,
  139. int i3, int i4);
  140. /* 34 */
  141. EXTERN int XFillPolygon(Display *d, Drawable dr, GC g,
  142. XPoint *x, int i1, int i2, int i3);
  143. /* 35 */
  144. EXTERN int XFillRectangles(Display *d, Drawable dr, GC g,
  145. XRectangle *x, int i);
  146. /* 36 */
  147. EXTERN int XForceScreenSaver(Display *d, int i);
  148. /* 37 */
  149. EXTERN int XFreeColormap(Display *d, Colormap c);
  150. /* 38 */
  151. EXTERN int XFreeColors(Display *d, Colormap c,
  152. unsigned long *ulp, int i, unsigned long ul);
  153. /* 39 */
  154. EXTERN int XFreeCursor(Display *d, Cursor c);
  155. /* 40 */
  156. EXTERN int XFreeModifiermap(XModifierKeymap *x);
  157. /* 41 */
  158. EXTERN Status XGetGeometry(Display *d, Drawable dr, Window *w,
  159. int *i1, int *i2, unsigned int *ui1,
  160. unsigned int *ui2, unsigned int *ui3,
  161. unsigned int *ui4);
  162. /* 42 */
  163. EXTERN int XGetInputFocus(Display *d, Window *w, int *i);
  164. /* 43 */
  165. EXTERN int XGetWindowProperty(Display *d, Window w, Atom a1,
  166. long l1, long l2, Bool b, Atom a2, Atom *ap,
  167. int *ip, unsigned long *ulp1,
  168. unsigned long *ulp2, unsigned char **cpp);
  169. /* 44 */
  170. EXTERN Status XGetWindowAttributes(Display *d, Window w,
  171. XWindowAttributes *x);
  172. /* 45 */
  173. EXTERN int XGrabKeyboard(Display *d, Window w, Bool b, int i1,
  174. int i2, Time t);
  175. /* 46 */
  176. EXTERN int XGrabPointer(Display *d, Window w1, Bool b,
  177. unsigned int ui, int i1, int i2, Window w2,
  178. Cursor c, Time t);
  179. /* 47 */
  180. EXTERN KeyCode XKeysymToKeycode(Display *d, KeySym k);
  181. /* 48 */
  182. EXTERN Status XLookupColor(Display *d, Colormap c1,
  183. _Xconst char *c2, XColor *x1, XColor *x2);
  184. /* 49 */
  185. EXTERN int XMapWindow(Display *d, Window w);
  186. /* 50 */
  187. EXTERN int XMoveResizeWindow(Display *d, Window w, int i1,
  188. int i2, unsigned int ui1, unsigned int ui2);
  189. /* 51 */
  190. EXTERN int XMoveWindow(Display *d, Window w, int i1, int i2);
  191. /* 52 */
  192. EXTERN int XNextEvent(Display *d, XEvent *x);
  193. /* 53 */
  194. EXTERN int XPutBackEvent(Display *d, XEvent *x);
  195. /* 54 */
  196. EXTERN int XQueryColors(Display *d, Colormap c, XColor *x,
  197. int i);
  198. /* 55 */
  199. EXTERN Bool XQueryPointer(Display *d, Window w1, Window *w2,
  200. Window *w3, int *i1, int *i2, int *i3,
  201. int *i4, unsigned int *ui);
  202. /* 56 */
  203. EXTERN Status XQueryTree(Display *d, Window w1, Window *w2,
  204. Window *w3, Window **w4, unsigned int *ui);
  205. /* 57 */
  206. EXTERN int XRaiseWindow(Display *d, Window w);
  207. /* 58 */
  208. EXTERN int XRefreshKeyboardMapping(XMappingEvent *x);
  209. /* 59 */
  210. EXTERN int XResizeWindow(Display *d, Window w, unsigned int ui1,
  211. unsigned int ui2);
  212. /* 60 */
  213. EXTERN int XSelectInput(Display *d, Window w, long l);
  214. /* 61 */
  215. EXTERN Status XSendEvent(Display *d, Window w, Bool b, long l,
  216. XEvent *x);
  217. /* 62 */
  218. EXTERN int XSetCommand(Display *d, Window w, char **c, int i);
  219. /* 63 */
  220. EXTERN int XSetIconName(Display *d, Window w, _Xconst char *c);
  221. /* 64 */
  222. EXTERN int XSetInputFocus(Display *d, Window w, int i, Time t);
  223. /* 65 */
  224. EXTERN int XSetSelectionOwner(Display *d, Atom a, Window w,
  225. Time t);
  226. /* 66 */
  227. EXTERN int XSetWindowBackground(Display *d, Window w,
  228. unsigned long ul);
  229. /* 67 */
  230. EXTERN int XSetWindowBackgroundPixmap(Display *d, Window w,
  231. Pixmap p);
  232. /* 68 */
  233. EXTERN int XSetWindowBorder(Display *d, Window w,
  234. unsigned long ul);
  235. /* 69 */
  236. EXTERN int XSetWindowBorderPixmap(Display *d, Window w,
  237. Pixmap p);
  238. /* 70 */
  239. EXTERN int XSetWindowBorderWidth(Display *d, Window w,
  240. unsigned int ui);
  241. /* 71 */
  242. EXTERN int XSetWindowColormap(Display *d, Window w, Colormap c);
  243. /* 72 */
  244. EXTERN Bool XTranslateCoordinates(Display *d, Window w1,
  245. Window w2, int i1, int i2, int *i3, int *i4,
  246. Window *w3);
  247. /* 73 */
  248. EXTERN int XUngrabKeyboard(Display *d, Time t);
  249. /* 74 */
  250. EXTERN int XUngrabPointer(Display *d, Time t);
  251. /* 75 */
  252. EXTERN int XUnmapWindow(Display *d, Window w);
  253. /* 76 */
  254. EXTERN int XWindowEvent(Display *d, Window w, long l, XEvent *x);
  255. /* 77 */
  256. EXTERN void XDestroyIC(XIC x);
  257. /* 78 */
  258. EXTERN Bool XFilterEvent(XEvent *x, Window w);
  259. /* 79 */
  260. EXTERN int XmbLookupString(XIC xi, XKeyPressedEvent *xk,
  261. char *c, int i, KeySym *k, Status *s);
  262. /* 80 */
  263. EXTERN int TkPutImage(unsigned long *colors, int ncolors,
  264. Display *display, Drawable d, GC gc,
  265. XImage *image, int src_x, int src_y,
  266. int dest_x, int dest_y, unsigned int width,
  267. unsigned int height);
  268. /* Slot 81 is reserved */
  269. /* 82 */
  270. EXTERN Status XParseColor(Display *display, Colormap map,
  271. _Xconst char *spec, XColor *colorPtr);
  272. /* 83 */
  273. EXTERN GC XCreateGC(Display *display, Drawable d,
  274. unsigned long valuemask, XGCValues *values);
  275. /* 84 */
  276. EXTERN int XFreeGC(Display *display, GC gc);
  277. /* 85 */
  278. EXTERN Atom XInternAtom(Display *display,
  279. _Xconst char *atom_name, Bool only_if_exists);
  280. /* 86 */
  281. EXTERN int XSetBackground(Display *display, GC gc,
  282. unsigned long foreground);
  283. /* 87 */
  284. EXTERN int XSetForeground(Display *display, GC gc,
  285. unsigned long foreground);
  286. /* 88 */
  287. EXTERN int XSetClipMask(Display *display, GC gc, Pixmap pixmap);
  288. /* 89 */
  289. EXTERN int XSetClipOrigin(Display *display, GC gc,
  290. int clip_x_origin, int clip_y_origin);
  291. /* 90 */
  292. EXTERN int XSetTSOrigin(Display *display, GC gc,
  293. int ts_x_origin, int ts_y_origin);
  294. /* 91 */
  295. EXTERN int XChangeGC(Display *d, GC gc, unsigned long mask,
  296. XGCValues *values);
  297. /* 92 */
  298. EXTERN int XSetFont(Display *display, GC gc, Font font);
  299. /* 93 */
  300. EXTERN int XSetArcMode(Display *display, GC gc, int arc_mode);
  301. /* 94 */
  302. EXTERN int XSetStipple(Display *display, GC gc, Pixmap stipple);
  303. /* 95 */
  304. EXTERN int XSetFillRule(Display *display, GC gc, int fill_rule);
  305. /* 96 */
  306. EXTERN int XSetFillStyle(Display *display, GC gc,
  307. int fill_style);
  308. /* 97 */
  309. EXTERN int XSetFunction(Display *display, GC gc, int function);
  310. /* 98 */
  311. EXTERN int XSetLineAttributes(Display *display, GC gc,
  312. unsigned int line_width, int line_style,
  313. int cap_style, int join_style);
  314. /* 99 */
  315. EXTERN int _XInitImageFuncPtrs(XImage *image);
  316. /* 100 */
  317. EXTERN XIC XCreateIC(XIM xim, ...);
  318. /* 101 */
  319. EXTERN XVisualInfo * XGetVisualInfo(Display *display, long vinfo_mask,
  320. XVisualInfo *vinfo_template,
  321. int *nitems_return);
  322. /* 102 */
  323. EXTERN void XSetWMClientMachine(Display *display, Window w,
  324. XTextProperty *text_prop);
  325. /* 103 */
  326. EXTERN Status XStringListToTextProperty(char **list, int count,
  327. XTextProperty *text_prop_return);
  328. /* 104 */
  329. EXTERN int XDrawLine(Display *d, Drawable dr, GC g, int x1,
  330. int y1, int x2, int y2);
  331. /* 105 */
  332. EXTERN int XWarpPointer(Display *d, Window s, Window dw, int sx,
  333. int sy, unsigned int sw, unsigned int sh,
  334. int dx, int dy);
  335. /* 106 */
  336. EXTERN int XFillRectangle(Display *display, Drawable d, GC gc,
  337. int x, int y, unsigned int width,
  338. unsigned int height);
  339. /* 107 */
  340. EXTERN int XFlush(Display *display);
  341. /* 108 */
  342. EXTERN int XGrabServer(Display *display);
  343. /* 109 */
  344. EXTERN int XUngrabServer(Display *display);
  345. /* 110 */
  346. EXTERN int XFree(void *data);
  347. /* 111 */
  348. EXTERN int XNoOp(Display *display);
  349. /* 112 */
  350. EXTERN XAfterFunction XSynchronize(Display *display, Bool onoff);
  351. /* 113 */
  352. EXTERN int XSync(Display *display, Bool discard);
  353. /* 114 */
  354. EXTERN VisualID XVisualIDFromVisual(Visual *visual);
  355. /* Slot 115 is reserved */
  356. /* Slot 116 is reserved */
  357. /* Slot 117 is reserved */
  358. /* Slot 118 is reserved */
  359. /* Slot 119 is reserved */
  360. /* 120 */
  361. EXTERN int XOffsetRegion(Region rgn, int dx, int dy);
  362. /* 121 */
  363. EXTERN int XUnionRegion(Region srca, Region srcb,
  364. Region dr_return);
  365. /* 122 */
  366. EXTERN Window XCreateWindow(Display *display, Window parent, int x,
  367. int y, unsigned int width,
  368. unsigned int height,
  369. unsigned int border_width, int depth,
  370. unsigned int clazz, Visual *visual,
  371. unsigned long value_mask,
  372. XSetWindowAttributes *attributes);
  373. /* Slot 123 is reserved */
  374. /* Slot 124 is reserved */
  375. /* Slot 125 is reserved */
  376. /* Slot 126 is reserved */
  377. /* Slot 127 is reserved */
  378. /* Slot 128 is reserved */
  379. /* 129 */
  380. EXTERN int XLowerWindow(Display *d, Window w);
  381. /* 130 */
  382. EXTERN int XFillArcs(Display *d, Drawable dr, GC gc, XArc *a,
  383. int n);
  384. /* 131 */
  385. EXTERN int XDrawArcs(Display *d, Drawable dr, GC gc, XArc *a,
  386. int n);
  387. /* 132 */
  388. EXTERN int XDrawRectangles(Display *d, Drawable dr, GC gc,
  389. XRectangle *r, int n);
  390. /* 133 */
  391. EXTERN int XDrawSegments(Display *d, Drawable dr, GC gc,
  392. XSegment *s, int n);
  393. /* 134 */
  394. EXTERN int XDrawPoint(Display *d, Drawable dr, GC gc, int x,
  395. int y);
  396. /* 135 */
  397. EXTERN int XDrawPoints(Display *d, Drawable dr, GC gc,
  398. XPoint *p, int n, int m);
  399. /* 136 */
  400. EXTERN int XReparentWindow(Display *d, Window w, Window p,
  401. int x, int y);
  402. /* 137 */
  403. EXTERN int XPutImage(Display *d, Drawable dr, GC gc, XImage *im,
  404. int sx, int sy, int dx, int dy,
  405. unsigned int w, unsigned int h);
  406. /* Slot 138 is reserved */
  407. /* Slot 139 is reserved */
  408. /* Slot 140 is reserved */
  409. /* Slot 141 is reserved */
  410. /* Slot 142 is reserved */
  411. /* Slot 143 is reserved */
  412. /* Slot 144 is reserved */
  413. /* Slot 145 is reserved */
  414. /* Slot 146 is reserved */
  415. /* Slot 147 is reserved */
  416. /* Slot 148 is reserved */
  417. /* Slot 149 is reserved */
  418. /* Slot 150 is reserved */
  419. /* Slot 151 is reserved */
  420. /* Slot 152 is reserved */
  421. /* Slot 153 is reserved */
  422. /* Slot 154 is reserved */
  423. /* Slot 155 is reserved */
  424. /* Slot 156 is reserved */
  425. /* Slot 157 is reserved */
  426. /* 158 */
  427. EXTERN void TkUnusedStubEntry(void);
  428. #endif /* WIN */
  429. #ifdef MAC_OSX_TK /* AQUA */
  430. /* 0 */
  431. EXTERN int XSetDashes(Display *display, GC gc, int dash_offset,
  432. _Xconst char *dash_list, int n);
  433. /* 1 */
  434. EXTERN XModifierKeymap * XGetModifierMapping(Display *d);
  435. /* 2 */
  436. EXTERN XImage * XCreateImage(Display *d, Visual *v, unsigned int ui1,
  437. int i1, int i2, char *cp, unsigned int ui2,
  438. unsigned int ui3, int i3, int i4);
  439. /* 3 */
  440. EXTERN XImage * XGetImage(Display *d, Drawable dr, int i1, int i2,
  441. unsigned int ui1, unsigned int ui2,
  442. unsigned long ul, int i3);
  443. /* 4 */
  444. EXTERN char * XGetAtomName(Display *d, Atom a);
  445. /* 5 */
  446. EXTERN char * XKeysymToString(KeySym k);
  447. /* 6 */
  448. EXTERN Colormap XCreateColormap(Display *d, Window w, Visual *v,
  449. int i);
  450. /* 7 */
  451. EXTERN GContext XGContextFromGC(GC g);
  452. /* 8 */
  453. EXTERN KeySym XKeycodeToKeysym(Display *d, KeyCode k, int i);
  454. /* 9 */
  455. EXTERN KeySym XStringToKeysym(_Xconst char *c);
  456. /* 10 */
  457. EXTERN Window XRootWindow(Display *d, int i);
  458. /* 11 */
  459. EXTERN XErrorHandler XSetErrorHandler(XErrorHandler x);
  460. /* 12 */
  461. EXTERN Status XAllocColor(Display *d, Colormap c, XColor *xp);
  462. /* 13 */
  463. EXTERN int XBell(Display *d, int i);
  464. /* 14 */
  465. EXTERN int XChangeProperty(Display *d, Window w, Atom a1,
  466. Atom a2, int i1, int i2,
  467. _Xconst unsigned char *c, int i3);
  468. /* 15 */
  469. EXTERN int XChangeWindowAttributes(Display *d, Window w,
  470. unsigned long ul, XSetWindowAttributes *x);
  471. /* 16 */
  472. EXTERN int XConfigureWindow(Display *d, Window w,
  473. unsigned int i, XWindowChanges *x);
  474. /* 17 */
  475. EXTERN int XCopyArea(Display *d, Drawable dr1, Drawable dr2,
  476. GC g, int i1, int i2, unsigned int ui1,
  477. unsigned int ui2, int i3, int i4);
  478. /* 18 */
  479. EXTERN int XCopyPlane(Display *d, Drawable dr1, Drawable dr2,
  480. GC g, int i1, int i2, unsigned int ui1,
  481. unsigned int ui2, int i3, int i4,
  482. unsigned long ul);
  483. /* 19 */
  484. EXTERN Pixmap XCreateBitmapFromData(Display *display, Drawable d,
  485. _Xconst char *data, unsigned int width,
  486. unsigned int height);
  487. /* 20 */
  488. EXTERN int XDefineCursor(Display *d, Window w, Cursor c);
  489. /* 21 */
  490. EXTERN int XDestroyWindow(Display *d, Window w);
  491. /* 22 */
  492. EXTERN int XDrawArc(Display *d, Drawable dr, GC g, int i1,
  493. int i2, unsigned int ui1, unsigned int ui2,
  494. int i3, int i4);
  495. /* 23 */
  496. EXTERN int XDrawLines(Display *d, Drawable dr, GC g, XPoint *x,
  497. int i1, int i2);
  498. /* 24 */
  499. EXTERN int XDrawRectangle(Display *d, Drawable dr, GC g, int i1,
  500. int i2, unsigned int ui1, unsigned int ui2);
  501. /* 25 */
  502. EXTERN int XFillArc(Display *d, Drawable dr, GC g, int i1,
  503. int i2, unsigned int ui1, unsigned int ui2,
  504. int i3, int i4);
  505. /* 26 */
  506. EXTERN int XFillPolygon(Display *d, Drawable dr, GC g,
  507. XPoint *x, int i1, int i2, int i3);
  508. /* 27 */
  509. EXTERN int XFillRectangles(Display *d, Drawable dr, GC g,
  510. XRectangle *x, int i);
  511. /* 28 */
  512. EXTERN int XFreeColormap(Display *d, Colormap c);
  513. /* 29 */
  514. EXTERN int XFreeColors(Display *d, Colormap c,
  515. unsigned long *ulp, int i, unsigned long ul);
  516. /* 30 */
  517. EXTERN int XFreeModifiermap(XModifierKeymap *x);
  518. /* 31 */
  519. EXTERN Status XGetGeometry(Display *d, Drawable dr, Window *w,
  520. int *i1, int *i2, unsigned int *ui1,
  521. unsigned int *ui2, unsigned int *ui3,
  522. unsigned int *ui4);
  523. /* 32 */
  524. EXTERN int XGetWindowProperty(Display *d, Window w, Atom a1,
  525. long l1, long l2, Bool b, Atom a2, Atom *ap,
  526. int *ip, unsigned long *ulp1,
  527. unsigned long *ulp2, unsigned char **cpp);
  528. /* 33 */
  529. EXTERN int XGrabKeyboard(Display *d, Window w, Bool b, int i1,
  530. int i2, Time t);
  531. /* 34 */
  532. EXTERN int XGrabPointer(Display *d, Window w1, Bool b,
  533. unsigned int ui, int i1, int i2, Window w2,
  534. Cursor c, Time t);
  535. /* 35 */
  536. EXTERN KeyCode XKeysymToKeycode(Display *d, KeySym k);
  537. /* 36 */
  538. EXTERN int XMapWindow(Display *d, Window w);
  539. /* 37 */
  540. EXTERN int XMoveResizeWindow(Display *d, Window w, int i1,
  541. int i2, unsigned int ui1, unsigned int ui2);
  542. /* 38 */
  543. EXTERN int XMoveWindow(Display *d, Window w, int i1, int i2);
  544. /* 39 */
  545. EXTERN Bool XQueryPointer(Display *d, Window w1, Window *w2,
  546. Window *w3, int *i1, int *i2, int *i3,
  547. int *i4, unsigned int *ui);
  548. /* 40 */
  549. EXTERN int XRaiseWindow(Display *d, Window w);
  550. /* 41 */
  551. EXTERN int XRefreshKeyboardMapping(XMappingEvent *x);
  552. /* 42 */
  553. EXTERN int XResizeWindow(Display *d, Window w, unsigned int ui1,
  554. unsigned int ui2);
  555. /* 43 */
  556. EXTERN int XSelectInput(Display *d, Window w, long l);
  557. /* 44 */
  558. EXTERN Status XSendEvent(Display *d, Window w, Bool b, long l,
  559. XEvent *x);
  560. /* 45 */
  561. EXTERN int XSetIconName(Display *d, Window w, _Xconst char *c);
  562. /* 46 */
  563. EXTERN int XSetInputFocus(Display *d, Window w, int i, Time t);
  564. /* 47 */
  565. EXTERN int XSetSelectionOwner(Display *d, Atom a, Window w,
  566. Time t);
  567. /* 48 */
  568. EXTERN int XSetWindowBackground(Display *d, Window w,
  569. unsigned long ul);
  570. /* 49 */
  571. EXTERN int XSetWindowBackgroundPixmap(Display *d, Window w,
  572. Pixmap p);
  573. /* 50 */
  574. EXTERN int XSetWindowBorder(Display *d, Window w,
  575. unsigned long ul);
  576. /* 51 */
  577. EXTERN int XSetWindowBorderPixmap(Display *d, Window w,
  578. Pixmap p);
  579. /* 52 */
  580. EXTERN int XSetWindowBorderWidth(Display *d, Window w,
  581. unsigned int ui);
  582. /* 53 */
  583. EXTERN int XSetWindowColormap(Display *d, Window w, Colormap c);
  584. /* 54 */
  585. EXTERN int XUngrabKeyboard(Display *d, Time t);
  586. /* 55 */
  587. EXTERN int XUngrabPointer(Display *d, Time t);
  588. /* 56 */
  589. EXTERN int XUnmapWindow(Display *d, Window w);
  590. /* 57 */
  591. EXTERN int TkPutImage(unsigned long *colors, int ncolors,
  592. Display *display, Drawable d, GC gc,
  593. XImage *image, int src_x, int src_y,
  594. int dest_x, int dest_y, unsigned int width,
  595. unsigned int height);
  596. /* 58 */
  597. EXTERN Status XParseColor(Display *display, Colormap map,
  598. _Xconst char *spec, XColor *colorPtr);
  599. /* 59 */
  600. EXTERN GC XCreateGC(Display *display, Drawable d,
  601. unsigned long valuemask, XGCValues *values);
  602. /* 60 */
  603. EXTERN int XFreeGC(Display *display, GC gc);
  604. /* 61 */
  605. EXTERN Atom XInternAtom(Display *display,
  606. _Xconst char *atom_name, Bool only_if_exists);
  607. /* 62 */
  608. EXTERN int XSetBackground(Display *display, GC gc,
  609. unsigned long foreground);
  610. /* 63 */
  611. EXTERN int XSetForeground(Display *display, GC gc,
  612. unsigned long foreground);
  613. /* 64 */
  614. EXTERN int XSetClipMask(Display *display, GC gc, Pixmap pixmap);
  615. /* 65 */
  616. EXTERN int XSetClipOrigin(Display *display, GC gc,
  617. int clip_x_origin, int clip_y_origin);
  618. /* 66 */
  619. EXTERN int XSetTSOrigin(Display *display, GC gc,
  620. int ts_x_origin, int ts_y_origin);
  621. /* 67 */
  622. EXTERN int XChangeGC(Display *d, GC gc, unsigned long mask,
  623. XGCValues *values);
  624. /* 68 */
  625. EXTERN int XSetFont(Display *display, GC gc, Font font);
  626. /* 69 */
  627. EXTERN int XSetArcMode(Display *display, GC gc, int arc_mode);
  628. /* 70 */
  629. EXTERN int XSetStipple(Display *display, GC gc, Pixmap stipple);
  630. /* 71 */
  631. EXTERN int XSetFillRule(Display *display, GC gc, int fill_rule);
  632. /* 72 */
  633. EXTERN int XSetFillStyle(Display *display, GC gc,
  634. int fill_style);
  635. /* 73 */
  636. EXTERN int XSetFunction(Display *display, GC gc, int function);
  637. /* 74 */
  638. EXTERN int XSetLineAttributes(Display *display, GC gc,
  639. unsigned int line_width, int line_style,
  640. int cap_style, int join_style);
  641. /* 75 */
  642. EXTERN int _XInitImageFuncPtrs(XImage *image);
  643. /* 76 */
  644. EXTERN XIC XCreateIC(XIM xim, ...);
  645. /* 77 */
  646. EXTERN XVisualInfo * XGetVisualInfo(Display *display, long vinfo_mask,
  647. XVisualInfo *vinfo_template,
  648. int *nitems_return);
  649. /* 78 */
  650. EXTERN void XSetWMClientMachine(Display *display, Window w,
  651. XTextProperty *text_prop);
  652. /* 79 */
  653. EXTERN Status XStringListToTextProperty(char **list, int count,
  654. XTextProperty *text_prop_return);
  655. /* 80 */
  656. EXTERN int XDrawSegments(Display *display, Drawable d, GC gc,
  657. XSegment *segments, int nsegments);
  658. /* 81 */
  659. EXTERN int XForceScreenSaver(Display *display, int mode);
  660. /* 82 */
  661. EXTERN int XDrawLine(Display *d, Drawable dr, GC g, int x1,
  662. int y1, int x2, int y2);
  663. /* 83 */
  664. EXTERN int XFillRectangle(Display *display, Drawable d, GC gc,
  665. int x, int y, unsigned int width,
  666. unsigned int height);
  667. /* 84 */
  668. EXTERN int XClearWindow(Display *d, Window w);
  669. /* 85 */
  670. EXTERN int XDrawPoint(Display *display, Drawable d, GC gc,
  671. int x, int y);
  672. /* 86 */
  673. EXTERN int XDrawPoints(Display *display, Drawable d, GC gc,
  674. XPoint *points, int npoints, int mode);
  675. /* 87 */
  676. EXTERN int XWarpPointer(Display *display, Window src_w,
  677. Window dest_w, int src_x, int src_y,
  678. unsigned int src_width,
  679. unsigned int src_height, int dest_x,
  680. int dest_y);
  681. /* 88 */
  682. EXTERN int XQueryColor(Display *display, Colormap colormap,
  683. XColor *def_in_out);
  684. /* 89 */
  685. EXTERN int XQueryColors(Display *display, Colormap colormap,
  686. XColor *defs_in_out, int ncolors);
  687. /* 90 */
  688. EXTERN Status XQueryTree(Display *d, Window w1, Window *w2,
  689. Window *w3, Window **w4, unsigned int *ui);
  690. /* 91 */
  691. EXTERN int XSync(Display *display, Bool discard);
  692. /* Slot 92 is reserved */
  693. /* Slot 93 is reserved */
  694. /* Slot 94 is reserved */
  695. /* Slot 95 is reserved */
  696. /* Slot 96 is reserved */
  697. /* Slot 97 is reserved */
  698. /* Slot 98 is reserved */
  699. /* Slot 99 is reserved */
  700. /* Slot 100 is reserved */
  701. /* Slot 101 is reserved */
  702. /* Slot 102 is reserved */
  703. /* Slot 103 is reserved */
  704. /* Slot 104 is reserved */
  705. /* Slot 105 is reserved */
  706. /* 106 */
  707. EXTERN int XSetClipRectangles(Display *display, GC gc,
  708. int clip_x_origin, int clip_y_origin,
  709. XRectangle rectangles[], int n, int ordering);
  710. /* 107 */
  711. EXTERN int XFlush(Display *display);
  712. /* 108 */
  713. EXTERN int XGrabServer(Display *display);
  714. /* 109 */
  715. EXTERN int XUngrabServer(Display *display);
  716. /* 110 */
  717. EXTERN int XFree(void *data);
  718. /* 111 */
  719. EXTERN int XNoOp(Display *display);
  720. /* 112 */
  721. EXTERN XAfterFunction XSynchronize(Display *display, Bool onoff);
  722. /* Slot 113 is reserved */
  723. /* 114 */
  724. EXTERN VisualID XVisualIDFromVisual(Visual *visual);
  725. /* Slot 115 is reserved */
  726. /* Slot 116 is reserved */
  727. /* Slot 117 is reserved */
  728. /* Slot 118 is reserved */
  729. /* Slot 119 is reserved */
  730. /* 120 */
  731. EXTERN int XOffsetRegion(void *rgn, int dx, int dy);
  732. /* Slot 121 is reserved */
  733. /* Slot 122 is reserved */
  734. /* Slot 123 is reserved */
  735. /* Slot 124 is reserved */
  736. /* Slot 125 is reserved */
  737. /* Slot 126 is reserved */
  738. /* Slot 127 is reserved */
  739. /* Slot 128 is reserved */
  740. /* 129 */
  741. EXTERN int XLowerWindow(Display *d, Window w);
  742. /* Slot 130 is reserved */
  743. /* Slot 131 is reserved */
  744. /* Slot 132 is reserved */
  745. /* Slot 133 is reserved */
  746. /* Slot 134 is reserved */
  747. /* Slot 135 is reserved */
  748. /* Slot 136 is reserved */
  749. /* 137 */
  750. EXTERN int XPutImage(Display *d, Drawable dr, GC gc, XImage *im,
  751. int sx, int sy, int dx, int dy,
  752. unsigned int w, unsigned int h);
  753. /* Slot 138 is reserved */
  754. /* Slot 139 is reserved */
  755. /* Slot 140 is reserved */
  756. /* Slot 141 is reserved */
  757. /* Slot 142 is reserved */
  758. /* Slot 143 is reserved */
  759. /* 144 */
  760. EXTERN void XDestroyIC(XIC xic);
  761. /* 145 */
  762. EXTERN Cursor XCreatePixmapCursor(Display *d, Pixmap p1, Pixmap p2,
  763. XColor *x1, XColor *x2, unsigned int ui1,
  764. unsigned int ui2);
  765. /* 146 */
  766. EXTERN Cursor XCreateGlyphCursor(Display *d, Font f1, Font f2,
  767. unsigned int ui1, unsigned int ui2,
  768. XColor _Xconst *x1, XColor _Xconst *x2);
  769. /* Slot 147 is reserved */
  770. /* Slot 148 is reserved */
  771. /* Slot 149 is reserved */
  772. /* Slot 150 is reserved */
  773. /* Slot 151 is reserved */
  774. /* Slot 152 is reserved */
  775. /* Slot 153 is reserved */
  776. /* Slot 154 is reserved */
  777. /* Slot 155 is reserved */
  778. /* Slot 156 is reserved */
  779. /* 157 */
  780. EXTERN KeySym XkbKeycodeToKeysym(Display *d, unsigned int k, int g,
  781. int i);
  782. /* 158 */
  783. EXTERN void TkUnusedStubEntry(void);
  784. #endif /* AQUA */
  785. typedef struct TkIntXlibStubs {
  786. int magic;
  787. void *hooks;
  788. #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */
  789. int (*xSetDashes) (Display *display, GC gc, int dash_offset, _Xconst char *dash_list, int n); /* 0 */
  790. XModifierKeymap * (*xGetModifierMapping) (Display *d); /* 1 */
  791. XImage * (*xCreateImage) (Display *d, Visual *v, unsigned int ui1, int i1, int i2, char *cp, unsigned int ui2, unsigned int ui3, int i3, int i4); /* 2 */
  792. XImage * (*xGetImage) (Display *d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */
  793. char * (*xGetAtomName) (Display *d, Atom a); /* 4 */
  794. char * (*xKeysymToString) (KeySym k); /* 5 */
  795. Colormap (*xCreateColormap) (Display *d, Window w, Visual *v, int i); /* 6 */
  796. Cursor (*xCreatePixmapCursor) (Display *d, Pixmap p1, Pixmap p2, XColor *x1, XColor *x2, unsigned int ui1, unsigned int ui2); /* 7 */
  797. Cursor (*xCreateGlyphCursor) (Display *d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor _Xconst *x1, XColor _Xconst *x2); /* 8 */
  798. GContext (*xGContextFromGC) (GC g); /* 9 */
  799. XHostAddress * (*xListHosts) (Display *d, int *i, Bool *b); /* 10 */
  800. KeySym (*xKeycodeToKeysym) (Display *d, unsigned int k, int i); /* 11 */
  801. KeySym (*xStringToKeysym) (_Xconst char *c); /* 12 */
  802. Window (*xRootWindow) (Display *d, int i); /* 13 */
  803. XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 14 */
  804. Status (*xIconifyWindow) (Display *d, Window w, int i); /* 15 */
  805. Status (*xWithdrawWindow) (Display *d, Window w, int i); /* 16 */
  806. Status (*xGetWMColormapWindows) (Display *d, Window w, Window **wpp, int *ip); /* 17 */
  807. Status (*xAllocColor) (Display *d, Colormap c, XColor *xp); /* 18 */
  808. int (*xBell) (Display *d, int i); /* 19 */
  809. int (*xChangeProperty) (Display *d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char *c, int i3); /* 20 */
  810. int (*xChangeWindowAttributes) (Display *d, Window w, unsigned long ul, XSetWindowAttributes *x); /* 21 */
  811. int (*xClearWindow) (Display *d, Window w); /* 22 */
  812. int (*xConfigureWindow) (Display *d, Window w, unsigned int i, XWindowChanges *x); /* 23 */
  813. int (*xCopyArea) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 24 */
  814. int (*xCopyPlane) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 25 */
  815. Pixmap (*xCreateBitmapFromData) (Display *display, Drawable d, _Xconst char *data, unsigned int width, unsigned int height); /* 26 */
  816. int (*xDefineCursor) (Display *d, Window w, Cursor c); /* 27 */
  817. int (*xDeleteProperty) (Display *d, Window w, Atom a); /* 28 */
  818. int (*xDestroyWindow) (Display *d, Window w); /* 29 */
  819. int (*xDrawArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 30 */
  820. int (*xDrawLines) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2); /* 31 */
  821. int (*xDrawRectangle) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 32 */
  822. int (*xFillArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 33 */
  823. int (*xFillPolygon) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2, int i3); /* 34 */
  824. int (*xFillRectangles) (Display *d, Drawable dr, GC g, XRectangle *x, int i); /* 35 */
  825. int (*xForceScreenSaver) (Display *d, int i); /* 36 */
  826. int (*xFreeColormap) (Display *d, Colormap c); /* 37 */
  827. int (*xFreeColors) (Display *d, Colormap c, unsigned long *ulp, int i, unsigned long ul); /* 38 */
  828. int (*xFreeCursor) (Display *d, Cursor c); /* 39 */
  829. int (*xFreeModifiermap) (XModifierKeymap *x); /* 40 */
  830. Status (*xGetGeometry) (Display *d, Drawable dr, Window *w, int *i1, int *i2, unsigned int *ui1, unsigned int *ui2, unsigned int *ui3, unsigned int *ui4); /* 41 */
  831. int (*xGetInputFocus) (Display *d, Window *w, int *i); /* 42 */
  832. int (*xGetWindowProperty) (Display *d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom *ap, int *ip, unsigned long *ulp1, unsigned long *ulp2, unsigned char **cpp); /* 43 */
  833. Status (*xGetWindowAttributes) (Display *d, Window w, XWindowAttributes *x); /* 44 */
  834. int (*xGrabKeyboard) (Display *d, Window w, Bool b, int i1, int i2, Time t); /* 45 */
  835. int (*xGrabPointer) (Display *d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 46 */
  836. KeyCode (*xKeysymToKeycode) (Display *d, KeySym k); /* 47 */
  837. Status (*xLookupColor) (Display *d, Colormap c1, _Xconst char *c2, XColor *x1, XColor *x2); /* 48 */
  838. int (*xMapWindow) (Display *d, Window w); /* 49 */
  839. int (*xMoveResizeWindow) (Display *d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 50 */
  840. int (*xMoveWindow) (Display *d, Window w, int i1, int i2); /* 51 */
  841. int (*xNextEvent) (Display *d, XEvent *x); /* 52 */
  842. int (*xPutBackEvent) (Display *d, XEvent *x); /* 53 */
  843. int (*xQueryColors) (Display *d, Colormap c, XColor *x, int i); /* 54 */
  844. Bool (*xQueryPointer) (Display *d, Window w1, Window *w2, Window *w3, int *i1, int *i2, int *i3, int *i4, unsigned int *ui); /* 55 */
  845. Status (*xQueryTree) (Display *d, Window w1, Window *w2, Window *w3, Window **w4, unsigned int *ui); /* 56 */
  846. int (*xRaiseWindow) (Display *d, Window w); /* 57 */
  847. int (*xRefreshKeyboardMapping) (XMappingEvent *x); /* 58 */
  848. int (*xResizeWindow) (Display *d, Window w, unsigned int ui1, unsigned int ui2); /* 59 */
  849. int (*xSelectInput) (Display *d, Window w, long l); /* 60 */
  850. Status (*xSendEvent) (Display *d, Window w, Bool b, long l, XEvent *x); /* 61 */
  851. int (*xSetCommand) (Display *d, Window w, char **c, int i); /* 62 */
  852. int (*xSetIconName) (Display *d, Window w, _Xconst char *c); /* 63 */
  853. int (*xSetInputFocus) (Display *d, Window w, int i, Time t); /* 64 */
  854. int (*xSetSelectionOwner) (Display *d, Atom a, Window w, Time t); /* 65 */
  855. int (*xSetWindowBackground) (Display *d, Window w, unsigned long ul); /* 66 */
  856. int (*xSetWindowBackgroundPixmap) (Display *d, Window w, Pixmap p); /* 67 */
  857. int (*xSetWindowBorder) (Display *d, Window w, unsigned long ul); /* 68 */
  858. int (*xSetWindowBorderPixmap) (Display *d, Window w, Pixmap p); /* 69 */
  859. int (*xSetWindowBorderWidth) (Display *d, Window w, unsigned int ui); /* 70 */
  860. int (*xSetWindowColormap) (Display *d, Window w, Colormap c); /* 71 */
  861. Bool (*xTranslateCoordinates) (Display *d, Window w1, Window w2, int i1, int i2, int *i3, int *i4, Window *w3); /* 72 */
  862. int (*xUngrabKeyboard) (Display *d, Time t); /* 73 */
  863. int (*xUngrabPointer) (Display *d, Time t); /* 74 */
  864. int (*xUnmapWindow) (Display *d, Window w); /* 75 */
  865. int (*xWindowEvent) (Display *d, Window w, long l, XEvent *x); /* 76 */
  866. void (*xDestroyIC) (XIC x); /* 77 */
  867. Bool (*xFilterEvent) (XEvent *x, Window w); /* 78 */
  868. int (*xmbLookupString) (XIC xi, XKeyPressedEvent *xk, char *c, int i, KeySym *k, Status *s); /* 79 */
  869. int (*tkPutImage) (unsigned long *colors, int ncolors, Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 80 */
  870. void (*reserved81)(void);
  871. Status (*xParseColor) (Display *display, Colormap map, _Xconst char *spec, XColor *colorPtr); /* 82 */
  872. GC (*xCreateGC) (Display *display, Drawable d, unsigned long valuemask, XGCValues *values); /* 83 */
  873. int (*xFreeGC) (Display *display, GC gc); /* 84 */
  874. Atom (*xInternAtom) (Display *display, _Xconst char *atom_name, Bool only_if_exists); /* 85 */
  875. int (*xSetBackground) (Display *display, GC gc, unsigned long foreground); /* 86 */
  876. int (*xSetForeground) (Display *display, GC gc, unsigned long foreground); /* 87 */
  877. int (*xSetClipMask) (Display *display, GC gc, Pixmap pixmap); /* 88 */
  878. int (*xSetClipOrigin) (Display *display, GC gc, int clip_x_origin, int clip_y_origin); /* 89 */
  879. int (*xSetTSOrigin) (Display *display, GC gc, int ts_x_origin, int ts_y_origin); /* 90 */
  880. int (*xChangeGC) (Display *d, GC gc, unsigned long mask, XGCValues *values); /* 91 */
  881. int (*xSetFont) (Display *display, GC gc, Font font); /* 92 */
  882. int (*xSetArcMode) (Display *display, GC gc, int arc_mode); /* 93 */
  883. int (*xSetStipple) (Display *display, GC gc, Pixmap stipple); /* 94 */
  884. int (*xSetFillRule) (Display *display, GC gc, int fill_rule); /* 95 */
  885. int (*xSetFillStyle) (Display *display, GC gc, int fill_style); /* 96 */
  886. int (*xSetFunction) (Display *display, GC gc, int function); /* 97 */
  887. int (*xSetLineAttributes) (Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 98 */
  888. int (*_XInitImageFuncPtrs) (XImage *image); /* 99 */
  889. XIC (*xCreateIC) (XIM xim, ...); /* 100 */
  890. XVisualInfo * (*xGetVisualInfo) (Display *display, long vinfo_mask, XVisualInfo *vinfo_template, int *nitems_return); /* 101 */
  891. void (*xSetWMClientMachine) (Display *display, Window w, XTextProperty *text_prop); /* 102 */
  892. Status (*xStringListToTextProperty) (char **list, int count, XTextProperty *text_prop_return); /* 103 */
  893. int (*xDrawLine) (Display *d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 104 */
  894. int (*xWarpPointer) (Display *d, Window s, Window dw, int sx, int sy, unsigned int sw, unsigned int sh, int dx, int dy); /* 105 */
  895. int (*xFillRectangle) (Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 106 */
  896. int (*xFlush) (Display *display); /* 107 */
  897. int (*xGrabServer) (Display *display); /* 108 */
  898. int (*xUngrabServer) (Display *display); /* 109 */
  899. int (*xFree) (void *data); /* 110 */
  900. int (*xNoOp) (Display *display); /* 111 */
  901. XAfterFunction (*xSynchronize) (Display *display, Bool onoff); /* 112 */
  902. int (*xSync) (Display *display, Bool discard); /* 113 */
  903. VisualID (*xVisualIDFromVisual) (Visual *visual); /* 114 */
  904. void (*reserved115)(void);
  905. void (*reserved116)(void);
  906. void (*reserved117)(void);
  907. void (*reserved118)(void);
  908. void (*reserved119)(void);
  909. int (*xOffsetRegion) (Region rgn, int dx, int dy); /* 120 */
  910. int (*xUnionRegion) (Region srca, Region srcb, Region dr_return); /* 121 */
  911. Window (*xCreateWindow) (Display *display, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int border_width, int depth, unsigned int clazz, Visual *visual, unsigned long value_mask, XSetWindowAttributes *attributes); /* 122 */
  912. void (*reserved123)(void);
  913. void (*reserved124)(void);
  914. void (*reserved125)(void);
  915. void (*reserved126)(void);
  916. void (*reserved127)(void);
  917. void (*reserved128)(void);
  918. int (*xLowerWindow) (Display *d, Window w); /* 129 */
  919. int (*xFillArcs) (Display *d, Drawable dr, GC gc, XArc *a, int n); /* 130 */
  920. int (*xDrawArcs) (Display *d, Drawable dr, GC gc, XArc *a, int n); /* 131 */
  921. int (*xDrawRectangles) (Display *d, Drawable dr, GC gc, XRectangle *r, int n); /* 132 */
  922. int (*xDrawSegments) (Display *d, Drawable dr, GC gc, XSegment *s, int n); /* 133 */
  923. int (*xDrawPoint) (Display *d, Drawable dr, GC gc, int x, int y); /* 134 */
  924. int (*xDrawPoints) (Display *d, Drawable dr, GC gc, XPoint *p, int n, int m); /* 135 */
  925. int (*xReparentWindow) (Display *d, Window w, Window p, int x, int y); /* 136 */
  926. int (*xPutImage) (Display *d, Drawable dr, GC gc, XImage *im, int sx, int sy, int dx, int dy, unsigned int w, unsigned int h); /* 137 */
  927. void (*reserved138)(void);
  928. void (*reserved139)(void);
  929. void (*reserved140)(void);
  930. void (*reserved141)(void);
  931. void (*reserved142)(void);
  932. void (*reserved143)(void);
  933. void (*reserved144)(void);
  934. void (*reserved145)(void);
  935. void (*reserved146)(void);
  936. void (*reserved147)(void);
  937. void (*reserved148)(void);
  938. void (*reserved149)(void);
  939. void (*reserved150)(void);
  940. void (*reserved151)(void);
  941. void (*reserved152)(void);
  942. void (*reserved153)(void);
  943. void (*reserved154)(void);
  944. void (*reserved155)(void);
  945. void (*reserved156)(void);
  946. void (*reserved157)(void);
  947. void (*tkUnusedStubEntry) (void); /* 158 */
  948. #endif /* WIN */
  949. #ifdef MAC_OSX_TK /* AQUA */
  950. int (*xSetDashes) (Display *display, GC gc, int dash_offset, _Xconst char *dash_list, int n); /* 0 */
  951. XModifierKeymap * (*xGetModifierMapping) (Display *d); /* 1 */
  952. XImage * (*xCreateImage) (Display *d, Visual *v, unsigned int ui1, int i1, int i2, char *cp, unsigned int ui2, unsigned int ui3, int i3, int i4); /* 2 */
  953. XImage * (*xGetImage) (Display *d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */
  954. char * (*xGetAtomName) (Display *d, Atom a); /* 4 */
  955. char * (*xKeysymToString) (KeySym k); /* 5 */
  956. Colormap (*xCreateColormap) (Display *d, Window w, Visual *v, int i); /* 6 */
  957. GContext (*xGContextFromGC) (GC g); /* 7 */
  958. KeySym (*xKeycodeToKeysym) (Display *d, KeyCode k, int i); /* 8 */
  959. KeySym (*xStringToKeysym) (_Xconst char *c); /* 9 */
  960. Window (*xRootWindow) (Display *d, int i); /* 10 */
  961. XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 11 */
  962. Status (*xAllocColor) (Display *d, Colormap c, XColor *xp); /* 12 */
  963. int (*xBell) (Display *d, int i); /* 13 */
  964. int (*xChangeProperty) (Display *d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char *c, int i3); /* 14 */
  965. int (*xChangeWindowAttributes) (Display *d, Window w, unsigned long ul, XSetWindowAttributes *x); /* 15 */
  966. int (*xConfigureWindow) (Display *d, Window w, unsigned int i, XWindowChanges *x); /* 16 */
  967. int (*xCopyArea) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 17 */
  968. int (*xCopyPlane) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 18 */
  969. Pixmap (*xCreateBitmapFromData) (Display *display, Drawable d, _Xconst char *data, unsigned int width, unsigned int height); /* 19 */
  970. int (*xDefineCursor) (Display *d, Window w, Cursor c); /* 20 */
  971. int (*xDestroyWindow) (Display *d, Window w); /* 21 */
  972. int (*xDrawArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 22 */
  973. int (*xDrawLines) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2); /* 23 */
  974. int (*xDrawRectangle) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 24 */
  975. int (*xFillArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 25 */
  976. int (*xFillPolygon) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2, int i3); /* 26 */
  977. int (*xFillRectangles) (Display *d, Drawable dr, GC g, XRectangle *x, int i); /* 27 */
  978. int (*xFreeColormap) (Display *d, Colormap c); /* 28 */
  979. int (*xFreeColors) (Display *d, Colormap c, unsigned long *ulp, int i, unsigned long ul); /* 29 */
  980. int (*xFreeModifiermap) (XModifierKeymap *x); /* 30 */
  981. Status (*xGetGeometry) (Display *d, Drawable dr, Window *w, int *i1, int *i2, unsigned int *ui1, unsigned int *ui2, unsigned int *ui3, unsigned int *ui4); /* 31 */
  982. int (*xGetWindowProperty) (Display *d, Window w, Atom a1, long l1, long l2, Bool b, Atom a2, Atom *ap, int *ip, unsigned long *ulp1, unsigned long *ulp2, unsigned char **cpp); /* 32 */
  983. int (*xGrabKeyboard) (Display *d, Window w, Bool b, int i1, int i2, Time t); /* 33 */
  984. int (*xGrabPointer) (Display *d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 34 */
  985. KeyCode (*xKeysymToKeycode) (Display *d, KeySym k); /* 35 */
  986. int (*xMapWindow) (Display *d, Window w); /* 36 */
  987. int (*xMoveResizeWindow) (Display *d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 37 */
  988. int (*xMoveWindow) (Display *d, Window w, int i1, int i2); /* 38 */
  989. Bool (*xQueryPointer) (Display *d, Window w1, Window *w2, Window *w3, int *i1, int *i2, int *i3, int *i4, unsigned int *ui); /* 39 */
  990. int (*xRaiseWindow) (Display *d, Window w); /* 40 */
  991. int (*xRefreshKeyboardMapping) (XMappingEvent *x); /* 41 */
  992. int (*xResizeWindow) (Display *d, Window w, unsigned int ui1, unsigned int ui2); /* 42 */
  993. int (*xSelectInput) (Display *d, Window w, long l); /* 43 */
  994. Status (*xSendEvent) (Display *d, Window w, Bool b, long l, XEvent *x); /* 44 */
  995. int (*xSetIconName) (Display *d, Window w, _Xconst char *c); /* 45 */
  996. int (*xSetInputFocus) (Display *d, Window w, int i, Time t); /* 46 */
  997. int (*xSetSelectionOwner) (Display *d, Atom a, Window w, Time t); /* 47 */
  998. int (*xSetWindowBackground) (Display *d, Window w, unsigned long ul); /* 48 */
  999. int (*xSetWindowBackgroundPixmap) (Display *d, Window w, Pixmap p); /* 49 */
  1000. int (*xSetWindowBorder) (Display *d, Window w, unsigned long ul); /* 50 */
  1001. int (*xSetWindowBorderPixmap) (Display *d, Window w, Pixmap p); /* 51 */
  1002. int (*xSetWindowBorderWidth) (Display *d, Window w, unsigned int ui); /* 52 */
  1003. int (*xSetWindowColormap) (Display *d, Window w, Colormap c); /* 53 */
  1004. int (*xUngrabKeyboard) (Display *d, Time t); /* 54 */
  1005. int (*xUngrabPointer) (Display *d, Time t); /* 55 */
  1006. int (*xUnmapWindow) (Display *d, Window w); /* 56 */
  1007. int (*tkPutImage) (unsigned long *colors, int ncolors, Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 57 */
  1008. Status (*xParseColor) (Display *display, Colormap map, _Xconst char *spec, XColor *colorPtr); /* 58 */
  1009. GC (*xCreateGC) (Display *display, Drawable d, unsigned long valuemask, XGCValues *values); /* 59 */
  1010. int (*xFreeGC) (Display *display, GC gc); /* 60 */
  1011. Atom (*xInternAtom) (Display *display, _Xconst char *atom_name, Bool only_if_exists); /* 61 */
  1012. int (*xSetBackground) (Display *display, GC gc, unsigned long foreground); /* 62 */
  1013. int (*xSetForeground) (Display *display, GC gc, unsigned long foreground); /* 63 */
  1014. int (*xSetClipMask) (Display *display, GC gc, Pixmap pixmap); /* 64 */
  1015. int (*xSetClipOrigin) (Display *display, GC gc, int clip_x_origin, int clip_y_origin); /* 65 */
  1016. int (*xSetTSOrigin) (Display *display, GC gc, int ts_x_origin, int ts_y_origin); /* 66 */
  1017. int (*xChangeGC) (Display *d, GC gc, unsigned long mask, XGCValues *values); /* 67 */
  1018. int (*xSetFont) (Display *display, GC gc, Font font); /* 68 */
  1019. int (*xSetArcMode) (Display *display, GC gc, int arc_mode); /* 69 */
  1020. int (*xSetStipple) (Display *display, GC gc, Pixmap stipple); /* 70 */
  1021. int (*xSetFillRule) (Display *display, GC gc, int fill_rule); /* 71 */
  1022. int (*xSetFillStyle) (Display *display, GC gc, int fill_style); /* 72 */
  1023. int (*xSetFunction) (Display *display, GC gc, int function); /* 73 */
  1024. int (*xSetLineAttributes) (Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 74 */
  1025. int (*_XInitImageFuncPtrs) (XImage *image); /* 75 */
  1026. XIC (*xCreateIC) (XIM xim, ...); /* 76 */
  1027. XVisualInfo * (*xGetVisualInfo) (Display *display, long vinfo_mask, XVisualInfo *vinfo_template, int *nitems_return); /* 77 */
  1028. void (*xSetWMClientMachine) (Display *display, Window w, XTextProperty *text_prop); /* 78 */
  1029. Status (*xStringListToTextProperty) (char **list, int count, XTextProperty *text_prop_return); /* 79 */
  1030. int (*xDrawSegments) (Display *display, Drawable d, GC gc, XSegment *segments, int nsegments); /* 80 */
  1031. int (*xForceScreenSaver) (Display *display, int mode); /* 81 */
  1032. int (*xDrawLine) (Display *d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 82 */
  1033. int (*xFillRectangle) (Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 83 */
  1034. int (*xClearWindow) (Display *d, Window w); /* 84 */
  1035. int (*xDrawPoint) (Display *display, Drawable d, GC gc, int x, int y); /* 85 */
  1036. int (*xDrawPoints) (Display *display, Drawable d, GC gc, XPoint *points, int npoints, int mode); /* 86 */
  1037. int (*xWarpPointer) (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 */
  1038. int (*xQueryColor) (Display *display, Colormap colormap, XColor *def_in_out); /* 88 */
  1039. int (*xQueryColors) (Display *display, Colormap colormap, XColor *defs_in_out, int ncolors); /* 89 */
  1040. Status (*xQueryTree) (Display *d, Window w1, Window *w2, Window *w3, Window **w4, unsigned int *ui); /* 90 */
  1041. int (*xSync) (Display *display, Bool discard); /* 91 */
  1042. void (*reserved92)(void);
  1043. void (*reserved93)(void);
  1044. void (*reserved94)(void);
  1045. void (*reserved95)(void);
  1046. void (*reserved96)(void);
  1047. void (*reserved97)(void);
  1048. void (*reserved98)(void);
  1049. void (*reserved99)(void);
  1050. void (*reserved100)(void);
  1051. void (*reserved101)(void);
  1052. void (*reserved102)(void);
  1053. void (*reserved103)(void);
  1054. void (*reserved104)(void);
  1055. void (*reserved105)(void);
  1056. int (*xSetClipRectangles) (Display *display, GC gc, int clip_x_origin, int clip_y_origin, XRectangle rectangles[], int n, int ordering); /* 106 */
  1057. int (*xFlush) (Display *display); /* 107 */
  1058. int (*xGrabServer) (Display *display); /* 108 */
  1059. int (*xUngrabServer) (Display *display); /* 109 */
  1060. int (*xFree) (void *data); /* 110 */
  1061. int (*xNoOp) (Display *display); /* 111 */
  1062. XAfterFunction (*xSynchronize) (Display *display, Bool onoff); /* 112 */
  1063. void (*reserved113)(void);
  1064. VisualID (*xVisualIDFromVisual) (Visual *visual); /* 114 */
  1065. void (*reserved115)(void);
  1066. void (*reserved116)(void);
  1067. void (*reserved117)(void);
  1068. void (*reserved118)(void);
  1069. void (*reserved119)(void);
  1070. int (*xOffsetRegion) (void *rgn, int dx, int dy); /* 120 */
  1071. void (*reserved121)(void);
  1072. void (*reserved122)(void);
  1073. void (*reserved123)(void);
  1074. void (*reserved124)(void);
  1075. void (*reserved125)(void);
  1076. void (*reserved126)(void);
  1077. void (*reserved127)(void);
  1078. void (*reserved128)(void);
  1079. int (*xLowerWindow) (Display *d, Window w); /* 129 */
  1080. void (*reserved130)(void);
  1081. void (*reserved131)(void);
  1082. void (*reserved132)(void);
  1083. void (*reserved133)(void);
  1084. void (*reserved134)(void);
  1085. void (*reserved135)(void);
  1086. void (*reserved136)(void);
  1087. int (*xPutImage) (Display *d, Drawable dr, GC gc, XImage *im, int sx, int sy, int dx, int dy, unsigned int w, unsigned int h); /* 137 */
  1088. void (*reserved138)(void);
  1089. void (*reserved139)(void);
  1090. void (*reserved140)(void);
  1091. void (*reserved141)(void);
  1092. void (*reserved142)(void);
  1093. void (*reserved143)(void);
  1094. void (*xDestroyIC) (XIC xic); /* 144 */
  1095. Cursor (*xCreatePixmapCursor) (Display *d, Pixmap p1, Pixmap p2, XColor *x1, XColor *x2, unsigned int ui1, unsigned int ui2); /* 145 */
  1096. Cursor (*xCreateGlyphCursor) (Display *d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor _Xconst *x1, XColor _Xconst *x2); /* 146 */
  1097. void (*reserved147)(void);
  1098. void (*reserved148)(void);
  1099. void (*reserved149)(void);
  1100. void (*reserved150)(void);
  1101. void (*reserved151)(void);
  1102. void (*reserved152)(void);
  1103. void (*reserved153)(void);
  1104. void (*reserved154)(void);
  1105. void (*reserved155)(void);
  1106. void (*reserved156)(void);
  1107. KeySym (*xkbKeycodeToKeysym) (Display *d, unsigned int k, int g, int i); /* 157 */
  1108. void (*tkUnusedStubEntry) (void); /* 158 */
  1109. #endif /* AQUA */
  1110. } TkIntXlibStubs;
  1111. extern const TkIntXlibStubs *tkIntXlibStubsPtr;
  1112. #ifdef __cplusplus
  1113. }
  1114. #endif
  1115. #if defined(USE_TK_STUBS)
  1116. /*
  1117. * Inline function declarations:
  1118. */
  1119. #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */
  1120. #define XSetDashes \
  1121. (tkIntXlibStubsPtr->xSetDashes) /* 0 */
  1122. #define XGetModifierMapping \
  1123. (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */
  1124. #define XCreateImage \
  1125. (tkIntXlibStubsPtr->xCreateImage) /* 2 */
  1126. #define XGetImage \
  1127. (tkIntXlibStubsPtr->xGetImage) /* 3 */
  1128. #define XGetAtomName \
  1129. (tkIntXlibStubsPtr->xGetAtomName) /* 4 */
  1130. #define XKeysymToString \
  1131. (tkIntXlibStubsPtr->xKeysymToString) /* 5 */
  1132. #define XCreateColormap \
  1133. (tkIntXlibStubsPtr->xCreateColormap) /* 6 */
  1134. #define XCreatePixmapCursor \
  1135. (tkIntXlibStubsPtr->xCreatePixmapCursor) /* 7 */
  1136. #define XCreateGlyphCursor \
  1137. (tkIntXlibStubsPtr->xCreateGlyphCursor) /* 8 */
  1138. #define XGContextFromGC \
  1139. (tkIntXlibStubsPtr->xGContextFromGC) /* 9 */
  1140. #define XListHosts \
  1141. (tkIntXlibStubsPtr->xListHosts) /* 10 */
  1142. #define XKeycodeToKeysym \
  1143. (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 11 */
  1144. #define XStringToKeysym \
  1145. (tkIntXlibStubsPtr->xStringToKeysym) /* 12 */
  1146. #define XRootWindow \
  1147. (tkIntXlibStubsPtr->xRootWindow) /* 13 */
  1148. #define XSetErrorHandler \
  1149. (tkIntXlibStubsPtr->xSetErrorHandler) /* 14 */
  1150. #define XIconifyWindow \
  1151. (tkIntXlibStubsPtr->xIconifyWindow) /* 15 */
  1152. #define XWithdrawWindow \
  1153. (tkIntXlibStubsPtr->xWithdrawWindow) /* 16 */
  1154. #define XGetWMColormapWindows \
  1155. (tkIntXlibStubsPtr->xGetWMColormapWindows) /* 17 */
  1156. #define XAllocColor \
  1157. (tkIntXlibStubsPtr->xAllocColor) /* 18 */
  1158. #define XBell \
  1159. (tkIntXlibStubsPtr->xBell) /* 19 */
  1160. #define XChangeProperty \
  1161. (tkIntXlibStubsPtr->xChangeProperty) /* 20 */
  1162. #define XChangeWindowAttributes \
  1163. (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 21 */
  1164. #define XClearWindow \
  1165. (tkIntXlibStubsPtr->xClearWindow) /* 22 */
  1166. #define XConfigureWindow \
  1167. (tkIntXlibStubsPtr->xConfigureWindow) /* 23 */
  1168. #define XCopyArea \
  1169. (tkIntXlibStubsPtr->xCopyArea) /* 24 */
  1170. #define XCopyPlane \
  1171. (tkIntXlibStubsPtr->xCopyPlane) /* 25 */
  1172. #define XCreateBitmapFromData \
  1173. (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 26 */
  1174. #define XDefineCursor \
  1175. (tkIntXlibStubsPtr->xDefineCursor) /* 27 */
  1176. #define XDeleteProperty \
  1177. (tkIntXlibStubsPtr->xDeleteProperty) /* 28 */
  1178. #define XDestroyWindow \
  1179. (tkIntXlibStubsPtr->xDestroyWindow) /* 29 */
  1180. #define XDrawArc \
  1181. (tkIntXlibStubsPtr->xDrawArc) /* 30 */
  1182. #define XDrawLines \
  1183. (tkIntXlibStubsPtr->xDrawLines) /* 31 */
  1184. #define XDrawRectangle \
  1185. (tkIntXlibStubsPtr->xDrawRectangle) /* 32 */
  1186. #define XFillArc \
  1187. (tkIntXlibStubsPtr->xFillArc) /* 33 */
  1188. #define XFillPolygon \
  1189. (tkIntXlibStubsPtr->xFillPolygon) /* 34 */
  1190. #define XFillRectangles \
  1191. (tkIntXlibStubsPtr->xFillRectangles) /* 35 */
  1192. #define XForceScreenSaver \
  1193. (tkIntXlibStubsPtr->xForceScreenSaver) /* 36 */
  1194. #define XFreeColormap \
  1195. (tkIntXlibStubsPtr->xFreeColormap) /* 37 */
  1196. #define XFreeColors \
  1197. (tkIntXlibStubsPtr->xFreeColors) /* 38 */
  1198. #define XFreeCursor \
  1199. (tkIntXlibStubsPtr->xFreeCursor) /* 39 */
  1200. #define XFreeModifiermap \
  1201. (tkIntXlibStubsPtr->xFreeModifiermap) /* 40 */
  1202. #define XGetGeometry \
  1203. (tkIntXlibStubsPtr->xGetGeometry) /* 41 */
  1204. #define XGetInputFocus \
  1205. (tkIntXlibStubsPtr->xGetInputFocus) /* 42 */
  1206. #define XGetWindowProperty \
  1207. (tkIntXlibStubsPtr->xGetWindowProperty) /* 43 */
  1208. #define XGetWindowAttributes \
  1209. (tkIntXlibStubsPtr->xGetWindowAttributes) /* 44 */
  1210. #define XGrabKeyboard \
  1211. (tkIntXlibStubsPtr->xGrabKeyboard) /* 45 */
  1212. #define XGrabPointer \
  1213. (tkIntXlibStubsPtr->xGrabPointer) /* 46 */
  1214. #define XKeysymToKeycode \
  1215. (tkIntXlibStubsPtr->xKeysymToKeycode) /* 47 */
  1216. #define XLookupColor \
  1217. (tkIntXlibStubsPtr->xLookupColor) /* 48 */
  1218. #define XMapWindow \
  1219. (tkIntXlibStubsPtr->xMapWindow) /* 49 */
  1220. #define XMoveResizeWindow \
  1221. (tkIntXlibStubsPtr->xMoveResizeWindow) /* 50 */
  1222. #define XMoveWindow \
  1223. (tkIntXlibStubsPtr->xMoveWindow) /* 51 */
  1224. #define XNextEvent \
  1225. (tkIntXlibStubsPtr->xNextEvent) /* 52 */
  1226. #define XPutBackEvent \
  1227. (tkIntXlibStubsPtr->xPutBackEvent) /* 53 */
  1228. #define XQueryColors \
  1229. (tkIntXlibStubsPtr->xQueryColors) /* 54 */
  1230. #define XQueryPointer \
  1231. (tkIntXlibStubsPtr->xQueryPointer) /* 55 */
  1232. #define XQueryTree \
  1233. (tkIntXlibStubsPtr->xQueryTree) /* 56 */
  1234. #define XRaiseWindow \
  1235. (tkIntXlibStubsPtr->xRaiseWindow) /* 57 */
  1236. #define XRefreshKeyboardMapping \
  1237. (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 58 */
  1238. #define XResizeWindow \
  1239. (tkIntXlibStubsPtr->xResizeWindow) /* 59 */
  1240. #define XSelectInput \
  1241. (tkIntXlibStubsPtr->xSelectInput) /* 60 */
  1242. #define XSendEvent \
  1243. (tkIntXlibStubsPtr->xSendEvent) /* 61 */
  1244. #define XSetCommand \
  1245. (tkIntXlibStubsPtr->xSetCommand) /* 62 */
  1246. #define XSetIconName \
  1247. (tkIntXlibStubsPtr->xSetIconName) /* 63 */
  1248. #define XSetInputFocus \
  1249. (tkIntXlibStubsPtr->xSetInputFocus) /* 64 */
  1250. #define XSetSelectionOwner \
  1251. (tkIntXlibStubsPtr->xSetSelectionOwner) /* 65 */
  1252. #define XSetWindowBackground \
  1253. (tkIntXlibStubsPtr->xSetWindowBackground) /* 66 */
  1254. #define XSetWindowBackgroundPixmap \
  1255. (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 67 */
  1256. #define XSetWindowBorder \
  1257. (tkIntXlibStubsPtr->xSetWindowBorder) /* 68 */
  1258. #define XSetWindowBorderPixmap \
  1259. (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 69 */
  1260. #define XSetWindowBorderWidth \
  1261. (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 70 */
  1262. #define XSetWindowColormap \
  1263. (tkIntXlibStubsPtr->xSetWindowColormap) /* 71 */
  1264. #define XTranslateCoordinates \
  1265. (tkIntXlibStubsPtr->xTranslateCoordinates) /* 72 */
  1266. #define XUngrabKeyboard \
  1267. (tkIntXlibStubsPtr->xUngrabKeyboard) /* 73 */
  1268. #define XUngrabPointer \
  1269. (tkIntXlibStubsPtr->xUngrabPointer) /* 74 */
  1270. #define XUnmapWindow \
  1271. (tkIntXlibStubsPtr->xUnmapWindow) /* 75 */
  1272. #define XWindowEvent \
  1273. (tkIntXlibStubsPtr->xWindowEvent) /* 76 */
  1274. #define XDestroyIC \
  1275. (tkIntXlibStubsPtr->xDestroyIC) /* 77 */
  1276. #define XFilterEvent \
  1277. (tkIntXlibStubsPtr->xFilterEvent) /* 78 */
  1278. #define XmbLookupString \
  1279. (tkIntXlibStubsPtr->xmbLookupString) /* 79 */
  1280. #define TkPutImage \
  1281. (tkIntXlibStubsPtr->tkPutImage) /* 80 */
  1282. /* Slot 81 is reserved */
  1283. #define XParseColor \
  1284. (tkIntXlibStubsPtr->xParseColor) /* 82 */
  1285. #define XCreateGC \
  1286. (tkIntXlibStubsPtr->xCreateGC) /* 83 */
  1287. #define XFreeGC \
  1288. (tkIntXlibStubsPtr->xFreeGC) /* 84 */
  1289. #define XInternAtom \
  1290. (tkIntXlibStubsPtr->xInternAtom) /* 85 */
  1291. #define XSetBackground \
  1292. (tkIntXlibStubsPtr->xSetBackground) /* 86 */
  1293. #define XSetForeground \
  1294. (tkIntXlibStubsPtr->xSetForeground) /* 87 */
  1295. #define XSetClipMask \
  1296. (tkIntXlibStubsPtr->xSetClipMask) /* 88 */
  1297. #define XSetClipOrigin \
  1298. (tkIntXlibStubsPtr->xSetClipOrigin) /* 89 */
  1299. #define XSetTSOrigin \
  1300. (tkIntXlibStubsPtr->xSetTSOrigin) /* 90 */
  1301. #define XChangeGC \
  1302. (tkIntXlibStubsPtr->xChangeGC) /* 91 */
  1303. #define XSetFont \
  1304. (tkIntXlibStubsPtr->xSetFont) /* 92 */
  1305. #define XSetArcMode \
  1306. (tkIntXlibStubsPtr->xSetArcMode) /* 93 */
  1307. #define XSetStipple \
  1308. (tkIntXlibStubsPtr->xSetStipple) /* 94 */
  1309. #define XSetFillRule \
  1310. (tkIntXlibStubsPtr->xSetFillRule) /* 95 */
  1311. #define XSetFillStyle \
  1312. (tkIntXlibStubsPtr->xSetFillStyle) /* 96 */
  1313. #define XSetFunction \
  1314. (tkIntXlibStubsPtr->xSetFunction) /* 97 */
  1315. #define XSetLineAttributes \
  1316. (tkIntXlibStubsPtr->xSetLineAttributes) /* 98 */
  1317. #define _XInitImageFuncPtrs \
  1318. (tkIntXlibStubsPtr->_XInitImageFuncPtrs) /* 99 */
  1319. #define XCreateIC \
  1320. (tkIntXlibStubsPtr->xCreateIC) /* 100 */
  1321. #define XGetVisualInfo \
  1322. (tkIntXlibStubsPtr->xGetVisualInfo) /* 101 */
  1323. #define XSetWMClientMachine \
  1324. (tkIntXlibStubsPtr->xSetWMClientMachine) /* 102 */
  1325. #define XStringListToTextProperty \
  1326. (tkIntXlibStubsPtr->xStringListToTextProperty) /* 103 */
  1327. #define XDrawLine \
  1328. (tkIntXlibStubsPtr->xDrawLine) /* 104 */
  1329. #define XWarpPointer \
  1330. (tkIntXlibStubsPtr->xWarpPointer) /* 105 */
  1331. #define XFillRectangle \
  1332. (tkIntXlibStubsPtr->xFillRectangle) /* 106 */
  1333. #define XFlush \
  1334. (tkIntXlibStubsPtr->xFlush) /* 107 */
  1335. #define XGrabServer \
  1336. (tkIntXlibStubsPtr->xGrabServer) /* 108 */
  1337. #define XUngrabServer \
  1338. (tkIntXlibStubsPtr->xUngrabServer) /* 109 */
  1339. #define XFree \
  1340. (tkIntXlibStubsPtr->xFree) /* 110 */
  1341. #define XNoOp \
  1342. (tkIntXlibStubsPtr->xNoOp) /* 111 */
  1343. #define XSynchronize \
  1344. (tkIntXlibStubsPtr->xSynchronize) /* 112 */
  1345. #define XSync \
  1346. (tkIntXlibStubsPtr->xSync) /* 113 */
  1347. #define XVisualIDFromVisual \
  1348. (tkIntXlibStubsPtr->xVisualIDFromVisual) /* 114 */
  1349. /* Slot 115 is reserved */
  1350. /* Slot 116 is reserved */
  1351. /* Slot 117 is reserved */
  1352. /* Slot 118 is reserved */
  1353. /* Slot 119 is reserved */
  1354. #define XOffsetRegion \
  1355. (tkIntXlibStubsPtr->xOffsetRegion) /* 120 */
  1356. #define XUnionRegion \
  1357. (tkIntXlibStubsPtr->xUnionRegion) /* 121 */
  1358. #define XCreateWindow \
  1359. (tkIntXlibStubsPtr->xCreateWindow) /* 122 */
  1360. /* Slot 123 is reserved */
  1361. /* Slot 124 is reserved */
  1362. /* Slot 125 is reserved */
  1363. /* Slot 126 is reserved */
  1364. /* Slot 127 is reserved */
  1365. /* Slot 128 is reserved */
  1366. #define XLowerWindow \
  1367. (tkIntXlibStubsPtr->xLowerWindow) /* 129 */
  1368. #define XFillArcs \
  1369. (tkIntXlibStubsPtr->xFillArcs) /* 130 */
  1370. #define XDrawArcs \
  1371. (tkIntXlibStubsPtr->xDrawArcs) /* 131 */
  1372. #define XDrawRectangles \
  1373. (tkIntXlibStubsPtr->xDrawRectangles) /* 132 */
  1374. #define XDrawSegments \
  1375. (tkIntXlibStubsPtr->xDrawSegments) /* 133 */
  1376. #define XDrawPoint \
  1377. (tkIntXlibStubsPtr->xDrawPoint) /* 134 */
  1378. #define XDrawPoints \
  1379. (tkIntXlibStubsPtr->xDrawPoints) /* 135 */
  1380. #define XReparentWindow \
  1381. (tkIntXlibStubsPtr->xReparentWindow) /* 136 */
  1382. #define XPutImage \
  1383. (tkIntXlibStubsPtr->xPutImage) /* 137 */
  1384. /* Slot 138 is reserved */
  1385. /* Slot 139 is reserved */
  1386. /* Slot 140 is reserved */
  1387. /* Slot 141 is reserved */
  1388. /* Slot 142 is reserved */
  1389. /* Slot 143 is reserved */
  1390. /* Slot 144 is reserved */
  1391. /* Slot 145 is reserved */
  1392. /* Slot 146 is reserved */
  1393. /* Slot 147 is reserved */
  1394. /* Slot 148 is reserved */
  1395. /* Slot 149 is reserved */
  1396. /* Slot 150 is reserved */
  1397. /* Slot 151 is reserved */
  1398. /* Slot 152 is reserved */
  1399. /* Slot 153 is reserved */
  1400. /* Slot 154 is reserved */
  1401. /* Slot 155 is reserved */
  1402. /* Slot 156 is reserved */
  1403. /* Slot 157 is reserved */
  1404. #define TkUnusedStubEntry \
  1405. (tkIntXlibStubsPtr->tkUnusedStubEntry) /* 158 */
  1406. #endif /* WIN */
  1407. #ifdef MAC_OSX_TK /* AQUA */
  1408. #define XSetDashes \
  1409. (tkIntXlibStubsPtr->xSetDashes) /* 0 */
  1410. #define XGetModifierMapping \
  1411. (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */
  1412. #define XCreateImage \
  1413. (tkIntXlibStubsPtr->xCreateImage) /* 2 */
  1414. #define XGetImage \
  1415. (tkIntXlibStubsPtr->xGetImage) /* 3 */
  1416. #define XGetAtomName \
  1417. (tkIntXlibStubsPtr->xGetAtomName) /* 4 */
  1418. #define XKeysymToString \
  1419. (tkIntXlibStubsPtr->xKeysymToString) /* 5 */
  1420. #define XCreateColormap \
  1421. (tkIntXlibStubsPtr->xCreateColormap) /* 6 */
  1422. #define XGContextFromGC \
  1423. (tkIntXlibStubsPtr->xGContextFromGC) /* 7 */
  1424. #define XKeycodeToKeysym \
  1425. (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 8 */
  1426. #define XStringToKeysym \
  1427. (tkIntXlibStubsPtr->xStringToKeysym) /* 9 */
  1428. #define XRootWindow \
  1429. (tkIntXlibStubsPtr->xRootWindow) /* 10 */
  1430. #define XSetErrorHandler \
  1431. (tkIntXlibStubsPtr->xSetErrorHandler) /* 11 */
  1432. #define XAllocColor \
  1433. (tkIntXlibStubsPtr->xAllocColor) /* 12 */
  1434. #define XBell \
  1435. (tkIntXlibStubsPtr->xBell) /* 13 */
  1436. #define XChangeProperty \
  1437. (tkIntXlibStubsPtr->xChangeProperty) /* 14 */
  1438. #define XChangeWindowAttributes \
  1439. (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 15 */
  1440. #define XConfigureWindow \
  1441. (tkIntXlibStubsPtr->xConfigureWindow) /* 16 */
  1442. #define XCopyArea \
  1443. (tkIntXlibStubsPtr->xCopyArea) /* 17 */
  1444. #define XCopyPlane \
  1445. (tkIntXlibStubsPtr->xCopyPlane) /* 18 */
  1446. #define XCreateBitmapFromData \
  1447. (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 19 */
  1448. #define XDefineCursor \
  1449. (tkIntXlibStubsPtr->xDefineCursor) /* 20 */
  1450. #define XDestroyWindow \
  1451. (tkIntXlibStubsPtr->xDestroyWindow) /* 21 */
  1452. #define XDrawArc \
  1453. (tkIntXlibStubsPtr->xDrawArc) /* 22 */
  1454. #define XDrawLines \
  1455. (tkIntXlibStubsPtr->xDrawLines) /* 23 */
  1456. #define XDrawRectangle \
  1457. (tkIntXlibStubsPtr->xDrawRectangle) /* 24 */
  1458. #define XFillArc \
  1459. (tkIntXlibStubsPtr->xFillArc) /* 25 */
  1460. #define XFillPolygon \
  1461. (tkIntXlibStubsPtr->xFillPolygon) /* 26 */
  1462. #define XFillRectangles \
  1463. (tkIntXlibStubsPtr->xFillRectangles) /* 27 */
  1464. #define XFreeColormap \
  1465. (tkIntXlibStubsPtr->xFreeColormap) /* 28 */
  1466. #define XFreeColors \
  1467. (tkIntXlibStubsPtr->xFreeColors) /* 29 */
  1468. #define XFreeModifiermap \
  1469. (tkIntXlibStubsPtr->xFreeModifiermap) /* 30 */
  1470. #define XGetGeometry \
  1471. (tkIntXlibStubsPtr->xGetGeometry) /* 31 */
  1472. #define XGetWindowProperty \
  1473. (tkIntXlibStubsPtr->xGetWindowProperty) /* 32 */
  1474. #define XGrabKeyboard \
  1475. (tkIntXlibStubsPtr->xGrabKeyboard) /* 33 */
  1476. #define XGrabPointer \
  1477. (tkIntXlibStubsPtr->xGrabPointer) /* 34 */
  1478. #define XKeysymToKeycode \
  1479. (tkIntXlibStubsPtr->xKeysymToKeycode) /* 35 */
  1480. #define XMapWindow \
  1481. (tkIntXlibStubsPtr->xMapWindow) /* 36 */
  1482. #define XMoveResizeWindow \
  1483. (tkIntXlibStubsPtr->xMoveResizeWindow) /* 37 */
  1484. #define XMoveWindow \
  1485. (tkIntXlibStubsPtr->xMoveWindow) /* 38 */
  1486. #define XQueryPointer \
  1487. (tkIntXlibStubsPtr->xQueryPointer) /* 39 */
  1488. #define XRaiseWindow \
  1489. (tkIntXlibStubsPtr->xRaiseWindow) /* 40 */
  1490. #define XRefreshKeyboardMapping \
  1491. (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 41 */
  1492. #define XResizeWindow \
  1493. (tkIntXlibStubsPtr->xResizeWindow) /* 42 */
  1494. #define XSelectInput \
  1495. (tkIntXlibStubsPtr->xSelectInput) /* 43 */
  1496. #define XSendEvent \
  1497. (tkIntXlibStubsPtr->xSendEvent) /* 44 */
  1498. #define XSetIconName \
  1499. (tkIntXlibStubsPtr->xSetIconName) /* 45 */
  1500. #define XSetInputFocus \
  1501. (tkIntXlibStubsPtr->xSetInputFocus) /* 46 */
  1502. #define XSetSelectionOwner \
  1503. (tkIntXlibStubsPtr->xSetSelectionOwner) /* 47 */
  1504. #define XSetWindowBackground \
  1505. (tkIntXlibStubsPtr->xSetWindowBackground) /* 48 */
  1506. #define XSetWindowBackgroundPixmap \
  1507. (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 49 */
  1508. #define XSetWindowBorder \
  1509. (tkIntXlibStubsPtr->xSetWindowBorder) /* 50 */
  1510. #define XSetWindowBorderPixmap \
  1511. (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 51 */
  1512. #define XSetWindowBorderWidth \
  1513. (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 52 */
  1514. #define XSetWindowColormap \
  1515. (tkIntXlibStubsPtr->xSetWindowColormap) /* 53 */
  1516. #define XUngrabKeyboard \
  1517. (tkIntXlibStubsPtr->xUngrabKeyboard) /* 54 */
  1518. #define XUngrabPointer \
  1519. (tkIntXlibStubsPtr->xUngrabPointer) /* 55 */
  1520. #define XUnmapWindow \
  1521. (tkIntXlibStubsPtr->xUnmapWindow) /* 56 */
  1522. #define TkPutImage \
  1523. (tkIntXlibStubsPtr->tkPutImage) /* 57 */
  1524. #define XParseColor \
  1525. (tkIntXlibStubsPtr->xParseColor) /* 58 */
  1526. #define XCreateGC \
  1527. (tkIntXlibStubsPtr->xCreateGC) /* 59 */
  1528. #define XFreeGC \
  1529. (tkIntXlibStubsPtr->xFreeGC) /* 60 */
  1530. #define XInternAtom \
  1531. (tkIntXlibStubsPtr->xInternAtom) /* 61 */
  1532. #define XSetBackground \
  1533. (tkIntXlibStubsPtr->xSetBackground) /* 62 */
  1534. #define XSetForeground \
  1535. (tkIntXlibStubsPtr->xSetForeground) /* 63 */
  1536. #define XSetClipMask \
  1537. (tkIntXlibStubsPtr->xSetClipMask) /* 64 */
  1538. #define XSetClipOrigin \
  1539. (tkIntXlibStubsPtr->xSetClipOrigin) /* 65 */
  1540. #define XSetTSOrigin \
  1541. (tkIntXlibStubsPtr->xSetTSOrigin) /* 66 */
  1542. #define XChangeGC \
  1543. (tkIntXlibStubsPtr->xChangeGC) /* 67 */
  1544. #define XSetFont \
  1545. (tkIntXlibStubsPtr->xSetFont) /* 68 */
  1546. #define XSetArcMode \
  1547. (tkIntXlibStubsPtr->xSetArcMode) /* 69 */
  1548. #define XSetStipple \
  1549. (tkIntXlibStubsPtr->xSetStipple) /* 70 */
  1550. #define XSetFillRule \
  1551. (tkIntXlibStubsPtr->xSetFillRule) /* 71 */
  1552. #define XSetFillStyle \
  1553. (tkIntXlibStubsPtr->xSetFillStyle) /* 72 */
  1554. #define XSetFunction \
  1555. (tkIntXlibStubsPtr->xSetFunction) /* 73 */
  1556. #define XSetLineAttributes \
  1557. (tkIntXlibStubsPtr->xSetLineAttributes) /* 74 */
  1558. #define _XInitImageFuncPtrs \
  1559. (tkIntXlibStubsPtr->_XInitImageFuncPtrs) /* 75 */
  1560. #define XCreateIC \
  1561. (tkIntXlibStubsPtr->xCreateIC) /* 76 */
  1562. #define XGetVisualInfo \
  1563. (tkIntXlibStubsPtr->xGetVisualInfo) /* 77 */
  1564. #define XSetWMClientMachine \
  1565. (tkIntXlibStubsPtr->xSetWMClientMachine) /* 78 */
  1566. #define XStringListToTextProperty \
  1567. (tkIntXlibStubsPtr->xStringListToTextProperty) /* 79 */
  1568. #define XDrawSegments \
  1569. (tkIntXlibStubsPtr->xDrawSegments) /* 80 */
  1570. #define XForceScreenSaver \
  1571. (tkIntXlibStubsPtr->xForceScreenSaver) /* 81 */
  1572. #define XDrawLine \
  1573. (tkIntXlibStubsPtr->xDrawLine) /* 82 */
  1574. #define XFillRectangle \
  1575. (tkIntXlibStubsPtr->xFillRectangle) /* 83 */
  1576. #define XClearWindow \
  1577. (tkIntXlibStubsPtr->xClearWindow) /* 84 */
  1578. #define XDrawPoint \
  1579. (tkIntXlibStubsPtr->xDrawPoint) /* 85 */
  1580. #define XDrawPoints \
  1581. (tkIntXlibStubsPtr->xDrawPoints) /* 86 */
  1582. #define XWarpPointer \
  1583. (tkIntXlibStubsPtr->xWarpPointer) /* 87 */
  1584. #define XQueryColor \
  1585. (tkIntXlibStubsPtr->xQueryColor) /* 88 */
  1586. #define XQueryColors \
  1587. (tkIntXlibStubsPtr->xQueryColors) /* 89 */
  1588. #define XQueryTree \
  1589. (tkIntXlibStubsPtr->xQueryTree) /* 90 */
  1590. #define XSync \
  1591. (tkIntXlibStubsPtr->xSync) /* 91 */
  1592. /* Slot 92 is reserved */
  1593. /* Slot 93 is reserved */
  1594. /* Slot 94 is reserved */
  1595. /* Slot 95 is reserved */
  1596. /* Slot 96 is reserved */
  1597. /* Slot 97 is reserved */
  1598. /* Slot 98 is reserved */
  1599. /* Slot 99 is reserved */
  1600. /* Slot 100 is reserved */
  1601. /* Slot 101 is reserved */
  1602. /* Slot 102 is reserved */
  1603. /* Slot 103 is reserved */
  1604. /* Slot 104 is reserved */
  1605. /* Slot 105 is reserved */
  1606. #define XSetClipRectangles \
  1607. (tkIntXlibStubsPtr->xSetClipRectangles) /* 106 */
  1608. #define XFlush \
  1609. (tkIntXlibStubsPtr->xFlush) /* 107 */
  1610. #define XGrabServer \
  1611. (tkIntXlibStubsPtr->xGrabServer) /* 108 */
  1612. #define XUngrabServer \
  1613. (tkIntXlibStubsPtr->xUngrabServer) /* 109 */
  1614. #define XFree \
  1615. (tkIntXlibStubsPtr->xFree) /* 110 */
  1616. #define XNoOp \
  1617. (tkIntXlibStubsPtr->xNoOp) /* 111 */
  1618. #define XSynchronize \
  1619. (tkIntXlibStubsPtr->xSynchronize) /* 112 */
  1620. /* Slot 113 is reserved */
  1621. #define XVisualIDFromVisual \
  1622. (tkIntXlibStubsPtr->xVisualIDFromVisual) /* 114 */
  1623. /* Slot 115 is reserved */
  1624. /* Slot 116 is reserved */
  1625. /* Slot 117 is reserved */
  1626. /* Slot 118 is reserved */
  1627. /* Slot 119 is reserved */
  1628. #define XOffsetRegion \
  1629. (tkIntXlibStubsPtr->xOffsetRegion) /* 120 */
  1630. /* Slot 121 is reserved */
  1631. /* Slot 122 is reserved */
  1632. /* Slot 123 is reserved */
  1633. /* Slot 124 is reserved */
  1634. /* Slot 125 is reserved */
  1635. /* Slot 126 is reserved */
  1636. /* Slot 127 is reserved */
  1637. /* Slot 128 is reserved */
  1638. #define XLowerWindow \
  1639. (tkIntXlibStubsPtr->xLowerWindow) /* 129 */
  1640. /* Slot 130 is reserved */
  1641. /* Slot 131 is reserved */
  1642. /* Slot 132 is reserved */
  1643. /* Slot 133 is reserved */
  1644. /* Slot 134 is reserved */
  1645. /* Slot 135 is reserved */
  1646. /* Slot 136 is reserved */
  1647. #define XPutImage \
  1648. (tkIntXlibStubsPtr->xPutImage) /* 137 */
  1649. /* Slot 138 is reserved */
  1650. /* Slot 139 is reserved */
  1651. /* Slot 140 is reserved */
  1652. /* Slot 141 is reserved */
  1653. /* Slot 142 is reserved */
  1654. /* Slot 143 is reserved */
  1655. #define XDestroyIC \
  1656. (tkIntXlibStubsPtr->xDestroyIC) /* 144 */
  1657. #define XCreatePixmapCursor \
  1658. (tkIntXlibStubsPtr->xCreatePixmapCursor) /* 145 */
  1659. #define XCreateGlyphCursor \
  1660. (tkIntXlibStubsPtr->xCreateGlyphCursor) /* 146 */
  1661. /* Slot 147 is reserved */
  1662. /* Slot 148 is reserved */
  1663. /* Slot 149 is reserved */
  1664. /* Slot 150 is reserved */
  1665. /* Slot 151 is reserved */
  1666. /* Slot 152 is reserved */
  1667. /* Slot 153 is reserved */
  1668. /* Slot 154 is reserved */
  1669. /* Slot 155 is reserved */
  1670. /* Slot 156 is reserved */
  1671. #define XkbKeycodeToKeysym \
  1672. (tkIntXlibStubsPtr->xkbKeycodeToKeysym) /* 157 */
  1673. #define TkUnusedStubEntry \
  1674. (tkIntXlibStubsPtr->tkUnusedStubEntry) /* 158 */
  1675. #endif /* AQUA */
  1676. #endif /* defined(USE_TK_STUBS) */
  1677. /* !END!: Do not edit above this line. */
  1678. #undef TCL_STORAGE_CLASS
  1679. #define TCL_STORAGE_CLASS DLLIMPORT
  1680. #undef TkUnusedStubEntry
  1681. #endif /* _TKINTXLIBDECLS */