/[dtapublic]/projs/dtats/trunk/shared_source/c_tk_base_7_5_w_mods/tkintxlibdecls.h
ViewVC logotype

Contents of /projs/dtats/trunk/shared_source/c_tk_base_7_5_w_mods/tkintxlibdecls.h

Parent Directory Parent Directory | Revision Log Revision Log


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

Properties

Name Value
svn:eol-style native
svn:keywords Header

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25