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.23.2.1 2010/02/07 23:24:13 nijtmans Exp $
15 #ifndef _TKINTXLIBDECLS
16 #define _TKINTXLIBDECLS
18 #include "X11/Xutil.h"
21 #undef TCL_STORAGE_CLASS
22 #define TCL_STORAGE_CLASS DLLEXPORT
26 * WARNING: This file is automatically generated by the tools/genStubs.tcl
27 * script. Any modifications to the function declarations below should be made
28 * in the generic/tkInt.decls script.
31 /* !BEGIN!: Do not edit below this line. */
34 * Exported function declarations:
37 #ifdef __WIN32__ /* WIN */
38 #ifndef XSetDashes_TCL_DECLARED
39 #define XSetDashes_TCL_DECLARED
41 EXTERN
void XSetDashes(Display
*display
, GC gc
, int dash_offset
,
42 _Xconst
char *dash_list
, int n
);
44 #ifndef XGetModifierMapping_TCL_DECLARED
45 #define XGetModifierMapping_TCL_DECLARED
47 EXTERN XModifierKeymap
* XGetModifierMapping(Display
*d
);
49 #ifndef XCreateImage_TCL_DECLARED
50 #define XCreateImage_TCL_DECLARED
52 EXTERN XImage
* XCreateImage(Display
*d
, Visual
*v
, unsigned int ui1
,
53 int i1
, int i2
, char *cp
, unsigned int ui2
,
54 unsigned int ui3
, int i3
, int i4
);
56 #ifndef XGetImage_TCL_DECLARED
57 #define XGetImage_TCL_DECLARED
59 EXTERN XImage
* XGetImage(Display
*d
, Drawable dr
, int i1
, int i2
,
60 unsigned int ui1
, unsigned int ui2
,
61 unsigned long ul
, int i3
);
63 #ifndef XGetAtomName_TCL_DECLARED
64 #define XGetAtomName_TCL_DECLARED
66 EXTERN
char * XGetAtomName(Display
*d
, Atom a
);
68 #ifndef XKeysymToString_TCL_DECLARED
69 #define XKeysymToString_TCL_DECLARED
71 EXTERN
char * XKeysymToString(KeySym k
);
73 #ifndef XCreateColormap_TCL_DECLARED
74 #define XCreateColormap_TCL_DECLARED
76 EXTERN Colormap
XCreateColormap(Display
*d
, Window w
, Visual
*v
,
79 #ifndef XCreatePixmapCursor_TCL_DECLARED
80 #define XCreatePixmapCursor_TCL_DECLARED
82 EXTERN Cursor
XCreatePixmapCursor(Display
*d
, Pixmap p1
, Pixmap p2
,
83 XColor
*x1
, XColor
*x2
, unsigned int ui1
,
86 #ifndef XCreateGlyphCursor_TCL_DECLARED
87 #define XCreateGlyphCursor_TCL_DECLARED
89 EXTERN Cursor
XCreateGlyphCursor(Display
*d
, Font f1
, Font f2
,
90 unsigned int ui1
, unsigned int ui2
,
91 XColor
*x1
, XColor
*x2
);
93 #ifndef XGContextFromGC_TCL_DECLARED
94 #define XGContextFromGC_TCL_DECLARED
96 EXTERN GContext
XGContextFromGC(GC g
);
98 #ifndef XListHosts_TCL_DECLARED
99 #define XListHosts_TCL_DECLARED
101 EXTERN XHostAddress
* XListHosts(Display
*d
, int *i
, Bool
*b
);
103 #ifndef XKeycodeToKeysym_TCL_DECLARED
104 #define XKeycodeToKeysym_TCL_DECLARED
106 EXTERN KeySym
XKeycodeToKeysym(Display
*d
, unsigned int k
, int i
);
108 #ifndef XStringToKeysym_TCL_DECLARED
109 #define XStringToKeysym_TCL_DECLARED
111 EXTERN KeySym
XStringToKeysym(_Xconst
char *c
);
113 #ifndef XRootWindow_TCL_DECLARED
114 #define XRootWindow_TCL_DECLARED
116 EXTERN Window
XRootWindow(Display
*d
, int i
);
118 #ifndef XSetErrorHandler_TCL_DECLARED
119 #define XSetErrorHandler_TCL_DECLARED
121 EXTERN XErrorHandler
XSetErrorHandler(XErrorHandler x
);
123 #ifndef XIconifyWindow_TCL_DECLARED
124 #define XIconifyWindow_TCL_DECLARED
126 EXTERN Status
XIconifyWindow(Display
*d
, Window w
, int i
);
128 #ifndef XWithdrawWindow_TCL_DECLARED
129 #define XWithdrawWindow_TCL_DECLARED
131 EXTERN Status
XWithdrawWindow(Display
*d
, Window w
, int i
);
133 #ifndef XGetWMColormapWindows_TCL_DECLARED
134 #define XGetWMColormapWindows_TCL_DECLARED
136 EXTERN Status
XGetWMColormapWindows(Display
*d
, Window w
,
137 Window
**wpp
, int *ip
);
139 #ifndef XAllocColor_TCL_DECLARED
140 #define XAllocColor_TCL_DECLARED
142 EXTERN Status
XAllocColor(Display
*d
, Colormap c
, XColor
*xp
);
144 #ifndef XBell_TCL_DECLARED
145 #define XBell_TCL_DECLARED
147 EXTERN
void XBell(Display
*d
, int i
);
149 #ifndef XChangeProperty_TCL_DECLARED
150 #define XChangeProperty_TCL_DECLARED
152 EXTERN
void XChangeProperty(Display
*d
, Window w
, Atom a1
,
153 Atom a2
, int i1
, int i2
,
154 _Xconst
unsigned char *c
, int i3
);
156 #ifndef XChangeWindowAttributes_TCL_DECLARED
157 #define XChangeWindowAttributes_TCL_DECLARED
159 EXTERN
void XChangeWindowAttributes(Display
*d
, Window w
,
160 unsigned long ul
, XSetWindowAttributes
*x
);
162 #ifndef XClearWindow_TCL_DECLARED
163 #define XClearWindow_TCL_DECLARED
165 EXTERN
void XClearWindow(Display
*d
, Window w
);
167 #ifndef XConfigureWindow_TCL_DECLARED
168 #define XConfigureWindow_TCL_DECLARED
170 EXTERN
void XConfigureWindow(Display
*d
, Window w
,
171 unsigned int i
, XWindowChanges
*x
);
173 #ifndef XCopyArea_TCL_DECLARED
174 #define XCopyArea_TCL_DECLARED
176 EXTERN
void XCopyArea(Display
*d
, Drawable dr1
, Drawable dr2
,
177 GC g
, int i1
, int i2
, unsigned int ui1
,
178 unsigned int ui2
, int i3
, int i4
);
180 #ifndef XCopyPlane_TCL_DECLARED
181 #define XCopyPlane_TCL_DECLARED
183 EXTERN
void XCopyPlane(Display
*d
, Drawable dr1
, Drawable dr2
,
184 GC g
, int i1
, int i2
, unsigned int ui1
,
185 unsigned int ui2
, int i3
, int i4
,
188 #ifndef XCreateBitmapFromData_TCL_DECLARED
189 #define XCreateBitmapFromData_TCL_DECLARED
191 EXTERN Pixmap
XCreateBitmapFromData(Display
*display
, Drawable d
,
192 _Xconst
char *data
, unsigned int width
,
193 unsigned int height
);
195 #ifndef XDefineCursor_TCL_DECLARED
196 #define XDefineCursor_TCL_DECLARED
198 EXTERN
void XDefineCursor(Display
*d
, Window w
, Cursor c
);
200 #ifndef XDeleteProperty_TCL_DECLARED
201 #define XDeleteProperty_TCL_DECLARED
203 EXTERN
void XDeleteProperty(Display
*d
, Window w
, Atom a
);
205 #ifndef XDestroyWindow_TCL_DECLARED
206 #define XDestroyWindow_TCL_DECLARED
208 EXTERN
void XDestroyWindow(Display
*d
, Window w
);
210 #ifndef XDrawArc_TCL_DECLARED
211 #define XDrawArc_TCL_DECLARED
213 EXTERN
void XDrawArc(Display
*d
, Drawable dr
, GC g
, int i1
,
214 int i2
, unsigned int ui1
, unsigned int ui2
,
217 #ifndef XDrawLines_TCL_DECLARED
218 #define XDrawLines_TCL_DECLARED
220 EXTERN
void XDrawLines(Display
*d
, Drawable dr
, GC g
, XPoint
*x
,
223 #ifndef XDrawRectangle_TCL_DECLARED
224 #define XDrawRectangle_TCL_DECLARED
226 EXTERN
void XDrawRectangle(Display
*d
, Drawable dr
, GC g
, int i1
,
227 int i2
, unsigned int ui1
, unsigned int ui2
);
229 #ifndef XFillArc_TCL_DECLARED
230 #define XFillArc_TCL_DECLARED
232 EXTERN
void XFillArc(Display
*d
, Drawable dr
, GC g
, int i1
,
233 int i2
, unsigned int ui1
, unsigned int ui2
,
236 #ifndef XFillPolygon_TCL_DECLARED
237 #define XFillPolygon_TCL_DECLARED
239 EXTERN
void XFillPolygon(Display
*d
, Drawable dr
, GC g
,
240 XPoint
*x
, int i1
, int i2
, int i3
);
242 #ifndef XFillRectangles_TCL_DECLARED
243 #define XFillRectangles_TCL_DECLARED
245 EXTERN
void XFillRectangles(Display
*d
, Drawable dr
, GC g
,
246 XRectangle
*x
, int i
);
248 #ifndef XForceScreenSaver_TCL_DECLARED
249 #define XForceScreenSaver_TCL_DECLARED
251 EXTERN
void XForceScreenSaver(Display
*d
, int i
);
253 #ifndef XFreeColormap_TCL_DECLARED
254 #define XFreeColormap_TCL_DECLARED
256 EXTERN
void XFreeColormap(Display
*d
, Colormap c
);
258 #ifndef XFreeColors_TCL_DECLARED
259 #define XFreeColors_TCL_DECLARED
261 EXTERN
void XFreeColors(Display
*d
, Colormap c
,
262 unsigned long *ulp
, int i
, unsigned long ul
);
264 #ifndef XFreeCursor_TCL_DECLARED
265 #define XFreeCursor_TCL_DECLARED
267 EXTERN
void XFreeCursor(Display
*d
, Cursor c
);
269 #ifndef XFreeModifiermap_TCL_DECLARED
270 #define XFreeModifiermap_TCL_DECLARED
272 EXTERN
void XFreeModifiermap(XModifierKeymap
*x
);
274 #ifndef XGetGeometry_TCL_DECLARED
275 #define XGetGeometry_TCL_DECLARED
277 EXTERN Status
XGetGeometry(Display
*d
, Drawable dr
, Window
*w
,
278 int *i1
, int *i2
, unsigned int *ui1
,
279 unsigned int *ui2
, unsigned int *ui3
,
282 #ifndef XGetInputFocus_TCL_DECLARED
283 #define XGetInputFocus_TCL_DECLARED
285 EXTERN
void XGetInputFocus(Display
*d
, Window
*w
, int *i
);
287 #ifndef XGetWindowProperty_TCL_DECLARED
288 #define XGetWindowProperty_TCL_DECLARED
290 EXTERN
int XGetWindowProperty(Display
*d
, Window w
, Atom a1
,
291 long l1
, long l2
, Bool b
, Atom a2
, Atom
*ap
,
292 int *ip
, unsigned long *ulp1
,
293 unsigned long *ulp2
, unsigned char **cpp
);
295 #ifndef XGetWindowAttributes_TCL_DECLARED
296 #define XGetWindowAttributes_TCL_DECLARED
298 EXTERN Status
XGetWindowAttributes(Display
*d
, Window w
,
299 XWindowAttributes
*x
);
301 #ifndef XGrabKeyboard_TCL_DECLARED
302 #define XGrabKeyboard_TCL_DECLARED
304 EXTERN
int XGrabKeyboard(Display
*d
, Window w
, Bool b
, int i1
,
307 #ifndef XGrabPointer_TCL_DECLARED
308 #define XGrabPointer_TCL_DECLARED
310 EXTERN
int XGrabPointer(Display
*d
, Window w1
, Bool b
,
311 unsigned int ui
, int i1
, int i2
, Window w2
,
314 #ifndef XKeysymToKeycode_TCL_DECLARED
315 #define XKeysymToKeycode_TCL_DECLARED
317 EXTERN KeyCode
XKeysymToKeycode(Display
*d
, KeySym k
);
319 #ifndef XLookupColor_TCL_DECLARED
320 #define XLookupColor_TCL_DECLARED
322 EXTERN Status
XLookupColor(Display
*d
, Colormap c1
,
323 _Xconst
char *c2
, XColor
*x1
, XColor
*x2
);
325 #ifndef XMapWindow_TCL_DECLARED
326 #define XMapWindow_TCL_DECLARED
328 EXTERN
void XMapWindow(Display
*d
, Window w
);
330 #ifndef XMoveResizeWindow_TCL_DECLARED
331 #define XMoveResizeWindow_TCL_DECLARED
333 EXTERN
void XMoveResizeWindow(Display
*d
, Window w
, int i1
,
334 int i2
, unsigned int ui1
, unsigned int ui2
);
336 #ifndef XMoveWindow_TCL_DECLARED
337 #define XMoveWindow_TCL_DECLARED
339 EXTERN
void XMoveWindow(Display
*d
, Window w
, int i1
, int i2
);
341 #ifndef XNextEvent_TCL_DECLARED
342 #define XNextEvent_TCL_DECLARED
344 EXTERN
void XNextEvent(Display
*d
, XEvent
*x
);
346 #ifndef XPutBackEvent_TCL_DECLARED
347 #define XPutBackEvent_TCL_DECLARED
349 EXTERN
void XPutBackEvent(Display
*d
, XEvent
*x
);
351 #ifndef XQueryColors_TCL_DECLARED
352 #define XQueryColors_TCL_DECLARED
354 EXTERN
void XQueryColors(Display
*d
, Colormap c
, XColor
*x
,
357 #ifndef XQueryPointer_TCL_DECLARED
358 #define XQueryPointer_TCL_DECLARED
360 EXTERN Bool
XQueryPointer(Display
*d
, Window w1
, Window
*w2
,
361 Window
*w3
, int *i1
, int *i2
, int *i3
,
362 int *i4
, unsigned int *ui
);
364 #ifndef XQueryTree_TCL_DECLARED
365 #define XQueryTree_TCL_DECLARED
367 EXTERN Status
XQueryTree(Display
*d
, Window w1
, Window
*w2
,
368 Window
*w3
, Window
**w4
, unsigned int *ui
);
370 #ifndef XRaiseWindow_TCL_DECLARED
371 #define XRaiseWindow_TCL_DECLARED
373 EXTERN
void XRaiseWindow(Display
*d
, Window w
);
375 #ifndef XRefreshKeyboardMapping_TCL_DECLARED
376 #define XRefreshKeyboardMapping_TCL_DECLARED
378 EXTERN
void XRefreshKeyboardMapping(XMappingEvent
*x
);
380 #ifndef XResizeWindow_TCL_DECLARED
381 #define XResizeWindow_TCL_DECLARED
383 EXTERN
void XResizeWindow(Display
*d
, Window w
, unsigned int ui1
,
386 #ifndef XSelectInput_TCL_DECLARED
387 #define XSelectInput_TCL_DECLARED
389 EXTERN
void XSelectInput(Display
*d
, Window w
, long l
);
391 #ifndef XSendEvent_TCL_DECLARED
392 #define XSendEvent_TCL_DECLARED
394 EXTERN Status
XSendEvent(Display
*d
, Window w
, Bool b
, long l
,
397 #ifndef XSetCommand_TCL_DECLARED
398 #define XSetCommand_TCL_DECLARED
400 EXTERN
void XSetCommand(Display
*d
, Window w
, CONST
char **c
,
403 #ifndef XSetIconName_TCL_DECLARED
404 #define XSetIconName_TCL_DECLARED
406 EXTERN
void XSetIconName(Display
*d
, Window w
, _Xconst
char *c
);
408 #ifndef XSetInputFocus_TCL_DECLARED
409 #define XSetInputFocus_TCL_DECLARED
411 EXTERN
void XSetInputFocus(Display
*d
, Window w
, int i
, Time t
);
413 #ifndef XSetSelectionOwner_TCL_DECLARED
414 #define XSetSelectionOwner_TCL_DECLARED
416 EXTERN
void XSetSelectionOwner(Display
*d
, Atom a
, Window w
,
419 #ifndef XSetWindowBackground_TCL_DECLARED
420 #define XSetWindowBackground_TCL_DECLARED
422 EXTERN
void XSetWindowBackground(Display
*d
, Window w
,
425 #ifndef XSetWindowBackgroundPixmap_TCL_DECLARED
426 #define XSetWindowBackgroundPixmap_TCL_DECLARED
428 EXTERN
void XSetWindowBackgroundPixmap(Display
*d
, Window w
,
431 #ifndef XSetWindowBorder_TCL_DECLARED
432 #define XSetWindowBorder_TCL_DECLARED
434 EXTERN
void XSetWindowBorder(Display
*d
, Window w
,
437 #ifndef XSetWindowBorderPixmap_TCL_DECLARED
438 #define XSetWindowBorderPixmap_TCL_DECLARED
440 EXTERN
void XSetWindowBorderPixmap(Display
*d
, Window w
,
443 #ifndef XSetWindowBorderWidth_TCL_DECLARED
444 #define XSetWindowBorderWidth_TCL_DECLARED
446 EXTERN
void XSetWindowBorderWidth(Display
*d
, Window w
,
449 #ifndef XSetWindowColormap_TCL_DECLARED
450 #define XSetWindowColormap_TCL_DECLARED
452 EXTERN
void XSetWindowColormap(Display
*d
, Window w
, Colormap c
);
454 #ifndef XTranslateCoordinates_TCL_DECLARED
455 #define XTranslateCoordinates_TCL_DECLARED
457 EXTERN Bool
XTranslateCoordinates(Display
*d
, Window w1
,
458 Window w2
, int i1
, int i2
, int *i3
, int *i4
,
461 #ifndef XUngrabKeyboard_TCL_DECLARED
462 #define XUngrabKeyboard_TCL_DECLARED
464 EXTERN
void XUngrabKeyboard(Display
*d
, Time t
);
466 #ifndef XUngrabPointer_TCL_DECLARED
467 #define XUngrabPointer_TCL_DECLARED
469 EXTERN
void XUngrabPointer(Display
*d
, Time t
);
471 #ifndef XUnmapWindow_TCL_DECLARED
472 #define XUnmapWindow_TCL_DECLARED
474 EXTERN
void XUnmapWindow(Display
*d
, Window w
);
476 #ifndef XWindowEvent_TCL_DECLARED
477 #define XWindowEvent_TCL_DECLARED
479 EXTERN
void XWindowEvent(Display
*d
, Window w
, long l
, XEvent
*x
);
481 #ifndef XDestroyIC_TCL_DECLARED
482 #define XDestroyIC_TCL_DECLARED
484 EXTERN
void XDestroyIC(XIC x
);
486 #ifndef XFilterEvent_TCL_DECLARED
487 #define XFilterEvent_TCL_DECLARED
489 EXTERN Bool
XFilterEvent(XEvent
*x
, Window w
);
491 #ifndef XmbLookupString_TCL_DECLARED
492 #define XmbLookupString_TCL_DECLARED
494 EXTERN
int XmbLookupString(XIC xi
, XKeyPressedEvent
*xk
,
495 char *c
, int i
, KeySym
*k
, Status
*s
);
497 #ifndef TkPutImage_TCL_DECLARED
498 #define TkPutImage_TCL_DECLARED
500 EXTERN
void TkPutImage(unsigned long *colors
, int ncolors
,
501 Display
*display
, Drawable d
, GC gc
,
502 XImage
*image
, int src_x
, int src_y
,
503 int dest_x
, int dest_y
, unsigned int width
,
504 unsigned int height
);
506 /* Slot 81 is reserved */
507 #ifndef XParseColor_TCL_DECLARED
508 #define XParseColor_TCL_DECLARED
510 EXTERN Status
XParseColor(Display
*display
, Colormap map
,
511 _Xconst
char *spec
, XColor
*colorPtr
);
513 #ifndef XCreateGC_TCL_DECLARED
514 #define XCreateGC_TCL_DECLARED
516 EXTERN GC
XCreateGC(Display
*display
, Drawable d
,
517 unsigned long valuemask
, XGCValues
*values
);
519 #ifndef XFreeGC_TCL_DECLARED
520 #define XFreeGC_TCL_DECLARED
522 EXTERN
void XFreeGC(Display
*display
, GC gc
);
524 #ifndef XInternAtom_TCL_DECLARED
525 #define XInternAtom_TCL_DECLARED
527 EXTERN Atom
XInternAtom(Display
*display
,
528 _Xconst
char *atom_name
, Bool only_if_exists
);
530 #ifndef XSetBackground_TCL_DECLARED
531 #define XSetBackground_TCL_DECLARED
533 EXTERN
void XSetBackground(Display
*display
, GC gc
,
534 unsigned long foreground
);
536 #ifndef XSetForeground_TCL_DECLARED
537 #define XSetForeground_TCL_DECLARED
539 EXTERN
void XSetForeground(Display
*display
, GC gc
,
540 unsigned long foreground
);
542 #ifndef XSetClipMask_TCL_DECLARED
543 #define XSetClipMask_TCL_DECLARED
545 EXTERN
void XSetClipMask(Display
*display
, GC gc
, Pixmap pixmap
);
547 #ifndef XSetClipOrigin_TCL_DECLARED
548 #define XSetClipOrigin_TCL_DECLARED
550 EXTERN
void XSetClipOrigin(Display
*display
, GC gc
,
551 int clip_x_origin
, int clip_y_origin
);
553 #ifndef XSetTSOrigin_TCL_DECLARED
554 #define XSetTSOrigin_TCL_DECLARED
556 EXTERN
void XSetTSOrigin(Display
*display
, GC gc
,
557 int ts_x_origin
, int ts_y_origin
);
559 #ifndef XChangeGC_TCL_DECLARED
560 #define XChangeGC_TCL_DECLARED
562 EXTERN
void XChangeGC(Display
*d
, GC gc
, unsigned long mask
,
565 #ifndef XSetFont_TCL_DECLARED
566 #define XSetFont_TCL_DECLARED
568 EXTERN
void XSetFont(Display
*display
, GC gc
, Font font
);
570 #ifndef XSetArcMode_TCL_DECLARED
571 #define XSetArcMode_TCL_DECLARED
573 EXTERN
void XSetArcMode(Display
*display
, GC gc
, int arc_mode
);
575 #ifndef XSetStipple_TCL_DECLARED
576 #define XSetStipple_TCL_DECLARED
578 EXTERN
void XSetStipple(Display
*display
, GC gc
, Pixmap stipple
);
580 #ifndef XSetFillRule_TCL_DECLARED
581 #define XSetFillRule_TCL_DECLARED
583 EXTERN
void XSetFillRule(Display
*display
, GC gc
, int fill_rule
);
585 #ifndef XSetFillStyle_TCL_DECLARED
586 #define XSetFillStyle_TCL_DECLARED
588 EXTERN
void XSetFillStyle(Display
*display
, GC gc
,
591 #ifndef XSetFunction_TCL_DECLARED
592 #define XSetFunction_TCL_DECLARED
594 EXTERN
void XSetFunction(Display
*display
, GC gc
, int function
);
596 #ifndef XSetLineAttributes_TCL_DECLARED
597 #define XSetLineAttributes_TCL_DECLARED
599 EXTERN
void XSetLineAttributes(Display
*display
, GC gc
,
600 unsigned int line_width
, int line_style
,
601 int cap_style
, int join_style
);
603 #ifndef _XInitImageFuncPtrs_TCL_DECLARED
604 #define _XInitImageFuncPtrs_TCL_DECLARED
606 EXTERN
int _XInitImageFuncPtrs(XImage
*image
);
608 #ifndef XCreateIC_TCL_DECLARED
609 #define XCreateIC_TCL_DECLARED
611 EXTERN XIC
XCreateIC(void);
613 #ifndef XGetVisualInfo_TCL_DECLARED
614 #define XGetVisualInfo_TCL_DECLARED
616 EXTERN XVisualInfo
* XGetVisualInfo(Display
*display
, long vinfo_mask
,
617 XVisualInfo
*vinfo_template
,
620 #ifndef XSetWMClientMachine_TCL_DECLARED
621 #define XSetWMClientMachine_TCL_DECLARED
623 EXTERN
void XSetWMClientMachine(Display
*display
, Window w
,
624 XTextProperty
*text_prop
);
626 #ifndef XStringListToTextProperty_TCL_DECLARED
627 #define XStringListToTextProperty_TCL_DECLARED
629 EXTERN Status
XStringListToTextProperty(char **list
, int count
,
630 XTextProperty
*text_prop_return
);
632 #ifndef XDrawLine_TCL_DECLARED
633 #define XDrawLine_TCL_DECLARED
635 EXTERN
void XDrawLine(Display
*d
, Drawable dr
, GC g
, int x1
,
636 int y1
, int x2
, int y2
);
638 #ifndef XWarpPointer_TCL_DECLARED
639 #define XWarpPointer_TCL_DECLARED
641 EXTERN
void XWarpPointer(Display
*d
, Window s
, Window dw
, int sx
,
642 int sy
, unsigned int sw
, unsigned int sh
,
645 #ifndef XFillRectangle_TCL_DECLARED
646 #define XFillRectangle_TCL_DECLARED
648 EXTERN
void XFillRectangle(Display
*display
, Drawable d
, GC gc
,
649 int x
, int y
, unsigned int width
,
650 unsigned int height
);
653 #ifdef MAC_OSX_TK /* AQUA */
654 #ifndef XSetDashes_TCL_DECLARED
655 #define XSetDashes_TCL_DECLARED
657 EXTERN
void XSetDashes(Display
*display
, GC gc
, int dash_offset
,
658 _Xconst
char *dash_list
, int n
);
660 #ifndef XGetModifierMapping_TCL_DECLARED
661 #define XGetModifierMapping_TCL_DECLARED
663 EXTERN XModifierKeymap
* XGetModifierMapping(Display
*d
);
665 #ifndef XCreateImage_TCL_DECLARED
666 #define XCreateImage_TCL_DECLARED
668 EXTERN XImage
* XCreateImage(Display
*d
, Visual
*v
, unsigned int ui1
,
669 int i1
, int i2
, char *cp
, unsigned int ui2
,
670 unsigned int ui3
, int i3
, int i4
);
672 #ifndef XGetImage_TCL_DECLARED
673 #define XGetImage_TCL_DECLARED
675 EXTERN XImage
* XGetImage(Display
*d
, Drawable dr
, int i1
, int i2
,
676 unsigned int ui1
, unsigned int ui2
,
677 unsigned long ul
, int i3
);
679 #ifndef XGetAtomName_TCL_DECLARED
680 #define XGetAtomName_TCL_DECLARED
682 EXTERN
char * XGetAtomName(Display
*d
, Atom a
);
684 #ifndef XKeysymToString_TCL_DECLARED
685 #define XKeysymToString_TCL_DECLARED
687 EXTERN
char * XKeysymToString(KeySym k
);
689 #ifndef XCreateColormap_TCL_DECLARED
690 #define XCreateColormap_TCL_DECLARED
692 EXTERN Colormap
XCreateColormap(Display
*d
, Window w
, Visual
*v
,
695 #ifndef XGContextFromGC_TCL_DECLARED
696 #define XGContextFromGC_TCL_DECLARED
698 EXTERN GContext
XGContextFromGC(GC g
);
700 #ifndef XKeycodeToKeysym_TCL_DECLARED
701 #define XKeycodeToKeysym_TCL_DECLARED
703 EXTERN KeySym
XKeycodeToKeysym(Display
*d
, KeyCode k
, int i
);
705 #ifndef XStringToKeysym_TCL_DECLARED
706 #define XStringToKeysym_TCL_DECLARED
708 EXTERN KeySym
XStringToKeysym(_Xconst
char *c
);
710 #ifndef XRootWindow_TCL_DECLARED
711 #define XRootWindow_TCL_DECLARED
713 EXTERN Window
XRootWindow(Display
*d
, int i
);
715 #ifndef XSetErrorHandler_TCL_DECLARED
716 #define XSetErrorHandler_TCL_DECLARED
718 EXTERN XErrorHandler
XSetErrorHandler(XErrorHandler x
);
720 #ifndef XAllocColor_TCL_DECLARED
721 #define XAllocColor_TCL_DECLARED
723 EXTERN Status
XAllocColor(Display
*d
, Colormap c
, XColor
*xp
);
725 #ifndef XBell_TCL_DECLARED
726 #define XBell_TCL_DECLARED
728 EXTERN
void XBell(Display
*d
, int i
);
730 #ifndef XChangeProperty_TCL_DECLARED
731 #define XChangeProperty_TCL_DECLARED
733 EXTERN
void XChangeProperty(Display
*d
, Window w
, Atom a1
,
734 Atom a2
, int i1
, int i2
,
735 _Xconst
unsigned char *c
, int i3
);
737 #ifndef XChangeWindowAttributes_TCL_DECLARED
738 #define XChangeWindowAttributes_TCL_DECLARED
740 EXTERN
void XChangeWindowAttributes(Display
*d
, Window w
,
741 unsigned long ul
, XSetWindowAttributes
*x
);
743 #ifndef XConfigureWindow_TCL_DECLARED
744 #define XConfigureWindow_TCL_DECLARED
746 EXTERN
void XConfigureWindow(Display
*d
, Window w
,
747 unsigned int i
, XWindowChanges
*x
);
749 #ifndef XCopyArea_TCL_DECLARED
750 #define XCopyArea_TCL_DECLARED
752 EXTERN
void XCopyArea(Display
*d
, Drawable dr1
, Drawable dr2
,
753 GC g
, int i1
, int i2
, unsigned int ui1
,
754 unsigned int ui2
, int i3
, int i4
);
756 #ifndef XCopyPlane_TCL_DECLARED
757 #define XCopyPlane_TCL_DECLARED
759 EXTERN
void XCopyPlane(Display
*d
, Drawable dr1
, Drawable dr2
,
760 GC g
, int i1
, int i2
, unsigned int ui1
,
761 unsigned int ui2
, int i3
, int i4
,
764 #ifndef XCreateBitmapFromData_TCL_DECLARED
765 #define XCreateBitmapFromData_TCL_DECLARED
767 EXTERN Pixmap
XCreateBitmapFromData(Display
*display
, Drawable d
,
768 _Xconst
char *data
, unsigned int width
,
769 unsigned int height
);
771 #ifndef XDefineCursor_TCL_DECLARED
772 #define XDefineCursor_TCL_DECLARED
774 EXTERN
void XDefineCursor(Display
*d
, Window w
, Cursor c
);
776 #ifndef XDestroyWindow_TCL_DECLARED
777 #define XDestroyWindow_TCL_DECLARED
779 EXTERN
void XDestroyWindow(Display
*d
, Window w
);
781 #ifndef XDrawArc_TCL_DECLARED
782 #define XDrawArc_TCL_DECLARED
784 EXTERN
void XDrawArc(Display
*d
, Drawable dr
, GC g
, int i1
,
785 int i2
, unsigned int ui1
, unsigned int ui2
,
788 #ifndef XDrawLines_TCL_DECLARED
789 #define XDrawLines_TCL_DECLARED
791 EXTERN
void XDrawLines(Display
*d
, Drawable dr
, GC g
, XPoint
*x
,
794 #ifndef XDrawRectangle_TCL_DECLARED
795 #define XDrawRectangle_TCL_DECLARED
797 EXTERN
void XDrawRectangle(Display
*d
, Drawable dr
, GC g
, int i1
,
798 int i2
, unsigned int ui1
, unsigned int ui2
);
800 #ifndef XFillArc_TCL_DECLARED
801 #define XFillArc_TCL_DECLARED
803 EXTERN
void XFillArc(Display
*d
, Drawable dr
, GC g
, int i1
,
804 int i2
, unsigned int ui1
, unsigned int ui2
,
807 #ifndef XFillPolygon_TCL_DECLARED
808 #define XFillPolygon_TCL_DECLARED
810 EXTERN
void XFillPolygon(Display
*d
, Drawable dr
, GC g
,
811 XPoint
*x
, int i1
, int i2
, int i3
);
813 #ifndef XFillRectangles_TCL_DECLARED
814 #define XFillRectangles_TCL_DECLARED
816 EXTERN
void XFillRectangles(Display
*d
, Drawable dr
, GC g
,
817 XRectangle
*x
, int i
);
819 #ifndef XFreeColormap_TCL_DECLARED
820 #define XFreeColormap_TCL_DECLARED
822 EXTERN
void XFreeColormap(Display
*d
, Colormap c
);
824 #ifndef XFreeColors_TCL_DECLARED
825 #define XFreeColors_TCL_DECLARED
827 EXTERN
void XFreeColors(Display
*d
, Colormap c
,
828 unsigned long *ulp
, int i
, unsigned long ul
);
830 #ifndef XFreeModifiermap_TCL_DECLARED
831 #define XFreeModifiermap_TCL_DECLARED
833 EXTERN
void XFreeModifiermap(XModifierKeymap
*x
);
835 #ifndef XGetGeometry_TCL_DECLARED
836 #define XGetGeometry_TCL_DECLARED
838 EXTERN Status
XGetGeometry(Display
*d
, Drawable dr
, Window
*w
,
839 int *i1
, int *i2
, unsigned int *ui1
,
840 unsigned int *ui2
, unsigned int *ui3
,
843 #ifndef XGetWindowProperty_TCL_DECLARED
844 #define XGetWindowProperty_TCL_DECLARED
846 EXTERN
int XGetWindowProperty(Display
*d
, Window w
, Atom a1
,
847 long l1
, long l2
, Bool b
, Atom a2
, Atom
*ap
,
848 int *ip
, unsigned long *ulp1
,
849 unsigned long *ulp2
, unsigned char **cpp
);
851 #ifndef XGrabKeyboard_TCL_DECLARED
852 #define XGrabKeyboard_TCL_DECLARED
854 EXTERN
int XGrabKeyboard(Display
*d
, Window w
, Bool b
, int i1
,
857 #ifndef XGrabPointer_TCL_DECLARED
858 #define XGrabPointer_TCL_DECLARED
860 EXTERN
int XGrabPointer(Display
*d
, Window w1
, Bool b
,
861 unsigned int ui
, int i1
, int i2
, Window w2
,
864 #ifndef XKeysymToKeycode_TCL_DECLARED
865 #define XKeysymToKeycode_TCL_DECLARED
867 EXTERN KeyCode
XKeysymToKeycode(Display
*d
, KeySym k
);
869 #ifndef XMapWindow_TCL_DECLARED
870 #define XMapWindow_TCL_DECLARED
872 EXTERN
void XMapWindow(Display
*d
, Window w
);
874 #ifndef XMoveResizeWindow_TCL_DECLARED
875 #define XMoveResizeWindow_TCL_DECLARED
877 EXTERN
void XMoveResizeWindow(Display
*d
, Window w
, int i1
,
878 int i2
, unsigned int ui1
, unsigned int ui2
);
880 #ifndef XMoveWindow_TCL_DECLARED
881 #define XMoveWindow_TCL_DECLARED
883 EXTERN
void XMoveWindow(Display
*d
, Window w
, int i1
, int i2
);
885 #ifndef XQueryPointer_TCL_DECLARED
886 #define XQueryPointer_TCL_DECLARED
888 EXTERN Bool
XQueryPointer(Display
*d
, Window w1
, Window
*w2
,
889 Window
*w3
, int *i1
, int *i2
, int *i3
,
890 int *i4
, unsigned int *ui
);
892 #ifndef XRaiseWindow_TCL_DECLARED
893 #define XRaiseWindow_TCL_DECLARED
895 EXTERN
void XRaiseWindow(Display
*d
, Window w
);
897 #ifndef XRefreshKeyboardMapping_TCL_DECLARED
898 #define XRefreshKeyboardMapping_TCL_DECLARED
900 EXTERN
void XRefreshKeyboardMapping(XMappingEvent
*x
);
902 #ifndef XResizeWindow_TCL_DECLARED
903 #define XResizeWindow_TCL_DECLARED
905 EXTERN
void XResizeWindow(Display
*d
, Window w
, unsigned int ui1
,
908 #ifndef XSelectInput_TCL_DECLARED
909 #define XSelectInput_TCL_DECLARED
911 EXTERN
void XSelectInput(Display
*d
, Window w
, long l
);
913 #ifndef XSendEvent_TCL_DECLARED
914 #define XSendEvent_TCL_DECLARED
916 EXTERN Status
XSendEvent(Display
*d
, Window w
, Bool b
, long l
,
919 #ifndef XSetIconName_TCL_DECLARED
920 #define XSetIconName_TCL_DECLARED
922 EXTERN
void XSetIconName(Display
*d
, Window w
, _Xconst
char *c
);
924 #ifndef XSetInputFocus_TCL_DECLARED
925 #define XSetInputFocus_TCL_DECLARED
927 EXTERN
void XSetInputFocus(Display
*d
, Window w
, int i
, Time t
);
929 #ifndef XSetSelectionOwner_TCL_DECLARED
930 #define XSetSelectionOwner_TCL_DECLARED
932 EXTERN
void XSetSelectionOwner(Display
*d
, Atom a
, Window w
,
935 #ifndef XSetWindowBackground_TCL_DECLARED
936 #define XSetWindowBackground_TCL_DECLARED
938 EXTERN
void XSetWindowBackground(Display
*d
, Window w
,
941 #ifndef XSetWindowBackgroundPixmap_TCL_DECLARED
942 #define XSetWindowBackgroundPixmap_TCL_DECLARED
944 EXTERN
void XSetWindowBackgroundPixmap(Display
*d
, Window w
,
947 #ifndef XSetWindowBorder_TCL_DECLARED
948 #define XSetWindowBorder_TCL_DECLARED
950 EXTERN
void XSetWindowBorder(Display
*d
, Window w
,
953 #ifndef XSetWindowBorderPixmap_TCL_DECLARED
954 #define XSetWindowBorderPixmap_TCL_DECLARED
956 EXTERN
void XSetWindowBorderPixmap(Display
*d
, Window w
,
959 #ifndef XSetWindowBorderWidth_TCL_DECLARED
960 #define XSetWindowBorderWidth_TCL_DECLARED
962 EXTERN
void XSetWindowBorderWidth(Display
*d
, Window w
,
965 #ifndef XSetWindowColormap_TCL_DECLARED
966 #define XSetWindowColormap_TCL_DECLARED
968 EXTERN
void XSetWindowColormap(Display
*d
, Window w
, Colormap c
);
970 #ifndef XUngrabKeyboard_TCL_DECLARED
971 #define XUngrabKeyboard_TCL_DECLARED
973 EXTERN
void XUngrabKeyboard(Display
*d
, Time t
);
975 #ifndef XUngrabPointer_TCL_DECLARED
976 #define XUngrabPointer_TCL_DECLARED
978 EXTERN
void XUngrabPointer(Display
*d
, Time t
);
980 #ifndef XUnmapWindow_TCL_DECLARED
981 #define XUnmapWindow_TCL_DECLARED
983 EXTERN
void XUnmapWindow(Display
*d
, Window w
);
985 #ifndef TkPutImage_TCL_DECLARED
986 #define TkPutImage_TCL_DECLARED
988 EXTERN
void TkPutImage(unsigned long *colors
, int ncolors
,
989 Display
*display
, Drawable d
, GC gc
,
990 XImage
*image
, int src_x
, int src_y
,
991 int dest_x
, int dest_y
, unsigned int width
,
992 unsigned int height
);
994 #ifndef XParseColor_TCL_DECLARED
995 #define XParseColor_TCL_DECLARED
997 EXTERN Status
XParseColor(Display
*display
, Colormap map
,
998 _Xconst
char *spec
, XColor
*colorPtr
);
1000 #ifndef XCreateGC_TCL_DECLARED
1001 #define XCreateGC_TCL_DECLARED
1003 EXTERN GC
XCreateGC(Display
*display
, Drawable d
,
1004 unsigned long valuemask
, XGCValues
*values
);
1006 #ifndef XFreeGC_TCL_DECLARED
1007 #define XFreeGC_TCL_DECLARED
1009 EXTERN
void XFreeGC(Display
*display
, GC gc
);
1011 #ifndef XInternAtom_TCL_DECLARED
1012 #define XInternAtom_TCL_DECLARED
1014 EXTERN Atom
XInternAtom(Display
*display
,
1015 _Xconst
char *atom_name
, Bool only_if_exists
);
1017 #ifndef XSetBackground_TCL_DECLARED
1018 #define XSetBackground_TCL_DECLARED
1020 EXTERN
void XSetBackground(Display
*display
, GC gc
,
1021 unsigned long foreground
);
1023 #ifndef XSetForeground_TCL_DECLARED
1024 #define XSetForeground_TCL_DECLARED
1026 EXTERN
void XSetForeground(Display
*display
, GC gc
,
1027 unsigned long foreground
);
1029 #ifndef XSetClipMask_TCL_DECLARED
1030 #define XSetClipMask_TCL_DECLARED
1032 EXTERN
void XSetClipMask(Display
*display
, GC gc
, Pixmap pixmap
);
1034 #ifndef XSetClipOrigin_TCL_DECLARED
1035 #define XSetClipOrigin_TCL_DECLARED
1037 EXTERN
void XSetClipOrigin(Display
*display
, GC gc
,
1038 int clip_x_origin
, int clip_y_origin
);
1040 #ifndef XSetTSOrigin_TCL_DECLARED
1041 #define XSetTSOrigin_TCL_DECLARED
1043 EXTERN
void XSetTSOrigin(Display
*display
, GC gc
,
1044 int ts_x_origin
, int ts_y_origin
);
1046 #ifndef XChangeGC_TCL_DECLARED
1047 #define XChangeGC_TCL_DECLARED
1049 EXTERN
void XChangeGC(Display
*d
, GC gc
, unsigned long mask
,
1052 #ifndef XSetFont_TCL_DECLARED
1053 #define XSetFont_TCL_DECLARED
1055 EXTERN
void XSetFont(Display
*display
, GC gc
, Font font
);
1057 #ifndef XSetArcMode_TCL_DECLARED
1058 #define XSetArcMode_TCL_DECLARED
1060 EXTERN
void XSetArcMode(Display
*display
, GC gc
, int arc_mode
);
1062 #ifndef XSetStipple_TCL_DECLARED
1063 #define XSetStipple_TCL_DECLARED
1065 EXTERN
void XSetStipple(Display
*display
, GC gc
, Pixmap stipple
);
1067 #ifndef XSetFillRule_TCL_DECLARED
1068 #define XSetFillRule_TCL_DECLARED
1070 EXTERN
void XSetFillRule(Display
*display
, GC gc
, int fill_rule
);
1072 #ifndef XSetFillStyle_TCL_DECLARED
1073 #define XSetFillStyle_TCL_DECLARED
1075 EXTERN
void XSetFillStyle(Display
*display
, GC gc
,
1078 #ifndef XSetFunction_TCL_DECLARED
1079 #define XSetFunction_TCL_DECLARED
1081 EXTERN
void XSetFunction(Display
*display
, GC gc
, int function
);
1083 #ifndef XSetLineAttributes_TCL_DECLARED
1084 #define XSetLineAttributes_TCL_DECLARED
1086 EXTERN
void XSetLineAttributes(Display
*display
, GC gc
,
1087 unsigned int line_width
, int line_style
,
1088 int cap_style
, int join_style
);
1090 #ifndef _XInitImageFuncPtrs_TCL_DECLARED
1091 #define _XInitImageFuncPtrs_TCL_DECLARED
1093 EXTERN
int _XInitImageFuncPtrs(XImage
*image
);
1095 #ifndef XCreateIC_TCL_DECLARED
1096 #define XCreateIC_TCL_DECLARED
1098 EXTERN XIC
XCreateIC(void);
1100 #ifndef XGetVisualInfo_TCL_DECLARED
1101 #define XGetVisualInfo_TCL_DECLARED
1103 EXTERN XVisualInfo
* XGetVisualInfo(Display
*display
, long vinfo_mask
,
1104 XVisualInfo
*vinfo_template
,
1105 int *nitems_return
);
1107 #ifndef XSetWMClientMachine_TCL_DECLARED
1108 #define XSetWMClientMachine_TCL_DECLARED
1110 EXTERN
void XSetWMClientMachine(Display
*display
, Window w
,
1111 XTextProperty
*text_prop
);
1113 #ifndef XStringListToTextProperty_TCL_DECLARED
1114 #define XStringListToTextProperty_TCL_DECLARED
1116 EXTERN Status
XStringListToTextProperty(char **list
, int count
,
1117 XTextProperty
*text_prop_return
);
1119 #ifndef XDrawSegments_TCL_DECLARED
1120 #define XDrawSegments_TCL_DECLARED
1122 EXTERN
void XDrawSegments(Display
*display
, Drawable d
, GC gc
,
1123 XSegment
*segments
, int nsegments
);
1125 #ifndef XForceScreenSaver_TCL_DECLARED
1126 #define XForceScreenSaver_TCL_DECLARED
1128 EXTERN
void XForceScreenSaver(Display
*display
, int mode
);
1130 #ifndef XDrawLine_TCL_DECLARED
1131 #define XDrawLine_TCL_DECLARED
1133 EXTERN
void XDrawLine(Display
*d
, Drawable dr
, GC g
, int x1
,
1134 int y1
, int x2
, int y2
);
1136 #ifndef XFillRectangle_TCL_DECLARED
1137 #define XFillRectangle_TCL_DECLARED
1139 EXTERN
void XFillRectangle(Display
*display
, Drawable d
, GC gc
,
1140 int x
, int y
, unsigned int width
,
1141 unsigned int height
);
1143 #ifndef XClearWindow_TCL_DECLARED
1144 #define XClearWindow_TCL_DECLARED
1146 EXTERN
void XClearWindow(Display
*d
, Window w
);
1148 #ifndef XDrawPoint_TCL_DECLARED
1149 #define XDrawPoint_TCL_DECLARED
1151 EXTERN
void XDrawPoint(Display
*display
, Drawable d
, GC gc
,
1154 #ifndef XDrawPoints_TCL_DECLARED
1155 #define XDrawPoints_TCL_DECLARED
1157 EXTERN
void XDrawPoints(Display
*display
, Drawable d
, GC gc
,
1158 XPoint
*points
, int npoints
, int mode
);
1160 #ifndef XWarpPointer_TCL_DECLARED
1161 #define XWarpPointer_TCL_DECLARED
1163 EXTERN
void XWarpPointer(Display
*display
, Window src_w
,
1164 Window dest_w
, int src_x
, int src_y
,
1165 unsigned int src_width
,
1166 unsigned int src_height
, int dest_x
,
1169 #ifndef XQueryColor_TCL_DECLARED
1170 #define XQueryColor_TCL_DECLARED
1172 EXTERN
void XQueryColor(Display
*display
, Colormap colormap
,
1173 XColor
*def_in_out
);
1175 #ifndef XQueryColors_TCL_DECLARED
1176 #define XQueryColors_TCL_DECLARED
1178 EXTERN
void XQueryColors(Display
*display
, Colormap colormap
,
1179 XColor
*defs_in_out
, int ncolors
);
1181 #ifndef XQueryTree_TCL_DECLARED
1182 #define XQueryTree_TCL_DECLARED
1184 EXTERN Status
XQueryTree(Display
*d
, Window w1
, Window
*w2
,
1185 Window
*w3
, Window
**w4
, unsigned int *ui
);
1187 #ifndef XSync_TCL_DECLARED
1188 #define XSync_TCL_DECLARED
1190 EXTERN
int XSync(Display
*display
, Bool flag
);
1194 typedef struct TkIntXlibStubs
{
1196 struct TkIntXlibStubHooks
*hooks
;
1198 #ifdef __WIN32__ /* WIN */
1199 void (*xSetDashes
) (Display
*display
, GC gc
, int dash_offset
, _Xconst
char *dash_list
, int n
); /* 0 */
1200 XModifierKeymap
* (*xGetModifierMapping
) (Display
*d
); /* 1 */
1201 XImage
* (*xCreateImage
) (Display
*d
, Visual
*v
, unsigned int ui1
, int i1
, int i2
, char *cp
, unsigned int ui2
, unsigned int ui3
, int i3
, int i4
); /* 2 */
1202 XImage
* (*xGetImage
) (Display
*d
, Drawable dr
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
, unsigned long ul
, int i3
); /* 3 */
1203 char * (*xGetAtomName
) (Display
*d
, Atom a
); /* 4 */
1204 char * (*xKeysymToString
) (KeySym k
); /* 5 */
1205 Colormap (*xCreateColormap
) (Display
*d
, Window w
, Visual
*v
, int i
); /* 6 */
1206 Cursor (*xCreatePixmapCursor
) (Display
*d
, Pixmap p1
, Pixmap p2
, XColor
*x1
, XColor
*x2
, unsigned int ui1
, unsigned int ui2
); /* 7 */
1207 Cursor (*xCreateGlyphCursor
) (Display
*d
, Font f1
, Font f2
, unsigned int ui1
, unsigned int ui2
, XColor
*x1
, XColor
*x2
); /* 8 */
1208 GContext (*xGContextFromGC
) (GC g
); /* 9 */
1209 XHostAddress
* (*xListHosts
) (Display
*d
, int *i
, Bool
*b
); /* 10 */
1210 KeySym (*xKeycodeToKeysym
) (Display
*d
, unsigned int k
, int i
); /* 11 */
1211 KeySym (*xStringToKeysym
) (_Xconst
char *c
); /* 12 */
1212 Window (*xRootWindow
) (Display
*d
, int i
); /* 13 */
1213 XErrorHandler (*xSetErrorHandler
) (XErrorHandler x
); /* 14 */
1214 Status (*xIconifyWindow
) (Display
*d
, Window w
, int i
); /* 15 */
1215 Status (*xWithdrawWindow
) (Display
*d
, Window w
, int i
); /* 16 */
1216 Status (*xGetWMColormapWindows
) (Display
*d
, Window w
, Window
**wpp
, int *ip
); /* 17 */
1217 Status (*xAllocColor
) (Display
*d
, Colormap c
, XColor
*xp
); /* 18 */
1218 void (*xBell
) (Display
*d
, int i
); /* 19 */
1219 void (*xChangeProperty
) (Display
*d
, Window w
, Atom a1
, Atom a2
, int i1
, int i2
, _Xconst
unsigned char *c
, int i3
); /* 20 */
1220 void (*xChangeWindowAttributes
) (Display
*d
, Window w
, unsigned long ul
, XSetWindowAttributes
*x
); /* 21 */
1221 void (*xClearWindow
) (Display
*d
, Window w
); /* 22 */
1222 void (*xConfigureWindow
) (Display
*d
, Window w
, unsigned int i
, XWindowChanges
*x
); /* 23 */
1223 void (*xCopyArea
) (Display
*d
, Drawable dr1
, Drawable dr2
, GC g
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
, int i3
, int i4
); /* 24 */
1224 void (*xCopyPlane
) (Display
*d
, Drawable dr1
, Drawable dr2
, GC g
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
, int i3
, int i4
, unsigned long ul
); /* 25 */
1225 Pixmap (*xCreateBitmapFromData
) (Display
*display
, Drawable d
, _Xconst
char *data
, unsigned int width
, unsigned int height
); /* 26 */
1226 void (*xDefineCursor
) (Display
*d
, Window w
, Cursor c
); /* 27 */
1227 void (*xDeleteProperty
) (Display
*d
, Window w
, Atom a
); /* 28 */
1228 void (*xDestroyWindow
) (Display
*d
, Window w
); /* 29 */
1229 void (*xDrawArc
) (Display
*d
, Drawable dr
, GC g
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
, int i3
, int i4
); /* 30 */
1230 void (*xDrawLines
) (Display
*d
, Drawable dr
, GC g
, XPoint
*x
, int i1
, int i2
); /* 31 */
1231 void (*xDrawRectangle
) (Display
*d
, Drawable dr
, GC g
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
); /* 32 */
1232 void (*xFillArc
) (Display
*d
, Drawable dr
, GC g
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
, int i3
, int i4
); /* 33 */
1233 void (*xFillPolygon
) (Display
*d
, Drawable dr
, GC g
, XPoint
*x
, int i1
, int i2
, int i3
); /* 34 */
1234 void (*xFillRectangles
) (Display
*d
, Drawable dr
, GC g
, XRectangle
*x
, int i
); /* 35 */
1235 void (*xForceScreenSaver
) (Display
*d
, int i
); /* 36 */
1236 void (*xFreeColormap
) (Display
*d
, Colormap c
); /* 37 */
1237 void (*xFreeColors
) (Display
*d
, Colormap c
, unsigned long *ulp
, int i
, unsigned long ul
); /* 38 */
1238 void (*xFreeCursor
) (Display
*d
, Cursor c
); /* 39 */
1239 void (*xFreeModifiermap
) (XModifierKeymap
*x
); /* 40 */
1240 Status (*xGetGeometry
) (Display
*d
, Drawable dr
, Window
*w
, int *i1
, int *i2
, unsigned int *ui1
, unsigned int *ui2
, unsigned int *ui3
, unsigned int *ui4
); /* 41 */
1241 void (*xGetInputFocus
) (Display
*d
, Window
*w
, int *i
); /* 42 */
1242 int (*xGetWindowProperty
) (Display
*d
, Window w
, Atom a1
, long l1
, long l2
, Bool b
, Atom a2
, Atom
*ap
, int *ip
, unsigned long *ulp1
, unsigned long *ulp2
, unsigned char **cpp
); /* 43 */
1243 Status (*xGetWindowAttributes
) (Display
*d
, Window w
, XWindowAttributes
*x
); /* 44 */
1244 int (*xGrabKeyboard
) (Display
*d
, Window w
, Bool b
, int i1
, int i2
, Time t
); /* 45 */
1245 int (*xGrabPointer
) (Display
*d
, Window w1
, Bool b
, unsigned int ui
, int i1
, int i2
, Window w2
, Cursor c
, Time t
); /* 46 */
1246 KeyCode (*xKeysymToKeycode
) (Display
*d
, KeySym k
); /* 47 */
1247 Status (*xLookupColor
) (Display
*d
, Colormap c1
, _Xconst
char *c2
, XColor
*x1
, XColor
*x2
); /* 48 */
1248 void (*xMapWindow
) (Display
*d
, Window w
); /* 49 */
1249 void (*xMoveResizeWindow
) (Display
*d
, Window w
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
); /* 50 */
1250 void (*xMoveWindow
) (Display
*d
, Window w
, int i1
, int i2
); /* 51 */
1251 void (*xNextEvent
) (Display
*d
, XEvent
*x
); /* 52 */
1252 void (*xPutBackEvent
) (Display
*d
, XEvent
*x
); /* 53 */
1253 void (*xQueryColors
) (Display
*d
, Colormap c
, XColor
*x
, int i
); /* 54 */
1254 Bool (*xQueryPointer
) (Display
*d
, Window w1
, Window
*w2
, Window
*w3
, int *i1
, int *i2
, int *i3
, int *i4
, unsigned int *ui
); /* 55 */
1255 Status (*xQueryTree
) (Display
*d
, Window w1
, Window
*w2
, Window
*w3
, Window
**w4
, unsigned int *ui
); /* 56 */
1256 void (*xRaiseWindow
) (Display
*d
, Window w
); /* 57 */
1257 void (*xRefreshKeyboardMapping
) (XMappingEvent
*x
); /* 58 */
1258 void (*xResizeWindow
) (Display
*d
, Window w
, unsigned int ui1
, unsigned int ui2
); /* 59 */
1259 void (*xSelectInput
) (Display
*d
, Window w
, long l
); /* 60 */
1260 Status (*xSendEvent
) (Display
*d
, Window w
, Bool b
, long l
, XEvent
*x
); /* 61 */
1261 void (*xSetCommand
) (Display
*d
, Window w
, CONST
char **c
, int i
); /* 62 */
1262 void (*xSetIconName
) (Display
*d
, Window w
, _Xconst
char *c
); /* 63 */
1263 void (*xSetInputFocus
) (Display
*d
, Window w
, int i
, Time t
); /* 64 */
1264 void (*xSetSelectionOwner
) (Display
*d
, Atom a
, Window w
, Time t
); /* 65 */
1265 void (*xSetWindowBackground
) (Display
*d
, Window w
, unsigned long ul
); /* 66 */
1266 void (*xSetWindowBackgroundPixmap
) (Display
*d
, Window w
, Pixmap p
); /* 67 */
1267 void (*xSetWindowBorder
) (Display
*d
, Window w
, unsigned long ul
); /* 68 */
1268 void (*xSetWindowBorderPixmap
) (Display
*d
, Window w
, Pixmap p
); /* 69 */
1269 void (*xSetWindowBorderWidth
) (Display
*d
, Window w
, unsigned int ui
); /* 70 */
1270 void (*xSetWindowColormap
) (Display
*d
, Window w
, Colormap c
); /* 71 */
1271 Bool (*xTranslateCoordinates
) (Display
*d
, Window w1
, Window w2
, int i1
, int i2
, int *i3
, int *i4
, Window
*w3
); /* 72 */
1272 void (*xUngrabKeyboard
) (Display
*d
, Time t
); /* 73 */
1273 void (*xUngrabPointer
) (Display
*d
, Time t
); /* 74 */
1274 void (*xUnmapWindow
) (Display
*d
, Window w
); /* 75 */
1275 void (*xWindowEvent
) (Display
*d
, Window w
, long l
, XEvent
*x
); /* 76 */
1276 void (*xDestroyIC
) (XIC x
); /* 77 */
1277 Bool (*xFilterEvent
) (XEvent
*x
, Window w
); /* 78 */
1278 int (*xmbLookupString
) (XIC xi
, XKeyPressedEvent
*xk
, char *c
, int i
, KeySym
*k
, Status
*s
); /* 79 */
1279 void (*tkPutImage
) (unsigned long *colors
, int ncolors
, Display
*display
, Drawable d
, GC gc
, XImage
*image
, int src_x
, int src_y
, int dest_x
, int dest_y
, unsigned int width
, unsigned int height
); /* 80 */
1281 Status (*xParseColor
) (Display
*display
, Colormap map
, _Xconst
char *spec
, XColor
*colorPtr
); /* 82 */
1282 GC (*xCreateGC
) (Display
*display
, Drawable d
, unsigned long valuemask
, XGCValues
*values
); /* 83 */
1283 void (*xFreeGC
) (Display
*display
, GC gc
); /* 84 */
1284 Atom (*xInternAtom
) (Display
*display
, _Xconst
char *atom_name
, Bool only_if_exists
); /* 85 */
1285 void (*xSetBackground
) (Display
*display
, GC gc
, unsigned long foreground
); /* 86 */
1286 void (*xSetForeground
) (Display
*display
, GC gc
, unsigned long foreground
); /* 87 */
1287 void (*xSetClipMask
) (Display
*display
, GC gc
, Pixmap pixmap
); /* 88 */
1288 void (*xSetClipOrigin
) (Display
*display
, GC gc
, int clip_x_origin
, int clip_y_origin
); /* 89 */
1289 void (*xSetTSOrigin
) (Display
*display
, GC gc
, int ts_x_origin
, int ts_y_origin
); /* 90 */
1290 void (*xChangeGC
) (Display
*d
, GC gc
, unsigned long mask
, XGCValues
*values
); /* 91 */
1291 void (*xSetFont
) (Display
*display
, GC gc
, Font font
); /* 92 */
1292 void (*xSetArcMode
) (Display
*display
, GC gc
, int arc_mode
); /* 93 */
1293 void (*xSetStipple
) (Display
*display
, GC gc
, Pixmap stipple
); /* 94 */
1294 void (*xSetFillRule
) (Display
*display
, GC gc
, int fill_rule
); /* 95 */
1295 void (*xSetFillStyle
) (Display
*display
, GC gc
, int fill_style
); /* 96 */
1296 void (*xSetFunction
) (Display
*display
, GC gc
, int function
); /* 97 */
1297 void (*xSetLineAttributes
) (Display
*display
, GC gc
, unsigned int line_width
, int line_style
, int cap_style
, int join_style
); /* 98 */
1298 int (*_XInitImageFuncPtrs
) (XImage
*image
); /* 99 */
1299 XIC (*xCreateIC
) (void); /* 100 */
1300 XVisualInfo
* (*xGetVisualInfo
) (Display
*display
, long vinfo_mask
, XVisualInfo
*vinfo_template
, int *nitems_return
); /* 101 */
1301 void (*xSetWMClientMachine
) (Display
*display
, Window w
, XTextProperty
*text_prop
); /* 102 */
1302 Status (*xStringListToTextProperty
) (char **list
, int count
, XTextProperty
*text_prop_return
); /* 103 */
1303 void (*xDrawLine
) (Display
*d
, Drawable dr
, GC g
, int x1
, int y1
, int x2
, int y2
); /* 104 */
1304 void (*xWarpPointer
) (Display
*d
, Window s
, Window dw
, int sx
, int sy
, unsigned int sw
, unsigned int sh
, int dx
, int dy
); /* 105 */
1305 void (*xFillRectangle
) (Display
*display
, Drawable d
, GC gc
, int x
, int y
, unsigned int width
, unsigned int height
); /* 106 */
1307 #ifdef MAC_OSX_TK /* AQUA */
1308 void (*xSetDashes
) (Display
*display
, GC gc
, int dash_offset
, _Xconst
char *dash_list
, int n
); /* 0 */
1309 XModifierKeymap
* (*xGetModifierMapping
) (Display
*d
); /* 1 */
1310 XImage
* (*xCreateImage
) (Display
*d
, Visual
*v
, unsigned int ui1
, int i1
, int i2
, char *cp
, unsigned int ui2
, unsigned int ui3
, int i3
, int i4
); /* 2 */
1311 XImage
* (*xGetImage
) (Display
*d
, Drawable dr
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
, unsigned long ul
, int i3
); /* 3 */
1312 char * (*xGetAtomName
) (Display
*d
, Atom a
); /* 4 */
1313 char * (*xKeysymToString
) (KeySym k
); /* 5 */
1314 Colormap (*xCreateColormap
) (Display
*d
, Window w
, Visual
*v
, int i
); /* 6 */
1315 GContext (*xGContextFromGC
) (GC g
); /* 7 */
1316 KeySym (*xKeycodeToKeysym
) (Display
*d
, KeyCode k
, int i
); /* 8 */
1317 KeySym (*xStringToKeysym
) (_Xconst
char *c
); /* 9 */
1318 Window (*xRootWindow
) (Display
*d
, int i
); /* 10 */
1319 XErrorHandler (*xSetErrorHandler
) (XErrorHandler x
); /* 11 */
1320 Status (*xAllocColor
) (Display
*d
, Colormap c
, XColor
*xp
); /* 12 */
1321 void (*xBell
) (Display
*d
, int i
); /* 13 */
1322 void (*xChangeProperty
) (Display
*d
, Window w
, Atom a1
, Atom a2
, int i1
, int i2
, _Xconst
unsigned char *c
, int i3
); /* 14 */
1323 void (*xChangeWindowAttributes
) (Display
*d
, Window w
, unsigned long ul
, XSetWindowAttributes
*x
); /* 15 */
1324 void (*xConfigureWindow
) (Display
*d
, Window w
, unsigned int i
, XWindowChanges
*x
); /* 16 */
1325 void (*xCopyArea
) (Display
*d
, Drawable dr1
, Drawable dr2
, GC g
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
, int i3
, int i4
); /* 17 */
1326 void (*xCopyPlane
) (Display
*d
, Drawable dr1
, Drawable dr2
, GC g
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
, int i3
, int i4
, unsigned long ul
); /* 18 */
1327 Pixmap (*xCreateBitmapFromData
) (Display
*display
, Drawable d
, _Xconst
char *data
, unsigned int width
, unsigned int height
); /* 19 */
1328 void (*xDefineCursor
) (Display
*d
, Window w
, Cursor c
); /* 20 */
1329 void (*xDestroyWindow
) (Display
*d
, Window w
); /* 21 */
1330 void (*xDrawArc
) (Display
*d
, Drawable dr
, GC g
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
, int i3
, int i4
); /* 22 */
1331 void (*xDrawLines
) (Display
*d
, Drawable dr
, GC g
, XPoint
*x
, int i1
, int i2
); /* 23 */
1332 void (*xDrawRectangle
) (Display
*d
, Drawable dr
, GC g
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
); /* 24 */
1333 void (*xFillArc
) (Display
*d
, Drawable dr
, GC g
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
, int i3
, int i4
); /* 25 */
1334 void (*xFillPolygon
) (Display
*d
, Drawable dr
, GC g
, XPoint
*x
, int i1
, int i2
, int i3
); /* 26 */
1335 void (*xFillRectangles
) (Display
*d
, Drawable dr
, GC g
, XRectangle
*x
, int i
); /* 27 */
1336 void (*xFreeColormap
) (Display
*d
, Colormap c
); /* 28 */
1337 void (*xFreeColors
) (Display
*d
, Colormap c
, unsigned long *ulp
, int i
, unsigned long ul
); /* 29 */
1338 void (*xFreeModifiermap
) (XModifierKeymap
*x
); /* 30 */
1339 Status (*xGetGeometry
) (Display
*d
, Drawable dr
, Window
*w
, int *i1
, int *i2
, unsigned int *ui1
, unsigned int *ui2
, unsigned int *ui3
, unsigned int *ui4
); /* 31 */
1340 int (*xGetWindowProperty
) (Display
*d
, Window w
, Atom a1
, long l1
, long l2
, Bool b
, Atom a2
, Atom
*ap
, int *ip
, unsigned long *ulp1
, unsigned long *ulp2
, unsigned char **cpp
); /* 32 */
1341 int (*xGrabKeyboard
) (Display
*d
, Window w
, Bool b
, int i1
, int i2
, Time t
); /* 33 */
1342 int (*xGrabPointer
) (Display
*d
, Window w1
, Bool b
, unsigned int ui
, int i1
, int i2
, Window w2
, Cursor c
, Time t
); /* 34 */
1343 KeyCode (*xKeysymToKeycode
) (Display
*d
, KeySym k
); /* 35 */
1344 void (*xMapWindow
) (Display
*d
, Window w
); /* 36 */
1345 void (*xMoveResizeWindow
) (Display
*d
, Window w
, int i1
, int i2
, unsigned int ui1
, unsigned int ui2
); /* 37 */
1346 void (*xMoveWindow
) (Display
*d
, Window w
, int i1
, int i2
); /* 38 */
1347 Bool (*xQueryPointer
) (Display
*d
, Window w1
, Window
*w2
, Window
*w3
, int *i1
, int *i2
, int *i3
, int *i4
, unsigned int *ui
); /* 39 */
1348 void (*xRaiseWindow
) (Display
*d
, Window w
); /* 40 */
1349 void (*xRefreshKeyboardMapping
) (XMappingEvent
*x
); /* 41 */
1350 void (*xResizeWindow
) (Display
*d
, Window w
, unsigned int ui1
, unsigned int ui2
); /* 42 */
1351 void (*xSelectInput
) (Display
*d
, Window w
, long l
); /* 43 */
1352 Status (*xSendEvent
) (Display
*d
, Window w
, Bool b
, long l
, XEvent
*x
); /* 44 */
1353 void (*xSetIconName
) (Display
*d
, Window w
, _Xconst
char *c
); /* 45 */
1354 void (*xSetInputFocus
) (Display
*d
, Window w
, int i
, Time t
); /* 46 */
1355 void (*xSetSelectionOwner
) (Display
*d
, Atom a
, Window w
, Time t
); /* 47 */
1356 void (*xSetWindowBackground
) (Display
*d
, Window w
, unsigned long ul
); /* 48 */
1357 void (*xSetWindowBackgroundPixmap
) (Display
*d
, Window w
, Pixmap p
); /* 49 */
1358 void (*xSetWindowBorder
) (Display
*d
, Window w
, unsigned long ul
); /* 50 */
1359 void (*xSetWindowBorderPixmap
) (Display
*d
, Window w
, Pixmap p
); /* 51 */
1360 void (*xSetWindowBorderWidth
) (Display
*d
, Window w
, unsigned int ui
); /* 52 */
1361 void (*xSetWindowColormap
) (Display
*d
, Window w
, Colormap c
); /* 53 */
1362 void (*xUngrabKeyboard
) (Display
*d
, Time t
); /* 54 */
1363 void (*xUngrabPointer
) (Display
*d
, Time t
); /* 55 */
1364 void (*xUnmapWindow
) (Display
*d
, Window w
); /* 56 */
1365 void (*tkPutImage
) (unsigned long *colors
, int ncolors
, Display
*display
, Drawable d
, GC gc
, XImage
*image
, int src_x
, int src_y
, int dest_x
, int dest_y
, unsigned int width
, unsigned int height
); /* 57 */
1366 Status (*xParseColor
) (Display
*display
, Colormap map
, _Xconst
char *spec
, XColor
*colorPtr
); /* 58 */
1367 GC (*xCreateGC
) (Display
*display
, Drawable d
, unsigned long valuemask
, XGCValues
*values
); /* 59 */
1368 void (*xFreeGC
) (Display
*display
, GC gc
); /* 60 */
1369 Atom (*xInternAtom
) (Display
*display
, _Xconst
char *atom_name
, Bool only_if_exists
); /* 61 */
1370 void (*xSetBackground
) (Display
*display
, GC gc
, unsigned long foreground
); /* 62 */
1371 void (*xSetForeground
) (Display
*display
, GC gc
, unsigned long foreground
); /* 63 */
1372 void (*xSetClipMask
) (Display
*display
, GC gc
, Pixmap pixmap
); /* 64 */
1373 void (*xSetClipOrigin
) (Display
*display
, GC gc
, int clip_x_origin
, int clip_y_origin
); /* 65 */
1374 void (*xSetTSOrigin
) (Display
*display
, GC gc
, int ts_x_origin
, int ts_y_origin
); /* 66 */
1375 void (*xChangeGC
) (Display
*d
, GC gc
, unsigned long mask
, XGCValues
*values
); /* 67 */
1376 void (*xSetFont
) (Display
*display
, GC gc
, Font font
); /* 68 */
1377 void (*xSetArcMode
) (Display
*display
, GC gc
, int arc_mode
); /* 69 */
1378 void (*xSetStipple
) (Display
*display
, GC gc
, Pixmap stipple
); /* 70 */
1379 void (*xSetFillRule
) (Display
*display
, GC gc
, int fill_rule
); /* 71 */
1380 void (*xSetFillStyle
) (Display
*display
, GC gc
, int fill_style
); /* 72 */
1381 void (*xSetFunction
) (Display
*display
, GC gc
, int function
); /* 73 */
1382 void (*xSetLineAttributes
) (Display
*display
, GC gc
, unsigned int line_width
, int line_style
, int cap_style
, int join_style
); /* 74 */
1383 int (*_XInitImageFuncPtrs
) (XImage
*image
); /* 75 */
1384 XIC (*xCreateIC
) (void); /* 76 */
1385 XVisualInfo
* (*xGetVisualInfo
) (Display
*display
, long vinfo_mask
, XVisualInfo
*vinfo_template
, int *nitems_return
); /* 77 */
1386 void (*xSetWMClientMachine
) (Display
*display
, Window w
, XTextProperty
*text_prop
); /* 78 */
1387 Status (*xStringListToTextProperty
) (char **list
, int count
, XTextProperty
*text_prop_return
); /* 79 */
1388 void (*xDrawSegments
) (Display
*display
, Drawable d
, GC gc
, XSegment
*segments
, int nsegments
); /* 80 */
1389 void (*xForceScreenSaver
) (Display
*display
, int mode
); /* 81 */
1390 void (*xDrawLine
) (Display
*d
, Drawable dr
, GC g
, int x1
, int y1
, int x2
, int y2
); /* 82 */
1391 void (*xFillRectangle
) (Display
*display
, Drawable d
, GC gc
, int x
, int y
, unsigned int width
, unsigned int height
); /* 83 */
1392 void (*xClearWindow
) (Display
*d
, Window w
); /* 84 */
1393 void (*xDrawPoint
) (Display
*display
, Drawable d
, GC gc
, int x
, int y
); /* 85 */
1394 void (*xDrawPoints
) (Display
*display
, Drawable d
, GC gc
, XPoint
*points
, int npoints
, int mode
); /* 86 */
1395 void (*xWarpPointer
) (Display
*display
, Window src_w
, Window dest_w
, int src_x
, int src_y
, unsigned int src_width
, unsigned int src_height
, int dest_x
, int dest_y
); /* 87 */
1396 void (*xQueryColor
) (Display
*display
, Colormap colormap
, XColor
*def_in_out
); /* 88 */
1397 void (*xQueryColors
) (Display
*display
, Colormap colormap
, XColor
*defs_in_out
, int ncolors
); /* 89 */
1398 Status (*xQueryTree
) (Display
*d
, Window w1
, Window
*w2
, Window
*w3
, Window
**w4
, unsigned int *ui
); /* 90 */
1399 int (*xSync
) (Display
*display
, Bool flag
); /* 91 */
1406 extern TkIntXlibStubs
*tkIntXlibStubsPtr
;
1411 #if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)
1414 * Inline function declarations:
1417 #ifdef __WIN32__ /* WIN */
1419 #define XSetDashes \
1420 (tkIntXlibStubsPtr->xSetDashes) /* 0 */
1422 #ifndef XGetModifierMapping
1423 #define XGetModifierMapping \
1424 (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */
1426 #ifndef XCreateImage
1427 #define XCreateImage \
1428 (tkIntXlibStubsPtr->xCreateImage) /* 2 */
1432 (tkIntXlibStubsPtr->xGetImage) /* 3 */
1434 #ifndef XGetAtomName
1435 #define XGetAtomName \
1436 (tkIntXlibStubsPtr->xGetAtomName) /* 4 */
1438 #ifndef XKeysymToString
1439 #define XKeysymToString \
1440 (tkIntXlibStubsPtr->xKeysymToString) /* 5 */
1442 #ifndef XCreateColormap
1443 #define XCreateColormap \
1444 (tkIntXlibStubsPtr->xCreateColormap) /* 6 */
1446 #ifndef XCreatePixmapCursor
1447 #define XCreatePixmapCursor \
1448 (tkIntXlibStubsPtr->xCreatePixmapCursor) /* 7 */
1450 #ifndef XCreateGlyphCursor
1451 #define XCreateGlyphCursor \
1452 (tkIntXlibStubsPtr->xCreateGlyphCursor) /* 8 */
1454 #ifndef XGContextFromGC
1455 #define XGContextFromGC \
1456 (tkIntXlibStubsPtr->xGContextFromGC) /* 9 */
1459 #define XListHosts \
1460 (tkIntXlibStubsPtr->xListHosts) /* 10 */
1462 #ifndef XKeycodeToKeysym
1463 #define XKeycodeToKeysym \
1464 (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 11 */
1466 #ifndef XStringToKeysym
1467 #define XStringToKeysym \
1468 (tkIntXlibStubsPtr->xStringToKeysym) /* 12 */
1471 #define XRootWindow \
1472 (tkIntXlibStubsPtr->xRootWindow) /* 13 */
1474 #ifndef XSetErrorHandler
1475 #define XSetErrorHandler \
1476 (tkIntXlibStubsPtr->xSetErrorHandler) /* 14 */
1478 #ifndef XIconifyWindow
1479 #define XIconifyWindow \
1480 (tkIntXlibStubsPtr->xIconifyWindow) /* 15 */
1482 #ifndef XWithdrawWindow
1483 #define XWithdrawWindow \
1484 (tkIntXlibStubsPtr->xWithdrawWindow) /* 16 */
1486 #ifndef XGetWMColormapWindows
1487 #define XGetWMColormapWindows \
1488 (tkIntXlibStubsPtr->xGetWMColormapWindows) /* 17 */
1491 #define XAllocColor \
1492 (tkIntXlibStubsPtr->xAllocColor) /* 18 */
1496 (tkIntXlibStubsPtr->xBell) /* 19 */
1498 #ifndef XChangeProperty
1499 #define XChangeProperty \
1500 (tkIntXlibStubsPtr->xChangeProperty) /* 20 */
1502 #ifndef XChangeWindowAttributes
1503 #define XChangeWindowAttributes \
1504 (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 21 */
1506 #ifndef XClearWindow
1507 #define XClearWindow \
1508 (tkIntXlibStubsPtr->xClearWindow) /* 22 */
1510 #ifndef XConfigureWindow
1511 #define XConfigureWindow \
1512 (tkIntXlibStubsPtr->xConfigureWindow) /* 23 */
1516 (tkIntXlibStubsPtr->xCopyArea) /* 24 */
1519 #define XCopyPlane \
1520 (tkIntXlibStubsPtr->xCopyPlane) /* 25 */
1522 #ifndef XCreateBitmapFromData
1523 #define XCreateBitmapFromData \
1524 (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 26 */
1526 #ifndef XDefineCursor
1527 #define XDefineCursor \
1528 (tkIntXlibStubsPtr->xDefineCursor) /* 27 */
1530 #ifndef XDeleteProperty
1531 #define XDeleteProperty \
1532 (tkIntXlibStubsPtr->xDeleteProperty) /* 28 */
1534 #ifndef XDestroyWindow
1535 #define XDestroyWindow \
1536 (tkIntXlibStubsPtr->xDestroyWindow) /* 29 */
1540 (tkIntXlibStubsPtr->xDrawArc) /* 30 */
1543 #define XDrawLines \
1544 (tkIntXlibStubsPtr->xDrawLines) /* 31 */
1546 #ifndef XDrawRectangle
1547 #define XDrawRectangle \
1548 (tkIntXlibStubsPtr->xDrawRectangle) /* 32 */
1552 (tkIntXlibStubsPtr->xFillArc) /* 33 */
1554 #ifndef XFillPolygon
1555 #define XFillPolygon \
1556 (tkIntXlibStubsPtr->xFillPolygon) /* 34 */
1558 #ifndef XFillRectangles
1559 #define XFillRectangles \
1560 (tkIntXlibStubsPtr->xFillRectangles) /* 35 */
1562 #ifndef XForceScreenSaver
1563 #define XForceScreenSaver \
1564 (tkIntXlibStubsPtr->xForceScreenSaver) /* 36 */
1566 #ifndef XFreeColormap
1567 #define XFreeColormap \
1568 (tkIntXlibStubsPtr->xFreeColormap) /* 37 */
1571 #define XFreeColors \
1572 (tkIntXlibStubsPtr->xFreeColors) /* 38 */
1575 #define XFreeCursor \
1576 (tkIntXlibStubsPtr->xFreeCursor) /* 39 */
1578 #ifndef XFreeModifiermap
1579 #define XFreeModifiermap \
1580 (tkIntXlibStubsPtr->xFreeModifiermap) /* 40 */
1582 #ifndef XGetGeometry
1583 #define XGetGeometry \
1584 (tkIntXlibStubsPtr->xGetGeometry) /* 41 */
1586 #ifndef XGetInputFocus
1587 #define XGetInputFocus \
1588 (tkIntXlibStubsPtr->xGetInputFocus) /* 42 */
1590 #ifndef XGetWindowProperty
1591 #define XGetWindowProperty \
1592 (tkIntXlibStubsPtr->xGetWindowProperty) /* 43 */
1594 #ifndef XGetWindowAttributes
1595 #define XGetWindowAttributes \
1596 (tkIntXlibStubsPtr->xGetWindowAttributes) /* 44 */
1598 #ifndef XGrabKeyboard
1599 #define XGrabKeyboard \
1600 (tkIntXlibStubsPtr->xGrabKeyboard) /* 45 */
1602 #ifndef XGrabPointer
1603 #define XGrabPointer \
1604 (tkIntXlibStubsPtr->xGrabPointer) /* 46 */
1606 #ifndef XKeysymToKeycode
1607 #define XKeysymToKeycode \
1608 (tkIntXlibStubsPtr->xKeysymToKeycode) /* 47 */
1610 #ifndef XLookupColor
1611 #define XLookupColor \
1612 (tkIntXlibStubsPtr->xLookupColor) /* 48 */
1615 #define XMapWindow \
1616 (tkIntXlibStubsPtr->xMapWindow) /* 49 */
1618 #ifndef XMoveResizeWindow
1619 #define XMoveResizeWindow \
1620 (tkIntXlibStubsPtr->xMoveResizeWindow) /* 50 */
1623 #define XMoveWindow \
1624 (tkIntXlibStubsPtr->xMoveWindow) /* 51 */
1627 #define XNextEvent \
1628 (tkIntXlibStubsPtr->xNextEvent) /* 52 */
1630 #ifndef XPutBackEvent
1631 #define XPutBackEvent \
1632 (tkIntXlibStubsPtr->xPutBackEvent) /* 53 */
1634 #ifndef XQueryColors
1635 #define XQueryColors \
1636 (tkIntXlibStubsPtr->xQueryColors) /* 54 */
1638 #ifndef XQueryPointer
1639 #define XQueryPointer \
1640 (tkIntXlibStubsPtr->xQueryPointer) /* 55 */
1643 #define XQueryTree \
1644 (tkIntXlibStubsPtr->xQueryTree) /* 56 */
1646 #ifndef XRaiseWindow
1647 #define XRaiseWindow \
1648 (tkIntXlibStubsPtr->xRaiseWindow) /* 57 */
1650 #ifndef XRefreshKeyboardMapping
1651 #define XRefreshKeyboardMapping \
1652 (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 58 */
1654 #ifndef XResizeWindow
1655 #define XResizeWindow \
1656 (tkIntXlibStubsPtr->xResizeWindow) /* 59 */
1658 #ifndef XSelectInput
1659 #define XSelectInput \
1660 (tkIntXlibStubsPtr->xSelectInput) /* 60 */
1663 #define XSendEvent \
1664 (tkIntXlibStubsPtr->xSendEvent) /* 61 */
1667 #define XSetCommand \
1668 (tkIntXlibStubsPtr->xSetCommand) /* 62 */
1670 #ifndef XSetIconName
1671 #define XSetIconName \
1672 (tkIntXlibStubsPtr->xSetIconName) /* 63 */
1674 #ifndef XSetInputFocus
1675 #define XSetInputFocus \
1676 (tkIntXlibStubsPtr->xSetInputFocus) /* 64 */
1678 #ifndef XSetSelectionOwner
1679 #define XSetSelectionOwner \
1680 (tkIntXlibStubsPtr->xSetSelectionOwner) /* 65 */
1682 #ifndef XSetWindowBackground
1683 #define XSetWindowBackground \
1684 (tkIntXlibStubsPtr->xSetWindowBackground) /* 66 */
1686 #ifndef XSetWindowBackgroundPixmap
1687 #define XSetWindowBackgroundPixmap \
1688 (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 67 */
1690 #ifndef XSetWindowBorder
1691 #define XSetWindowBorder \
1692 (tkIntXlibStubsPtr->xSetWindowBorder) /* 68 */
1694 #ifndef XSetWindowBorderPixmap
1695 #define XSetWindowBorderPixmap \
1696 (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 69 */
1698 #ifndef XSetWindowBorderWidth
1699 #define XSetWindowBorderWidth \
1700 (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 70 */
1702 #ifndef XSetWindowColormap
1703 #define XSetWindowColormap \
1704 (tkIntXlibStubsPtr->xSetWindowColormap) /* 71 */
1706 #ifndef XTranslateCoordinates
1707 #define XTranslateCoordinates \
1708 (tkIntXlibStubsPtr->xTranslateCoordinates) /* 72 */
1710 #ifndef XUngrabKeyboard
1711 #define XUngrabKeyboard \
1712 (tkIntXlibStubsPtr->xUngrabKeyboard) /* 73 */
1714 #ifndef XUngrabPointer
1715 #define XUngrabPointer \
1716 (tkIntXlibStubsPtr->xUngrabPointer) /* 74 */
1718 #ifndef XUnmapWindow
1719 #define XUnmapWindow \
1720 (tkIntXlibStubsPtr->xUnmapWindow) /* 75 */
1722 #ifndef XWindowEvent
1723 #define XWindowEvent \
1724 (tkIntXlibStubsPtr->xWindowEvent) /* 76 */
1727 #define XDestroyIC \
1728 (tkIntXlibStubsPtr->xDestroyIC) /* 77 */
1730 #ifndef XFilterEvent
1731 #define XFilterEvent \
1732 (tkIntXlibStubsPtr->xFilterEvent) /* 78 */
1734 #ifndef XmbLookupString
1735 #define XmbLookupString \
1736 (tkIntXlibStubsPtr->xmbLookupString) /* 79 */
1739 #define TkPutImage \
1740 (tkIntXlibStubsPtr->tkPutImage) /* 80 */
1742 /* Slot 81 is reserved */
1744 #define XParseColor \
1745 (tkIntXlibStubsPtr->xParseColor) /* 82 */
1749 (tkIntXlibStubsPtr->xCreateGC) /* 83 */
1753 (tkIntXlibStubsPtr->xFreeGC) /* 84 */
1756 #define XInternAtom \
1757 (tkIntXlibStubsPtr->xInternAtom) /* 85 */
1759 #ifndef XSetBackground
1760 #define XSetBackground \
1761 (tkIntXlibStubsPtr->xSetBackground) /* 86 */
1763 #ifndef XSetForeground
1764 #define XSetForeground \
1765 (tkIntXlibStubsPtr->xSetForeground) /* 87 */
1767 #ifndef XSetClipMask
1768 #define XSetClipMask \
1769 (tkIntXlibStubsPtr->xSetClipMask) /* 88 */
1771 #ifndef XSetClipOrigin
1772 #define XSetClipOrigin \
1773 (tkIntXlibStubsPtr->xSetClipOrigin) /* 89 */
1775 #ifndef XSetTSOrigin
1776 #define XSetTSOrigin \
1777 (tkIntXlibStubsPtr->xSetTSOrigin) /* 90 */
1781 (tkIntXlibStubsPtr->xChangeGC) /* 91 */
1785 (tkIntXlibStubsPtr->xSetFont) /* 92 */
1788 #define XSetArcMode \
1789 (tkIntXlibStubsPtr->xSetArcMode) /* 93 */
1792 #define XSetStipple \
1793 (tkIntXlibStubsPtr->xSetStipple) /* 94 */
1795 #ifndef XSetFillRule
1796 #define XSetFillRule \
1797 (tkIntXlibStubsPtr->xSetFillRule) /* 95 */
1799 #ifndef XSetFillStyle
1800 #define XSetFillStyle \
1801 (tkIntXlibStubsPtr->xSetFillStyle) /* 96 */
1803 #ifndef XSetFunction
1804 #define XSetFunction \
1805 (tkIntXlibStubsPtr->xSetFunction) /* 97 */
1807 #ifndef XSetLineAttributes
1808 #define XSetLineAttributes \
1809 (tkIntXlibStubsPtr->xSetLineAttributes) /* 98 */
1811 #ifndef _XInitImageFuncPtrs
1812 #define _XInitImageFuncPtrs \
1813 (tkIntXlibStubsPtr->_XInitImageFuncPtrs) /* 99 */
1817 (tkIntXlibStubsPtr->xCreateIC) /* 100 */
1819 #ifndef XGetVisualInfo
1820 #define XGetVisualInfo \
1821 (tkIntXlibStubsPtr->xGetVisualInfo) /* 101 */
1823 #ifndef XSetWMClientMachine
1824 #define XSetWMClientMachine \
1825 (tkIntXlibStubsPtr->xSetWMClientMachine) /* 102 */
1827 #ifndef XStringListToTextProperty
1828 #define XStringListToTextProperty \
1829 (tkIntXlibStubsPtr->xStringListToTextProperty) /* 103 */
1833 (tkIntXlibStubsPtr->xDrawLine) /* 104 */
1835 #ifndef XWarpPointer
1836 #define XWarpPointer \
1837 (tkIntXlibStubsPtr->xWarpPointer) /* 105 */
1839 #ifndef XFillRectangle
1840 #define XFillRectangle \
1841 (tkIntXlibStubsPtr->xFillRectangle) /* 106 */
1844 #ifdef MAC_OSX_TK /* AQUA */
1846 #define XSetDashes \
1847 (tkIntXlibStubsPtr->xSetDashes) /* 0 */
1849 #ifndef XGetModifierMapping
1850 #define XGetModifierMapping \
1851 (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */
1853 #ifndef XCreateImage
1854 #define XCreateImage \
1855 (tkIntXlibStubsPtr->xCreateImage) /* 2 */
1859 (tkIntXlibStubsPtr->xGetImage) /* 3 */
1861 #ifndef XGetAtomName
1862 #define XGetAtomName \
1863 (tkIntXlibStubsPtr->xGetAtomName) /* 4 */
1865 #ifndef XKeysymToString
1866 #define XKeysymToString \
1867 (tkIntXlibStubsPtr->xKeysymToString) /* 5 */
1869 #ifndef XCreateColormap
1870 #define XCreateColormap \
1871 (tkIntXlibStubsPtr->xCreateColormap) /* 6 */
1873 #ifndef XGContextFromGC
1874 #define XGContextFromGC \
1875 (tkIntXlibStubsPtr->xGContextFromGC) /* 7 */
1877 #ifndef XKeycodeToKeysym
1878 #define XKeycodeToKeysym \
1879 (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 8 */
1881 #ifndef XStringToKeysym
1882 #define XStringToKeysym \
1883 (tkIntXlibStubsPtr->xStringToKeysym) /* 9 */
1886 #define XRootWindow \
1887 (tkIntXlibStubsPtr->xRootWindow) /* 10 */
1889 #ifndef XSetErrorHandler
1890 #define XSetErrorHandler \
1891 (tkIntXlibStubsPtr->xSetErrorHandler) /* 11 */
1894 #define XAllocColor \
1895 (tkIntXlibStubsPtr->xAllocColor) /* 12 */
1899 (tkIntXlibStubsPtr->xBell) /* 13 */
1901 #ifndef XChangeProperty
1902 #define XChangeProperty \
1903 (tkIntXlibStubsPtr->xChangeProperty) /* 14 */
1905 #ifndef XChangeWindowAttributes
1906 #define XChangeWindowAttributes \
1907 (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 15 */
1909 #ifndef XConfigureWindow
1910 #define XConfigureWindow \
1911 (tkIntXlibStubsPtr->xConfigureWindow) /* 16 */
1915 (tkIntXlibStubsPtr->xCopyArea) /* 17 */
1918 #define XCopyPlane \
1919 (tkIntXlibStubsPtr->xCopyPlane) /* 18 */
1921 #ifndef XCreateBitmapFromData
1922 #define XCreateBitmapFromData \
1923 (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 19 */
1925 #ifndef XDefineCursor
1926 #define XDefineCursor \
1927 (tkIntXlibStubsPtr->xDefineCursor) /* 20 */
1929 #ifndef XDestroyWindow
1930 #define XDestroyWindow \
1931 (tkIntXlibStubsPtr->xDestroyWindow) /* 21 */
1935 (tkIntXlibStubsPtr->xDrawArc) /* 22 */
1938 #define XDrawLines \
1939 (tkIntXlibStubsPtr->xDrawLines) /* 23 */
1941 #ifndef XDrawRectangle
1942 #define XDrawRectangle \
1943 (tkIntXlibStubsPtr->xDrawRectangle) /* 24 */
1947 (tkIntXlibStubsPtr->xFillArc) /* 25 */
1949 #ifndef XFillPolygon
1950 #define XFillPolygon \
1951 (tkIntXlibStubsPtr->xFillPolygon) /* 26 */
1953 #ifndef XFillRectangles
1954 #define XFillRectangles \
1955 (tkIntXlibStubsPtr->xFillRectangles) /* 27 */
1957 #ifndef XFreeColormap
1958 #define XFreeColormap \
1959 (tkIntXlibStubsPtr->xFreeColormap) /* 28 */
1962 #define XFreeColors \
1963 (tkIntXlibStubsPtr->xFreeColors) /* 29 */
1965 #ifndef XFreeModifiermap
1966 #define XFreeModifiermap \
1967 (tkIntXlibStubsPtr->xFreeModifiermap) /* 30 */
1969 #ifndef XGetGeometry
1970 #define XGetGeometry \
1971 (tkIntXlibStubsPtr->xGetGeometry) /* 31 */
1973 #ifndef XGetWindowProperty
1974 #define XGetWindowProperty \
1975 (tkIntXlibStubsPtr->xGetWindowProperty) /* 32 */
1977 #ifndef XGrabKeyboard
1978 #define XGrabKeyboard \
1979 (tkIntXlibStubsPtr->xGrabKeyboard) /* 33 */
1981 #ifndef XGrabPointer
1982 #define XGrabPointer \
1983 (tkIntXlibStubsPtr->xGrabPointer) /* 34 */
1985 #ifndef XKeysymToKeycode
1986 #define XKeysymToKeycode \
1987 (tkIntXlibStubsPtr->xKeysymToKeycode) /* 35 */
1990 #define XMapWindow \
1991 (tkIntXlibStubsPtr->xMapWindow) /* 36 */
1993 #ifndef XMoveResizeWindow
1994 #define XMoveResizeWindow \
1995 (tkIntXlibStubsPtr->xMoveResizeWindow) /* 37 */
1998 #define XMoveWindow \
1999 (tkIntXlibStubsPtr->xMoveWindow) /* 38 */
2001 #ifndef XQueryPointer
2002 #define XQueryPointer \
2003 (tkIntXlibStubsPtr->xQueryPointer) /* 39 */
2005 #ifndef XRaiseWindow
2006 #define XRaiseWindow \
2007 (tkIntXlibStubsPtr->xRaiseWindow) /* 40 */
2009 #ifndef XRefreshKeyboardMapping
2010 #define XRefreshKeyboardMapping \
2011 (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 41 */
2013 #ifndef XResizeWindow
2014 #define XResizeWindow \
2015 (tkIntXlibStubsPtr->xResizeWindow) /* 42 */
2017 #ifndef XSelectInput
2018 #define XSelectInput \
2019 (tkIntXlibStubsPtr->xSelectInput) /* 43 */
2022 #define XSendEvent \
2023 (tkIntXlibStubsPtr->xSendEvent) /* 44 */
2025 #ifndef XSetIconName
2026 #define XSetIconName \
2027 (tkIntXlibStubsPtr->xSetIconName) /* 45 */
2029 #ifndef XSetInputFocus
2030 #define XSetInputFocus \
2031 (tkIntXlibStubsPtr->xSetInputFocus) /* 46 */
2033 #ifndef XSetSelectionOwner
2034 #define XSetSelectionOwner \
2035 (tkIntXlibStubsPtr->xSetSelectionOwner) /* 47 */
2037 #ifndef XSetWindowBackground
2038 #define XSetWindowBackground \
2039 (tkIntXlibStubsPtr->xSetWindowBackground) /* 48 */
2041 #ifndef XSetWindowBackgroundPixmap
2042 #define XSetWindowBackgroundPixmap \
2043 (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 49 */
2045 #ifndef XSetWindowBorder
2046 #define XSetWindowBorder \
2047 (tkIntXlibStubsPtr->xSetWindowBorder) /* 50 */
2049 #ifndef XSetWindowBorderPixmap
2050 #define XSetWindowBorderPixmap \
2051 (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 51 */
2053 #ifndef XSetWindowBorderWidth
2054 #define XSetWindowBorderWidth \
2055 (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 52 */
2057 #ifndef XSetWindowColormap
2058 #define XSetWindowColormap \
2059 (tkIntXlibStubsPtr->xSetWindowColormap) /* 53 */
2061 #ifndef XUngrabKeyboard
2062 #define XUngrabKeyboard \
2063 (tkIntXlibStubsPtr->xUngrabKeyboard) /* 54 */
2065 #ifndef XUngrabPointer
2066 #define XUngrabPointer \
2067 (tkIntXlibStubsPtr->xUngrabPointer) /* 55 */
2069 #ifndef XUnmapWindow
2070 #define XUnmapWindow \
2071 (tkIntXlibStubsPtr->xUnmapWindow) /* 56 */
2074 #define TkPutImage \
2075 (tkIntXlibStubsPtr->tkPutImage) /* 57 */
2078 #define XParseColor \
2079 (tkIntXlibStubsPtr->xParseColor) /* 58 */
2083 (tkIntXlibStubsPtr->xCreateGC) /* 59 */
2087 (tkIntXlibStubsPtr->xFreeGC) /* 60 */
2090 #define XInternAtom \
2091 (tkIntXlibStubsPtr->xInternAtom) /* 61 */
2093 #ifndef XSetBackground
2094 #define XSetBackground \
2095 (tkIntXlibStubsPtr->xSetBackground) /* 62 */
2097 #ifndef XSetForeground
2098 #define XSetForeground \
2099 (tkIntXlibStubsPtr->xSetForeground) /* 63 */
2101 #ifndef XSetClipMask
2102 #define XSetClipMask \
2103 (tkIntXlibStubsPtr->xSetClipMask) /* 64 */
2105 #ifndef XSetClipOrigin
2106 #define XSetClipOrigin \
2107 (tkIntXlibStubsPtr->xSetClipOrigin) /* 65 */
2109 #ifndef XSetTSOrigin
2110 #define XSetTSOrigin \
2111 (tkIntXlibStubsPtr->xSetTSOrigin) /* 66 */
2115 (tkIntXlibStubsPtr->xChangeGC) /* 67 */
2119 (tkIntXlibStubsPtr->xSetFont) /* 68 */
2122 #define XSetArcMode \
2123 (tkIntXlibStubsPtr->xSetArcMode) /* 69 */
2126 #define XSetStipple \
2127 (tkIntXlibStubsPtr->xSetStipple) /* 70 */
2129 #ifndef XSetFillRule
2130 #define XSetFillRule \
2131 (tkIntXlibStubsPtr->xSetFillRule) /* 71 */
2133 #ifndef XSetFillStyle
2134 #define XSetFillStyle \
2135 (tkIntXlibStubsPtr->xSetFillStyle) /* 72 */
2137 #ifndef XSetFunction
2138 #define XSetFunction \
2139 (tkIntXlibStubsPtr->xSetFunction) /* 73 */
2141 #ifndef XSetLineAttributes
2142 #define XSetLineAttributes \
2143 (tkIntXlibStubsPtr->xSetLineAttributes) /* 74 */
2145 #ifndef _XInitImageFuncPtrs
2146 #define _XInitImageFuncPtrs \
2147 (tkIntXlibStubsPtr->_XInitImageFuncPtrs) /* 75 */
2151 (tkIntXlibStubsPtr->xCreateIC) /* 76 */
2153 #ifndef XGetVisualInfo
2154 #define XGetVisualInfo \
2155 (tkIntXlibStubsPtr->xGetVisualInfo) /* 77 */
2157 #ifndef XSetWMClientMachine
2158 #define XSetWMClientMachine \
2159 (tkIntXlibStubsPtr->xSetWMClientMachine) /* 78 */
2161 #ifndef XStringListToTextProperty
2162 #define XStringListToTextProperty \
2163 (tkIntXlibStubsPtr->xStringListToTextProperty) /* 79 */
2165 #ifndef XDrawSegments
2166 #define XDrawSegments \
2167 (tkIntXlibStubsPtr->xDrawSegments) /* 80 */
2169 #ifndef XForceScreenSaver
2170 #define XForceScreenSaver \
2171 (tkIntXlibStubsPtr->xForceScreenSaver) /* 81 */
2175 (tkIntXlibStubsPtr->xDrawLine) /* 82 */
2177 #ifndef XFillRectangle
2178 #define XFillRectangle \
2179 (tkIntXlibStubsPtr->xFillRectangle) /* 83 */
2181 #ifndef XClearWindow
2182 #define XClearWindow \
2183 (tkIntXlibStubsPtr->xClearWindow) /* 84 */
2186 #define XDrawPoint \
2187 (tkIntXlibStubsPtr->xDrawPoint) /* 85 */
2190 #define XDrawPoints \
2191 (tkIntXlibStubsPtr->xDrawPoints) /* 86 */
2193 #ifndef XWarpPointer
2194 #define XWarpPointer \
2195 (tkIntXlibStubsPtr->xWarpPointer) /* 87 */
2198 #define XQueryColor \
2199 (tkIntXlibStubsPtr->xQueryColor) /* 88 */
2201 #ifndef XQueryColors
2202 #define XQueryColors \
2203 (tkIntXlibStubsPtr->xQueryColors) /* 89 */
2206 #define XQueryTree \
2207 (tkIntXlibStubsPtr->xQueryTree) /* 90 */
2211 (tkIntXlibStubsPtr->xSync) /* 91 */
2215 #endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */
2217 /* !END!: Do not edit above this line. */
2219 #undef TCL_STORAGE_CLASS
2220 #define TCL_STORAGE_CLASS DLLIMPORT
2222 #endif /* _TKINTXLIBDECLS */