Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / include / tkIntXlibDecls.h
blob3b8a78b101ae33c0987974bc8ccb7e96f6916214
1 /*
2 * tkIntXlibDecls.h --
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.
9 * Copyright (c) 1998-1999 by Scriptics Corporation.
10 * All rights reserved.
12 * RCS: @(#) $Id: tkIntXlibDecls.h,v 1.16.2.1 2005/11/27 02:44:25 das Exp $
15 #ifndef _TKINTXLIBDECLS
16 #define _TKINTXLIBDECLS
18 #ifdef MAC_TCL
19 #include "Xutil.h"
20 #else
21 #include "X11/Xutil.h"
22 #endif
24 #ifdef BUILD_tk
25 #undef TCL_STORAGE_CLASS
26 #define TCL_STORAGE_CLASS DLLEXPORT
27 #endif
30 * WARNING: This file is automatically generated by the tools/genStubs.tcl
31 * script. Any modifications to the function declarations below should be made
32 * in the generic/tkInt.decls script.
35 /* !BEGIN!: Do not edit below this line. */
38 * Exported function declarations:
41 #ifdef __WIN32__
42 /* 0 */
43 EXTERN void XSetDashes _ANSI_ARGS_((Display* display, GC gc,
44 int dash_offset, _Xconst char* dash_list,
45 int n));
46 /* 1 */
47 EXTERN XModifierKeymap* XGetModifierMapping _ANSI_ARGS_((Display* d));
48 /* 2 */
49 EXTERN XImage * XCreateImage _ANSI_ARGS_((Display* d, Visual* v,
50 unsigned int ui1, int i1, int i2, char* cp,
51 unsigned int ui2, unsigned int ui3, int i3,
52 int i4));
53 /* 3 */
54 EXTERN XImage * XGetImage _ANSI_ARGS_((Display* d, Drawable dr,
55 int i1, int i2, unsigned int ui1,
56 unsigned int ui2, unsigned long ul, int i3));
57 /* 4 */
58 EXTERN char * XGetAtomName _ANSI_ARGS_((Display* d, Atom a));
59 /* 5 */
60 EXTERN char * XKeysymToString _ANSI_ARGS_((KeySym k));
61 /* 6 */
62 EXTERN Colormap XCreateColormap _ANSI_ARGS_((Display* d, Window w,
63 Visual* v, int i));
64 /* 7 */
65 EXTERN Cursor XCreatePixmapCursor _ANSI_ARGS_((Display* d,
66 Pixmap p1, Pixmap p2, XColor* x1, XColor* x2,
67 unsigned int ui1, unsigned int ui2));
68 /* 8 */
69 EXTERN Cursor XCreateGlyphCursor _ANSI_ARGS_((Display* d, Font f1,
70 Font f2, unsigned int ui1, unsigned int ui2,
71 XColor* x1, XColor* x2));
72 /* 9 */
73 EXTERN GContext XGContextFromGC _ANSI_ARGS_((GC g));
74 /* 10 */
75 EXTERN XHostAddress * XListHosts _ANSI_ARGS_((Display* d, int* i, Bool* b));
76 /* 11 */
77 EXTERN KeySym XKeycodeToKeysym _ANSI_ARGS_((Display* d,
78 unsigned int k, int i));
79 /* 12 */
80 EXTERN KeySym XStringToKeysym _ANSI_ARGS_((_Xconst char* c));
81 /* 13 */
82 EXTERN Window XRootWindow _ANSI_ARGS_((Display* d, int i));
83 /* 14 */
84 EXTERN XErrorHandler XSetErrorHandler _ANSI_ARGS_((XErrorHandler x));
85 /* 15 */
86 EXTERN Status XIconifyWindow _ANSI_ARGS_((Display* d, Window w,
87 int i));
88 /* 16 */
89 EXTERN Status XWithdrawWindow _ANSI_ARGS_((Display* d, Window w,
90 int i));
91 /* 17 */
92 EXTERN Status XGetWMColormapWindows _ANSI_ARGS_((Display* d,
93 Window w, Window** wpp, int* ip));
94 /* 18 */
95 EXTERN Status XAllocColor _ANSI_ARGS_((Display* d, Colormap c,
96 XColor* xp));
97 /* 19 */
98 EXTERN void XBell _ANSI_ARGS_((Display* d, int i));
99 /* 20 */
100 EXTERN void XChangeProperty _ANSI_ARGS_((Display* d, Window w,
101 Atom a1, Atom a2, int i1, int i2,
102 _Xconst unsigned char* c, int i3));
103 /* 21 */
104 EXTERN void XChangeWindowAttributes _ANSI_ARGS_((Display* d,
105 Window w, unsigned long ul,
106 XSetWindowAttributes* x));
107 /* 22 */
108 EXTERN void XClearWindow _ANSI_ARGS_((Display* d, Window w));
109 /* 23 */
110 EXTERN void XConfigureWindow _ANSI_ARGS_((Display* d, Window w,
111 unsigned int i, XWindowChanges* x));
112 /* 24 */
113 EXTERN void XCopyArea _ANSI_ARGS_((Display* d, Drawable dr1,
114 Drawable dr2, GC g, int i1, int i2,
115 unsigned int ui1, unsigned int ui2, int i3,
116 int i4));
117 /* 25 */
118 EXTERN void XCopyPlane _ANSI_ARGS_((Display* d, Drawable dr1,
119 Drawable dr2, GC g, int i1, int i2,
120 unsigned int ui1, unsigned int ui2, int i3,
121 int i4, unsigned long ul));
122 /* 26 */
123 EXTERN Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display* display,
124 Drawable d, _Xconst char* data,
125 unsigned int width, unsigned int height));
126 /* 27 */
127 EXTERN void XDefineCursor _ANSI_ARGS_((Display* d, Window w,
128 Cursor c));
129 /* 28 */
130 EXTERN void XDeleteProperty _ANSI_ARGS_((Display* d, Window w,
131 Atom a));
132 /* 29 */
133 EXTERN void XDestroyWindow _ANSI_ARGS_((Display* d, Window w));
134 /* 30 */
135 EXTERN void XDrawArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
136 int i1, int i2, unsigned int ui1,
137 unsigned int ui2, int i3, int i4));
138 /* 31 */
139 EXTERN void XDrawLines _ANSI_ARGS_((Display* d, Drawable dr,
140 GC g, XPoint* x, int i1, int i2));
141 /* 32 */
142 EXTERN void XDrawRectangle _ANSI_ARGS_((Display* d, Drawable dr,
143 GC g, int i1, int i2, unsigned int ui1,
144 unsigned int ui2));
145 /* 33 */
146 EXTERN void XFillArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
147 int i1, int i2, unsigned int ui1,
148 unsigned int ui2, int i3, int i4));
149 /* 34 */
150 EXTERN void XFillPolygon _ANSI_ARGS_((Display* d, Drawable dr,
151 GC g, XPoint* x, int i1, int i2, int i3));
152 /* 35 */
153 EXTERN void XFillRectangles _ANSI_ARGS_((Display* d, Drawable dr,
154 GC g, XRectangle* x, int i));
155 /* 36 */
156 EXTERN void XForceScreenSaver _ANSI_ARGS_((Display* d, int i));
157 /* 37 */
158 EXTERN void XFreeColormap _ANSI_ARGS_((Display* d, Colormap c));
159 /* 38 */
160 EXTERN void XFreeColors _ANSI_ARGS_((Display* d, Colormap c,
161 unsigned long* ulp, int i, unsigned long ul));
162 /* 39 */
163 EXTERN void XFreeCursor _ANSI_ARGS_((Display* d, Cursor c));
164 /* 40 */
165 EXTERN void XFreeModifiermap _ANSI_ARGS_((XModifierKeymap* x));
166 /* 41 */
167 EXTERN Status XGetGeometry _ANSI_ARGS_((Display* d, Drawable dr,
168 Window* w, int* i1, int* i2,
169 unsigned int* ui1, unsigned int* ui2,
170 unsigned int* ui3, unsigned int* ui4));
171 /* 42 */
172 EXTERN void XGetInputFocus _ANSI_ARGS_((Display* d, Window* w,
173 int* i));
174 /* 43 */
175 EXTERN int XGetWindowProperty _ANSI_ARGS_((Display* d, Window w,
176 Atom a1, long l1, long l2, Bool b, Atom a2,
177 Atom* ap, int* ip, unsigned long* ulp1,
178 unsigned long* ulp2, unsigned char** cpp));
179 /* 44 */
180 EXTERN Status XGetWindowAttributes _ANSI_ARGS_((Display* d,
181 Window w, XWindowAttributes* x));
182 /* 45 */
183 EXTERN int XGrabKeyboard _ANSI_ARGS_((Display* d, Window w,
184 Bool b, int i1, int i2, Time t));
185 /* 46 */
186 EXTERN int XGrabPointer _ANSI_ARGS_((Display* d, Window w1,
187 Bool b, unsigned int ui, int i1, int i2,
188 Window w2, Cursor c, Time t));
189 /* 47 */
190 EXTERN KeyCode XKeysymToKeycode _ANSI_ARGS_((Display* d, KeySym k));
191 /* 48 */
192 EXTERN Status XLookupColor _ANSI_ARGS_((Display* d, Colormap c1,
193 _Xconst char* c2, XColor* x1, XColor* x2));
194 /* 49 */
195 EXTERN void XMapWindow _ANSI_ARGS_((Display* d, Window w));
196 /* 50 */
197 EXTERN void XMoveResizeWindow _ANSI_ARGS_((Display* d, Window w,
198 int i1, int i2, unsigned int ui1,
199 unsigned int ui2));
200 /* 51 */
201 EXTERN void XMoveWindow _ANSI_ARGS_((Display* d, Window w,
202 int i1, int i2));
203 /* 52 */
204 EXTERN void XNextEvent _ANSI_ARGS_((Display* d, XEvent* x));
205 /* 53 */
206 EXTERN void XPutBackEvent _ANSI_ARGS_((Display* d, XEvent* x));
207 /* 54 */
208 EXTERN void XQueryColors _ANSI_ARGS_((Display* d, Colormap c,
209 XColor* x, int i));
210 /* 55 */
211 EXTERN Bool XQueryPointer _ANSI_ARGS_((Display* d, Window w1,
212 Window* w2, Window* w3, int* i1, int* i2,
213 int* i3, int* i4, unsigned int* ui));
214 /* 56 */
215 EXTERN Status XQueryTree _ANSI_ARGS_((Display* d, Window w1,
216 Window* w2, Window* w3, Window** w4,
217 unsigned int* ui));
218 /* 57 */
219 EXTERN void XRaiseWindow _ANSI_ARGS_((Display* d, Window w));
220 /* 58 */
221 EXTERN void XRefreshKeyboardMapping _ANSI_ARGS_((
222 XMappingEvent* x));
223 /* 59 */
224 EXTERN void XResizeWindow _ANSI_ARGS_((Display* d, Window w,
225 unsigned int ui1, unsigned int ui2));
226 /* 60 */
227 EXTERN void XSelectInput _ANSI_ARGS_((Display* d, Window w,
228 long l));
229 /* 61 */
230 EXTERN Status XSendEvent _ANSI_ARGS_((Display* d, Window w, Bool b,
231 long l, XEvent* x));
232 /* 62 */
233 EXTERN void XSetCommand _ANSI_ARGS_((Display* d, Window w,
234 CONST char** c, int i));
235 /* 63 */
236 EXTERN void XSetIconName _ANSI_ARGS_((Display* d, Window w,
237 _Xconst char* c));
238 /* 64 */
239 EXTERN void XSetInputFocus _ANSI_ARGS_((Display* d, Window w,
240 int i, Time t));
241 /* 65 */
242 EXTERN void XSetSelectionOwner _ANSI_ARGS_((Display* d, Atom a,
243 Window w, Time t));
244 /* 66 */
245 EXTERN void XSetWindowBackground _ANSI_ARGS_((Display* d,
246 Window w, unsigned long ul));
247 /* 67 */
248 EXTERN void XSetWindowBackgroundPixmap _ANSI_ARGS_((Display* d,
249 Window w, Pixmap p));
250 /* 68 */
251 EXTERN void XSetWindowBorder _ANSI_ARGS_((Display* d, Window w,
252 unsigned long ul));
253 /* 69 */
254 EXTERN void XSetWindowBorderPixmap _ANSI_ARGS_((Display* d,
255 Window w, Pixmap p));
256 /* 70 */
257 EXTERN void XSetWindowBorderWidth _ANSI_ARGS_((Display* d,
258 Window w, unsigned int ui));
259 /* 71 */
260 EXTERN void XSetWindowColormap _ANSI_ARGS_((Display* d, Window w,
261 Colormap c));
262 /* 72 */
263 EXTERN Bool XTranslateCoordinates _ANSI_ARGS_((Display* d,
264 Window w1, Window w2, int i1, int i2,
265 int* i3, int* i4, Window* w3));
266 /* 73 */
267 EXTERN void XUngrabKeyboard _ANSI_ARGS_((Display* d, Time t));
268 /* 74 */
269 EXTERN void XUngrabPointer _ANSI_ARGS_((Display* d, Time t));
270 /* 75 */
271 EXTERN void XUnmapWindow _ANSI_ARGS_((Display* d, Window w));
272 /* 76 */
273 EXTERN void XWindowEvent _ANSI_ARGS_((Display* d, Window w,
274 long l, XEvent* x));
275 /* 77 */
276 EXTERN void XDestroyIC _ANSI_ARGS_((XIC x));
277 /* 78 */
278 EXTERN Bool XFilterEvent _ANSI_ARGS_((XEvent* x, Window w));
279 /* 79 */
280 EXTERN int XmbLookupString _ANSI_ARGS_((XIC xi,
281 XKeyPressedEvent* xk, char* c, int i,
282 KeySym* k, Status* s));
283 /* 80 */
284 EXTERN void TkPutImage _ANSI_ARGS_((unsigned long * colors,
285 int ncolors, Display* display, Drawable d,
286 GC gc, XImage* image, int src_x, int src_y,
287 int dest_x, int dest_y, unsigned int width,
288 unsigned int height));
289 /* Slot 81 is reserved */
290 /* 82 */
291 EXTERN Status XParseColor _ANSI_ARGS_((Display * display,
292 Colormap map, _Xconst char* spec,
293 XColor * colorPtr));
294 /* 83 */
295 EXTERN GC XCreateGC _ANSI_ARGS_((Display* display, Drawable d,
296 unsigned long valuemask, XGCValues* values));
297 /* 84 */
298 EXTERN void XFreeGC _ANSI_ARGS_((Display* display, GC gc));
299 /* 85 */
300 EXTERN Atom XInternAtom _ANSI_ARGS_((Display* display,
301 _Xconst char* atom_name, Bool only_if_exists));
302 /* 86 */
303 EXTERN void XSetBackground _ANSI_ARGS_((Display* display, GC gc,
304 unsigned long foreground));
305 /* 87 */
306 EXTERN void XSetForeground _ANSI_ARGS_((Display* display, GC gc,
307 unsigned long foreground));
308 /* 88 */
309 EXTERN void XSetClipMask _ANSI_ARGS_((Display* display, GC gc,
310 Pixmap pixmap));
311 /* 89 */
312 EXTERN void XSetClipOrigin _ANSI_ARGS_((Display* display, GC gc,
313 int clip_x_origin, int clip_y_origin));
314 /* 90 */
315 EXTERN void XSetTSOrigin _ANSI_ARGS_((Display* display, GC gc,
316 int ts_x_origin, int ts_y_origin));
317 /* 91 */
318 EXTERN void XChangeGC _ANSI_ARGS_((Display * d, GC gc,
319 unsigned long mask, XGCValues * values));
320 /* 92 */
321 EXTERN void XSetFont _ANSI_ARGS_((Display * display, GC gc,
322 Font font));
323 /* 93 */
324 EXTERN void XSetArcMode _ANSI_ARGS_((Display * display, GC gc,
325 int arc_mode));
326 /* 94 */
327 EXTERN void XSetStipple _ANSI_ARGS_((Display * display, GC gc,
328 Pixmap stipple));
329 /* 95 */
330 EXTERN void XSetFillRule _ANSI_ARGS_((Display * display, GC gc,
331 int fill_rule));
332 /* 96 */
333 EXTERN void XSetFillStyle _ANSI_ARGS_((Display * display, GC gc,
334 int fill_style));
335 /* 97 */
336 EXTERN void XSetFunction _ANSI_ARGS_((Display * display, GC gc,
337 int function));
338 /* 98 */
339 EXTERN void XSetLineAttributes _ANSI_ARGS_((Display * display,
340 GC gc, unsigned int line_width,
341 int line_style, int cap_style,
342 int join_style));
343 /* 99 */
344 EXTERN int _XInitImageFuncPtrs _ANSI_ARGS_((XImage * image));
345 /* 100 */
346 EXTERN XIC XCreateIC _ANSI_ARGS_((void));
347 /* 101 */
348 EXTERN XVisualInfo * XGetVisualInfo _ANSI_ARGS_((Display* display,
349 long vinfo_mask, XVisualInfo* vinfo_template,
350 int* nitems_return));
351 /* 102 */
352 EXTERN void XSetWMClientMachine _ANSI_ARGS_((Display* display,
353 Window w, XTextProperty* text_prop));
354 /* 103 */
355 EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char** list,
356 int count, XTextProperty* text_prop_return));
357 /* 104 */
358 EXTERN void XDrawLine _ANSI_ARGS_((Display* d, Drawable dr, GC g,
359 int x1, int y1, int x2, int y2));
360 /* 105 */
361 EXTERN void XWarpPointer _ANSI_ARGS_((Display* d, Window s,
362 Window dw, int sx, int sy, unsigned int sw,
363 unsigned int sh, int dx, int dy));
364 /* 106 */
365 EXTERN void XFillRectangle _ANSI_ARGS_((Display* display,
366 Drawable d, GC gc, int x, int y,
367 unsigned int width, unsigned int height));
368 #endif /* __WIN32__ */
369 #ifdef MAC_TCL
370 /* 0 */
371 EXTERN void XSetDashes _ANSI_ARGS_((Display* display, GC gc,
372 int dash_offset, _Xconst char* dash_list,
373 int n));
374 /* 1 */
375 EXTERN XModifierKeymap* XGetModifierMapping _ANSI_ARGS_((Display* d));
376 /* 2 */
377 EXTERN XImage * XCreateImage _ANSI_ARGS_((Display* d, Visual* v,
378 unsigned int ui1, int i1, int i2, char* cp,
379 unsigned int ui2, unsigned int ui3, int i3,
380 int i4));
381 /* 3 */
382 EXTERN XImage * XGetImage _ANSI_ARGS_((Display* d, Drawable dr,
383 int i1, int i2, unsigned int ui1,
384 unsigned int ui2, unsigned long ul, int i3));
385 /* 4 */
386 EXTERN char * XGetAtomName _ANSI_ARGS_((Display* d, Atom a));
387 /* 5 */
388 EXTERN char * XKeysymToString _ANSI_ARGS_((KeySym k));
389 /* 6 */
390 EXTERN Colormap XCreateColormap _ANSI_ARGS_((Display* d, Window w,
391 Visual* v, int i));
392 /* 7 */
393 EXTERN GContext XGContextFromGC _ANSI_ARGS_((GC g));
394 /* 8 */
395 EXTERN KeySym XKeycodeToKeysym _ANSI_ARGS_((Display* d, KeyCode k,
396 int i));
397 /* 9 */
398 EXTERN KeySym XStringToKeysym _ANSI_ARGS_((_Xconst char* c));
399 /* 10 */
400 EXTERN Window XRootWindow _ANSI_ARGS_((Display* d, int i));
401 /* 11 */
402 EXTERN XErrorHandler XSetErrorHandler _ANSI_ARGS_((XErrorHandler x));
403 /* 12 */
404 EXTERN Status XAllocColor _ANSI_ARGS_((Display* d, Colormap c,
405 XColor* xp));
406 /* 13 */
407 EXTERN void XBell _ANSI_ARGS_((Display* d, int i));
408 /* 14 */
409 EXTERN void XChangeProperty _ANSI_ARGS_((Display* d, Window w,
410 Atom a1, Atom a2, int i1, int i2,
411 _Xconst unsigned char* c, int i3));
412 /* 15 */
413 EXTERN void XChangeWindowAttributes _ANSI_ARGS_((Display* d,
414 Window w, unsigned long ul,
415 XSetWindowAttributes* x));
416 /* 16 */
417 EXTERN void XConfigureWindow _ANSI_ARGS_((Display* d, Window w,
418 unsigned int i, XWindowChanges* x));
419 /* 17 */
420 EXTERN void XCopyArea _ANSI_ARGS_((Display* d, Drawable dr1,
421 Drawable dr2, GC g, int i1, int i2,
422 unsigned int ui1, unsigned int ui2, int i3,
423 int i4));
424 /* 18 */
425 EXTERN void XCopyPlane _ANSI_ARGS_((Display* d, Drawable dr1,
426 Drawable dr2, GC g, int i1, int i2,
427 unsigned int ui1, unsigned int ui2, int i3,
428 int i4, unsigned long ul));
429 /* 19 */
430 EXTERN Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display* display,
431 Drawable d, _Xconst char* data,
432 unsigned int width, unsigned int height));
433 /* 20 */
434 EXTERN void XDefineCursor _ANSI_ARGS_((Display* d, Window w,
435 Cursor c));
436 /* 21 */
437 EXTERN void XDestroyWindow _ANSI_ARGS_((Display* d, Window w));
438 /* 22 */
439 EXTERN void XDrawArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
440 int i1, int i2, unsigned int ui1,
441 unsigned int ui2, int i3, int i4));
442 /* 23 */
443 EXTERN void XDrawLines _ANSI_ARGS_((Display* d, Drawable dr,
444 GC g, XPoint* x, int i1, int i2));
445 /* 24 */
446 EXTERN void XDrawRectangle _ANSI_ARGS_((Display* d, Drawable dr,
447 GC g, int i1, int i2, unsigned int ui1,
448 unsigned int ui2));
449 /* 25 */
450 EXTERN void XFillArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
451 int i1, int i2, unsigned int ui1,
452 unsigned int ui2, int i3, int i4));
453 /* 26 */
454 EXTERN void XFillPolygon _ANSI_ARGS_((Display* d, Drawable dr,
455 GC g, XPoint* x, int i1, int i2, int i3));
456 /* 27 */
457 EXTERN void XFillRectangles _ANSI_ARGS_((Display* d, Drawable dr,
458 GC g, XRectangle* x, int i));
459 /* 28 */
460 EXTERN void XFreeColormap _ANSI_ARGS_((Display* d, Colormap c));
461 /* 29 */
462 EXTERN void XFreeColors _ANSI_ARGS_((Display* d, Colormap c,
463 unsigned long* ulp, int i, unsigned long ul));
464 /* 30 */
465 EXTERN void XFreeModifiermap _ANSI_ARGS_((XModifierKeymap* x));
466 /* 31 */
467 EXTERN Status XGetGeometry _ANSI_ARGS_((Display* d, Drawable dr,
468 Window* w, int* i1, int* i2,
469 unsigned int* ui1, unsigned int* ui2,
470 unsigned int* ui3, unsigned int* ui4));
471 /* 32 */
472 EXTERN int XGetWindowProperty _ANSI_ARGS_((Display* d, Window w,
473 Atom a1, long l1, long l2, Bool b, Atom a2,
474 Atom* ap, int* ip, unsigned long* ulp1,
475 unsigned long* ulp2, unsigned char** cpp));
476 /* 33 */
477 EXTERN int XGrabKeyboard _ANSI_ARGS_((Display* d, Window w,
478 Bool b, int i1, int i2, Time t));
479 /* 34 */
480 EXTERN int XGrabPointer _ANSI_ARGS_((Display* d, Window w1,
481 Bool b, unsigned int ui, int i1, int i2,
482 Window w2, Cursor c, Time t));
483 /* 35 */
484 EXTERN KeyCode XKeysymToKeycode _ANSI_ARGS_((Display* d, KeySym k));
485 /* 36 */
486 EXTERN void XMapWindow _ANSI_ARGS_((Display* d, Window w));
487 /* 37 */
488 EXTERN void XMoveResizeWindow _ANSI_ARGS_((Display* d, Window w,
489 int i1, int i2, unsigned int ui1,
490 unsigned int ui2));
491 /* 38 */
492 EXTERN void XMoveWindow _ANSI_ARGS_((Display* d, Window w,
493 int i1, int i2));
494 /* 39 */
495 EXTERN Bool XQueryPointer _ANSI_ARGS_((Display* d, Window w1,
496 Window* w2, Window* w3, int* i1, int* i2,
497 int* i3, int* i4, unsigned int* ui));
498 /* 40 */
499 EXTERN void XRaiseWindow _ANSI_ARGS_((Display* d, Window w));
500 /* 41 */
501 EXTERN void XRefreshKeyboardMapping _ANSI_ARGS_((
502 XMappingEvent* x));
503 /* 42 */
504 EXTERN void XResizeWindow _ANSI_ARGS_((Display* d, Window w,
505 unsigned int ui1, unsigned int ui2));
506 /* 43 */
507 EXTERN void XSelectInput _ANSI_ARGS_((Display* d, Window w,
508 long l));
509 /* 44 */
510 EXTERN Status XSendEvent _ANSI_ARGS_((Display* d, Window w, Bool b,
511 long l, XEvent* x));
512 /* 45 */
513 EXTERN void XSetIconName _ANSI_ARGS_((Display* d, Window w,
514 _Xconst char* c));
515 /* 46 */
516 EXTERN void XSetInputFocus _ANSI_ARGS_((Display* d, Window w,
517 int i, Time t));
518 /* 47 */
519 EXTERN void XSetSelectionOwner _ANSI_ARGS_((Display* d, Atom a,
520 Window w, Time t));
521 /* 48 */
522 EXTERN void XSetWindowBackground _ANSI_ARGS_((Display* d,
523 Window w, unsigned long ul));
524 /* 49 */
525 EXTERN void XSetWindowBackgroundPixmap _ANSI_ARGS_((Display* d,
526 Window w, Pixmap p));
527 /* 50 */
528 EXTERN void XSetWindowBorder _ANSI_ARGS_((Display* d, Window w,
529 unsigned long ul));
530 /* 51 */
531 EXTERN void XSetWindowBorderPixmap _ANSI_ARGS_((Display* d,
532 Window w, Pixmap p));
533 /* 52 */
534 EXTERN void XSetWindowBorderWidth _ANSI_ARGS_((Display* d,
535 Window w, unsigned int ui));
536 /* 53 */
537 EXTERN void XSetWindowColormap _ANSI_ARGS_((Display* d, Window w,
538 Colormap c));
539 /* 54 */
540 EXTERN void XUngrabKeyboard _ANSI_ARGS_((Display* d, Time t));
541 /* 55 */
542 EXTERN void XUngrabPointer _ANSI_ARGS_((Display* d, Time t));
543 /* 56 */
544 EXTERN void XUnmapWindow _ANSI_ARGS_((Display* d, Window w));
545 /* 57 */
546 EXTERN void TkPutImage _ANSI_ARGS_((unsigned long * colors,
547 int ncolors, Display* display, Drawable d,
548 GC gc, XImage* image, int src_x, int src_y,
549 int dest_x, int dest_y, unsigned int width,
550 unsigned int height));
551 /* 58 */
552 EXTERN Status XParseColor _ANSI_ARGS_((Display * display,
553 Colormap map, _Xconst char* spec,
554 XColor * colorPtr));
555 /* 59 */
556 EXTERN GC XCreateGC _ANSI_ARGS_((Display* display, Drawable d,
557 unsigned long valuemask, XGCValues* values));
558 /* 60 */
559 EXTERN void XFreeGC _ANSI_ARGS_((Display* display, GC gc));
560 /* 61 */
561 EXTERN Atom XInternAtom _ANSI_ARGS_((Display* display,
562 _Xconst char* atom_name, Bool only_if_exists));
563 /* 62 */
564 EXTERN void XSetBackground _ANSI_ARGS_((Display* display, GC gc,
565 unsigned long foreground));
566 /* 63 */
567 EXTERN void XSetForeground _ANSI_ARGS_((Display* display, GC gc,
568 unsigned long foreground));
569 /* 64 */
570 EXTERN void XSetClipMask _ANSI_ARGS_((Display* display, GC gc,
571 Pixmap pixmap));
572 /* 65 */
573 EXTERN void XSetClipOrigin _ANSI_ARGS_((Display* display, GC gc,
574 int clip_x_origin, int clip_y_origin));
575 /* 66 */
576 EXTERN void XSetTSOrigin _ANSI_ARGS_((Display* display, GC gc,
577 int ts_x_origin, int ts_y_origin));
578 /* 67 */
579 EXTERN void XChangeGC _ANSI_ARGS_((Display * d, GC gc,
580 unsigned long mask, XGCValues * values));
581 /* 68 */
582 EXTERN void XSetFont _ANSI_ARGS_((Display * display, GC gc,
583 Font font));
584 /* 69 */
585 EXTERN void XSetArcMode _ANSI_ARGS_((Display * display, GC gc,
586 int arc_mode));
587 /* 70 */
588 EXTERN void XSetStipple _ANSI_ARGS_((Display * display, GC gc,
589 Pixmap stipple));
590 /* 71 */
591 EXTERN void XSetFillRule _ANSI_ARGS_((Display * display, GC gc,
592 int fill_rule));
593 /* 72 */
594 EXTERN void XSetFillStyle _ANSI_ARGS_((Display * display, GC gc,
595 int fill_style));
596 /* 73 */
597 EXTERN void XSetFunction _ANSI_ARGS_((Display * display, GC gc,
598 int function));
599 /* 74 */
600 EXTERN void XSetLineAttributes _ANSI_ARGS_((Display * display,
601 GC gc, unsigned int line_width,
602 int line_style, int cap_style,
603 int join_style));
604 /* 75 */
605 EXTERN int _XInitImageFuncPtrs _ANSI_ARGS_((XImage * image));
606 /* 76 */
607 EXTERN XIC XCreateIC _ANSI_ARGS_((void));
608 /* 77 */
609 EXTERN XVisualInfo * XGetVisualInfo _ANSI_ARGS_((Display* display,
610 long vinfo_mask, XVisualInfo* vinfo_template,
611 int* nitems_return));
612 /* 78 */
613 EXTERN void XSetWMClientMachine _ANSI_ARGS_((Display* display,
614 Window w, XTextProperty* text_prop));
615 /* 79 */
616 EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char** list,
617 int count, XTextProperty* text_prop_return));
618 /* 80 */
619 EXTERN void XDrawSegments _ANSI_ARGS_((Display * display,
620 Drawable d, GC gc, XSegment * segments,
621 int nsegments));
622 /* 81 */
623 EXTERN void XForceScreenSaver _ANSI_ARGS_((Display* display,
624 int mode));
625 /* 82 */
626 EXTERN void XDrawLine _ANSI_ARGS_((Display* d, Drawable dr, GC g,
627 int x1, int y1, int x2, int y2));
628 /* 83 */
629 EXTERN void XFillRectangle _ANSI_ARGS_((Display* display,
630 Drawable d, GC gc, int x, int y,
631 unsigned int width, unsigned int height));
632 /* 84 */
633 EXTERN void XClearWindow _ANSI_ARGS_((Display* d, Window w));
634 /* 85 */
635 EXTERN void XDrawPoint _ANSI_ARGS_((Display* display, Drawable d,
636 GC gc, int x, int y));
637 /* 86 */
638 EXTERN void XDrawPoints _ANSI_ARGS_((Display* display,
639 Drawable d, GC gc, XPoint * points,
640 int npoints, int mode));
641 /* 87 */
642 EXTERN void XWarpPointer _ANSI_ARGS_((Display* display,
643 Window src_w, Window dest_w, int src_x,
644 int src_y, unsigned int src_width,
645 unsigned int src_height, int dest_x,
646 int dest_y));
647 /* 88 */
648 EXTERN void XQueryColor _ANSI_ARGS_((Display * display,
649 Colormap colormap, XColor * def_in_out));
650 /* 89 */
651 EXTERN void XQueryColors _ANSI_ARGS_((Display * display,
652 Colormap colormap, XColor * defs_in_out,
653 int ncolors));
654 /* 90 */
655 EXTERN Status XQueryTree _ANSI_ARGS_((Display* d, Window w1,
656 Window* w2, Window* w3, Window** w4,
657 unsigned int* ui));
658 #endif /* MAC_TCL */
659 #ifdef MAC_OSX_TK
660 /* 0 */
661 EXTERN void XSetDashes _ANSI_ARGS_((Display* display, GC gc,
662 int dash_offset, _Xconst char* dash_list,
663 int n));
664 /* 1 */
665 EXTERN XModifierKeymap* XGetModifierMapping _ANSI_ARGS_((Display* d));
666 /* 2 */
667 EXTERN XImage * XCreateImage _ANSI_ARGS_((Display* d, Visual* v,
668 unsigned int ui1, int i1, int i2, char* cp,
669 unsigned int ui2, unsigned int ui3, int i3,
670 int i4));
671 /* 3 */
672 EXTERN XImage * XGetImage _ANSI_ARGS_((Display* d, Drawable dr,
673 int i1, int i2, unsigned int ui1,
674 unsigned int ui2, unsigned long ul, int i3));
675 /* 4 */
676 EXTERN char * XGetAtomName _ANSI_ARGS_((Display* d, Atom a));
677 /* 5 */
678 EXTERN char * XKeysymToString _ANSI_ARGS_((KeySym k));
679 /* 6 */
680 EXTERN Colormap XCreateColormap _ANSI_ARGS_((Display* d, Window w,
681 Visual* v, int i));
682 /* 7 */
683 EXTERN GContext XGContextFromGC _ANSI_ARGS_((GC g));
684 /* 8 */
685 EXTERN KeySym XKeycodeToKeysym _ANSI_ARGS_((Display* d, KeyCode k,
686 int i));
687 /* 9 */
688 EXTERN KeySym XStringToKeysym _ANSI_ARGS_((_Xconst char* c));
689 /* 10 */
690 EXTERN Window XRootWindow _ANSI_ARGS_((Display* d, int i));
691 /* 11 */
692 EXTERN XErrorHandler XSetErrorHandler _ANSI_ARGS_((XErrorHandler x));
693 /* 12 */
694 EXTERN Status XAllocColor _ANSI_ARGS_((Display* d, Colormap c,
695 XColor* xp));
696 /* 13 */
697 EXTERN void XBell _ANSI_ARGS_((Display* d, int i));
698 /* 14 */
699 EXTERN void XChangeProperty _ANSI_ARGS_((Display* d, Window w,
700 Atom a1, Atom a2, int i1, int i2,
701 _Xconst unsigned char* c, int i3));
702 /* 15 */
703 EXTERN void XChangeWindowAttributes _ANSI_ARGS_((Display* d,
704 Window w, unsigned long ul,
705 XSetWindowAttributes* x));
706 /* 16 */
707 EXTERN void XConfigureWindow _ANSI_ARGS_((Display* d, Window w,
708 unsigned int i, XWindowChanges* x));
709 /* 17 */
710 EXTERN void XCopyArea _ANSI_ARGS_((Display* d, Drawable dr1,
711 Drawable dr2, GC g, int i1, int i2,
712 unsigned int ui1, unsigned int ui2, int i3,
713 int i4));
714 /* 18 */
715 EXTERN void XCopyPlane _ANSI_ARGS_((Display* d, Drawable dr1,
716 Drawable dr2, GC g, int i1, int i2,
717 unsigned int ui1, unsigned int ui2, int i3,
718 int i4, unsigned long ul));
719 /* 19 */
720 EXTERN Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display* display,
721 Drawable d, _Xconst char* data,
722 unsigned int width, unsigned int height));
723 /* 20 */
724 EXTERN void XDefineCursor _ANSI_ARGS_((Display* d, Window w,
725 Cursor c));
726 /* 21 */
727 EXTERN void XDestroyWindow _ANSI_ARGS_((Display* d, Window w));
728 /* 22 */
729 EXTERN void XDrawArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
730 int i1, int i2, unsigned int ui1,
731 unsigned int ui2, int i3, int i4));
732 /* 23 */
733 EXTERN void XDrawLines _ANSI_ARGS_((Display* d, Drawable dr,
734 GC g, XPoint* x, int i1, int i2));
735 /* 24 */
736 EXTERN void XDrawRectangle _ANSI_ARGS_((Display* d, Drawable dr,
737 GC g, int i1, int i2, unsigned int ui1,
738 unsigned int ui2));
739 /* 25 */
740 EXTERN void XFillArc _ANSI_ARGS_((Display* d, Drawable dr, GC g,
741 int i1, int i2, unsigned int ui1,
742 unsigned int ui2, int i3, int i4));
743 /* 26 */
744 EXTERN void XFillPolygon _ANSI_ARGS_((Display* d, Drawable dr,
745 GC g, XPoint* x, int i1, int i2, int i3));
746 /* 27 */
747 EXTERN void XFillRectangles _ANSI_ARGS_((Display* d, Drawable dr,
748 GC g, XRectangle* x, int i));
749 /* 28 */
750 EXTERN void XFreeColormap _ANSI_ARGS_((Display* d, Colormap c));
751 /* 29 */
752 EXTERN void XFreeColors _ANSI_ARGS_((Display* d, Colormap c,
753 unsigned long* ulp, int i, unsigned long ul));
754 /* 30 */
755 EXTERN void XFreeModifiermap _ANSI_ARGS_((XModifierKeymap* x));
756 /* 31 */
757 EXTERN Status XGetGeometry _ANSI_ARGS_((Display* d, Drawable dr,
758 Window* w, int* i1, int* i2,
759 unsigned int* ui1, unsigned int* ui2,
760 unsigned int* ui3, unsigned int* ui4));
761 /* 32 */
762 EXTERN int XGetWindowProperty _ANSI_ARGS_((Display* d, Window w,
763 Atom a1, long l1, long l2, Bool b, Atom a2,
764 Atom* ap, int* ip, unsigned long* ulp1,
765 unsigned long* ulp2, unsigned char** cpp));
766 /* 33 */
767 EXTERN int XGrabKeyboard _ANSI_ARGS_((Display* d, Window w,
768 Bool b, int i1, int i2, Time t));
769 /* 34 */
770 EXTERN int XGrabPointer _ANSI_ARGS_((Display* d, Window w1,
771 Bool b, unsigned int ui, int i1, int i2,
772 Window w2, Cursor c, Time t));
773 /* 35 */
774 EXTERN KeyCode XKeysymToKeycode _ANSI_ARGS_((Display* d, KeySym k));
775 /* 36 */
776 EXTERN void XMapWindow _ANSI_ARGS_((Display* d, Window w));
777 /* 37 */
778 EXTERN void XMoveResizeWindow _ANSI_ARGS_((Display* d, Window w,
779 int i1, int i2, unsigned int ui1,
780 unsigned int ui2));
781 /* 38 */
782 EXTERN void XMoveWindow _ANSI_ARGS_((Display* d, Window w,
783 int i1, int i2));
784 /* 39 */
785 EXTERN Bool XQueryPointer _ANSI_ARGS_((Display* d, Window w1,
786 Window* w2, Window* w3, int* i1, int* i2,
787 int* i3, int* i4, unsigned int* ui));
788 /* 40 */
789 EXTERN void XRaiseWindow _ANSI_ARGS_((Display* d, Window w));
790 /* 41 */
791 EXTERN void XRefreshKeyboardMapping _ANSI_ARGS_((
792 XMappingEvent* x));
793 /* 42 */
794 EXTERN void XResizeWindow _ANSI_ARGS_((Display* d, Window w,
795 unsigned int ui1, unsigned int ui2));
796 /* 43 */
797 EXTERN void XSelectInput _ANSI_ARGS_((Display* d, Window w,
798 long l));
799 /* 44 */
800 EXTERN Status XSendEvent _ANSI_ARGS_((Display* d, Window w, Bool b,
801 long l, XEvent* x));
802 /* 45 */
803 EXTERN void XSetIconName _ANSI_ARGS_((Display* d, Window w,
804 _Xconst char* c));
805 /* 46 */
806 EXTERN void XSetInputFocus _ANSI_ARGS_((Display* d, Window w,
807 int i, Time t));
808 /* 47 */
809 EXTERN void XSetSelectionOwner _ANSI_ARGS_((Display* d, Atom a,
810 Window w, Time t));
811 /* 48 */
812 EXTERN void XSetWindowBackground _ANSI_ARGS_((Display* d,
813 Window w, unsigned long ul));
814 /* 49 */
815 EXTERN void XSetWindowBackgroundPixmap _ANSI_ARGS_((Display* d,
816 Window w, Pixmap p));
817 /* 50 */
818 EXTERN void XSetWindowBorder _ANSI_ARGS_((Display* d, Window w,
819 unsigned long ul));
820 /* 51 */
821 EXTERN void XSetWindowBorderPixmap _ANSI_ARGS_((Display* d,
822 Window w, Pixmap p));
823 /* 52 */
824 EXTERN void XSetWindowBorderWidth _ANSI_ARGS_((Display* d,
825 Window w, unsigned int ui));
826 /* 53 */
827 EXTERN void XSetWindowColormap _ANSI_ARGS_((Display* d, Window w,
828 Colormap c));
829 /* 54 */
830 EXTERN void XUngrabKeyboard _ANSI_ARGS_((Display* d, Time t));
831 /* 55 */
832 EXTERN void XUngrabPointer _ANSI_ARGS_((Display* d, Time t));
833 /* 56 */
834 EXTERN void XUnmapWindow _ANSI_ARGS_((Display* d, Window w));
835 /* 57 */
836 EXTERN void TkPutImage _ANSI_ARGS_((unsigned long * colors,
837 int ncolors, Display* display, Drawable d,
838 GC gc, XImage* image, int src_x, int src_y,
839 int dest_x, int dest_y, unsigned int width,
840 unsigned int height));
841 /* 58 */
842 EXTERN Status XParseColor _ANSI_ARGS_((Display * display,
843 Colormap map, _Xconst char* spec,
844 XColor * colorPtr));
845 /* 59 */
846 EXTERN GC XCreateGC _ANSI_ARGS_((Display* display, Drawable d,
847 unsigned long valuemask, XGCValues* values));
848 /* 60 */
849 EXTERN void XFreeGC _ANSI_ARGS_((Display* display, GC gc));
850 /* 61 */
851 EXTERN Atom XInternAtom _ANSI_ARGS_((Display* display,
852 _Xconst char* atom_name, Bool only_if_exists));
853 /* 62 */
854 EXTERN void XSetBackground _ANSI_ARGS_((Display* display, GC gc,
855 unsigned long foreground));
856 /* 63 */
857 EXTERN void XSetForeground _ANSI_ARGS_((Display* display, GC gc,
858 unsigned long foreground));
859 /* 64 */
860 EXTERN void XSetClipMask _ANSI_ARGS_((Display* display, GC gc,
861 Pixmap pixmap));
862 /* 65 */
863 EXTERN void XSetClipOrigin _ANSI_ARGS_((Display* display, GC gc,
864 int clip_x_origin, int clip_y_origin));
865 /* 66 */
866 EXTERN void XSetTSOrigin _ANSI_ARGS_((Display* display, GC gc,
867 int ts_x_origin, int ts_y_origin));
868 /* 67 */
869 EXTERN void XChangeGC _ANSI_ARGS_((Display * d, GC gc,
870 unsigned long mask, XGCValues * values));
871 /* 68 */
872 EXTERN void XSetFont _ANSI_ARGS_((Display * display, GC gc,
873 Font font));
874 /* 69 */
875 EXTERN void XSetArcMode _ANSI_ARGS_((Display * display, GC gc,
876 int arc_mode));
877 /* 70 */
878 EXTERN void XSetStipple _ANSI_ARGS_((Display * display, GC gc,
879 Pixmap stipple));
880 /* 71 */
881 EXTERN void XSetFillRule _ANSI_ARGS_((Display * display, GC gc,
882 int fill_rule));
883 /* 72 */
884 EXTERN void XSetFillStyle _ANSI_ARGS_((Display * display, GC gc,
885 int fill_style));
886 /* 73 */
887 EXTERN void XSetFunction _ANSI_ARGS_((Display * display, GC gc,
888 int function));
889 /* 74 */
890 EXTERN void XSetLineAttributes _ANSI_ARGS_((Display * display,
891 GC gc, unsigned int line_width,
892 int line_style, int cap_style,
893 int join_style));
894 /* 75 */
895 EXTERN int _XInitImageFuncPtrs _ANSI_ARGS_((XImage * image));
896 /* 76 */
897 EXTERN XIC XCreateIC _ANSI_ARGS_((void));
898 /* 77 */
899 EXTERN XVisualInfo * XGetVisualInfo _ANSI_ARGS_((Display* display,
900 long vinfo_mask, XVisualInfo* vinfo_template,
901 int* nitems_return));
902 /* 78 */
903 EXTERN void XSetWMClientMachine _ANSI_ARGS_((Display* display,
904 Window w, XTextProperty* text_prop));
905 /* 79 */
906 EXTERN Status XStringListToTextProperty _ANSI_ARGS_((char** list,
907 int count, XTextProperty* text_prop_return));
908 /* 80 */
909 EXTERN void XDrawSegments _ANSI_ARGS_((Display * display,
910 Drawable d, GC gc, XSegment * segments,
911 int nsegments));
912 /* 81 */
913 EXTERN void XForceScreenSaver _ANSI_ARGS_((Display* display,
914 int mode));
915 /* 82 */
916 EXTERN void XDrawLine _ANSI_ARGS_((Display* d, Drawable dr, GC g,
917 int x1, int y1, int x2, int y2));
918 /* 83 */
919 EXTERN void XFillRectangle _ANSI_ARGS_((Display* display,
920 Drawable d, GC gc, int x, int y,
921 unsigned int width, unsigned int height));
922 /* 84 */
923 EXTERN void XClearWindow _ANSI_ARGS_((Display* d, Window w));
924 /* 85 */
925 EXTERN void XDrawPoint _ANSI_ARGS_((Display* display, Drawable d,
926 GC gc, int x, int y));
927 /* 86 */
928 EXTERN void XDrawPoints _ANSI_ARGS_((Display* display,
929 Drawable d, GC gc, XPoint * points,
930 int npoints, int mode));
931 /* 87 */
932 EXTERN void XWarpPointer _ANSI_ARGS_((Display* display,
933 Window src_w, Window dest_w, int src_x,
934 int src_y, unsigned int src_width,
935 unsigned int src_height, int dest_x,
936 int dest_y));
937 /* 88 */
938 EXTERN void XQueryColor _ANSI_ARGS_((Display * display,
939 Colormap colormap, XColor * def_in_out));
940 /* 89 */
941 EXTERN void XQueryColors _ANSI_ARGS_((Display * display,
942 Colormap colormap, XColor * defs_in_out,
943 int ncolors));
944 /* 90 */
945 EXTERN Status XQueryTree _ANSI_ARGS_((Display* d, Window w1,
946 Window* w2, Window* w3, Window** w4,
947 unsigned int* ui));
948 /* 91 */
949 EXTERN int XSync _ANSI_ARGS_((Display * display, Bool flag));
950 #endif /* MAC_OSX_TK */
952 typedef struct TkIntXlibStubs {
953 int magic;
954 struct TkIntXlibStubHooks *hooks;
956 #ifdef __WIN32__
957 void (*xSetDashes) _ANSI_ARGS_((Display* display, GC gc, int dash_offset, _Xconst char* dash_list, int n)); /* 0 */
958 XModifierKeymap* (*xGetModifierMapping) _ANSI_ARGS_((Display* d)); /* 1 */
959 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 */
960 XImage * (*xGetImage) _ANSI_ARGS_((Display* d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)); /* 3 */
961 char * (*xGetAtomName) _ANSI_ARGS_((Display* d, Atom a)); /* 4 */
962 char * (*xKeysymToString) _ANSI_ARGS_((KeySym k)); /* 5 */
963 Colormap (*xCreateColormap) _ANSI_ARGS_((Display* d, Window w, Visual* v, int i)); /* 6 */
964 Cursor (*xCreatePixmapCursor) _ANSI_ARGS_((Display* d, Pixmap p1, Pixmap p2, XColor* x1, XColor* x2, unsigned int ui1, unsigned int ui2)); /* 7 */
965 Cursor (*xCreateGlyphCursor) _ANSI_ARGS_((Display* d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor* x1, XColor* x2)); /* 8 */
966 GContext (*xGContextFromGC) _ANSI_ARGS_((GC g)); /* 9 */
967 XHostAddress * (*xListHosts) _ANSI_ARGS_((Display* d, int* i, Bool* b)); /* 10 */
968 KeySym (*xKeycodeToKeysym) _ANSI_ARGS_((Display* d, unsigned int k, int i)); /* 11 */
969 KeySym (*xStringToKeysym) _ANSI_ARGS_((_Xconst char* c)); /* 12 */
970 Window (*xRootWindow) _ANSI_ARGS_((Display* d, int i)); /* 13 */
971 XErrorHandler (*xSetErrorHandler) _ANSI_ARGS_((XErrorHandler x)); /* 14 */
972 Status (*xIconifyWindow) _ANSI_ARGS_((Display* d, Window w, int i)); /* 15 */
973 Status (*xWithdrawWindow) _ANSI_ARGS_((Display* d, Window w, int i)); /* 16 */
974 Status (*xGetWMColormapWindows) _ANSI_ARGS_((Display* d, Window w, Window** wpp, int* ip)); /* 17 */
975 Status (*xAllocColor) _ANSI_ARGS_((Display* d, Colormap c, XColor* xp)); /* 18 */
976 void (*xBell) _ANSI_ARGS_((Display* d, int i)); /* 19 */
977 void (*xChangeProperty) _ANSI_ARGS_((Display* d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char* c, int i3)); /* 20 */
978 void (*xChangeWindowAttributes) _ANSI_ARGS_((Display* d, Window w, unsigned long ul, XSetWindowAttributes* x)); /* 21 */
979 void (*xClearWindow) _ANSI_ARGS_((Display* d, Window w)); /* 22 */
980 void (*xConfigureWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int i, XWindowChanges* x)); /* 23 */
981 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 */
982 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 */
983 Pixmap (*xCreateBitmapFromData) _ANSI_ARGS_((Display* display, Drawable d, _Xconst char* data, unsigned int width, unsigned int height)); /* 26 */
984 void (*xDefineCursor) _ANSI_ARGS_((Display* d, Window w, Cursor c)); /* 27 */
985 void (*xDeleteProperty) _ANSI_ARGS_((Display* d, Window w, Atom a)); /* 28 */
986 void (*xDestroyWindow) _ANSI_ARGS_((Display* d, Window w)); /* 29 */
987 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 */
988 void (*xDrawLines) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)); /* 31 */
989 void (*xDrawRectangle) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 32 */
990 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 */
991 void (*xFillPolygon) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2, int i3)); /* 34 */
992 void (*xFillRectangles) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XRectangle* x, int i)); /* 35 */
993 void (*xForceScreenSaver) _ANSI_ARGS_((Display* d, int i)); /* 36 */
994 void (*xFreeColormap) _ANSI_ARGS_((Display* d, Colormap c)); /* 37 */
995 void (*xFreeColors) _ANSI_ARGS_((Display* d, Colormap c, unsigned long* ulp, int i, unsigned long ul)); /* 38 */
996 void (*xFreeCursor) _ANSI_ARGS_((Display* d, Cursor c)); /* 39 */
997 void (*xFreeModifiermap) _ANSI_ARGS_((XModifierKeymap* x)); /* 40 */
998 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 */
999 void (*xGetInputFocus) _ANSI_ARGS_((Display* d, Window* w, int* i)); /* 42 */
1000 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 */
1001 Status (*xGetWindowAttributes) _ANSI_ARGS_((Display* d, Window w, XWindowAttributes* x)); /* 44 */
1002 int (*xGrabKeyboard) _ANSI_ARGS_((Display* d, Window w, Bool b, int i1, int i2, Time t)); /* 45 */
1003 int (*xGrabPointer) _ANSI_ARGS_((Display* d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t)); /* 46 */
1004 KeyCode (*xKeysymToKeycode) _ANSI_ARGS_((Display* d, KeySym k)); /* 47 */
1005 Status (*xLookupColor) _ANSI_ARGS_((Display* d, Colormap c1, _Xconst char* c2, XColor* x1, XColor* x2)); /* 48 */
1006 void (*xMapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 49 */
1007 void (*xMoveResizeWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 50 */
1008 void (*xMoveWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2)); /* 51 */
1009 void (*xNextEvent) _ANSI_ARGS_((Display* d, XEvent* x)); /* 52 */
1010 void (*xPutBackEvent) _ANSI_ARGS_((Display* d, XEvent* x)); /* 53 */
1011 void (*xQueryColors) _ANSI_ARGS_((Display* d, Colormap c, XColor* x, int i)); /* 54 */
1012 Bool (*xQueryPointer) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, int* i1, int* i2, int* i3, int* i4, unsigned int* ui)); /* 55 */
1013 Status (*xQueryTree) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, Window** w4, unsigned int* ui)); /* 56 */
1014 void (*xRaiseWindow) _ANSI_ARGS_((Display* d, Window w)); /* 57 */
1015 void (*xRefreshKeyboardMapping) _ANSI_ARGS_((XMappingEvent* x)); /* 58 */
1016 void (*xResizeWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int ui1, unsigned int ui2)); /* 59 */
1017 void (*xSelectInput) _ANSI_ARGS_((Display* d, Window w, long l)); /* 60 */
1018 Status (*xSendEvent) _ANSI_ARGS_((Display* d, Window w, Bool b, long l, XEvent* x)); /* 61 */
1019 void (*xSetCommand) _ANSI_ARGS_((Display* d, Window w, CONST char** c, int i)); /* 62 */
1020 void (*xSetIconName) _ANSI_ARGS_((Display* d, Window w, _Xconst char* c)); /* 63 */
1021 void (*xSetInputFocus) _ANSI_ARGS_((Display* d, Window w, int i, Time t)); /* 64 */
1022 void (*xSetSelectionOwner) _ANSI_ARGS_((Display* d, Atom a, Window w, Time t)); /* 65 */
1023 void (*xSetWindowBackground) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 66 */
1024 void (*xSetWindowBackgroundPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 67 */
1025 void (*xSetWindowBorder) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 68 */
1026 void (*xSetWindowBorderPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 69 */
1027 void (*xSetWindowBorderWidth) _ANSI_ARGS_((Display* d, Window w, unsigned int ui)); /* 70 */
1028 void (*xSetWindowColormap) _ANSI_ARGS_((Display* d, Window w, Colormap c)); /* 71 */
1029 Bool (*xTranslateCoordinates) _ANSI_ARGS_((Display* d, Window w1, Window w2, int i1, int i2, int* i3, int* i4, Window* w3)); /* 72 */
1030 void (*xUngrabKeyboard) _ANSI_ARGS_((Display* d, Time t)); /* 73 */
1031 void (*xUngrabPointer) _ANSI_ARGS_((Display* d, Time t)); /* 74 */
1032 void (*xUnmapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 75 */
1033 void (*xWindowEvent) _ANSI_ARGS_((Display* d, Window w, long l, XEvent* x)); /* 76 */
1034 void (*xDestroyIC) _ANSI_ARGS_((XIC x)); /* 77 */
1035 Bool (*xFilterEvent) _ANSI_ARGS_((XEvent* x, Window w)); /* 78 */
1036 int (*xmbLookupString) _ANSI_ARGS_((XIC xi, XKeyPressedEvent* xk, char* c, int i, KeySym* k, Status* s)); /* 79 */
1037 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 */
1038 void *reserved81;
1039 Status (*xParseColor) _ANSI_ARGS_((Display * display, Colormap map, _Xconst char* spec, XColor * colorPtr)); /* 82 */
1040 GC (*xCreateGC) _ANSI_ARGS_((Display* display, Drawable d, unsigned long valuemask, XGCValues* values)); /* 83 */
1041 void (*xFreeGC) _ANSI_ARGS_((Display* display, GC gc)); /* 84 */
1042 Atom (*xInternAtom) _ANSI_ARGS_((Display* display, _Xconst char* atom_name, Bool only_if_exists)); /* 85 */
1043 void (*xSetBackground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 86 */
1044 void (*xSetForeground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 87 */
1045 void (*xSetClipMask) _ANSI_ARGS_((Display* display, GC gc, Pixmap pixmap)); /* 88 */
1046 void (*xSetClipOrigin) _ANSI_ARGS_((Display* display, GC gc, int clip_x_origin, int clip_y_origin)); /* 89 */
1047 void (*xSetTSOrigin) _ANSI_ARGS_((Display* display, GC gc, int ts_x_origin, int ts_y_origin)); /* 90 */
1048 void (*xChangeGC) _ANSI_ARGS_((Display * d, GC gc, unsigned long mask, XGCValues * values)); /* 91 */
1049 void (*xSetFont) _ANSI_ARGS_((Display * display, GC gc, Font font)); /* 92 */
1050 void (*xSetArcMode) _ANSI_ARGS_((Display * display, GC gc, int arc_mode)); /* 93 */
1051 void (*xSetStipple) _ANSI_ARGS_((Display * display, GC gc, Pixmap stipple)); /* 94 */
1052 void (*xSetFillRule) _ANSI_ARGS_((Display * display, GC gc, int fill_rule)); /* 95 */
1053 void (*xSetFillStyle) _ANSI_ARGS_((Display * display, GC gc, int fill_style)); /* 96 */
1054 void (*xSetFunction) _ANSI_ARGS_((Display * display, GC gc, int function)); /* 97 */
1055 void (*xSetLineAttributes) _ANSI_ARGS_((Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)); /* 98 */
1056 int (*_XInitImageFuncPtrs) _ANSI_ARGS_((XImage * image)); /* 99 */
1057 XIC (*xCreateIC) _ANSI_ARGS_((void)); /* 100 */
1058 XVisualInfo * (*xGetVisualInfo) _ANSI_ARGS_((Display* display, long vinfo_mask, XVisualInfo* vinfo_template, int* nitems_return)); /* 101 */
1059 void (*xSetWMClientMachine) _ANSI_ARGS_((Display* display, Window w, XTextProperty* text_prop)); /* 102 */
1060 Status (*xStringListToTextProperty) _ANSI_ARGS_((char** list, int count, XTextProperty* text_prop_return)); /* 103 */
1061 void (*xDrawLine) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 104 */
1062 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 */
1063 void (*xFillRectangle) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 106 */
1064 #endif /* __WIN32__ */
1065 #ifdef MAC_TCL
1066 void (*xSetDashes) _ANSI_ARGS_((Display* display, GC gc, int dash_offset, _Xconst char* dash_list, int n)); /* 0 */
1067 XModifierKeymap* (*xGetModifierMapping) _ANSI_ARGS_((Display* d)); /* 1 */
1068 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 */
1069 XImage * (*xGetImage) _ANSI_ARGS_((Display* d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)); /* 3 */
1070 char * (*xGetAtomName) _ANSI_ARGS_((Display* d, Atom a)); /* 4 */
1071 char * (*xKeysymToString) _ANSI_ARGS_((KeySym k)); /* 5 */
1072 Colormap (*xCreateColormap) _ANSI_ARGS_((Display* d, Window w, Visual* v, int i)); /* 6 */
1073 GContext (*xGContextFromGC) _ANSI_ARGS_((GC g)); /* 7 */
1074 KeySym (*xKeycodeToKeysym) _ANSI_ARGS_((Display* d, KeyCode k, int i)); /* 8 */
1075 KeySym (*xStringToKeysym) _ANSI_ARGS_((_Xconst char* c)); /* 9 */
1076 Window (*xRootWindow) _ANSI_ARGS_((Display* d, int i)); /* 10 */
1077 XErrorHandler (*xSetErrorHandler) _ANSI_ARGS_((XErrorHandler x)); /* 11 */
1078 Status (*xAllocColor) _ANSI_ARGS_((Display* d, Colormap c, XColor* xp)); /* 12 */
1079 void (*xBell) _ANSI_ARGS_((Display* d, int i)); /* 13 */
1080 void (*xChangeProperty) _ANSI_ARGS_((Display* d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char* c, int i3)); /* 14 */
1081 void (*xChangeWindowAttributes) _ANSI_ARGS_((Display* d, Window w, unsigned long ul, XSetWindowAttributes* x)); /* 15 */
1082 void (*xConfigureWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int i, XWindowChanges* x)); /* 16 */
1083 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 */
1084 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 */
1085 Pixmap (*xCreateBitmapFromData) _ANSI_ARGS_((Display* display, Drawable d, _Xconst char* data, unsigned int width, unsigned int height)); /* 19 */
1086 void (*xDefineCursor) _ANSI_ARGS_((Display* d, Window w, Cursor c)); /* 20 */
1087 void (*xDestroyWindow) _ANSI_ARGS_((Display* d, Window w)); /* 21 */
1088 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 */
1089 void (*xDrawLines) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)); /* 23 */
1090 void (*xDrawRectangle) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 24 */
1091 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 */
1092 void (*xFillPolygon) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2, int i3)); /* 26 */
1093 void (*xFillRectangles) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XRectangle* x, int i)); /* 27 */
1094 void (*xFreeColormap) _ANSI_ARGS_((Display* d, Colormap c)); /* 28 */
1095 void (*xFreeColors) _ANSI_ARGS_((Display* d, Colormap c, unsigned long* ulp, int i, unsigned long ul)); /* 29 */
1096 void (*xFreeModifiermap) _ANSI_ARGS_((XModifierKeymap* x)); /* 30 */
1097 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 */
1098 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 */
1099 int (*xGrabKeyboard) _ANSI_ARGS_((Display* d, Window w, Bool b, int i1, int i2, Time t)); /* 33 */
1100 int (*xGrabPointer) _ANSI_ARGS_((Display* d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t)); /* 34 */
1101 KeyCode (*xKeysymToKeycode) _ANSI_ARGS_((Display* d, KeySym k)); /* 35 */
1102 void (*xMapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 36 */
1103 void (*xMoveResizeWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 37 */
1104 void (*xMoveWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2)); /* 38 */
1105 Bool (*xQueryPointer) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, int* i1, int* i2, int* i3, int* i4, unsigned int* ui)); /* 39 */
1106 void (*xRaiseWindow) _ANSI_ARGS_((Display* d, Window w)); /* 40 */
1107 void (*xRefreshKeyboardMapping) _ANSI_ARGS_((XMappingEvent* x)); /* 41 */
1108 void (*xResizeWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int ui1, unsigned int ui2)); /* 42 */
1109 void (*xSelectInput) _ANSI_ARGS_((Display* d, Window w, long l)); /* 43 */
1110 Status (*xSendEvent) _ANSI_ARGS_((Display* d, Window w, Bool b, long l, XEvent* x)); /* 44 */
1111 void (*xSetIconName) _ANSI_ARGS_((Display* d, Window w, _Xconst char* c)); /* 45 */
1112 void (*xSetInputFocus) _ANSI_ARGS_((Display* d, Window w, int i, Time t)); /* 46 */
1113 void (*xSetSelectionOwner) _ANSI_ARGS_((Display* d, Atom a, Window w, Time t)); /* 47 */
1114 void (*xSetWindowBackground) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 48 */
1115 void (*xSetWindowBackgroundPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 49 */
1116 void (*xSetWindowBorder) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 50 */
1117 void (*xSetWindowBorderPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 51 */
1118 void (*xSetWindowBorderWidth) _ANSI_ARGS_((Display* d, Window w, unsigned int ui)); /* 52 */
1119 void (*xSetWindowColormap) _ANSI_ARGS_((Display* d, Window w, Colormap c)); /* 53 */
1120 void (*xUngrabKeyboard) _ANSI_ARGS_((Display* d, Time t)); /* 54 */
1121 void (*xUngrabPointer) _ANSI_ARGS_((Display* d, Time t)); /* 55 */
1122 void (*xUnmapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 56 */
1123 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 */
1124 Status (*xParseColor) _ANSI_ARGS_((Display * display, Colormap map, _Xconst char* spec, XColor * colorPtr)); /* 58 */
1125 GC (*xCreateGC) _ANSI_ARGS_((Display* display, Drawable d, unsigned long valuemask, XGCValues* values)); /* 59 */
1126 void (*xFreeGC) _ANSI_ARGS_((Display* display, GC gc)); /* 60 */
1127 Atom (*xInternAtom) _ANSI_ARGS_((Display* display, _Xconst char* atom_name, Bool only_if_exists)); /* 61 */
1128 void (*xSetBackground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 62 */
1129 void (*xSetForeground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 63 */
1130 void (*xSetClipMask) _ANSI_ARGS_((Display* display, GC gc, Pixmap pixmap)); /* 64 */
1131 void (*xSetClipOrigin) _ANSI_ARGS_((Display* display, GC gc, int clip_x_origin, int clip_y_origin)); /* 65 */
1132 void (*xSetTSOrigin) _ANSI_ARGS_((Display* display, GC gc, int ts_x_origin, int ts_y_origin)); /* 66 */
1133 void (*xChangeGC) _ANSI_ARGS_((Display * d, GC gc, unsigned long mask, XGCValues * values)); /* 67 */
1134 void (*xSetFont) _ANSI_ARGS_((Display * display, GC gc, Font font)); /* 68 */
1135 void (*xSetArcMode) _ANSI_ARGS_((Display * display, GC gc, int arc_mode)); /* 69 */
1136 void (*xSetStipple) _ANSI_ARGS_((Display * display, GC gc, Pixmap stipple)); /* 70 */
1137 void (*xSetFillRule) _ANSI_ARGS_((Display * display, GC gc, int fill_rule)); /* 71 */
1138 void (*xSetFillStyle) _ANSI_ARGS_((Display * display, GC gc, int fill_style)); /* 72 */
1139 void (*xSetFunction) _ANSI_ARGS_((Display * display, GC gc, int function)); /* 73 */
1140 void (*xSetLineAttributes) _ANSI_ARGS_((Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)); /* 74 */
1141 int (*_XInitImageFuncPtrs) _ANSI_ARGS_((XImage * image)); /* 75 */
1142 XIC (*xCreateIC) _ANSI_ARGS_((void)); /* 76 */
1143 XVisualInfo * (*xGetVisualInfo) _ANSI_ARGS_((Display* display, long vinfo_mask, XVisualInfo* vinfo_template, int* nitems_return)); /* 77 */
1144 void (*xSetWMClientMachine) _ANSI_ARGS_((Display* display, Window w, XTextProperty* text_prop)); /* 78 */
1145 Status (*xStringListToTextProperty) _ANSI_ARGS_((char** list, int count, XTextProperty* text_prop_return)); /* 79 */
1146 void (*xDrawSegments) _ANSI_ARGS_((Display * display, Drawable d, GC gc, XSegment * segments, int nsegments)); /* 80 */
1147 void (*xForceScreenSaver) _ANSI_ARGS_((Display* display, int mode)); /* 81 */
1148 void (*xDrawLine) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 82 */
1149 void (*xFillRectangle) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 83 */
1150 void (*xClearWindow) _ANSI_ARGS_((Display* d, Window w)); /* 84 */
1151 void (*xDrawPoint) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y)); /* 85 */
1152 void (*xDrawPoints) _ANSI_ARGS_((Display* display, Drawable d, GC gc, XPoint * points, int npoints, int mode)); /* 86 */
1153 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 */
1154 void (*xQueryColor) _ANSI_ARGS_((Display * display, Colormap colormap, XColor * def_in_out)); /* 88 */
1155 void (*xQueryColors) _ANSI_ARGS_((Display * display, Colormap colormap, XColor * defs_in_out, int ncolors)); /* 89 */
1156 Status (*xQueryTree) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, Window** w4, unsigned int* ui)); /* 90 */
1157 #endif /* MAC_TCL */
1158 #ifdef MAC_OSX_TK
1159 void (*xSetDashes) _ANSI_ARGS_((Display* display, GC gc, int dash_offset, _Xconst char* dash_list, int n)); /* 0 */
1160 XModifierKeymap* (*xGetModifierMapping) _ANSI_ARGS_((Display* d)); /* 1 */
1161 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 */
1162 XImage * (*xGetImage) _ANSI_ARGS_((Display* d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3)); /* 3 */
1163 char * (*xGetAtomName) _ANSI_ARGS_((Display* d, Atom a)); /* 4 */
1164 char * (*xKeysymToString) _ANSI_ARGS_((KeySym k)); /* 5 */
1165 Colormap (*xCreateColormap) _ANSI_ARGS_((Display* d, Window w, Visual* v, int i)); /* 6 */
1166 GContext (*xGContextFromGC) _ANSI_ARGS_((GC g)); /* 7 */
1167 KeySym (*xKeycodeToKeysym) _ANSI_ARGS_((Display* d, KeyCode k, int i)); /* 8 */
1168 KeySym (*xStringToKeysym) _ANSI_ARGS_((_Xconst char* c)); /* 9 */
1169 Window (*xRootWindow) _ANSI_ARGS_((Display* d, int i)); /* 10 */
1170 XErrorHandler (*xSetErrorHandler) _ANSI_ARGS_((XErrorHandler x)); /* 11 */
1171 Status (*xAllocColor) _ANSI_ARGS_((Display* d, Colormap c, XColor* xp)); /* 12 */
1172 void (*xBell) _ANSI_ARGS_((Display* d, int i)); /* 13 */
1173 void (*xChangeProperty) _ANSI_ARGS_((Display* d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char* c, int i3)); /* 14 */
1174 void (*xChangeWindowAttributes) _ANSI_ARGS_((Display* d, Window w, unsigned long ul, XSetWindowAttributes* x)); /* 15 */
1175 void (*xConfigureWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int i, XWindowChanges* x)); /* 16 */
1176 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 */
1177 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 */
1178 Pixmap (*xCreateBitmapFromData) _ANSI_ARGS_((Display* display, Drawable d, _Xconst char* data, unsigned int width, unsigned int height)); /* 19 */
1179 void (*xDefineCursor) _ANSI_ARGS_((Display* d, Window w, Cursor c)); /* 20 */
1180 void (*xDestroyWindow) _ANSI_ARGS_((Display* d, Window w)); /* 21 */
1181 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 */
1182 void (*xDrawLines) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2)); /* 23 */
1183 void (*xDrawRectangle) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 24 */
1184 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 */
1185 void (*xFillPolygon) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XPoint* x, int i1, int i2, int i3)); /* 26 */
1186 void (*xFillRectangles) _ANSI_ARGS_((Display* d, Drawable dr, GC g, XRectangle* x, int i)); /* 27 */
1187 void (*xFreeColormap) _ANSI_ARGS_((Display* d, Colormap c)); /* 28 */
1188 void (*xFreeColors) _ANSI_ARGS_((Display* d, Colormap c, unsigned long* ulp, int i, unsigned long ul)); /* 29 */
1189 void (*xFreeModifiermap) _ANSI_ARGS_((XModifierKeymap* x)); /* 30 */
1190 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 */
1191 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 */
1192 int (*xGrabKeyboard) _ANSI_ARGS_((Display* d, Window w, Bool b, int i1, int i2, Time t)); /* 33 */
1193 int (*xGrabPointer) _ANSI_ARGS_((Display* d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t)); /* 34 */
1194 KeyCode (*xKeysymToKeycode) _ANSI_ARGS_((Display* d, KeySym k)); /* 35 */
1195 void (*xMapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 36 */
1196 void (*xMoveResizeWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2)); /* 37 */
1197 void (*xMoveWindow) _ANSI_ARGS_((Display* d, Window w, int i1, int i2)); /* 38 */
1198 Bool (*xQueryPointer) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, int* i1, int* i2, int* i3, int* i4, unsigned int* ui)); /* 39 */
1199 void (*xRaiseWindow) _ANSI_ARGS_((Display* d, Window w)); /* 40 */
1200 void (*xRefreshKeyboardMapping) _ANSI_ARGS_((XMappingEvent* x)); /* 41 */
1201 void (*xResizeWindow) _ANSI_ARGS_((Display* d, Window w, unsigned int ui1, unsigned int ui2)); /* 42 */
1202 void (*xSelectInput) _ANSI_ARGS_((Display* d, Window w, long l)); /* 43 */
1203 Status (*xSendEvent) _ANSI_ARGS_((Display* d, Window w, Bool b, long l, XEvent* x)); /* 44 */
1204 void (*xSetIconName) _ANSI_ARGS_((Display* d, Window w, _Xconst char* c)); /* 45 */
1205 void (*xSetInputFocus) _ANSI_ARGS_((Display* d, Window w, int i, Time t)); /* 46 */
1206 void (*xSetSelectionOwner) _ANSI_ARGS_((Display* d, Atom a, Window w, Time t)); /* 47 */
1207 void (*xSetWindowBackground) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 48 */
1208 void (*xSetWindowBackgroundPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 49 */
1209 void (*xSetWindowBorder) _ANSI_ARGS_((Display* d, Window w, unsigned long ul)); /* 50 */
1210 void (*xSetWindowBorderPixmap) _ANSI_ARGS_((Display* d, Window w, Pixmap p)); /* 51 */
1211 void (*xSetWindowBorderWidth) _ANSI_ARGS_((Display* d, Window w, unsigned int ui)); /* 52 */
1212 void (*xSetWindowColormap) _ANSI_ARGS_((Display* d, Window w, Colormap c)); /* 53 */
1213 void (*xUngrabKeyboard) _ANSI_ARGS_((Display* d, Time t)); /* 54 */
1214 void (*xUngrabPointer) _ANSI_ARGS_((Display* d, Time t)); /* 55 */
1215 void (*xUnmapWindow) _ANSI_ARGS_((Display* d, Window w)); /* 56 */
1216 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 */
1217 Status (*xParseColor) _ANSI_ARGS_((Display * display, Colormap map, _Xconst char* spec, XColor * colorPtr)); /* 58 */
1218 GC (*xCreateGC) _ANSI_ARGS_((Display* display, Drawable d, unsigned long valuemask, XGCValues* values)); /* 59 */
1219 void (*xFreeGC) _ANSI_ARGS_((Display* display, GC gc)); /* 60 */
1220 Atom (*xInternAtom) _ANSI_ARGS_((Display* display, _Xconst char* atom_name, Bool only_if_exists)); /* 61 */
1221 void (*xSetBackground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 62 */
1222 void (*xSetForeground) _ANSI_ARGS_((Display* display, GC gc, unsigned long foreground)); /* 63 */
1223 void (*xSetClipMask) _ANSI_ARGS_((Display* display, GC gc, Pixmap pixmap)); /* 64 */
1224 void (*xSetClipOrigin) _ANSI_ARGS_((Display* display, GC gc, int clip_x_origin, int clip_y_origin)); /* 65 */
1225 void (*xSetTSOrigin) _ANSI_ARGS_((Display* display, GC gc, int ts_x_origin, int ts_y_origin)); /* 66 */
1226 void (*xChangeGC) _ANSI_ARGS_((Display * d, GC gc, unsigned long mask, XGCValues * values)); /* 67 */
1227 void (*xSetFont) _ANSI_ARGS_((Display * display, GC gc, Font font)); /* 68 */
1228 void (*xSetArcMode) _ANSI_ARGS_((Display * display, GC gc, int arc_mode)); /* 69 */
1229 void (*xSetStipple) _ANSI_ARGS_((Display * display, GC gc, Pixmap stipple)); /* 70 */
1230 void (*xSetFillRule) _ANSI_ARGS_((Display * display, GC gc, int fill_rule)); /* 71 */
1231 void (*xSetFillStyle) _ANSI_ARGS_((Display * display, GC gc, int fill_style)); /* 72 */
1232 void (*xSetFunction) _ANSI_ARGS_((Display * display, GC gc, int function)); /* 73 */
1233 void (*xSetLineAttributes) _ANSI_ARGS_((Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style)); /* 74 */
1234 int (*_XInitImageFuncPtrs) _ANSI_ARGS_((XImage * image)); /* 75 */
1235 XIC (*xCreateIC) _ANSI_ARGS_((void)); /* 76 */
1236 XVisualInfo * (*xGetVisualInfo) _ANSI_ARGS_((Display* display, long vinfo_mask, XVisualInfo* vinfo_template, int* nitems_return)); /* 77 */
1237 void (*xSetWMClientMachine) _ANSI_ARGS_((Display* display, Window w, XTextProperty* text_prop)); /* 78 */
1238 Status (*xStringListToTextProperty) _ANSI_ARGS_((char** list, int count, XTextProperty* text_prop_return)); /* 79 */
1239 void (*xDrawSegments) _ANSI_ARGS_((Display * display, Drawable d, GC gc, XSegment * segments, int nsegments)); /* 80 */
1240 void (*xForceScreenSaver) _ANSI_ARGS_((Display* display, int mode)); /* 81 */
1241 void (*xDrawLine) _ANSI_ARGS_((Display* d, Drawable dr, GC g, int x1, int y1, int x2, int y2)); /* 82 */
1242 void (*xFillRectangle) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height)); /* 83 */
1243 void (*xClearWindow) _ANSI_ARGS_((Display* d, Window w)); /* 84 */
1244 void (*xDrawPoint) _ANSI_ARGS_((Display* display, Drawable d, GC gc, int x, int y)); /* 85 */
1245 void (*xDrawPoints) _ANSI_ARGS_((Display* display, Drawable d, GC gc, XPoint * points, int npoints, int mode)); /* 86 */
1246 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 */
1247 void (*xQueryColor) _ANSI_ARGS_((Display * display, Colormap colormap, XColor * def_in_out)); /* 88 */
1248 void (*xQueryColors) _ANSI_ARGS_((Display * display, Colormap colormap, XColor * defs_in_out, int ncolors)); /* 89 */
1249 Status (*xQueryTree) _ANSI_ARGS_((Display* d, Window w1, Window* w2, Window* w3, Window** w4, unsigned int* ui)); /* 90 */
1250 int (*xSync) _ANSI_ARGS_((Display * display, Bool flag)); /* 91 */
1251 #endif /* MAC_OSX_TK */
1252 } TkIntXlibStubs;
1254 #ifdef __cplusplus
1255 extern "C" {
1256 #endif
1257 extern TkIntXlibStubs *tkIntXlibStubsPtr;
1258 #ifdef __cplusplus
1260 #endif
1262 #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)
1265 * Inline function declarations:
1268 #ifdef __WIN32__
1269 #ifndef XSetDashes
1270 #define XSetDashes \
1271 (tkIntXlibStubsPtr->xSetDashes) /* 0 */
1272 #endif
1273 #ifndef XGetModifierMapping
1274 #define XGetModifierMapping \
1275 (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */
1276 #endif
1277 #ifndef XCreateImage
1278 #define XCreateImage \
1279 (tkIntXlibStubsPtr->xCreateImage) /* 2 */
1280 #endif
1281 #ifndef XGetImage
1282 #define XGetImage \
1283 (tkIntXlibStubsPtr->xGetImage) /* 3 */
1284 #endif
1285 #ifndef XGetAtomName
1286 #define XGetAtomName \
1287 (tkIntXlibStubsPtr->xGetAtomName) /* 4 */
1288 #endif
1289 #ifndef XKeysymToString
1290 #define XKeysymToString \
1291 (tkIntXlibStubsPtr->xKeysymToString) /* 5 */
1292 #endif
1293 #ifndef XCreateColormap
1294 #define XCreateColormap \
1295 (tkIntXlibStubsPtr->xCreateColormap) /* 6 */
1296 #endif
1297 #ifndef XCreatePixmapCursor
1298 #define XCreatePixmapCursor \
1299 (tkIntXlibStubsPtr->xCreatePixmapCursor) /* 7 */
1300 #endif
1301 #ifndef XCreateGlyphCursor
1302 #define XCreateGlyphCursor \
1303 (tkIntXlibStubsPtr->xCreateGlyphCursor) /* 8 */
1304 #endif
1305 #ifndef XGContextFromGC
1306 #define XGContextFromGC \
1307 (tkIntXlibStubsPtr->xGContextFromGC) /* 9 */
1308 #endif
1309 #ifndef XListHosts
1310 #define XListHosts \
1311 (tkIntXlibStubsPtr->xListHosts) /* 10 */
1312 #endif
1313 #ifndef XKeycodeToKeysym
1314 #define XKeycodeToKeysym \
1315 (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 11 */
1316 #endif
1317 #ifndef XStringToKeysym
1318 #define XStringToKeysym \
1319 (tkIntXlibStubsPtr->xStringToKeysym) /* 12 */
1320 #endif
1321 #ifndef XRootWindow
1322 #define XRootWindow \
1323 (tkIntXlibStubsPtr->xRootWindow) /* 13 */
1324 #endif
1325 #ifndef XSetErrorHandler
1326 #define XSetErrorHandler \
1327 (tkIntXlibStubsPtr->xSetErrorHandler) /* 14 */
1328 #endif
1329 #ifndef XIconifyWindow
1330 #define XIconifyWindow \
1331 (tkIntXlibStubsPtr->xIconifyWindow) /* 15 */
1332 #endif
1333 #ifndef XWithdrawWindow
1334 #define XWithdrawWindow \
1335 (tkIntXlibStubsPtr->xWithdrawWindow) /* 16 */
1336 #endif
1337 #ifndef XGetWMColormapWindows
1338 #define XGetWMColormapWindows \
1339 (tkIntXlibStubsPtr->xGetWMColormapWindows) /* 17 */
1340 #endif
1341 #ifndef XAllocColor
1342 #define XAllocColor \
1343 (tkIntXlibStubsPtr->xAllocColor) /* 18 */
1344 #endif
1345 #ifndef XBell
1346 #define XBell \
1347 (tkIntXlibStubsPtr->xBell) /* 19 */
1348 #endif
1349 #ifndef XChangeProperty
1350 #define XChangeProperty \
1351 (tkIntXlibStubsPtr->xChangeProperty) /* 20 */
1352 #endif
1353 #ifndef XChangeWindowAttributes
1354 #define XChangeWindowAttributes \
1355 (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 21 */
1356 #endif
1357 #ifndef XClearWindow
1358 #define XClearWindow \
1359 (tkIntXlibStubsPtr->xClearWindow) /* 22 */
1360 #endif
1361 #ifndef XConfigureWindow
1362 #define XConfigureWindow \
1363 (tkIntXlibStubsPtr->xConfigureWindow) /* 23 */
1364 #endif
1365 #ifndef XCopyArea
1366 #define XCopyArea \
1367 (tkIntXlibStubsPtr->xCopyArea) /* 24 */
1368 #endif
1369 #ifndef XCopyPlane
1370 #define XCopyPlane \
1371 (tkIntXlibStubsPtr->xCopyPlane) /* 25 */
1372 #endif
1373 #ifndef XCreateBitmapFromData
1374 #define XCreateBitmapFromData \
1375 (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 26 */
1376 #endif
1377 #ifndef XDefineCursor
1378 #define XDefineCursor \
1379 (tkIntXlibStubsPtr->xDefineCursor) /* 27 */
1380 #endif
1381 #ifndef XDeleteProperty
1382 #define XDeleteProperty \
1383 (tkIntXlibStubsPtr->xDeleteProperty) /* 28 */
1384 #endif
1385 #ifndef XDestroyWindow
1386 #define XDestroyWindow \
1387 (tkIntXlibStubsPtr->xDestroyWindow) /* 29 */
1388 #endif
1389 #ifndef XDrawArc
1390 #define XDrawArc \
1391 (tkIntXlibStubsPtr->xDrawArc) /* 30 */
1392 #endif
1393 #ifndef XDrawLines
1394 #define XDrawLines \
1395 (tkIntXlibStubsPtr->xDrawLines) /* 31 */
1396 #endif
1397 #ifndef XDrawRectangle
1398 #define XDrawRectangle \
1399 (tkIntXlibStubsPtr->xDrawRectangle) /* 32 */
1400 #endif
1401 #ifndef XFillArc
1402 #define XFillArc \
1403 (tkIntXlibStubsPtr->xFillArc) /* 33 */
1404 #endif
1405 #ifndef XFillPolygon
1406 #define XFillPolygon \
1407 (tkIntXlibStubsPtr->xFillPolygon) /* 34 */
1408 #endif
1409 #ifndef XFillRectangles
1410 #define XFillRectangles \
1411 (tkIntXlibStubsPtr->xFillRectangles) /* 35 */
1412 #endif
1413 #ifndef XForceScreenSaver
1414 #define XForceScreenSaver \
1415 (tkIntXlibStubsPtr->xForceScreenSaver) /* 36 */
1416 #endif
1417 #ifndef XFreeColormap
1418 #define XFreeColormap \
1419 (tkIntXlibStubsPtr->xFreeColormap) /* 37 */
1420 #endif
1421 #ifndef XFreeColors
1422 #define XFreeColors \
1423 (tkIntXlibStubsPtr->xFreeColors) /* 38 */
1424 #endif
1425 #ifndef XFreeCursor
1426 #define XFreeCursor \
1427 (tkIntXlibStubsPtr->xFreeCursor) /* 39 */
1428 #endif
1429 #ifndef XFreeModifiermap
1430 #define XFreeModifiermap \
1431 (tkIntXlibStubsPtr->xFreeModifiermap) /* 40 */
1432 #endif
1433 #ifndef XGetGeometry
1434 #define XGetGeometry \
1435 (tkIntXlibStubsPtr->xGetGeometry) /* 41 */
1436 #endif
1437 #ifndef XGetInputFocus
1438 #define XGetInputFocus \
1439 (tkIntXlibStubsPtr->xGetInputFocus) /* 42 */
1440 #endif
1441 #ifndef XGetWindowProperty
1442 #define XGetWindowProperty \
1443 (tkIntXlibStubsPtr->xGetWindowProperty) /* 43 */
1444 #endif
1445 #ifndef XGetWindowAttributes
1446 #define XGetWindowAttributes \
1447 (tkIntXlibStubsPtr->xGetWindowAttributes) /* 44 */
1448 #endif
1449 #ifndef XGrabKeyboard
1450 #define XGrabKeyboard \
1451 (tkIntXlibStubsPtr->xGrabKeyboard) /* 45 */
1452 #endif
1453 #ifndef XGrabPointer
1454 #define XGrabPointer \
1455 (tkIntXlibStubsPtr->xGrabPointer) /* 46 */
1456 #endif
1457 #ifndef XKeysymToKeycode
1458 #define XKeysymToKeycode \
1459 (tkIntXlibStubsPtr->xKeysymToKeycode) /* 47 */
1460 #endif
1461 #ifndef XLookupColor
1462 #define XLookupColor \
1463 (tkIntXlibStubsPtr->xLookupColor) /* 48 */
1464 #endif
1465 #ifndef XMapWindow
1466 #define XMapWindow \
1467 (tkIntXlibStubsPtr->xMapWindow) /* 49 */
1468 #endif
1469 #ifndef XMoveResizeWindow
1470 #define XMoveResizeWindow \
1471 (tkIntXlibStubsPtr->xMoveResizeWindow) /* 50 */
1472 #endif
1473 #ifndef XMoveWindow
1474 #define XMoveWindow \
1475 (tkIntXlibStubsPtr->xMoveWindow) /* 51 */
1476 #endif
1477 #ifndef XNextEvent
1478 #define XNextEvent \
1479 (tkIntXlibStubsPtr->xNextEvent) /* 52 */
1480 #endif
1481 #ifndef XPutBackEvent
1482 #define XPutBackEvent \
1483 (tkIntXlibStubsPtr->xPutBackEvent) /* 53 */
1484 #endif
1485 #ifndef XQueryColors
1486 #define XQueryColors \
1487 (tkIntXlibStubsPtr->xQueryColors) /* 54 */
1488 #endif
1489 #ifndef XQueryPointer
1490 #define XQueryPointer \
1491 (tkIntXlibStubsPtr->xQueryPointer) /* 55 */
1492 #endif
1493 #ifndef XQueryTree
1494 #define XQueryTree \
1495 (tkIntXlibStubsPtr->xQueryTree) /* 56 */
1496 #endif
1497 #ifndef XRaiseWindow
1498 #define XRaiseWindow \
1499 (tkIntXlibStubsPtr->xRaiseWindow) /* 57 */
1500 #endif
1501 #ifndef XRefreshKeyboardMapping
1502 #define XRefreshKeyboardMapping \
1503 (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 58 */
1504 #endif
1505 #ifndef XResizeWindow
1506 #define XResizeWindow \
1507 (tkIntXlibStubsPtr->xResizeWindow) /* 59 */
1508 #endif
1509 #ifndef XSelectInput
1510 #define XSelectInput \
1511 (tkIntXlibStubsPtr->xSelectInput) /* 60 */
1512 #endif
1513 #ifndef XSendEvent
1514 #define XSendEvent \
1515 (tkIntXlibStubsPtr->xSendEvent) /* 61 */
1516 #endif
1517 #ifndef XSetCommand
1518 #define XSetCommand \
1519 (tkIntXlibStubsPtr->xSetCommand) /* 62 */
1520 #endif
1521 #ifndef XSetIconName
1522 #define XSetIconName \
1523 (tkIntXlibStubsPtr->xSetIconName) /* 63 */
1524 #endif
1525 #ifndef XSetInputFocus
1526 #define XSetInputFocus \
1527 (tkIntXlibStubsPtr->xSetInputFocus) /* 64 */
1528 #endif
1529 #ifndef XSetSelectionOwner
1530 #define XSetSelectionOwner \
1531 (tkIntXlibStubsPtr->xSetSelectionOwner) /* 65 */
1532 #endif
1533 #ifndef XSetWindowBackground
1534 #define XSetWindowBackground \
1535 (tkIntXlibStubsPtr->xSetWindowBackground) /* 66 */
1536 #endif
1537 #ifndef XSetWindowBackgroundPixmap
1538 #define XSetWindowBackgroundPixmap \
1539 (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 67 */
1540 #endif
1541 #ifndef XSetWindowBorder
1542 #define XSetWindowBorder \
1543 (tkIntXlibStubsPtr->xSetWindowBorder) /* 68 */
1544 #endif
1545 #ifndef XSetWindowBorderPixmap
1546 #define XSetWindowBorderPixmap \
1547 (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 69 */
1548 #endif
1549 #ifndef XSetWindowBorderWidth
1550 #define XSetWindowBorderWidth \
1551 (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 70 */
1552 #endif
1553 #ifndef XSetWindowColormap
1554 #define XSetWindowColormap \
1555 (tkIntXlibStubsPtr->xSetWindowColormap) /* 71 */
1556 #endif
1557 #ifndef XTranslateCoordinates
1558 #define XTranslateCoordinates \
1559 (tkIntXlibStubsPtr->xTranslateCoordinates) /* 72 */
1560 #endif
1561 #ifndef XUngrabKeyboard
1562 #define XUngrabKeyboard \
1563 (tkIntXlibStubsPtr->xUngrabKeyboard) /* 73 */
1564 #endif
1565 #ifndef XUngrabPointer
1566 #define XUngrabPointer \
1567 (tkIntXlibStubsPtr->xUngrabPointer) /* 74 */
1568 #endif
1569 #ifndef XUnmapWindow
1570 #define XUnmapWindow \
1571 (tkIntXlibStubsPtr->xUnmapWindow) /* 75 */
1572 #endif
1573 #ifndef XWindowEvent
1574 #define XWindowEvent \
1575 (tkIntXlibStubsPtr->xWindowEvent) /* 76 */
1576 #endif
1577 #ifndef XDestroyIC
1578 #define XDestroyIC \
1579 (tkIntXlibStubsPtr->xDestroyIC) /* 77 */
1580 #endif
1581 #ifndef XFilterEvent
1582 #define XFilterEvent \
1583 (tkIntXlibStubsPtr->xFilterEvent) /* 78 */
1584 #endif
1585 #ifndef XmbLookupString
1586 #define XmbLookupString \
1587 (tkIntXlibStubsPtr->xmbLookupString) /* 79 */
1588 #endif
1589 #ifndef TkPutImage
1590 #define TkPutImage \
1591 (tkIntXlibStubsPtr->tkPutImage) /* 80 */
1592 #endif
1593 /* Slot 81 is reserved */
1594 #ifndef XParseColor
1595 #define XParseColor \
1596 (tkIntXlibStubsPtr->xParseColor) /* 82 */
1597 #endif
1598 #ifndef XCreateGC
1599 #define XCreateGC \
1600 (tkIntXlibStubsPtr->xCreateGC) /* 83 */
1601 #endif
1602 #ifndef XFreeGC
1603 #define XFreeGC \
1604 (tkIntXlibStubsPtr->xFreeGC) /* 84 */
1605 #endif
1606 #ifndef XInternAtom
1607 #define XInternAtom \
1608 (tkIntXlibStubsPtr->xInternAtom) /* 85 */
1609 #endif
1610 #ifndef XSetBackground
1611 #define XSetBackground \
1612 (tkIntXlibStubsPtr->xSetBackground) /* 86 */
1613 #endif
1614 #ifndef XSetForeground
1615 #define XSetForeground \
1616 (tkIntXlibStubsPtr->xSetForeground) /* 87 */
1617 #endif
1618 #ifndef XSetClipMask
1619 #define XSetClipMask \
1620 (tkIntXlibStubsPtr->xSetClipMask) /* 88 */
1621 #endif
1622 #ifndef XSetClipOrigin
1623 #define XSetClipOrigin \
1624 (tkIntXlibStubsPtr->xSetClipOrigin) /* 89 */
1625 #endif
1626 #ifndef XSetTSOrigin
1627 #define XSetTSOrigin \
1628 (tkIntXlibStubsPtr->xSetTSOrigin) /* 90 */
1629 #endif
1630 #ifndef XChangeGC
1631 #define XChangeGC \
1632 (tkIntXlibStubsPtr->xChangeGC) /* 91 */
1633 #endif
1634 #ifndef XSetFont
1635 #define XSetFont \
1636 (tkIntXlibStubsPtr->xSetFont) /* 92 */
1637 #endif
1638 #ifndef XSetArcMode
1639 #define XSetArcMode \
1640 (tkIntXlibStubsPtr->xSetArcMode) /* 93 */
1641 #endif
1642 #ifndef XSetStipple
1643 #define XSetStipple \
1644 (tkIntXlibStubsPtr->xSetStipple) /* 94 */
1645 #endif
1646 #ifndef XSetFillRule
1647 #define XSetFillRule \
1648 (tkIntXlibStubsPtr->xSetFillRule) /* 95 */
1649 #endif
1650 #ifndef XSetFillStyle
1651 #define XSetFillStyle \
1652 (tkIntXlibStubsPtr->xSetFillStyle) /* 96 */
1653 #endif
1654 #ifndef XSetFunction
1655 #define XSetFunction \
1656 (tkIntXlibStubsPtr->xSetFunction) /* 97 */
1657 #endif
1658 #ifndef XSetLineAttributes
1659 #define XSetLineAttributes \
1660 (tkIntXlibStubsPtr->xSetLineAttributes) /* 98 */
1661 #endif
1662 #ifndef _XInitImageFuncPtrs
1663 #define _XInitImageFuncPtrs \
1664 (tkIntXlibStubsPtr->_XInitImageFuncPtrs) /* 99 */
1665 #endif
1666 #ifndef XCreateIC
1667 #define XCreateIC \
1668 (tkIntXlibStubsPtr->xCreateIC) /* 100 */
1669 #endif
1670 #ifndef XGetVisualInfo
1671 #define XGetVisualInfo \
1672 (tkIntXlibStubsPtr->xGetVisualInfo) /* 101 */
1673 #endif
1674 #ifndef XSetWMClientMachine
1675 #define XSetWMClientMachine \
1676 (tkIntXlibStubsPtr->xSetWMClientMachine) /* 102 */
1677 #endif
1678 #ifndef XStringListToTextProperty
1679 #define XStringListToTextProperty \
1680 (tkIntXlibStubsPtr->xStringListToTextProperty) /* 103 */
1681 #endif
1682 #ifndef XDrawLine
1683 #define XDrawLine \
1684 (tkIntXlibStubsPtr->xDrawLine) /* 104 */
1685 #endif
1686 #ifndef XWarpPointer
1687 #define XWarpPointer \
1688 (tkIntXlibStubsPtr->xWarpPointer) /* 105 */
1689 #endif
1690 #ifndef XFillRectangle
1691 #define XFillRectangle \
1692 (tkIntXlibStubsPtr->xFillRectangle) /* 106 */
1693 #endif
1694 #endif /* __WIN32__ */
1695 #ifdef MAC_TCL
1696 #ifndef XSetDashes
1697 #define XSetDashes \
1698 (tkIntXlibStubsPtr->xSetDashes) /* 0 */
1699 #endif
1700 #ifndef XGetModifierMapping
1701 #define XGetModifierMapping \
1702 (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */
1703 #endif
1704 #ifndef XCreateImage
1705 #define XCreateImage \
1706 (tkIntXlibStubsPtr->xCreateImage) /* 2 */
1707 #endif
1708 #ifndef XGetImage
1709 #define XGetImage \
1710 (tkIntXlibStubsPtr->xGetImage) /* 3 */
1711 #endif
1712 #ifndef XGetAtomName
1713 #define XGetAtomName \
1714 (tkIntXlibStubsPtr->xGetAtomName) /* 4 */
1715 #endif
1716 #ifndef XKeysymToString
1717 #define XKeysymToString \
1718 (tkIntXlibStubsPtr->xKeysymToString) /* 5 */
1719 #endif
1720 #ifndef XCreateColormap
1721 #define XCreateColormap \
1722 (tkIntXlibStubsPtr->xCreateColormap) /* 6 */
1723 #endif
1724 #ifndef XGContextFromGC
1725 #define XGContextFromGC \
1726 (tkIntXlibStubsPtr->xGContextFromGC) /* 7 */
1727 #endif
1728 #ifndef XKeycodeToKeysym
1729 #define XKeycodeToKeysym \
1730 (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 8 */
1731 #endif
1732 #ifndef XStringToKeysym
1733 #define XStringToKeysym \
1734 (tkIntXlibStubsPtr->xStringToKeysym) /* 9 */
1735 #endif
1736 #ifndef XRootWindow
1737 #define XRootWindow \
1738 (tkIntXlibStubsPtr->xRootWindow) /* 10 */
1739 #endif
1740 #ifndef XSetErrorHandler
1741 #define XSetErrorHandler \
1742 (tkIntXlibStubsPtr->xSetErrorHandler) /* 11 */
1743 #endif
1744 #ifndef XAllocColor
1745 #define XAllocColor \
1746 (tkIntXlibStubsPtr->xAllocColor) /* 12 */
1747 #endif
1748 #ifndef XBell
1749 #define XBell \
1750 (tkIntXlibStubsPtr->xBell) /* 13 */
1751 #endif
1752 #ifndef XChangeProperty
1753 #define XChangeProperty \
1754 (tkIntXlibStubsPtr->xChangeProperty) /* 14 */
1755 #endif
1756 #ifndef XChangeWindowAttributes
1757 #define XChangeWindowAttributes \
1758 (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 15 */
1759 #endif
1760 #ifndef XConfigureWindow
1761 #define XConfigureWindow \
1762 (tkIntXlibStubsPtr->xConfigureWindow) /* 16 */
1763 #endif
1764 #ifndef XCopyArea
1765 #define XCopyArea \
1766 (tkIntXlibStubsPtr->xCopyArea) /* 17 */
1767 #endif
1768 #ifndef XCopyPlane
1769 #define XCopyPlane \
1770 (tkIntXlibStubsPtr->xCopyPlane) /* 18 */
1771 #endif
1772 #ifndef XCreateBitmapFromData
1773 #define XCreateBitmapFromData \
1774 (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 19 */
1775 #endif
1776 #ifndef XDefineCursor
1777 #define XDefineCursor \
1778 (tkIntXlibStubsPtr->xDefineCursor) /* 20 */
1779 #endif
1780 #ifndef XDestroyWindow
1781 #define XDestroyWindow \
1782 (tkIntXlibStubsPtr->xDestroyWindow) /* 21 */
1783 #endif
1784 #ifndef XDrawArc
1785 #define XDrawArc \
1786 (tkIntXlibStubsPtr->xDrawArc) /* 22 */
1787 #endif
1788 #ifndef XDrawLines
1789 #define XDrawLines \
1790 (tkIntXlibStubsPtr->xDrawLines) /* 23 */
1791 #endif
1792 #ifndef XDrawRectangle
1793 #define XDrawRectangle \
1794 (tkIntXlibStubsPtr->xDrawRectangle) /* 24 */
1795 #endif
1796 #ifndef XFillArc
1797 #define XFillArc \
1798 (tkIntXlibStubsPtr->xFillArc) /* 25 */
1799 #endif
1800 #ifndef XFillPolygon
1801 #define XFillPolygon \
1802 (tkIntXlibStubsPtr->xFillPolygon) /* 26 */
1803 #endif
1804 #ifndef XFillRectangles
1805 #define XFillRectangles \
1806 (tkIntXlibStubsPtr->xFillRectangles) /* 27 */
1807 #endif
1808 #ifndef XFreeColormap
1809 #define XFreeColormap \
1810 (tkIntXlibStubsPtr->xFreeColormap) /* 28 */
1811 #endif
1812 #ifndef XFreeColors
1813 #define XFreeColors \
1814 (tkIntXlibStubsPtr->xFreeColors) /* 29 */
1815 #endif
1816 #ifndef XFreeModifiermap
1817 #define XFreeModifiermap \
1818 (tkIntXlibStubsPtr->xFreeModifiermap) /* 30 */
1819 #endif
1820 #ifndef XGetGeometry
1821 #define XGetGeometry \
1822 (tkIntXlibStubsPtr->xGetGeometry) /* 31 */
1823 #endif
1824 #ifndef XGetWindowProperty
1825 #define XGetWindowProperty \
1826 (tkIntXlibStubsPtr->xGetWindowProperty) /* 32 */
1827 #endif
1828 #ifndef XGrabKeyboard
1829 #define XGrabKeyboard \
1830 (tkIntXlibStubsPtr->xGrabKeyboard) /* 33 */
1831 #endif
1832 #ifndef XGrabPointer
1833 #define XGrabPointer \
1834 (tkIntXlibStubsPtr->xGrabPointer) /* 34 */
1835 #endif
1836 #ifndef XKeysymToKeycode
1837 #define XKeysymToKeycode \
1838 (tkIntXlibStubsPtr->xKeysymToKeycode) /* 35 */
1839 #endif
1840 #ifndef XMapWindow
1841 #define XMapWindow \
1842 (tkIntXlibStubsPtr->xMapWindow) /* 36 */
1843 #endif
1844 #ifndef XMoveResizeWindow
1845 #define XMoveResizeWindow \
1846 (tkIntXlibStubsPtr->xMoveResizeWindow) /* 37 */
1847 #endif
1848 #ifndef XMoveWindow
1849 #define XMoveWindow \
1850 (tkIntXlibStubsPtr->xMoveWindow) /* 38 */
1851 #endif
1852 #ifndef XQueryPointer
1853 #define XQueryPointer \
1854 (tkIntXlibStubsPtr->xQueryPointer) /* 39 */
1855 #endif
1856 #ifndef XRaiseWindow
1857 #define XRaiseWindow \
1858 (tkIntXlibStubsPtr->xRaiseWindow) /* 40 */
1859 #endif
1860 #ifndef XRefreshKeyboardMapping
1861 #define XRefreshKeyboardMapping \
1862 (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 41 */
1863 #endif
1864 #ifndef XResizeWindow
1865 #define XResizeWindow \
1866 (tkIntXlibStubsPtr->xResizeWindow) /* 42 */
1867 #endif
1868 #ifndef XSelectInput
1869 #define XSelectInput \
1870 (tkIntXlibStubsPtr->xSelectInput) /* 43 */
1871 #endif
1872 #ifndef XSendEvent
1873 #define XSendEvent \
1874 (tkIntXlibStubsPtr->xSendEvent) /* 44 */
1875 #endif
1876 #ifndef XSetIconName
1877 #define XSetIconName \
1878 (tkIntXlibStubsPtr->xSetIconName) /* 45 */
1879 #endif
1880 #ifndef XSetInputFocus
1881 #define XSetInputFocus \
1882 (tkIntXlibStubsPtr->xSetInputFocus) /* 46 */
1883 #endif
1884 #ifndef XSetSelectionOwner
1885 #define XSetSelectionOwner \
1886 (tkIntXlibStubsPtr->xSetSelectionOwner) /* 47 */
1887 #endif
1888 #ifndef XSetWindowBackground
1889 #define XSetWindowBackground \
1890 (tkIntXlibStubsPtr->xSetWindowBackground) /* 48 */
1891 #endif
1892 #ifndef XSetWindowBackgroundPixmap
1893 #define XSetWindowBackgroundPixmap \
1894 (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 49 */
1895 #endif
1896 #ifndef XSetWindowBorder
1897 #define XSetWindowBorder \
1898 (tkIntXlibStubsPtr->xSetWindowBorder) /* 50 */
1899 #endif
1900 #ifndef XSetWindowBorderPixmap
1901 #define XSetWindowBorderPixmap \
1902 (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 51 */
1903 #endif
1904 #ifndef XSetWindowBorderWidth
1905 #define XSetWindowBorderWidth \
1906 (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 52 */
1907 #endif
1908 #ifndef XSetWindowColormap
1909 #define XSetWindowColormap \
1910 (tkIntXlibStubsPtr->xSetWindowColormap) /* 53 */
1911 #endif
1912 #ifndef XUngrabKeyboard
1913 #define XUngrabKeyboard \
1914 (tkIntXlibStubsPtr->xUngrabKeyboard) /* 54 */
1915 #endif
1916 #ifndef XUngrabPointer
1917 #define XUngrabPointer \
1918 (tkIntXlibStubsPtr->xUngrabPointer) /* 55 */
1919 #endif
1920 #ifndef XUnmapWindow
1921 #define XUnmapWindow \
1922 (tkIntXlibStubsPtr->xUnmapWindow) /* 56 */
1923 #endif
1924 #ifndef TkPutImage
1925 #define TkPutImage \
1926 (tkIntXlibStubsPtr->tkPutImage) /* 57 */
1927 #endif
1928 #ifndef XParseColor
1929 #define XParseColor \
1930 (tkIntXlibStubsPtr->xParseColor) /* 58 */
1931 #endif
1932 #ifndef XCreateGC
1933 #define XCreateGC \
1934 (tkIntXlibStubsPtr->xCreateGC) /* 59 */
1935 #endif
1936 #ifndef XFreeGC
1937 #define XFreeGC \
1938 (tkIntXlibStubsPtr->xFreeGC) /* 60 */
1939 #endif
1940 #ifndef XInternAtom
1941 #define XInternAtom \
1942 (tkIntXlibStubsPtr->xInternAtom) /* 61 */
1943 #endif
1944 #ifndef XSetBackground
1945 #define XSetBackground \
1946 (tkIntXlibStubsPtr->xSetBackground) /* 62 */
1947 #endif
1948 #ifndef XSetForeground
1949 #define XSetForeground \
1950 (tkIntXlibStubsPtr->xSetForeground) /* 63 */
1951 #endif
1952 #ifndef XSetClipMask
1953 #define XSetClipMask \
1954 (tkIntXlibStubsPtr->xSetClipMask) /* 64 */
1955 #endif
1956 #ifndef XSetClipOrigin
1957 #define XSetClipOrigin \
1958 (tkIntXlibStubsPtr->xSetClipOrigin) /* 65 */
1959 #endif
1960 #ifndef XSetTSOrigin
1961 #define XSetTSOrigin \
1962 (tkIntXlibStubsPtr->xSetTSOrigin) /* 66 */
1963 #endif
1964 #ifndef XChangeGC
1965 #define XChangeGC \
1966 (tkIntXlibStubsPtr->xChangeGC) /* 67 */
1967 #endif
1968 #ifndef XSetFont
1969 #define XSetFont \
1970 (tkIntXlibStubsPtr->xSetFont) /* 68 */
1971 #endif
1972 #ifndef XSetArcMode
1973 #define XSetArcMode \
1974 (tkIntXlibStubsPtr->xSetArcMode) /* 69 */
1975 #endif
1976 #ifndef XSetStipple
1977 #define XSetStipple \
1978 (tkIntXlibStubsPtr->xSetStipple) /* 70 */
1979 #endif
1980 #ifndef XSetFillRule
1981 #define XSetFillRule \
1982 (tkIntXlibStubsPtr->xSetFillRule) /* 71 */
1983 #endif
1984 #ifndef XSetFillStyle
1985 #define XSetFillStyle \
1986 (tkIntXlibStubsPtr->xSetFillStyle) /* 72 */
1987 #endif
1988 #ifndef XSetFunction
1989 #define XSetFunction \
1990 (tkIntXlibStubsPtr->xSetFunction) /* 73 */
1991 #endif
1992 #ifndef XSetLineAttributes
1993 #define XSetLineAttributes \
1994 (tkIntXlibStubsPtr->xSetLineAttributes) /* 74 */
1995 #endif
1996 #ifndef _XInitImageFuncPtrs
1997 #define _XInitImageFuncPtrs \
1998 (tkIntXlibStubsPtr->_XInitImageFuncPtrs) /* 75 */
1999 #endif
2000 #ifndef XCreateIC
2001 #define XCreateIC \
2002 (tkIntXlibStubsPtr->xCreateIC) /* 76 */
2003 #endif
2004 #ifndef XGetVisualInfo
2005 #define XGetVisualInfo \
2006 (tkIntXlibStubsPtr->xGetVisualInfo) /* 77 */
2007 #endif
2008 #ifndef XSetWMClientMachine
2009 #define XSetWMClientMachine \
2010 (tkIntXlibStubsPtr->xSetWMClientMachine) /* 78 */
2011 #endif
2012 #ifndef XStringListToTextProperty
2013 #define XStringListToTextProperty \
2014 (tkIntXlibStubsPtr->xStringListToTextProperty) /* 79 */
2015 #endif
2016 #ifndef XDrawSegments
2017 #define XDrawSegments \
2018 (tkIntXlibStubsPtr->xDrawSegments) /* 80 */
2019 #endif
2020 #ifndef XForceScreenSaver
2021 #define XForceScreenSaver \
2022 (tkIntXlibStubsPtr->xForceScreenSaver) /* 81 */
2023 #endif
2024 #ifndef XDrawLine
2025 #define XDrawLine \
2026 (tkIntXlibStubsPtr->xDrawLine) /* 82 */
2027 #endif
2028 #ifndef XFillRectangle
2029 #define XFillRectangle \
2030 (tkIntXlibStubsPtr->xFillRectangle) /* 83 */
2031 #endif
2032 #ifndef XClearWindow
2033 #define XClearWindow \
2034 (tkIntXlibStubsPtr->xClearWindow) /* 84 */
2035 #endif
2036 #ifndef XDrawPoint
2037 #define XDrawPoint \
2038 (tkIntXlibStubsPtr->xDrawPoint) /* 85 */
2039 #endif
2040 #ifndef XDrawPoints
2041 #define XDrawPoints \
2042 (tkIntXlibStubsPtr->xDrawPoints) /* 86 */
2043 #endif
2044 #ifndef XWarpPointer
2045 #define XWarpPointer \
2046 (tkIntXlibStubsPtr->xWarpPointer) /* 87 */
2047 #endif
2048 #ifndef XQueryColor
2049 #define XQueryColor \
2050 (tkIntXlibStubsPtr->xQueryColor) /* 88 */
2051 #endif
2052 #ifndef XQueryColors
2053 #define XQueryColors \
2054 (tkIntXlibStubsPtr->xQueryColors) /* 89 */
2055 #endif
2056 #ifndef XQueryTree
2057 #define XQueryTree \
2058 (tkIntXlibStubsPtr->xQueryTree) /* 90 */
2059 #endif
2060 #endif /* MAC_TCL */
2061 #ifdef MAC_OSX_TK
2062 #ifndef XSetDashes
2063 #define XSetDashes \
2064 (tkIntXlibStubsPtr->xSetDashes) /* 0 */
2065 #endif
2066 #ifndef XGetModifierMapping
2067 #define XGetModifierMapping \
2068 (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */
2069 #endif
2070 #ifndef XCreateImage
2071 #define XCreateImage \
2072 (tkIntXlibStubsPtr->xCreateImage) /* 2 */
2073 #endif
2074 #ifndef XGetImage
2075 #define XGetImage \
2076 (tkIntXlibStubsPtr->xGetImage) /* 3 */
2077 #endif
2078 #ifndef XGetAtomName
2079 #define XGetAtomName \
2080 (tkIntXlibStubsPtr->xGetAtomName) /* 4 */
2081 #endif
2082 #ifndef XKeysymToString
2083 #define XKeysymToString \
2084 (tkIntXlibStubsPtr->xKeysymToString) /* 5 */
2085 #endif
2086 #ifndef XCreateColormap
2087 #define XCreateColormap \
2088 (tkIntXlibStubsPtr->xCreateColormap) /* 6 */
2089 #endif
2090 #ifndef XGContextFromGC
2091 #define XGContextFromGC \
2092 (tkIntXlibStubsPtr->xGContextFromGC) /* 7 */
2093 #endif
2094 #ifndef XKeycodeToKeysym
2095 #define XKeycodeToKeysym \
2096 (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 8 */
2097 #endif
2098 #ifndef XStringToKeysym
2099 #define XStringToKeysym \
2100 (tkIntXlibStubsPtr->xStringToKeysym) /* 9 */
2101 #endif
2102 #ifndef XRootWindow
2103 #define XRootWindow \
2104 (tkIntXlibStubsPtr->xRootWindow) /* 10 */
2105 #endif
2106 #ifndef XSetErrorHandler
2107 #define XSetErrorHandler \
2108 (tkIntXlibStubsPtr->xSetErrorHandler) /* 11 */
2109 #endif
2110 #ifndef XAllocColor
2111 #define XAllocColor \
2112 (tkIntXlibStubsPtr->xAllocColor) /* 12 */
2113 #endif
2114 #ifndef XBell
2115 #define XBell \
2116 (tkIntXlibStubsPtr->xBell) /* 13 */
2117 #endif
2118 #ifndef XChangeProperty
2119 #define XChangeProperty \
2120 (tkIntXlibStubsPtr->xChangeProperty) /* 14 */
2121 #endif
2122 #ifndef XChangeWindowAttributes
2123 #define XChangeWindowAttributes \
2124 (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 15 */
2125 #endif
2126 #ifndef XConfigureWindow
2127 #define XConfigureWindow \
2128 (tkIntXlibStubsPtr->xConfigureWindow) /* 16 */
2129 #endif
2130 #ifndef XCopyArea
2131 #define XCopyArea \
2132 (tkIntXlibStubsPtr->xCopyArea) /* 17 */
2133 #endif
2134 #ifndef XCopyPlane
2135 #define XCopyPlane \
2136 (tkIntXlibStubsPtr->xCopyPlane) /* 18 */
2137 #endif
2138 #ifndef XCreateBitmapFromData
2139 #define XCreateBitmapFromData \
2140 (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 19 */
2141 #endif
2142 #ifndef XDefineCursor
2143 #define XDefineCursor \
2144 (tkIntXlibStubsPtr->xDefineCursor) /* 20 */
2145 #endif
2146 #ifndef XDestroyWindow
2147 #define XDestroyWindow \
2148 (tkIntXlibStubsPtr->xDestroyWindow) /* 21 */
2149 #endif
2150 #ifndef XDrawArc
2151 #define XDrawArc \
2152 (tkIntXlibStubsPtr->xDrawArc) /* 22 */
2153 #endif
2154 #ifndef XDrawLines
2155 #define XDrawLines \
2156 (tkIntXlibStubsPtr->xDrawLines) /* 23 */
2157 #endif
2158 #ifndef XDrawRectangle
2159 #define XDrawRectangle \
2160 (tkIntXlibStubsPtr->xDrawRectangle) /* 24 */
2161 #endif
2162 #ifndef XFillArc
2163 #define XFillArc \
2164 (tkIntXlibStubsPtr->xFillArc) /* 25 */
2165 #endif
2166 #ifndef XFillPolygon
2167 #define XFillPolygon \
2168 (tkIntXlibStubsPtr->xFillPolygon) /* 26 */
2169 #endif
2170 #ifndef XFillRectangles
2171 #define XFillRectangles \
2172 (tkIntXlibStubsPtr->xFillRectangles) /* 27 */
2173 #endif
2174 #ifndef XFreeColormap
2175 #define XFreeColormap \
2176 (tkIntXlibStubsPtr->xFreeColormap) /* 28 */
2177 #endif
2178 #ifndef XFreeColors
2179 #define XFreeColors \
2180 (tkIntXlibStubsPtr->xFreeColors) /* 29 */
2181 #endif
2182 #ifndef XFreeModifiermap
2183 #define XFreeModifiermap \
2184 (tkIntXlibStubsPtr->xFreeModifiermap) /* 30 */
2185 #endif
2186 #ifndef XGetGeometry
2187 #define XGetGeometry \
2188 (tkIntXlibStubsPtr->xGetGeometry) /* 31 */
2189 #endif
2190 #ifndef XGetWindowProperty
2191 #define XGetWindowProperty \
2192 (tkIntXlibStubsPtr->xGetWindowProperty) /* 32 */
2193 #endif
2194 #ifndef XGrabKeyboard
2195 #define XGrabKeyboard \
2196 (tkIntXlibStubsPtr->xGrabKeyboard) /* 33 */
2197 #endif
2198 #ifndef XGrabPointer
2199 #define XGrabPointer \
2200 (tkIntXlibStubsPtr->xGrabPointer) /* 34 */
2201 #endif
2202 #ifndef XKeysymToKeycode
2203 #define XKeysymToKeycode \
2204 (tkIntXlibStubsPtr->xKeysymToKeycode) /* 35 */
2205 #endif
2206 #ifndef XMapWindow
2207 #define XMapWindow \
2208 (tkIntXlibStubsPtr->xMapWindow) /* 36 */
2209 #endif
2210 #ifndef XMoveResizeWindow
2211 #define XMoveResizeWindow \
2212 (tkIntXlibStubsPtr->xMoveResizeWindow) /* 37 */
2213 #endif
2214 #ifndef XMoveWindow
2215 #define XMoveWindow \
2216 (tkIntXlibStubsPtr->xMoveWindow) /* 38 */
2217 #endif
2218 #ifndef XQueryPointer
2219 #define XQueryPointer \
2220 (tkIntXlibStubsPtr->xQueryPointer) /* 39 */
2221 #endif
2222 #ifndef XRaiseWindow
2223 #define XRaiseWindow \
2224 (tkIntXlibStubsPtr->xRaiseWindow) /* 40 */
2225 #endif
2226 #ifndef XRefreshKeyboardMapping
2227 #define XRefreshKeyboardMapping \
2228 (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 41 */
2229 #endif
2230 #ifndef XResizeWindow
2231 #define XResizeWindow \
2232 (tkIntXlibStubsPtr->xResizeWindow) /* 42 */
2233 #endif
2234 #ifndef XSelectInput
2235 #define XSelectInput \
2236 (tkIntXlibStubsPtr->xSelectInput) /* 43 */
2237 #endif
2238 #ifndef XSendEvent
2239 #define XSendEvent \
2240 (tkIntXlibStubsPtr->xSendEvent) /* 44 */
2241 #endif
2242 #ifndef XSetIconName
2243 #define XSetIconName \
2244 (tkIntXlibStubsPtr->xSetIconName) /* 45 */
2245 #endif
2246 #ifndef XSetInputFocus
2247 #define XSetInputFocus \
2248 (tkIntXlibStubsPtr->xSetInputFocus) /* 46 */
2249 #endif
2250 #ifndef XSetSelectionOwner
2251 #define XSetSelectionOwner \
2252 (tkIntXlibStubsPtr->xSetSelectionOwner) /* 47 */
2253 #endif
2254 #ifndef XSetWindowBackground
2255 #define XSetWindowBackground \
2256 (tkIntXlibStubsPtr->xSetWindowBackground) /* 48 */
2257 #endif
2258 #ifndef XSetWindowBackgroundPixmap
2259 #define XSetWindowBackgroundPixmap \
2260 (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 49 */
2261 #endif
2262 #ifndef XSetWindowBorder
2263 #define XSetWindowBorder \
2264 (tkIntXlibStubsPtr->xSetWindowBorder) /* 50 */
2265 #endif
2266 #ifndef XSetWindowBorderPixmap
2267 #define XSetWindowBorderPixmap \
2268 (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 51 */
2269 #endif
2270 #ifndef XSetWindowBorderWidth
2271 #define XSetWindowBorderWidth \
2272 (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 52 */
2273 #endif
2274 #ifndef XSetWindowColormap
2275 #define XSetWindowColormap \
2276 (tkIntXlibStubsPtr->xSetWindowColormap) /* 53 */
2277 #endif
2278 #ifndef XUngrabKeyboard
2279 #define XUngrabKeyboard \
2280 (tkIntXlibStubsPtr->xUngrabKeyboard) /* 54 */
2281 #endif
2282 #ifndef XUngrabPointer
2283 #define XUngrabPointer \
2284 (tkIntXlibStubsPtr->xUngrabPointer) /* 55 */
2285 #endif
2286 #ifndef XUnmapWindow
2287 #define XUnmapWindow \
2288 (tkIntXlibStubsPtr->xUnmapWindow) /* 56 */
2289 #endif
2290 #ifndef TkPutImage
2291 #define TkPutImage \
2292 (tkIntXlibStubsPtr->tkPutImage) /* 57 */
2293 #endif
2294 #ifndef XParseColor
2295 #define XParseColor \
2296 (tkIntXlibStubsPtr->xParseColor) /* 58 */
2297 #endif
2298 #ifndef XCreateGC
2299 #define XCreateGC \
2300 (tkIntXlibStubsPtr->xCreateGC) /* 59 */
2301 #endif
2302 #ifndef XFreeGC
2303 #define XFreeGC \
2304 (tkIntXlibStubsPtr->xFreeGC) /* 60 */
2305 #endif
2306 #ifndef XInternAtom
2307 #define XInternAtom \
2308 (tkIntXlibStubsPtr->xInternAtom) /* 61 */
2309 #endif
2310 #ifndef XSetBackground
2311 #define XSetBackground \
2312 (tkIntXlibStubsPtr->xSetBackground) /* 62 */
2313 #endif
2314 #ifndef XSetForeground
2315 #define XSetForeground \
2316 (tkIntXlibStubsPtr->xSetForeground) /* 63 */
2317 #endif
2318 #ifndef XSetClipMask
2319 #define XSetClipMask \
2320 (tkIntXlibStubsPtr->xSetClipMask) /* 64 */
2321 #endif
2322 #ifndef XSetClipOrigin
2323 #define XSetClipOrigin \
2324 (tkIntXlibStubsPtr->xSetClipOrigin) /* 65 */
2325 #endif
2326 #ifndef XSetTSOrigin
2327 #define XSetTSOrigin \
2328 (tkIntXlibStubsPtr->xSetTSOrigin) /* 66 */
2329 #endif
2330 #ifndef XChangeGC
2331 #define XChangeGC \
2332 (tkIntXlibStubsPtr->xChangeGC) /* 67 */
2333 #endif
2334 #ifndef XSetFont
2335 #define XSetFont \
2336 (tkIntXlibStubsPtr->xSetFont) /* 68 */
2337 #endif
2338 #ifndef XSetArcMode
2339 #define XSetArcMode \
2340 (tkIntXlibStubsPtr->xSetArcMode) /* 69 */
2341 #endif
2342 #ifndef XSetStipple
2343 #define XSetStipple \
2344 (tkIntXlibStubsPtr->xSetStipple) /* 70 */
2345 #endif
2346 #ifndef XSetFillRule
2347 #define XSetFillRule \
2348 (tkIntXlibStubsPtr->xSetFillRule) /* 71 */
2349 #endif
2350 #ifndef XSetFillStyle
2351 #define XSetFillStyle \
2352 (tkIntXlibStubsPtr->xSetFillStyle) /* 72 */
2353 #endif
2354 #ifndef XSetFunction
2355 #define XSetFunction \
2356 (tkIntXlibStubsPtr->xSetFunction) /* 73 */
2357 #endif
2358 #ifndef XSetLineAttributes
2359 #define XSetLineAttributes \
2360 (tkIntXlibStubsPtr->xSetLineAttributes) /* 74 */
2361 #endif
2362 #ifndef _XInitImageFuncPtrs
2363 #define _XInitImageFuncPtrs \
2364 (tkIntXlibStubsPtr->_XInitImageFuncPtrs) /* 75 */
2365 #endif
2366 #ifndef XCreateIC
2367 #define XCreateIC \
2368 (tkIntXlibStubsPtr->xCreateIC) /* 76 */
2369 #endif
2370 #ifndef XGetVisualInfo
2371 #define XGetVisualInfo \
2372 (tkIntXlibStubsPtr->xGetVisualInfo) /* 77 */
2373 #endif
2374 #ifndef XSetWMClientMachine
2375 #define XSetWMClientMachine \
2376 (tkIntXlibStubsPtr->xSetWMClientMachine) /* 78 */
2377 #endif
2378 #ifndef XStringListToTextProperty
2379 #define XStringListToTextProperty \
2380 (tkIntXlibStubsPtr->xStringListToTextProperty) /* 79 */
2381 #endif
2382 #ifndef XDrawSegments
2383 #define XDrawSegments \
2384 (tkIntXlibStubsPtr->xDrawSegments) /* 80 */
2385 #endif
2386 #ifndef XForceScreenSaver
2387 #define XForceScreenSaver \
2388 (tkIntXlibStubsPtr->xForceScreenSaver) /* 81 */
2389 #endif
2390 #ifndef XDrawLine
2391 #define XDrawLine \
2392 (tkIntXlibStubsPtr->xDrawLine) /* 82 */
2393 #endif
2394 #ifndef XFillRectangle
2395 #define XFillRectangle \
2396 (tkIntXlibStubsPtr->xFillRectangle) /* 83 */
2397 #endif
2398 #ifndef XClearWindow
2399 #define XClearWindow \
2400 (tkIntXlibStubsPtr->xClearWindow) /* 84 */
2401 #endif
2402 #ifndef XDrawPoint
2403 #define XDrawPoint \
2404 (tkIntXlibStubsPtr->xDrawPoint) /* 85 */
2405 #endif
2406 #ifndef XDrawPoints
2407 #define XDrawPoints \
2408 (tkIntXlibStubsPtr->xDrawPoints) /* 86 */
2409 #endif
2410 #ifndef XWarpPointer
2411 #define XWarpPointer \
2412 (tkIntXlibStubsPtr->xWarpPointer) /* 87 */
2413 #endif
2414 #ifndef XQueryColor
2415 #define XQueryColor \
2416 (tkIntXlibStubsPtr->xQueryColor) /* 88 */
2417 #endif
2418 #ifndef XQueryColors
2419 #define XQueryColors \
2420 (tkIntXlibStubsPtr->xQueryColors) /* 89 */
2421 #endif
2422 #ifndef XQueryTree
2423 #define XQueryTree \
2424 (tkIntXlibStubsPtr->xQueryTree) /* 90 */
2425 #endif
2426 #ifndef XSync
2427 #define XSync \
2428 (tkIntXlibStubsPtr->xSync) /* 91 */
2429 #endif
2430 #endif /* MAC_OSX_TK */
2432 #endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */
2434 /* !END!: Do not edit above this line. */
2436 #undef TCL_STORAGE_CLASS
2437 #define TCL_STORAGE_CLASS DLLIMPORT
2439 #endif /* _TKINTXLIBDECLS */