jpayne@69: /* jpayne@69: * tkIntXlibDecls.h -- jpayne@69: * jpayne@69: * This file contains the declarations for all platform dependent jpayne@69: * unsupported functions that are exported by the Tk library. These jpayne@69: * interfaces are not guaranteed to remain the same between jpayne@69: * versions. Use at your own risk. jpayne@69: * jpayne@69: * Copyright (c) 1998-1999 by Scriptics Corporation. jpayne@69: * All rights reserved. jpayne@69: */ jpayne@69: jpayne@69: #ifndef _TKINTXLIBDECLS jpayne@69: #define _TKINTXLIBDECLS jpayne@69: jpayne@69: /* jpayne@69: * WARNING: This file is automatically generated by the tools/genStubs.tcl jpayne@69: * script. Any modifications to the function declarations below should be made jpayne@69: * in the generic/tkInt.decls script. jpayne@69: */ jpayne@69: jpayne@69: #ifndef _TCL jpayne@69: # include jpayne@69: #endif jpayne@69: jpayne@69: /* Some (older) versions of X11/Xutil.h have a wrong signature of those jpayne@69: two functions, so move them out of the way temporarly. */ jpayne@69: #define XOffsetRegion _XOffsetRegion jpayne@69: #define XUnionRegion _XUnionRegion jpayne@69: #include "X11/Xutil.h" jpayne@69: #undef XOffsetRegion jpayne@69: #undef XUnionRegion jpayne@69: jpayne@69: #ifdef BUILD_tk jpayne@69: #undef TCL_STORAGE_CLASS jpayne@69: #define TCL_STORAGE_CLASS DLLEXPORT jpayne@69: #endif jpayne@69: jpayne@69: typedef int (*XAfterFunction) ( /* WARNING, this type not in Xlib spec */ jpayne@69: Display* /* display */ jpayne@69: ); jpayne@69: jpayne@69: /* !BEGIN!: Do not edit below this line. */ jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: extern "C" { jpayne@69: #endif jpayne@69: jpayne@69: /* jpayne@69: * Exported function declarations: jpayne@69: */ jpayne@69: jpayne@69: #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */ jpayne@69: /* 0 */ jpayne@69: EXTERN int XSetDashes(Display *display, GC gc, int dash_offset, jpayne@69: _Xconst char *dash_list, int n); jpayne@69: /* 1 */ jpayne@69: EXTERN XModifierKeymap * XGetModifierMapping(Display *d); jpayne@69: /* 2 */ jpayne@69: EXTERN XImage * XCreateImage(Display *d, Visual *v, unsigned int ui1, jpayne@69: int i1, int i2, char *cp, unsigned int ui2, jpayne@69: unsigned int ui3, int i3, int i4); jpayne@69: /* 3 */ jpayne@69: EXTERN XImage * XGetImage(Display *d, Drawable dr, int i1, int i2, jpayne@69: unsigned int ui1, unsigned int ui2, jpayne@69: unsigned long ul, int i3); jpayne@69: /* 4 */ jpayne@69: EXTERN char * XGetAtomName(Display *d, Atom a); jpayne@69: /* 5 */ jpayne@69: EXTERN char * XKeysymToString(KeySym k); jpayne@69: /* 6 */ jpayne@69: EXTERN Colormap XCreateColormap(Display *d, Window w, Visual *v, jpayne@69: int i); jpayne@69: /* 7 */ jpayne@69: EXTERN Cursor XCreatePixmapCursor(Display *d, Pixmap p1, Pixmap p2, jpayne@69: XColor *x1, XColor *x2, unsigned int ui1, jpayne@69: unsigned int ui2); jpayne@69: /* 8 */ jpayne@69: EXTERN Cursor XCreateGlyphCursor(Display *d, Font f1, Font f2, jpayne@69: unsigned int ui1, unsigned int ui2, jpayne@69: XColor _Xconst *x1, XColor _Xconst *x2); jpayne@69: /* 9 */ jpayne@69: EXTERN GContext XGContextFromGC(GC g); jpayne@69: /* 10 */ jpayne@69: EXTERN XHostAddress * XListHosts(Display *d, int *i, Bool *b); jpayne@69: /* 11 */ jpayne@69: EXTERN KeySym XKeycodeToKeysym(Display *d, unsigned int k, int i); jpayne@69: /* 12 */ jpayne@69: EXTERN KeySym XStringToKeysym(_Xconst char *c); jpayne@69: /* 13 */ jpayne@69: EXTERN Window XRootWindow(Display *d, int i); jpayne@69: /* 14 */ jpayne@69: EXTERN XErrorHandler XSetErrorHandler(XErrorHandler x); jpayne@69: /* 15 */ jpayne@69: EXTERN Status XIconifyWindow(Display *d, Window w, int i); jpayne@69: /* 16 */ jpayne@69: EXTERN Status XWithdrawWindow(Display *d, Window w, int i); jpayne@69: /* 17 */ jpayne@69: EXTERN Status XGetWMColormapWindows(Display *d, Window w, jpayne@69: Window **wpp, int *ip); jpayne@69: /* 18 */ jpayne@69: EXTERN Status XAllocColor(Display *d, Colormap c, XColor *xp); jpayne@69: /* 19 */ jpayne@69: EXTERN int XBell(Display *d, int i); jpayne@69: /* 20 */ jpayne@69: EXTERN int XChangeProperty(Display *d, Window w, Atom a1, jpayne@69: Atom a2, int i1, int i2, jpayne@69: _Xconst unsigned char *c, int i3); jpayne@69: /* 21 */ jpayne@69: EXTERN int XChangeWindowAttributes(Display *d, Window w, jpayne@69: unsigned long ul, XSetWindowAttributes *x); jpayne@69: /* 22 */ jpayne@69: EXTERN int XClearWindow(Display *d, Window w); jpayne@69: /* 23 */ jpayne@69: EXTERN int XConfigureWindow(Display *d, Window w, jpayne@69: unsigned int i, XWindowChanges *x); jpayne@69: /* 24 */ jpayne@69: EXTERN int XCopyArea(Display *d, Drawable dr1, Drawable dr2, jpayne@69: GC g, int i1, int i2, unsigned int ui1, jpayne@69: unsigned int ui2, int i3, int i4); jpayne@69: /* 25 */ jpayne@69: EXTERN int XCopyPlane(Display *d, Drawable dr1, Drawable dr2, jpayne@69: GC g, int i1, int i2, unsigned int ui1, jpayne@69: unsigned int ui2, int i3, int i4, jpayne@69: unsigned long ul); jpayne@69: /* 26 */ jpayne@69: EXTERN Pixmap XCreateBitmapFromData(Display *display, Drawable d, jpayne@69: _Xconst char *data, unsigned int width, jpayne@69: unsigned int height); jpayne@69: /* 27 */ jpayne@69: EXTERN int XDefineCursor(Display *d, Window w, Cursor c); jpayne@69: /* 28 */ jpayne@69: EXTERN int XDeleteProperty(Display *d, Window w, Atom a); jpayne@69: /* 29 */ jpayne@69: EXTERN int XDestroyWindow(Display *d, Window w); jpayne@69: /* 30 */ jpayne@69: EXTERN int XDrawArc(Display *d, Drawable dr, GC g, int i1, jpayne@69: int i2, unsigned int ui1, unsigned int ui2, jpayne@69: int i3, int i4); jpayne@69: /* 31 */ jpayne@69: EXTERN int XDrawLines(Display *d, Drawable dr, GC g, XPoint *x, jpayne@69: int i1, int i2); jpayne@69: /* 32 */ jpayne@69: EXTERN int XDrawRectangle(Display *d, Drawable dr, GC g, int i1, jpayne@69: int i2, unsigned int ui1, unsigned int ui2); jpayne@69: /* 33 */ jpayne@69: EXTERN int XFillArc(Display *d, Drawable dr, GC g, int i1, jpayne@69: int i2, unsigned int ui1, unsigned int ui2, jpayne@69: int i3, int i4); jpayne@69: /* 34 */ jpayne@69: EXTERN int XFillPolygon(Display *d, Drawable dr, GC g, jpayne@69: XPoint *x, int i1, int i2, int i3); jpayne@69: /* 35 */ jpayne@69: EXTERN int XFillRectangles(Display *d, Drawable dr, GC g, jpayne@69: XRectangle *x, int i); jpayne@69: /* 36 */ jpayne@69: EXTERN int XForceScreenSaver(Display *d, int i); jpayne@69: /* 37 */ jpayne@69: EXTERN int XFreeColormap(Display *d, Colormap c); jpayne@69: /* 38 */ jpayne@69: EXTERN int XFreeColors(Display *d, Colormap c, jpayne@69: unsigned long *ulp, int i, unsigned long ul); jpayne@69: /* 39 */ jpayne@69: EXTERN int XFreeCursor(Display *d, Cursor c); jpayne@69: /* 40 */ jpayne@69: EXTERN int XFreeModifiermap(XModifierKeymap *x); jpayne@69: /* 41 */ jpayne@69: EXTERN Status XGetGeometry(Display *d, Drawable dr, Window *w, jpayne@69: int *i1, int *i2, unsigned int *ui1, jpayne@69: unsigned int *ui2, unsigned int *ui3, jpayne@69: unsigned int *ui4); jpayne@69: /* 42 */ jpayne@69: EXTERN int XGetInputFocus(Display *d, Window *w, int *i); jpayne@69: /* 43 */ jpayne@69: EXTERN int XGetWindowProperty(Display *d, Window w, Atom a1, jpayne@69: long l1, long l2, Bool b, Atom a2, Atom *ap, jpayne@69: int *ip, unsigned long *ulp1, jpayne@69: unsigned long *ulp2, unsigned char **cpp); jpayne@69: /* 44 */ jpayne@69: EXTERN Status XGetWindowAttributes(Display *d, Window w, jpayne@69: XWindowAttributes *x); jpayne@69: /* 45 */ jpayne@69: EXTERN int XGrabKeyboard(Display *d, Window w, Bool b, int i1, jpayne@69: int i2, Time t); jpayne@69: /* 46 */ jpayne@69: EXTERN int XGrabPointer(Display *d, Window w1, Bool b, jpayne@69: unsigned int ui, int i1, int i2, Window w2, jpayne@69: Cursor c, Time t); jpayne@69: /* 47 */ jpayne@69: EXTERN KeyCode XKeysymToKeycode(Display *d, KeySym k); jpayne@69: /* 48 */ jpayne@69: EXTERN Status XLookupColor(Display *d, Colormap c1, jpayne@69: _Xconst char *c2, XColor *x1, XColor *x2); jpayne@69: /* 49 */ jpayne@69: EXTERN int XMapWindow(Display *d, Window w); jpayne@69: /* 50 */ jpayne@69: EXTERN int XMoveResizeWindow(Display *d, Window w, int i1, jpayne@69: int i2, unsigned int ui1, unsigned int ui2); jpayne@69: /* 51 */ jpayne@69: EXTERN int XMoveWindow(Display *d, Window w, int i1, int i2); jpayne@69: /* 52 */ jpayne@69: EXTERN int XNextEvent(Display *d, XEvent *x); jpayne@69: /* 53 */ jpayne@69: EXTERN int XPutBackEvent(Display *d, XEvent *x); jpayne@69: /* 54 */ jpayne@69: EXTERN int XQueryColors(Display *d, Colormap c, XColor *x, jpayne@69: int i); jpayne@69: /* 55 */ jpayne@69: EXTERN Bool XQueryPointer(Display *d, Window w1, Window *w2, jpayne@69: Window *w3, int *i1, int *i2, int *i3, jpayne@69: int *i4, unsigned int *ui); jpayne@69: /* 56 */ jpayne@69: EXTERN Status XQueryTree(Display *d, Window w1, Window *w2, jpayne@69: Window *w3, Window **w4, unsigned int *ui); jpayne@69: /* 57 */ jpayne@69: EXTERN int XRaiseWindow(Display *d, Window w); jpayne@69: /* 58 */ jpayne@69: EXTERN int XRefreshKeyboardMapping(XMappingEvent *x); jpayne@69: /* 59 */ jpayne@69: EXTERN int XResizeWindow(Display *d, Window w, unsigned int ui1, jpayne@69: unsigned int ui2); jpayne@69: /* 60 */ jpayne@69: EXTERN int XSelectInput(Display *d, Window w, long l); jpayne@69: /* 61 */ jpayne@69: EXTERN Status XSendEvent(Display *d, Window w, Bool b, long l, jpayne@69: XEvent *x); jpayne@69: /* 62 */ jpayne@69: EXTERN int XSetCommand(Display *d, Window w, char **c, int i); jpayne@69: /* 63 */ jpayne@69: EXTERN int XSetIconName(Display *d, Window w, _Xconst char *c); jpayne@69: /* 64 */ jpayne@69: EXTERN int XSetInputFocus(Display *d, Window w, int i, Time t); jpayne@69: /* 65 */ jpayne@69: EXTERN int XSetSelectionOwner(Display *d, Atom a, Window w, jpayne@69: Time t); jpayne@69: /* 66 */ jpayne@69: EXTERN int XSetWindowBackground(Display *d, Window w, jpayne@69: unsigned long ul); jpayne@69: /* 67 */ jpayne@69: EXTERN int XSetWindowBackgroundPixmap(Display *d, Window w, jpayne@69: Pixmap p); jpayne@69: /* 68 */ jpayne@69: EXTERN int XSetWindowBorder(Display *d, Window w, jpayne@69: unsigned long ul); jpayne@69: /* 69 */ jpayne@69: EXTERN int XSetWindowBorderPixmap(Display *d, Window w, jpayne@69: Pixmap p); jpayne@69: /* 70 */ jpayne@69: EXTERN int XSetWindowBorderWidth(Display *d, Window w, jpayne@69: unsigned int ui); jpayne@69: /* 71 */ jpayne@69: EXTERN int XSetWindowColormap(Display *d, Window w, Colormap c); jpayne@69: /* 72 */ jpayne@69: EXTERN Bool XTranslateCoordinates(Display *d, Window w1, jpayne@69: Window w2, int i1, int i2, int *i3, int *i4, jpayne@69: Window *w3); jpayne@69: /* 73 */ jpayne@69: EXTERN int XUngrabKeyboard(Display *d, Time t); jpayne@69: /* 74 */ jpayne@69: EXTERN int XUngrabPointer(Display *d, Time t); jpayne@69: /* 75 */ jpayne@69: EXTERN int XUnmapWindow(Display *d, Window w); jpayne@69: /* 76 */ jpayne@69: EXTERN int XWindowEvent(Display *d, Window w, long l, XEvent *x); jpayne@69: /* 77 */ jpayne@69: EXTERN void XDestroyIC(XIC x); jpayne@69: /* 78 */ jpayne@69: EXTERN Bool XFilterEvent(XEvent *x, Window w); jpayne@69: /* 79 */ jpayne@69: EXTERN int XmbLookupString(XIC xi, XKeyPressedEvent *xk, jpayne@69: char *c, int i, KeySym *k, Status *s); jpayne@69: /* 80 */ jpayne@69: EXTERN int TkPutImage(unsigned long *colors, int ncolors, jpayne@69: Display *display, Drawable d, GC gc, jpayne@69: XImage *image, int src_x, int src_y, jpayne@69: int dest_x, int dest_y, unsigned int width, jpayne@69: unsigned int height); jpayne@69: /* Slot 81 is reserved */ jpayne@69: /* 82 */ jpayne@69: EXTERN Status XParseColor(Display *display, Colormap map, jpayne@69: _Xconst char *spec, XColor *colorPtr); jpayne@69: /* 83 */ jpayne@69: EXTERN GC XCreateGC(Display *display, Drawable d, jpayne@69: unsigned long valuemask, XGCValues *values); jpayne@69: /* 84 */ jpayne@69: EXTERN int XFreeGC(Display *display, GC gc); jpayne@69: /* 85 */ jpayne@69: EXTERN Atom XInternAtom(Display *display, jpayne@69: _Xconst char *atom_name, Bool only_if_exists); jpayne@69: /* 86 */ jpayne@69: EXTERN int XSetBackground(Display *display, GC gc, jpayne@69: unsigned long foreground); jpayne@69: /* 87 */ jpayne@69: EXTERN int XSetForeground(Display *display, GC gc, jpayne@69: unsigned long foreground); jpayne@69: /* 88 */ jpayne@69: EXTERN int XSetClipMask(Display *display, GC gc, Pixmap pixmap); jpayne@69: /* 89 */ jpayne@69: EXTERN int XSetClipOrigin(Display *display, GC gc, jpayne@69: int clip_x_origin, int clip_y_origin); jpayne@69: /* 90 */ jpayne@69: EXTERN int XSetTSOrigin(Display *display, GC gc, jpayne@69: int ts_x_origin, int ts_y_origin); jpayne@69: /* 91 */ jpayne@69: EXTERN int XChangeGC(Display *d, GC gc, unsigned long mask, jpayne@69: XGCValues *values); jpayne@69: /* 92 */ jpayne@69: EXTERN int XSetFont(Display *display, GC gc, Font font); jpayne@69: /* 93 */ jpayne@69: EXTERN int XSetArcMode(Display *display, GC gc, int arc_mode); jpayne@69: /* 94 */ jpayne@69: EXTERN int XSetStipple(Display *display, GC gc, Pixmap stipple); jpayne@69: /* 95 */ jpayne@69: EXTERN int XSetFillRule(Display *display, GC gc, int fill_rule); jpayne@69: /* 96 */ jpayne@69: EXTERN int XSetFillStyle(Display *display, GC gc, jpayne@69: int fill_style); jpayne@69: /* 97 */ jpayne@69: EXTERN int XSetFunction(Display *display, GC gc, int function); jpayne@69: /* 98 */ jpayne@69: EXTERN int XSetLineAttributes(Display *display, GC gc, jpayne@69: unsigned int line_width, int line_style, jpayne@69: int cap_style, int join_style); jpayne@69: /* 99 */ jpayne@69: EXTERN int _XInitImageFuncPtrs(XImage *image); jpayne@69: /* 100 */ jpayne@69: EXTERN XIC XCreateIC(XIM xim, ...); jpayne@69: /* 101 */ jpayne@69: EXTERN XVisualInfo * XGetVisualInfo(Display *display, long vinfo_mask, jpayne@69: XVisualInfo *vinfo_template, jpayne@69: int *nitems_return); jpayne@69: /* 102 */ jpayne@69: EXTERN void XSetWMClientMachine(Display *display, Window w, jpayne@69: XTextProperty *text_prop); jpayne@69: /* 103 */ jpayne@69: EXTERN Status XStringListToTextProperty(char **list, int count, jpayne@69: XTextProperty *text_prop_return); jpayne@69: /* 104 */ jpayne@69: EXTERN int XDrawLine(Display *d, Drawable dr, GC g, int x1, jpayne@69: int y1, int x2, int y2); jpayne@69: /* 105 */ jpayne@69: EXTERN int XWarpPointer(Display *d, Window s, Window dw, int sx, jpayne@69: int sy, unsigned int sw, unsigned int sh, jpayne@69: int dx, int dy); jpayne@69: /* 106 */ jpayne@69: EXTERN int XFillRectangle(Display *display, Drawable d, GC gc, jpayne@69: int x, int y, unsigned int width, jpayne@69: unsigned int height); jpayne@69: /* 107 */ jpayne@69: EXTERN int XFlush(Display *display); jpayne@69: /* 108 */ jpayne@69: EXTERN int XGrabServer(Display *display); jpayne@69: /* 109 */ jpayne@69: EXTERN int XUngrabServer(Display *display); jpayne@69: /* 110 */ jpayne@69: EXTERN int XFree(void *data); jpayne@69: /* 111 */ jpayne@69: EXTERN int XNoOp(Display *display); jpayne@69: /* 112 */ jpayne@69: EXTERN XAfterFunction XSynchronize(Display *display, Bool onoff); jpayne@69: /* 113 */ jpayne@69: EXTERN int XSync(Display *display, Bool discard); jpayne@69: /* 114 */ jpayne@69: EXTERN VisualID XVisualIDFromVisual(Visual *visual); jpayne@69: /* Slot 115 is reserved */ jpayne@69: /* Slot 116 is reserved */ jpayne@69: /* Slot 117 is reserved */ jpayne@69: /* Slot 118 is reserved */ jpayne@69: /* Slot 119 is reserved */ jpayne@69: /* 120 */ jpayne@69: EXTERN int XOffsetRegion(Region rgn, int dx, int dy); jpayne@69: /* 121 */ jpayne@69: EXTERN int XUnionRegion(Region srca, Region srcb, jpayne@69: Region dr_return); jpayne@69: /* 122 */ jpayne@69: EXTERN Window XCreateWindow(Display *display, Window parent, int x, jpayne@69: int y, unsigned int width, jpayne@69: unsigned int height, jpayne@69: unsigned int border_width, int depth, jpayne@69: unsigned int clazz, Visual *visual, jpayne@69: unsigned long value_mask, jpayne@69: XSetWindowAttributes *attributes); jpayne@69: /* Slot 123 is reserved */ jpayne@69: /* Slot 124 is reserved */ jpayne@69: /* Slot 125 is reserved */ jpayne@69: /* Slot 126 is reserved */ jpayne@69: /* Slot 127 is reserved */ jpayne@69: /* Slot 128 is reserved */ jpayne@69: /* 129 */ jpayne@69: EXTERN int XLowerWindow(Display *d, Window w); jpayne@69: /* 130 */ jpayne@69: EXTERN int XFillArcs(Display *d, Drawable dr, GC gc, XArc *a, jpayne@69: int n); jpayne@69: /* 131 */ jpayne@69: EXTERN int XDrawArcs(Display *d, Drawable dr, GC gc, XArc *a, jpayne@69: int n); jpayne@69: /* 132 */ jpayne@69: EXTERN int XDrawRectangles(Display *d, Drawable dr, GC gc, jpayne@69: XRectangle *r, int n); jpayne@69: /* 133 */ jpayne@69: EXTERN int XDrawSegments(Display *d, Drawable dr, GC gc, jpayne@69: XSegment *s, int n); jpayne@69: /* 134 */ jpayne@69: EXTERN int XDrawPoint(Display *d, Drawable dr, GC gc, int x, jpayne@69: int y); jpayne@69: /* 135 */ jpayne@69: EXTERN int XDrawPoints(Display *d, Drawable dr, GC gc, jpayne@69: XPoint *p, int n, int m); jpayne@69: /* 136 */ jpayne@69: EXTERN int XReparentWindow(Display *d, Window w, Window p, jpayne@69: int x, int y); jpayne@69: /* 137 */ jpayne@69: EXTERN int XPutImage(Display *d, Drawable dr, GC gc, XImage *im, jpayne@69: int sx, int sy, int dx, int dy, jpayne@69: unsigned int w, unsigned int h); jpayne@69: /* Slot 138 is reserved */ jpayne@69: /* Slot 139 is reserved */ jpayne@69: /* Slot 140 is reserved */ jpayne@69: /* Slot 141 is reserved */ jpayne@69: /* Slot 142 is reserved */ jpayne@69: /* Slot 143 is reserved */ jpayne@69: /* Slot 144 is reserved */ jpayne@69: /* Slot 145 is reserved */ jpayne@69: /* Slot 146 is reserved */ jpayne@69: /* Slot 147 is reserved */ jpayne@69: /* Slot 148 is reserved */ jpayne@69: /* Slot 149 is reserved */ jpayne@69: /* Slot 150 is reserved */ jpayne@69: /* Slot 151 is reserved */ jpayne@69: /* Slot 152 is reserved */ jpayne@69: /* Slot 153 is reserved */ jpayne@69: /* Slot 154 is reserved */ jpayne@69: /* Slot 155 is reserved */ jpayne@69: /* Slot 156 is reserved */ jpayne@69: /* Slot 157 is reserved */ jpayne@69: /* 158 */ jpayne@69: EXTERN void TkUnusedStubEntry(void); jpayne@69: #endif /* WIN */ jpayne@69: #ifdef MAC_OSX_TK /* AQUA */ jpayne@69: /* 0 */ jpayne@69: EXTERN int XSetDashes(Display *display, GC gc, int dash_offset, jpayne@69: _Xconst char *dash_list, int n); jpayne@69: /* 1 */ jpayne@69: EXTERN XModifierKeymap * XGetModifierMapping(Display *d); jpayne@69: /* 2 */ jpayne@69: EXTERN XImage * XCreateImage(Display *d, Visual *v, unsigned int ui1, jpayne@69: int i1, int i2, char *cp, unsigned int ui2, jpayne@69: unsigned int ui3, int i3, int i4); jpayne@69: /* 3 */ jpayne@69: EXTERN XImage * XGetImage(Display *d, Drawable dr, int i1, int i2, jpayne@69: unsigned int ui1, unsigned int ui2, jpayne@69: unsigned long ul, int i3); jpayne@69: /* 4 */ jpayne@69: EXTERN char * XGetAtomName(Display *d, Atom a); jpayne@69: /* 5 */ jpayne@69: EXTERN char * XKeysymToString(KeySym k); jpayne@69: /* 6 */ jpayne@69: EXTERN Colormap XCreateColormap(Display *d, Window w, Visual *v, jpayne@69: int i); jpayne@69: /* 7 */ jpayne@69: EXTERN GContext XGContextFromGC(GC g); jpayne@69: /* 8 */ jpayne@69: EXTERN KeySym XKeycodeToKeysym(Display *d, KeyCode k, int i); jpayne@69: /* 9 */ jpayne@69: EXTERN KeySym XStringToKeysym(_Xconst char *c); jpayne@69: /* 10 */ jpayne@69: EXTERN Window XRootWindow(Display *d, int i); jpayne@69: /* 11 */ jpayne@69: EXTERN XErrorHandler XSetErrorHandler(XErrorHandler x); jpayne@69: /* 12 */ jpayne@69: EXTERN Status XAllocColor(Display *d, Colormap c, XColor *xp); jpayne@69: /* 13 */ jpayne@69: EXTERN int XBell(Display *d, int i); jpayne@69: /* 14 */ jpayne@69: EXTERN int XChangeProperty(Display *d, Window w, Atom a1, jpayne@69: Atom a2, int i1, int i2, jpayne@69: _Xconst unsigned char *c, int i3); jpayne@69: /* 15 */ jpayne@69: EXTERN int XChangeWindowAttributes(Display *d, Window w, jpayne@69: unsigned long ul, XSetWindowAttributes *x); jpayne@69: /* 16 */ jpayne@69: EXTERN int XConfigureWindow(Display *d, Window w, jpayne@69: unsigned int i, XWindowChanges *x); jpayne@69: /* 17 */ jpayne@69: EXTERN int XCopyArea(Display *d, Drawable dr1, Drawable dr2, jpayne@69: GC g, int i1, int i2, unsigned int ui1, jpayne@69: unsigned int ui2, int i3, int i4); jpayne@69: /* 18 */ jpayne@69: EXTERN int XCopyPlane(Display *d, Drawable dr1, Drawable dr2, jpayne@69: GC g, int i1, int i2, unsigned int ui1, jpayne@69: unsigned int ui2, int i3, int i4, jpayne@69: unsigned long ul); jpayne@69: /* 19 */ jpayne@69: EXTERN Pixmap XCreateBitmapFromData(Display *display, Drawable d, jpayne@69: _Xconst char *data, unsigned int width, jpayne@69: unsigned int height); jpayne@69: /* 20 */ jpayne@69: EXTERN int XDefineCursor(Display *d, Window w, Cursor c); jpayne@69: /* 21 */ jpayne@69: EXTERN int XDestroyWindow(Display *d, Window w); jpayne@69: /* 22 */ jpayne@69: EXTERN int XDrawArc(Display *d, Drawable dr, GC g, int i1, jpayne@69: int i2, unsigned int ui1, unsigned int ui2, jpayne@69: int i3, int i4); jpayne@69: /* 23 */ jpayne@69: EXTERN int XDrawLines(Display *d, Drawable dr, GC g, XPoint *x, jpayne@69: int i1, int i2); jpayne@69: /* 24 */ jpayne@69: EXTERN int XDrawRectangle(Display *d, Drawable dr, GC g, int i1, jpayne@69: int i2, unsigned int ui1, unsigned int ui2); jpayne@69: /* 25 */ jpayne@69: EXTERN int XFillArc(Display *d, Drawable dr, GC g, int i1, jpayne@69: int i2, unsigned int ui1, unsigned int ui2, jpayne@69: int i3, int i4); jpayne@69: /* 26 */ jpayne@69: EXTERN int XFillPolygon(Display *d, Drawable dr, GC g, jpayne@69: XPoint *x, int i1, int i2, int i3); jpayne@69: /* 27 */ jpayne@69: EXTERN int XFillRectangles(Display *d, Drawable dr, GC g, jpayne@69: XRectangle *x, int i); jpayne@69: /* 28 */ jpayne@69: EXTERN int XFreeColormap(Display *d, Colormap c); jpayne@69: /* 29 */ jpayne@69: EXTERN int XFreeColors(Display *d, Colormap c, jpayne@69: unsigned long *ulp, int i, unsigned long ul); jpayne@69: /* 30 */ jpayne@69: EXTERN int XFreeModifiermap(XModifierKeymap *x); jpayne@69: /* 31 */ jpayne@69: EXTERN Status XGetGeometry(Display *d, Drawable dr, Window *w, jpayne@69: int *i1, int *i2, unsigned int *ui1, jpayne@69: unsigned int *ui2, unsigned int *ui3, jpayne@69: unsigned int *ui4); jpayne@69: /* 32 */ jpayne@69: EXTERN int XGetWindowProperty(Display *d, Window w, Atom a1, jpayne@69: long l1, long l2, Bool b, Atom a2, Atom *ap, jpayne@69: int *ip, unsigned long *ulp1, jpayne@69: unsigned long *ulp2, unsigned char **cpp); jpayne@69: /* 33 */ jpayne@69: EXTERN int XGrabKeyboard(Display *d, Window w, Bool b, int i1, jpayne@69: int i2, Time t); jpayne@69: /* 34 */ jpayne@69: EXTERN int XGrabPointer(Display *d, Window w1, Bool b, jpayne@69: unsigned int ui, int i1, int i2, Window w2, jpayne@69: Cursor c, Time t); jpayne@69: /* 35 */ jpayne@69: EXTERN KeyCode XKeysymToKeycode(Display *d, KeySym k); jpayne@69: /* 36 */ jpayne@69: EXTERN int XMapWindow(Display *d, Window w); jpayne@69: /* 37 */ jpayne@69: EXTERN int XMoveResizeWindow(Display *d, Window w, int i1, jpayne@69: int i2, unsigned int ui1, unsigned int ui2); jpayne@69: /* 38 */ jpayne@69: EXTERN int XMoveWindow(Display *d, Window w, int i1, int i2); jpayne@69: /* 39 */ jpayne@69: EXTERN Bool XQueryPointer(Display *d, Window w1, Window *w2, jpayne@69: Window *w3, int *i1, int *i2, int *i3, jpayne@69: int *i4, unsigned int *ui); jpayne@69: /* 40 */ jpayne@69: EXTERN int XRaiseWindow(Display *d, Window w); jpayne@69: /* 41 */ jpayne@69: EXTERN int XRefreshKeyboardMapping(XMappingEvent *x); jpayne@69: /* 42 */ jpayne@69: EXTERN int XResizeWindow(Display *d, Window w, unsigned int ui1, jpayne@69: unsigned int ui2); jpayne@69: /* 43 */ jpayne@69: EXTERN int XSelectInput(Display *d, Window w, long l); jpayne@69: /* 44 */ jpayne@69: EXTERN Status XSendEvent(Display *d, Window w, Bool b, long l, jpayne@69: XEvent *x); jpayne@69: /* 45 */ jpayne@69: EXTERN int XSetIconName(Display *d, Window w, _Xconst char *c); jpayne@69: /* 46 */ jpayne@69: EXTERN int XSetInputFocus(Display *d, Window w, int i, Time t); jpayne@69: /* 47 */ jpayne@69: EXTERN int XSetSelectionOwner(Display *d, Atom a, Window w, jpayne@69: Time t); jpayne@69: /* 48 */ jpayne@69: EXTERN int XSetWindowBackground(Display *d, Window w, jpayne@69: unsigned long ul); jpayne@69: /* 49 */ jpayne@69: EXTERN int XSetWindowBackgroundPixmap(Display *d, Window w, jpayne@69: Pixmap p); jpayne@69: /* 50 */ jpayne@69: EXTERN int XSetWindowBorder(Display *d, Window w, jpayne@69: unsigned long ul); jpayne@69: /* 51 */ jpayne@69: EXTERN int XSetWindowBorderPixmap(Display *d, Window w, jpayne@69: Pixmap p); jpayne@69: /* 52 */ jpayne@69: EXTERN int XSetWindowBorderWidth(Display *d, Window w, jpayne@69: unsigned int ui); jpayne@69: /* 53 */ jpayne@69: EXTERN int XSetWindowColormap(Display *d, Window w, Colormap c); jpayne@69: /* 54 */ jpayne@69: EXTERN int XUngrabKeyboard(Display *d, Time t); jpayne@69: /* 55 */ jpayne@69: EXTERN int XUngrabPointer(Display *d, Time t); jpayne@69: /* 56 */ jpayne@69: EXTERN int XUnmapWindow(Display *d, Window w); jpayne@69: /* 57 */ jpayne@69: EXTERN int TkPutImage(unsigned long *colors, int ncolors, jpayne@69: Display *display, Drawable d, GC gc, jpayne@69: XImage *image, int src_x, int src_y, jpayne@69: int dest_x, int dest_y, unsigned int width, jpayne@69: unsigned int height); jpayne@69: /* 58 */ jpayne@69: EXTERN Status XParseColor(Display *display, Colormap map, jpayne@69: _Xconst char *spec, XColor *colorPtr); jpayne@69: /* 59 */ jpayne@69: EXTERN GC XCreateGC(Display *display, Drawable d, jpayne@69: unsigned long valuemask, XGCValues *values); jpayne@69: /* 60 */ jpayne@69: EXTERN int XFreeGC(Display *display, GC gc); jpayne@69: /* 61 */ jpayne@69: EXTERN Atom XInternAtom(Display *display, jpayne@69: _Xconst char *atom_name, Bool only_if_exists); jpayne@69: /* 62 */ jpayne@69: EXTERN int XSetBackground(Display *display, GC gc, jpayne@69: unsigned long foreground); jpayne@69: /* 63 */ jpayne@69: EXTERN int XSetForeground(Display *display, GC gc, jpayne@69: unsigned long foreground); jpayne@69: /* 64 */ jpayne@69: EXTERN int XSetClipMask(Display *display, GC gc, Pixmap pixmap); jpayne@69: /* 65 */ jpayne@69: EXTERN int XSetClipOrigin(Display *display, GC gc, jpayne@69: int clip_x_origin, int clip_y_origin); jpayne@69: /* 66 */ jpayne@69: EXTERN int XSetTSOrigin(Display *display, GC gc, jpayne@69: int ts_x_origin, int ts_y_origin); jpayne@69: /* 67 */ jpayne@69: EXTERN int XChangeGC(Display *d, GC gc, unsigned long mask, jpayne@69: XGCValues *values); jpayne@69: /* 68 */ jpayne@69: EXTERN int XSetFont(Display *display, GC gc, Font font); jpayne@69: /* 69 */ jpayne@69: EXTERN int XSetArcMode(Display *display, GC gc, int arc_mode); jpayne@69: /* 70 */ jpayne@69: EXTERN int XSetStipple(Display *display, GC gc, Pixmap stipple); jpayne@69: /* 71 */ jpayne@69: EXTERN int XSetFillRule(Display *display, GC gc, int fill_rule); jpayne@69: /* 72 */ jpayne@69: EXTERN int XSetFillStyle(Display *display, GC gc, jpayne@69: int fill_style); jpayne@69: /* 73 */ jpayne@69: EXTERN int XSetFunction(Display *display, GC gc, int function); jpayne@69: /* 74 */ jpayne@69: EXTERN int XSetLineAttributes(Display *display, GC gc, jpayne@69: unsigned int line_width, int line_style, jpayne@69: int cap_style, int join_style); jpayne@69: /* 75 */ jpayne@69: EXTERN int _XInitImageFuncPtrs(XImage *image); jpayne@69: /* 76 */ jpayne@69: EXTERN XIC XCreateIC(XIM xim, ...); jpayne@69: /* 77 */ jpayne@69: EXTERN XVisualInfo * XGetVisualInfo(Display *display, long vinfo_mask, jpayne@69: XVisualInfo *vinfo_template, jpayne@69: int *nitems_return); jpayne@69: /* 78 */ jpayne@69: EXTERN void XSetWMClientMachine(Display *display, Window w, jpayne@69: XTextProperty *text_prop); jpayne@69: /* 79 */ jpayne@69: EXTERN Status XStringListToTextProperty(char **list, int count, jpayne@69: XTextProperty *text_prop_return); jpayne@69: /* 80 */ jpayne@69: EXTERN int XDrawSegments(Display *display, Drawable d, GC gc, jpayne@69: XSegment *segments, int nsegments); jpayne@69: /* 81 */ jpayne@69: EXTERN int XForceScreenSaver(Display *display, int mode); jpayne@69: /* 82 */ jpayne@69: EXTERN int XDrawLine(Display *d, Drawable dr, GC g, int x1, jpayne@69: int y1, int x2, int y2); jpayne@69: /* 83 */ jpayne@69: EXTERN int XFillRectangle(Display *display, Drawable d, GC gc, jpayne@69: int x, int y, unsigned int width, jpayne@69: unsigned int height); jpayne@69: /* 84 */ jpayne@69: EXTERN int XClearWindow(Display *d, Window w); jpayne@69: /* 85 */ jpayne@69: EXTERN int XDrawPoint(Display *display, Drawable d, GC gc, jpayne@69: int x, int y); jpayne@69: /* 86 */ jpayne@69: EXTERN int XDrawPoints(Display *display, Drawable d, GC gc, jpayne@69: XPoint *points, int npoints, int mode); jpayne@69: /* 87 */ jpayne@69: EXTERN int XWarpPointer(Display *display, Window src_w, jpayne@69: Window dest_w, int src_x, int src_y, jpayne@69: unsigned int src_width, jpayne@69: unsigned int src_height, int dest_x, jpayne@69: int dest_y); jpayne@69: /* 88 */ jpayne@69: EXTERN int XQueryColor(Display *display, Colormap colormap, jpayne@69: XColor *def_in_out); jpayne@69: /* 89 */ jpayne@69: EXTERN int XQueryColors(Display *display, Colormap colormap, jpayne@69: XColor *defs_in_out, int ncolors); jpayne@69: /* 90 */ jpayne@69: EXTERN Status XQueryTree(Display *d, Window w1, Window *w2, jpayne@69: Window *w3, Window **w4, unsigned int *ui); jpayne@69: /* 91 */ jpayne@69: EXTERN int XSync(Display *display, Bool discard); jpayne@69: /* Slot 92 is reserved */ jpayne@69: /* Slot 93 is reserved */ jpayne@69: /* Slot 94 is reserved */ jpayne@69: /* Slot 95 is reserved */ jpayne@69: /* Slot 96 is reserved */ jpayne@69: /* Slot 97 is reserved */ jpayne@69: /* Slot 98 is reserved */ jpayne@69: /* Slot 99 is reserved */ jpayne@69: /* Slot 100 is reserved */ jpayne@69: /* Slot 101 is reserved */ jpayne@69: /* Slot 102 is reserved */ jpayne@69: /* Slot 103 is reserved */ jpayne@69: /* Slot 104 is reserved */ jpayne@69: /* Slot 105 is reserved */ jpayne@69: /* 106 */ jpayne@69: EXTERN int XSetClipRectangles(Display *display, GC gc, jpayne@69: int clip_x_origin, int clip_y_origin, jpayne@69: XRectangle rectangles[], int n, int ordering); jpayne@69: /* 107 */ jpayne@69: EXTERN int XFlush(Display *display); jpayne@69: /* 108 */ jpayne@69: EXTERN int XGrabServer(Display *display); jpayne@69: /* 109 */ jpayne@69: EXTERN int XUngrabServer(Display *display); jpayne@69: /* 110 */ jpayne@69: EXTERN int XFree(void *data); jpayne@69: /* 111 */ jpayne@69: EXTERN int XNoOp(Display *display); jpayne@69: /* 112 */ jpayne@69: EXTERN XAfterFunction XSynchronize(Display *display, Bool onoff); jpayne@69: /* Slot 113 is reserved */ jpayne@69: /* 114 */ jpayne@69: EXTERN VisualID XVisualIDFromVisual(Visual *visual); jpayne@69: /* Slot 115 is reserved */ jpayne@69: /* Slot 116 is reserved */ jpayne@69: /* Slot 117 is reserved */ jpayne@69: /* Slot 118 is reserved */ jpayne@69: /* Slot 119 is reserved */ jpayne@69: /* 120 */ jpayne@69: EXTERN int XOffsetRegion(void *rgn, int dx, int dy); jpayne@69: /* Slot 121 is reserved */ jpayne@69: /* Slot 122 is reserved */ jpayne@69: /* Slot 123 is reserved */ jpayne@69: /* Slot 124 is reserved */ jpayne@69: /* Slot 125 is reserved */ jpayne@69: /* Slot 126 is reserved */ jpayne@69: /* Slot 127 is reserved */ jpayne@69: /* Slot 128 is reserved */ jpayne@69: /* 129 */ jpayne@69: EXTERN int XLowerWindow(Display *d, Window w); jpayne@69: /* Slot 130 is reserved */ jpayne@69: /* Slot 131 is reserved */ jpayne@69: /* Slot 132 is reserved */ jpayne@69: /* Slot 133 is reserved */ jpayne@69: /* Slot 134 is reserved */ jpayne@69: /* Slot 135 is reserved */ jpayne@69: /* Slot 136 is reserved */ jpayne@69: /* 137 */ jpayne@69: EXTERN int XPutImage(Display *d, Drawable dr, GC gc, XImage *im, jpayne@69: int sx, int sy, int dx, int dy, jpayne@69: unsigned int w, unsigned int h); jpayne@69: /* Slot 138 is reserved */ jpayne@69: /* Slot 139 is reserved */ jpayne@69: /* Slot 140 is reserved */ jpayne@69: /* Slot 141 is reserved */ jpayne@69: /* Slot 142 is reserved */ jpayne@69: /* Slot 143 is reserved */ jpayne@69: /* 144 */ jpayne@69: EXTERN void XDestroyIC(XIC xic); jpayne@69: /* 145 */ jpayne@69: EXTERN Cursor XCreatePixmapCursor(Display *d, Pixmap p1, Pixmap p2, jpayne@69: XColor *x1, XColor *x2, unsigned int ui1, jpayne@69: unsigned int ui2); jpayne@69: /* 146 */ jpayne@69: EXTERN Cursor XCreateGlyphCursor(Display *d, Font f1, Font f2, jpayne@69: unsigned int ui1, unsigned int ui2, jpayne@69: XColor _Xconst *x1, XColor _Xconst *x2); jpayne@69: /* Slot 147 is reserved */ jpayne@69: /* Slot 148 is reserved */ jpayne@69: /* Slot 149 is reserved */ jpayne@69: /* Slot 150 is reserved */ jpayne@69: /* Slot 151 is reserved */ jpayne@69: /* Slot 152 is reserved */ jpayne@69: /* Slot 153 is reserved */ jpayne@69: /* Slot 154 is reserved */ jpayne@69: /* Slot 155 is reserved */ jpayne@69: /* Slot 156 is reserved */ jpayne@69: /* 157 */ jpayne@69: EXTERN KeySym XkbKeycodeToKeysym(Display *d, unsigned int k, int g, jpayne@69: int i); jpayne@69: /* 158 */ jpayne@69: EXTERN void TkUnusedStubEntry(void); jpayne@69: #endif /* AQUA */ jpayne@69: jpayne@69: typedef struct TkIntXlibStubs { jpayne@69: int magic; jpayne@69: void *hooks; jpayne@69: jpayne@69: #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */ jpayne@69: int (*xSetDashes) (Display *display, GC gc, int dash_offset, _Xconst char *dash_list, int n); /* 0 */ jpayne@69: XModifierKeymap * (*xGetModifierMapping) (Display *d); /* 1 */ jpayne@69: 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 */ jpayne@69: XImage * (*xGetImage) (Display *d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */ jpayne@69: char * (*xGetAtomName) (Display *d, Atom a); /* 4 */ jpayne@69: char * (*xKeysymToString) (KeySym k); /* 5 */ jpayne@69: Colormap (*xCreateColormap) (Display *d, Window w, Visual *v, int i); /* 6 */ jpayne@69: Cursor (*xCreatePixmapCursor) (Display *d, Pixmap p1, Pixmap p2, XColor *x1, XColor *x2, unsigned int ui1, unsigned int ui2); /* 7 */ jpayne@69: Cursor (*xCreateGlyphCursor) (Display *d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor _Xconst *x1, XColor _Xconst *x2); /* 8 */ jpayne@69: GContext (*xGContextFromGC) (GC g); /* 9 */ jpayne@69: XHostAddress * (*xListHosts) (Display *d, int *i, Bool *b); /* 10 */ jpayne@69: KeySym (*xKeycodeToKeysym) (Display *d, unsigned int k, int i); /* 11 */ jpayne@69: KeySym (*xStringToKeysym) (_Xconst char *c); /* 12 */ jpayne@69: Window (*xRootWindow) (Display *d, int i); /* 13 */ jpayne@69: XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 14 */ jpayne@69: Status (*xIconifyWindow) (Display *d, Window w, int i); /* 15 */ jpayne@69: Status (*xWithdrawWindow) (Display *d, Window w, int i); /* 16 */ jpayne@69: Status (*xGetWMColormapWindows) (Display *d, Window w, Window **wpp, int *ip); /* 17 */ jpayne@69: Status (*xAllocColor) (Display *d, Colormap c, XColor *xp); /* 18 */ jpayne@69: int (*xBell) (Display *d, int i); /* 19 */ jpayne@69: int (*xChangeProperty) (Display *d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char *c, int i3); /* 20 */ jpayne@69: int (*xChangeWindowAttributes) (Display *d, Window w, unsigned long ul, XSetWindowAttributes *x); /* 21 */ jpayne@69: int (*xClearWindow) (Display *d, Window w); /* 22 */ jpayne@69: int (*xConfigureWindow) (Display *d, Window w, unsigned int i, XWindowChanges *x); /* 23 */ jpayne@69: int (*xCopyArea) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 24 */ jpayne@69: int (*xCopyPlane) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 25 */ jpayne@69: Pixmap (*xCreateBitmapFromData) (Display *display, Drawable d, _Xconst char *data, unsigned int width, unsigned int height); /* 26 */ jpayne@69: int (*xDefineCursor) (Display *d, Window w, Cursor c); /* 27 */ jpayne@69: int (*xDeleteProperty) (Display *d, Window w, Atom a); /* 28 */ jpayne@69: int (*xDestroyWindow) (Display *d, Window w); /* 29 */ jpayne@69: int (*xDrawArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 30 */ jpayne@69: int (*xDrawLines) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2); /* 31 */ jpayne@69: int (*xDrawRectangle) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 32 */ jpayne@69: int (*xFillArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 33 */ jpayne@69: int (*xFillPolygon) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2, int i3); /* 34 */ jpayne@69: int (*xFillRectangles) (Display *d, Drawable dr, GC g, XRectangle *x, int i); /* 35 */ jpayne@69: int (*xForceScreenSaver) (Display *d, int i); /* 36 */ jpayne@69: int (*xFreeColormap) (Display *d, Colormap c); /* 37 */ jpayne@69: int (*xFreeColors) (Display *d, Colormap c, unsigned long *ulp, int i, unsigned long ul); /* 38 */ jpayne@69: int (*xFreeCursor) (Display *d, Cursor c); /* 39 */ jpayne@69: int (*xFreeModifiermap) (XModifierKeymap *x); /* 40 */ jpayne@69: 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 */ jpayne@69: int (*xGetInputFocus) (Display *d, Window *w, int *i); /* 42 */ jpayne@69: 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 */ jpayne@69: Status (*xGetWindowAttributes) (Display *d, Window w, XWindowAttributes *x); /* 44 */ jpayne@69: int (*xGrabKeyboard) (Display *d, Window w, Bool b, int i1, int i2, Time t); /* 45 */ jpayne@69: int (*xGrabPointer) (Display *d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 46 */ jpayne@69: KeyCode (*xKeysymToKeycode) (Display *d, KeySym k); /* 47 */ jpayne@69: Status (*xLookupColor) (Display *d, Colormap c1, _Xconst char *c2, XColor *x1, XColor *x2); /* 48 */ jpayne@69: int (*xMapWindow) (Display *d, Window w); /* 49 */ jpayne@69: int (*xMoveResizeWindow) (Display *d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 50 */ jpayne@69: int (*xMoveWindow) (Display *d, Window w, int i1, int i2); /* 51 */ jpayne@69: int (*xNextEvent) (Display *d, XEvent *x); /* 52 */ jpayne@69: int (*xPutBackEvent) (Display *d, XEvent *x); /* 53 */ jpayne@69: int (*xQueryColors) (Display *d, Colormap c, XColor *x, int i); /* 54 */ jpayne@69: Bool (*xQueryPointer) (Display *d, Window w1, Window *w2, Window *w3, int *i1, int *i2, int *i3, int *i4, unsigned int *ui); /* 55 */ jpayne@69: Status (*xQueryTree) (Display *d, Window w1, Window *w2, Window *w3, Window **w4, unsigned int *ui); /* 56 */ jpayne@69: int (*xRaiseWindow) (Display *d, Window w); /* 57 */ jpayne@69: int (*xRefreshKeyboardMapping) (XMappingEvent *x); /* 58 */ jpayne@69: int (*xResizeWindow) (Display *d, Window w, unsigned int ui1, unsigned int ui2); /* 59 */ jpayne@69: int (*xSelectInput) (Display *d, Window w, long l); /* 60 */ jpayne@69: Status (*xSendEvent) (Display *d, Window w, Bool b, long l, XEvent *x); /* 61 */ jpayne@69: int (*xSetCommand) (Display *d, Window w, char **c, int i); /* 62 */ jpayne@69: int (*xSetIconName) (Display *d, Window w, _Xconst char *c); /* 63 */ jpayne@69: int (*xSetInputFocus) (Display *d, Window w, int i, Time t); /* 64 */ jpayne@69: int (*xSetSelectionOwner) (Display *d, Atom a, Window w, Time t); /* 65 */ jpayne@69: int (*xSetWindowBackground) (Display *d, Window w, unsigned long ul); /* 66 */ jpayne@69: int (*xSetWindowBackgroundPixmap) (Display *d, Window w, Pixmap p); /* 67 */ jpayne@69: int (*xSetWindowBorder) (Display *d, Window w, unsigned long ul); /* 68 */ jpayne@69: int (*xSetWindowBorderPixmap) (Display *d, Window w, Pixmap p); /* 69 */ jpayne@69: int (*xSetWindowBorderWidth) (Display *d, Window w, unsigned int ui); /* 70 */ jpayne@69: int (*xSetWindowColormap) (Display *d, Window w, Colormap c); /* 71 */ jpayne@69: Bool (*xTranslateCoordinates) (Display *d, Window w1, Window w2, int i1, int i2, int *i3, int *i4, Window *w3); /* 72 */ jpayne@69: int (*xUngrabKeyboard) (Display *d, Time t); /* 73 */ jpayne@69: int (*xUngrabPointer) (Display *d, Time t); /* 74 */ jpayne@69: int (*xUnmapWindow) (Display *d, Window w); /* 75 */ jpayne@69: int (*xWindowEvent) (Display *d, Window w, long l, XEvent *x); /* 76 */ jpayne@69: void (*xDestroyIC) (XIC x); /* 77 */ jpayne@69: Bool (*xFilterEvent) (XEvent *x, Window w); /* 78 */ jpayne@69: int (*xmbLookupString) (XIC xi, XKeyPressedEvent *xk, char *c, int i, KeySym *k, Status *s); /* 79 */ jpayne@69: int (*tkPutImage) (unsigned long *colors, int ncolors, Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 80 */ jpayne@69: void (*reserved81)(void); jpayne@69: Status (*xParseColor) (Display *display, Colormap map, _Xconst char *spec, XColor *colorPtr); /* 82 */ jpayne@69: GC (*xCreateGC) (Display *display, Drawable d, unsigned long valuemask, XGCValues *values); /* 83 */ jpayne@69: int (*xFreeGC) (Display *display, GC gc); /* 84 */ jpayne@69: Atom (*xInternAtom) (Display *display, _Xconst char *atom_name, Bool only_if_exists); /* 85 */ jpayne@69: int (*xSetBackground) (Display *display, GC gc, unsigned long foreground); /* 86 */ jpayne@69: int (*xSetForeground) (Display *display, GC gc, unsigned long foreground); /* 87 */ jpayne@69: int (*xSetClipMask) (Display *display, GC gc, Pixmap pixmap); /* 88 */ jpayne@69: int (*xSetClipOrigin) (Display *display, GC gc, int clip_x_origin, int clip_y_origin); /* 89 */ jpayne@69: int (*xSetTSOrigin) (Display *display, GC gc, int ts_x_origin, int ts_y_origin); /* 90 */ jpayne@69: int (*xChangeGC) (Display *d, GC gc, unsigned long mask, XGCValues *values); /* 91 */ jpayne@69: int (*xSetFont) (Display *display, GC gc, Font font); /* 92 */ jpayne@69: int (*xSetArcMode) (Display *display, GC gc, int arc_mode); /* 93 */ jpayne@69: int (*xSetStipple) (Display *display, GC gc, Pixmap stipple); /* 94 */ jpayne@69: int (*xSetFillRule) (Display *display, GC gc, int fill_rule); /* 95 */ jpayne@69: int (*xSetFillStyle) (Display *display, GC gc, int fill_style); /* 96 */ jpayne@69: int (*xSetFunction) (Display *display, GC gc, int function); /* 97 */ jpayne@69: int (*xSetLineAttributes) (Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 98 */ jpayne@69: int (*_XInitImageFuncPtrs) (XImage *image); /* 99 */ jpayne@69: XIC (*xCreateIC) (XIM xim, ...); /* 100 */ jpayne@69: XVisualInfo * (*xGetVisualInfo) (Display *display, long vinfo_mask, XVisualInfo *vinfo_template, int *nitems_return); /* 101 */ jpayne@69: void (*xSetWMClientMachine) (Display *display, Window w, XTextProperty *text_prop); /* 102 */ jpayne@69: Status (*xStringListToTextProperty) (char **list, int count, XTextProperty *text_prop_return); /* 103 */ jpayne@69: int (*xDrawLine) (Display *d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 104 */ jpayne@69: int (*xWarpPointer) (Display *d, Window s, Window dw, int sx, int sy, unsigned int sw, unsigned int sh, int dx, int dy); /* 105 */ jpayne@69: int (*xFillRectangle) (Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 106 */ jpayne@69: int (*xFlush) (Display *display); /* 107 */ jpayne@69: int (*xGrabServer) (Display *display); /* 108 */ jpayne@69: int (*xUngrabServer) (Display *display); /* 109 */ jpayne@69: int (*xFree) (void *data); /* 110 */ jpayne@69: int (*xNoOp) (Display *display); /* 111 */ jpayne@69: XAfterFunction (*xSynchronize) (Display *display, Bool onoff); /* 112 */ jpayne@69: int (*xSync) (Display *display, Bool discard); /* 113 */ jpayne@69: VisualID (*xVisualIDFromVisual) (Visual *visual); /* 114 */ jpayne@69: void (*reserved115)(void); jpayne@69: void (*reserved116)(void); jpayne@69: void (*reserved117)(void); jpayne@69: void (*reserved118)(void); jpayne@69: void (*reserved119)(void); jpayne@69: int (*xOffsetRegion) (Region rgn, int dx, int dy); /* 120 */ jpayne@69: int (*xUnionRegion) (Region srca, Region srcb, Region dr_return); /* 121 */ jpayne@69: Window (*xCreateWindow) (Display *display, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int border_width, int depth, unsigned int clazz, Visual *visual, unsigned long value_mask, XSetWindowAttributes *attributes); /* 122 */ jpayne@69: void (*reserved123)(void); jpayne@69: void (*reserved124)(void); jpayne@69: void (*reserved125)(void); jpayne@69: void (*reserved126)(void); jpayne@69: void (*reserved127)(void); jpayne@69: void (*reserved128)(void); jpayne@69: int (*xLowerWindow) (Display *d, Window w); /* 129 */ jpayne@69: int (*xFillArcs) (Display *d, Drawable dr, GC gc, XArc *a, int n); /* 130 */ jpayne@69: int (*xDrawArcs) (Display *d, Drawable dr, GC gc, XArc *a, int n); /* 131 */ jpayne@69: int (*xDrawRectangles) (Display *d, Drawable dr, GC gc, XRectangle *r, int n); /* 132 */ jpayne@69: int (*xDrawSegments) (Display *d, Drawable dr, GC gc, XSegment *s, int n); /* 133 */ jpayne@69: int (*xDrawPoint) (Display *d, Drawable dr, GC gc, int x, int y); /* 134 */ jpayne@69: int (*xDrawPoints) (Display *d, Drawable dr, GC gc, XPoint *p, int n, int m); /* 135 */ jpayne@69: int (*xReparentWindow) (Display *d, Window w, Window p, int x, int y); /* 136 */ jpayne@69: int (*xPutImage) (Display *d, Drawable dr, GC gc, XImage *im, int sx, int sy, int dx, int dy, unsigned int w, unsigned int h); /* 137 */ jpayne@69: void (*reserved138)(void); jpayne@69: void (*reserved139)(void); jpayne@69: void (*reserved140)(void); jpayne@69: void (*reserved141)(void); jpayne@69: void (*reserved142)(void); jpayne@69: void (*reserved143)(void); jpayne@69: void (*reserved144)(void); jpayne@69: void (*reserved145)(void); jpayne@69: void (*reserved146)(void); jpayne@69: void (*reserved147)(void); jpayne@69: void (*reserved148)(void); jpayne@69: void (*reserved149)(void); jpayne@69: void (*reserved150)(void); jpayne@69: void (*reserved151)(void); jpayne@69: void (*reserved152)(void); jpayne@69: void (*reserved153)(void); jpayne@69: void (*reserved154)(void); jpayne@69: void (*reserved155)(void); jpayne@69: void (*reserved156)(void); jpayne@69: void (*reserved157)(void); jpayne@69: void (*tkUnusedStubEntry) (void); /* 158 */ jpayne@69: #endif /* WIN */ jpayne@69: #ifdef MAC_OSX_TK /* AQUA */ jpayne@69: int (*xSetDashes) (Display *display, GC gc, int dash_offset, _Xconst char *dash_list, int n); /* 0 */ jpayne@69: XModifierKeymap * (*xGetModifierMapping) (Display *d); /* 1 */ jpayne@69: 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 */ jpayne@69: XImage * (*xGetImage) (Display *d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */ jpayne@69: char * (*xGetAtomName) (Display *d, Atom a); /* 4 */ jpayne@69: char * (*xKeysymToString) (KeySym k); /* 5 */ jpayne@69: Colormap (*xCreateColormap) (Display *d, Window w, Visual *v, int i); /* 6 */ jpayne@69: GContext (*xGContextFromGC) (GC g); /* 7 */ jpayne@69: KeySym (*xKeycodeToKeysym) (Display *d, KeyCode k, int i); /* 8 */ jpayne@69: KeySym (*xStringToKeysym) (_Xconst char *c); /* 9 */ jpayne@69: Window (*xRootWindow) (Display *d, int i); /* 10 */ jpayne@69: XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 11 */ jpayne@69: Status (*xAllocColor) (Display *d, Colormap c, XColor *xp); /* 12 */ jpayne@69: int (*xBell) (Display *d, int i); /* 13 */ jpayne@69: int (*xChangeProperty) (Display *d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char *c, int i3); /* 14 */ jpayne@69: int (*xChangeWindowAttributes) (Display *d, Window w, unsigned long ul, XSetWindowAttributes *x); /* 15 */ jpayne@69: int (*xConfigureWindow) (Display *d, Window w, unsigned int i, XWindowChanges *x); /* 16 */ jpayne@69: int (*xCopyArea) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 17 */ jpayne@69: int (*xCopyPlane) (Display *d, Drawable dr1, Drawable dr2, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4, unsigned long ul); /* 18 */ jpayne@69: Pixmap (*xCreateBitmapFromData) (Display *display, Drawable d, _Xconst char *data, unsigned int width, unsigned int height); /* 19 */ jpayne@69: int (*xDefineCursor) (Display *d, Window w, Cursor c); /* 20 */ jpayne@69: int (*xDestroyWindow) (Display *d, Window w); /* 21 */ jpayne@69: int (*xDrawArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 22 */ jpayne@69: int (*xDrawLines) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2); /* 23 */ jpayne@69: int (*xDrawRectangle) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 24 */ jpayne@69: int (*xFillArc) (Display *d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 25 */ jpayne@69: int (*xFillPolygon) (Display *d, Drawable dr, GC g, XPoint *x, int i1, int i2, int i3); /* 26 */ jpayne@69: int (*xFillRectangles) (Display *d, Drawable dr, GC g, XRectangle *x, int i); /* 27 */ jpayne@69: int (*xFreeColormap) (Display *d, Colormap c); /* 28 */ jpayne@69: int (*xFreeColors) (Display *d, Colormap c, unsigned long *ulp, int i, unsigned long ul); /* 29 */ jpayne@69: int (*xFreeModifiermap) (XModifierKeymap *x); /* 30 */ jpayne@69: 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 */ jpayne@69: 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 */ jpayne@69: int (*xGrabKeyboard) (Display *d, Window w, Bool b, int i1, int i2, Time t); /* 33 */ jpayne@69: int (*xGrabPointer) (Display *d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 34 */ jpayne@69: KeyCode (*xKeysymToKeycode) (Display *d, KeySym k); /* 35 */ jpayne@69: int (*xMapWindow) (Display *d, Window w); /* 36 */ jpayne@69: int (*xMoveResizeWindow) (Display *d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 37 */ jpayne@69: int (*xMoveWindow) (Display *d, Window w, int i1, int i2); /* 38 */ jpayne@69: Bool (*xQueryPointer) (Display *d, Window w1, Window *w2, Window *w3, int *i1, int *i2, int *i3, int *i4, unsigned int *ui); /* 39 */ jpayne@69: int (*xRaiseWindow) (Display *d, Window w); /* 40 */ jpayne@69: int (*xRefreshKeyboardMapping) (XMappingEvent *x); /* 41 */ jpayne@69: int (*xResizeWindow) (Display *d, Window w, unsigned int ui1, unsigned int ui2); /* 42 */ jpayne@69: int (*xSelectInput) (Display *d, Window w, long l); /* 43 */ jpayne@69: Status (*xSendEvent) (Display *d, Window w, Bool b, long l, XEvent *x); /* 44 */ jpayne@69: int (*xSetIconName) (Display *d, Window w, _Xconst char *c); /* 45 */ jpayne@69: int (*xSetInputFocus) (Display *d, Window w, int i, Time t); /* 46 */ jpayne@69: int (*xSetSelectionOwner) (Display *d, Atom a, Window w, Time t); /* 47 */ jpayne@69: int (*xSetWindowBackground) (Display *d, Window w, unsigned long ul); /* 48 */ jpayne@69: int (*xSetWindowBackgroundPixmap) (Display *d, Window w, Pixmap p); /* 49 */ jpayne@69: int (*xSetWindowBorder) (Display *d, Window w, unsigned long ul); /* 50 */ jpayne@69: int (*xSetWindowBorderPixmap) (Display *d, Window w, Pixmap p); /* 51 */ jpayne@69: int (*xSetWindowBorderWidth) (Display *d, Window w, unsigned int ui); /* 52 */ jpayne@69: int (*xSetWindowColormap) (Display *d, Window w, Colormap c); /* 53 */ jpayne@69: int (*xUngrabKeyboard) (Display *d, Time t); /* 54 */ jpayne@69: int (*xUngrabPointer) (Display *d, Time t); /* 55 */ jpayne@69: int (*xUnmapWindow) (Display *d, Window w); /* 56 */ jpayne@69: int (*tkPutImage) (unsigned long *colors, int ncolors, Display *display, Drawable d, GC gc, XImage *image, int src_x, int src_y, int dest_x, int dest_y, unsigned int width, unsigned int height); /* 57 */ jpayne@69: Status (*xParseColor) (Display *display, Colormap map, _Xconst char *spec, XColor *colorPtr); /* 58 */ jpayne@69: GC (*xCreateGC) (Display *display, Drawable d, unsigned long valuemask, XGCValues *values); /* 59 */ jpayne@69: int (*xFreeGC) (Display *display, GC gc); /* 60 */ jpayne@69: Atom (*xInternAtom) (Display *display, _Xconst char *atom_name, Bool only_if_exists); /* 61 */ jpayne@69: int (*xSetBackground) (Display *display, GC gc, unsigned long foreground); /* 62 */ jpayne@69: int (*xSetForeground) (Display *display, GC gc, unsigned long foreground); /* 63 */ jpayne@69: int (*xSetClipMask) (Display *display, GC gc, Pixmap pixmap); /* 64 */ jpayne@69: int (*xSetClipOrigin) (Display *display, GC gc, int clip_x_origin, int clip_y_origin); /* 65 */ jpayne@69: int (*xSetTSOrigin) (Display *display, GC gc, int ts_x_origin, int ts_y_origin); /* 66 */ jpayne@69: int (*xChangeGC) (Display *d, GC gc, unsigned long mask, XGCValues *values); /* 67 */ jpayne@69: int (*xSetFont) (Display *display, GC gc, Font font); /* 68 */ jpayne@69: int (*xSetArcMode) (Display *display, GC gc, int arc_mode); /* 69 */ jpayne@69: int (*xSetStipple) (Display *display, GC gc, Pixmap stipple); /* 70 */ jpayne@69: int (*xSetFillRule) (Display *display, GC gc, int fill_rule); /* 71 */ jpayne@69: int (*xSetFillStyle) (Display *display, GC gc, int fill_style); /* 72 */ jpayne@69: int (*xSetFunction) (Display *display, GC gc, int function); /* 73 */ jpayne@69: int (*xSetLineAttributes) (Display *display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 74 */ jpayne@69: int (*_XInitImageFuncPtrs) (XImage *image); /* 75 */ jpayne@69: XIC (*xCreateIC) (XIM xim, ...); /* 76 */ jpayne@69: XVisualInfo * (*xGetVisualInfo) (Display *display, long vinfo_mask, XVisualInfo *vinfo_template, int *nitems_return); /* 77 */ jpayne@69: void (*xSetWMClientMachine) (Display *display, Window w, XTextProperty *text_prop); /* 78 */ jpayne@69: Status (*xStringListToTextProperty) (char **list, int count, XTextProperty *text_prop_return); /* 79 */ jpayne@69: int (*xDrawSegments) (Display *display, Drawable d, GC gc, XSegment *segments, int nsegments); /* 80 */ jpayne@69: int (*xForceScreenSaver) (Display *display, int mode); /* 81 */ jpayne@69: int (*xDrawLine) (Display *d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 82 */ jpayne@69: int (*xFillRectangle) (Display *display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 83 */ jpayne@69: int (*xClearWindow) (Display *d, Window w); /* 84 */ jpayne@69: int (*xDrawPoint) (Display *display, Drawable d, GC gc, int x, int y); /* 85 */ jpayne@69: int (*xDrawPoints) (Display *display, Drawable d, GC gc, XPoint *points, int npoints, int mode); /* 86 */ jpayne@69: int (*xWarpPointer) (Display *display, Window src_w, Window dest_w, int src_x, int src_y, unsigned int src_width, unsigned int src_height, int dest_x, int dest_y); /* 87 */ jpayne@69: int (*xQueryColor) (Display *display, Colormap colormap, XColor *def_in_out); /* 88 */ jpayne@69: int (*xQueryColors) (Display *display, Colormap colormap, XColor *defs_in_out, int ncolors); /* 89 */ jpayne@69: Status (*xQueryTree) (Display *d, Window w1, Window *w2, Window *w3, Window **w4, unsigned int *ui); /* 90 */ jpayne@69: int (*xSync) (Display *display, Bool discard); /* 91 */ jpayne@69: void (*reserved92)(void); jpayne@69: void (*reserved93)(void); jpayne@69: void (*reserved94)(void); jpayne@69: void (*reserved95)(void); jpayne@69: void (*reserved96)(void); jpayne@69: void (*reserved97)(void); jpayne@69: void (*reserved98)(void); jpayne@69: void (*reserved99)(void); jpayne@69: void (*reserved100)(void); jpayne@69: void (*reserved101)(void); jpayne@69: void (*reserved102)(void); jpayne@69: void (*reserved103)(void); jpayne@69: void (*reserved104)(void); jpayne@69: void (*reserved105)(void); jpayne@69: int (*xSetClipRectangles) (Display *display, GC gc, int clip_x_origin, int clip_y_origin, XRectangle rectangles[], int n, int ordering); /* 106 */ jpayne@69: int (*xFlush) (Display *display); /* 107 */ jpayne@69: int (*xGrabServer) (Display *display); /* 108 */ jpayne@69: int (*xUngrabServer) (Display *display); /* 109 */ jpayne@69: int (*xFree) (void *data); /* 110 */ jpayne@69: int (*xNoOp) (Display *display); /* 111 */ jpayne@69: XAfterFunction (*xSynchronize) (Display *display, Bool onoff); /* 112 */ jpayne@69: void (*reserved113)(void); jpayne@69: VisualID (*xVisualIDFromVisual) (Visual *visual); /* 114 */ jpayne@69: void (*reserved115)(void); jpayne@69: void (*reserved116)(void); jpayne@69: void (*reserved117)(void); jpayne@69: void (*reserved118)(void); jpayne@69: void (*reserved119)(void); jpayne@69: int (*xOffsetRegion) (void *rgn, int dx, int dy); /* 120 */ jpayne@69: void (*reserved121)(void); jpayne@69: void (*reserved122)(void); jpayne@69: void (*reserved123)(void); jpayne@69: void (*reserved124)(void); jpayne@69: void (*reserved125)(void); jpayne@69: void (*reserved126)(void); jpayne@69: void (*reserved127)(void); jpayne@69: void (*reserved128)(void); jpayne@69: int (*xLowerWindow) (Display *d, Window w); /* 129 */ jpayne@69: void (*reserved130)(void); jpayne@69: void (*reserved131)(void); jpayne@69: void (*reserved132)(void); jpayne@69: void (*reserved133)(void); jpayne@69: void (*reserved134)(void); jpayne@69: void (*reserved135)(void); jpayne@69: void (*reserved136)(void); jpayne@69: int (*xPutImage) (Display *d, Drawable dr, GC gc, XImage *im, int sx, int sy, int dx, int dy, unsigned int w, unsigned int h); /* 137 */ jpayne@69: void (*reserved138)(void); jpayne@69: void (*reserved139)(void); jpayne@69: void (*reserved140)(void); jpayne@69: void (*reserved141)(void); jpayne@69: void (*reserved142)(void); jpayne@69: void (*reserved143)(void); jpayne@69: void (*xDestroyIC) (XIC xic); /* 144 */ jpayne@69: Cursor (*xCreatePixmapCursor) (Display *d, Pixmap p1, Pixmap p2, XColor *x1, XColor *x2, unsigned int ui1, unsigned int ui2); /* 145 */ jpayne@69: Cursor (*xCreateGlyphCursor) (Display *d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor _Xconst *x1, XColor _Xconst *x2); /* 146 */ jpayne@69: void (*reserved147)(void); jpayne@69: void (*reserved148)(void); jpayne@69: void (*reserved149)(void); jpayne@69: void (*reserved150)(void); jpayne@69: void (*reserved151)(void); jpayne@69: void (*reserved152)(void); jpayne@69: void (*reserved153)(void); jpayne@69: void (*reserved154)(void); jpayne@69: void (*reserved155)(void); jpayne@69: void (*reserved156)(void); jpayne@69: KeySym (*xkbKeycodeToKeysym) (Display *d, unsigned int k, int g, int i); /* 157 */ jpayne@69: void (*tkUnusedStubEntry) (void); /* 158 */ jpayne@69: #endif /* AQUA */ jpayne@69: } TkIntXlibStubs; jpayne@69: jpayne@69: extern const TkIntXlibStubs *tkIntXlibStubsPtr; jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: } jpayne@69: #endif jpayne@69: jpayne@69: #if defined(USE_TK_STUBS) jpayne@69: jpayne@69: /* jpayne@69: * Inline function declarations: jpayne@69: */ jpayne@69: jpayne@69: #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */ jpayne@69: #define XSetDashes \ jpayne@69: (tkIntXlibStubsPtr->xSetDashes) /* 0 */ jpayne@69: #define XGetModifierMapping \ jpayne@69: (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */ jpayne@69: #define XCreateImage \ jpayne@69: (tkIntXlibStubsPtr->xCreateImage) /* 2 */ jpayne@69: #define XGetImage \ jpayne@69: (tkIntXlibStubsPtr->xGetImage) /* 3 */ jpayne@69: #define XGetAtomName \ jpayne@69: (tkIntXlibStubsPtr->xGetAtomName) /* 4 */ jpayne@69: #define XKeysymToString \ jpayne@69: (tkIntXlibStubsPtr->xKeysymToString) /* 5 */ jpayne@69: #define XCreateColormap \ jpayne@69: (tkIntXlibStubsPtr->xCreateColormap) /* 6 */ jpayne@69: #define XCreatePixmapCursor \ jpayne@69: (tkIntXlibStubsPtr->xCreatePixmapCursor) /* 7 */ jpayne@69: #define XCreateGlyphCursor \ jpayne@69: (tkIntXlibStubsPtr->xCreateGlyphCursor) /* 8 */ jpayne@69: #define XGContextFromGC \ jpayne@69: (tkIntXlibStubsPtr->xGContextFromGC) /* 9 */ jpayne@69: #define XListHosts \ jpayne@69: (tkIntXlibStubsPtr->xListHosts) /* 10 */ jpayne@69: #define XKeycodeToKeysym \ jpayne@69: (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 11 */ jpayne@69: #define XStringToKeysym \ jpayne@69: (tkIntXlibStubsPtr->xStringToKeysym) /* 12 */ jpayne@69: #define XRootWindow \ jpayne@69: (tkIntXlibStubsPtr->xRootWindow) /* 13 */ jpayne@69: #define XSetErrorHandler \ jpayne@69: (tkIntXlibStubsPtr->xSetErrorHandler) /* 14 */ jpayne@69: #define XIconifyWindow \ jpayne@69: (tkIntXlibStubsPtr->xIconifyWindow) /* 15 */ jpayne@69: #define XWithdrawWindow \ jpayne@69: (tkIntXlibStubsPtr->xWithdrawWindow) /* 16 */ jpayne@69: #define XGetWMColormapWindows \ jpayne@69: (tkIntXlibStubsPtr->xGetWMColormapWindows) /* 17 */ jpayne@69: #define XAllocColor \ jpayne@69: (tkIntXlibStubsPtr->xAllocColor) /* 18 */ jpayne@69: #define XBell \ jpayne@69: (tkIntXlibStubsPtr->xBell) /* 19 */ jpayne@69: #define XChangeProperty \ jpayne@69: (tkIntXlibStubsPtr->xChangeProperty) /* 20 */ jpayne@69: #define XChangeWindowAttributes \ jpayne@69: (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 21 */ jpayne@69: #define XClearWindow \ jpayne@69: (tkIntXlibStubsPtr->xClearWindow) /* 22 */ jpayne@69: #define XConfigureWindow \ jpayne@69: (tkIntXlibStubsPtr->xConfigureWindow) /* 23 */ jpayne@69: #define XCopyArea \ jpayne@69: (tkIntXlibStubsPtr->xCopyArea) /* 24 */ jpayne@69: #define XCopyPlane \ jpayne@69: (tkIntXlibStubsPtr->xCopyPlane) /* 25 */ jpayne@69: #define XCreateBitmapFromData \ jpayne@69: (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 26 */ jpayne@69: #define XDefineCursor \ jpayne@69: (tkIntXlibStubsPtr->xDefineCursor) /* 27 */ jpayne@69: #define XDeleteProperty \ jpayne@69: (tkIntXlibStubsPtr->xDeleteProperty) /* 28 */ jpayne@69: #define XDestroyWindow \ jpayne@69: (tkIntXlibStubsPtr->xDestroyWindow) /* 29 */ jpayne@69: #define XDrawArc \ jpayne@69: (tkIntXlibStubsPtr->xDrawArc) /* 30 */ jpayne@69: #define XDrawLines \ jpayne@69: (tkIntXlibStubsPtr->xDrawLines) /* 31 */ jpayne@69: #define XDrawRectangle \ jpayne@69: (tkIntXlibStubsPtr->xDrawRectangle) /* 32 */ jpayne@69: #define XFillArc \ jpayne@69: (tkIntXlibStubsPtr->xFillArc) /* 33 */ jpayne@69: #define XFillPolygon \ jpayne@69: (tkIntXlibStubsPtr->xFillPolygon) /* 34 */ jpayne@69: #define XFillRectangles \ jpayne@69: (tkIntXlibStubsPtr->xFillRectangles) /* 35 */ jpayne@69: #define XForceScreenSaver \ jpayne@69: (tkIntXlibStubsPtr->xForceScreenSaver) /* 36 */ jpayne@69: #define XFreeColormap \ jpayne@69: (tkIntXlibStubsPtr->xFreeColormap) /* 37 */ jpayne@69: #define XFreeColors \ jpayne@69: (tkIntXlibStubsPtr->xFreeColors) /* 38 */ jpayne@69: #define XFreeCursor \ jpayne@69: (tkIntXlibStubsPtr->xFreeCursor) /* 39 */ jpayne@69: #define XFreeModifiermap \ jpayne@69: (tkIntXlibStubsPtr->xFreeModifiermap) /* 40 */ jpayne@69: #define XGetGeometry \ jpayne@69: (tkIntXlibStubsPtr->xGetGeometry) /* 41 */ jpayne@69: #define XGetInputFocus \ jpayne@69: (tkIntXlibStubsPtr->xGetInputFocus) /* 42 */ jpayne@69: #define XGetWindowProperty \ jpayne@69: (tkIntXlibStubsPtr->xGetWindowProperty) /* 43 */ jpayne@69: #define XGetWindowAttributes \ jpayne@69: (tkIntXlibStubsPtr->xGetWindowAttributes) /* 44 */ jpayne@69: #define XGrabKeyboard \ jpayne@69: (tkIntXlibStubsPtr->xGrabKeyboard) /* 45 */ jpayne@69: #define XGrabPointer \ jpayne@69: (tkIntXlibStubsPtr->xGrabPointer) /* 46 */ jpayne@69: #define XKeysymToKeycode \ jpayne@69: (tkIntXlibStubsPtr->xKeysymToKeycode) /* 47 */ jpayne@69: #define XLookupColor \ jpayne@69: (tkIntXlibStubsPtr->xLookupColor) /* 48 */ jpayne@69: #define XMapWindow \ jpayne@69: (tkIntXlibStubsPtr->xMapWindow) /* 49 */ jpayne@69: #define XMoveResizeWindow \ jpayne@69: (tkIntXlibStubsPtr->xMoveResizeWindow) /* 50 */ jpayne@69: #define XMoveWindow \ jpayne@69: (tkIntXlibStubsPtr->xMoveWindow) /* 51 */ jpayne@69: #define XNextEvent \ jpayne@69: (tkIntXlibStubsPtr->xNextEvent) /* 52 */ jpayne@69: #define XPutBackEvent \ jpayne@69: (tkIntXlibStubsPtr->xPutBackEvent) /* 53 */ jpayne@69: #define XQueryColors \ jpayne@69: (tkIntXlibStubsPtr->xQueryColors) /* 54 */ jpayne@69: #define XQueryPointer \ jpayne@69: (tkIntXlibStubsPtr->xQueryPointer) /* 55 */ jpayne@69: #define XQueryTree \ jpayne@69: (tkIntXlibStubsPtr->xQueryTree) /* 56 */ jpayne@69: #define XRaiseWindow \ jpayne@69: (tkIntXlibStubsPtr->xRaiseWindow) /* 57 */ jpayne@69: #define XRefreshKeyboardMapping \ jpayne@69: (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 58 */ jpayne@69: #define XResizeWindow \ jpayne@69: (tkIntXlibStubsPtr->xResizeWindow) /* 59 */ jpayne@69: #define XSelectInput \ jpayne@69: (tkIntXlibStubsPtr->xSelectInput) /* 60 */ jpayne@69: #define XSendEvent \ jpayne@69: (tkIntXlibStubsPtr->xSendEvent) /* 61 */ jpayne@69: #define XSetCommand \ jpayne@69: (tkIntXlibStubsPtr->xSetCommand) /* 62 */ jpayne@69: #define XSetIconName \ jpayne@69: (tkIntXlibStubsPtr->xSetIconName) /* 63 */ jpayne@69: #define XSetInputFocus \ jpayne@69: (tkIntXlibStubsPtr->xSetInputFocus) /* 64 */ jpayne@69: #define XSetSelectionOwner \ jpayne@69: (tkIntXlibStubsPtr->xSetSelectionOwner) /* 65 */ jpayne@69: #define XSetWindowBackground \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowBackground) /* 66 */ jpayne@69: #define XSetWindowBackgroundPixmap \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 67 */ jpayne@69: #define XSetWindowBorder \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowBorder) /* 68 */ jpayne@69: #define XSetWindowBorderPixmap \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 69 */ jpayne@69: #define XSetWindowBorderWidth \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 70 */ jpayne@69: #define XSetWindowColormap \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowColormap) /* 71 */ jpayne@69: #define XTranslateCoordinates \ jpayne@69: (tkIntXlibStubsPtr->xTranslateCoordinates) /* 72 */ jpayne@69: #define XUngrabKeyboard \ jpayne@69: (tkIntXlibStubsPtr->xUngrabKeyboard) /* 73 */ jpayne@69: #define XUngrabPointer \ jpayne@69: (tkIntXlibStubsPtr->xUngrabPointer) /* 74 */ jpayne@69: #define XUnmapWindow \ jpayne@69: (tkIntXlibStubsPtr->xUnmapWindow) /* 75 */ jpayne@69: #define XWindowEvent \ jpayne@69: (tkIntXlibStubsPtr->xWindowEvent) /* 76 */ jpayne@69: #define XDestroyIC \ jpayne@69: (tkIntXlibStubsPtr->xDestroyIC) /* 77 */ jpayne@69: #define XFilterEvent \ jpayne@69: (tkIntXlibStubsPtr->xFilterEvent) /* 78 */ jpayne@69: #define XmbLookupString \ jpayne@69: (tkIntXlibStubsPtr->xmbLookupString) /* 79 */ jpayne@69: #define TkPutImage \ jpayne@69: (tkIntXlibStubsPtr->tkPutImage) /* 80 */ jpayne@69: /* Slot 81 is reserved */ jpayne@69: #define XParseColor \ jpayne@69: (tkIntXlibStubsPtr->xParseColor) /* 82 */ jpayne@69: #define XCreateGC \ jpayne@69: (tkIntXlibStubsPtr->xCreateGC) /* 83 */ jpayne@69: #define XFreeGC \ jpayne@69: (tkIntXlibStubsPtr->xFreeGC) /* 84 */ jpayne@69: #define XInternAtom \ jpayne@69: (tkIntXlibStubsPtr->xInternAtom) /* 85 */ jpayne@69: #define XSetBackground \ jpayne@69: (tkIntXlibStubsPtr->xSetBackground) /* 86 */ jpayne@69: #define XSetForeground \ jpayne@69: (tkIntXlibStubsPtr->xSetForeground) /* 87 */ jpayne@69: #define XSetClipMask \ jpayne@69: (tkIntXlibStubsPtr->xSetClipMask) /* 88 */ jpayne@69: #define XSetClipOrigin \ jpayne@69: (tkIntXlibStubsPtr->xSetClipOrigin) /* 89 */ jpayne@69: #define XSetTSOrigin \ jpayne@69: (tkIntXlibStubsPtr->xSetTSOrigin) /* 90 */ jpayne@69: #define XChangeGC \ jpayne@69: (tkIntXlibStubsPtr->xChangeGC) /* 91 */ jpayne@69: #define XSetFont \ jpayne@69: (tkIntXlibStubsPtr->xSetFont) /* 92 */ jpayne@69: #define XSetArcMode \ jpayne@69: (tkIntXlibStubsPtr->xSetArcMode) /* 93 */ jpayne@69: #define XSetStipple \ jpayne@69: (tkIntXlibStubsPtr->xSetStipple) /* 94 */ jpayne@69: #define XSetFillRule \ jpayne@69: (tkIntXlibStubsPtr->xSetFillRule) /* 95 */ jpayne@69: #define XSetFillStyle \ jpayne@69: (tkIntXlibStubsPtr->xSetFillStyle) /* 96 */ jpayne@69: #define XSetFunction \ jpayne@69: (tkIntXlibStubsPtr->xSetFunction) /* 97 */ jpayne@69: #define XSetLineAttributes \ jpayne@69: (tkIntXlibStubsPtr->xSetLineAttributes) /* 98 */ jpayne@69: #define _XInitImageFuncPtrs \ jpayne@69: (tkIntXlibStubsPtr->_XInitImageFuncPtrs) /* 99 */ jpayne@69: #define XCreateIC \ jpayne@69: (tkIntXlibStubsPtr->xCreateIC) /* 100 */ jpayne@69: #define XGetVisualInfo \ jpayne@69: (tkIntXlibStubsPtr->xGetVisualInfo) /* 101 */ jpayne@69: #define XSetWMClientMachine \ jpayne@69: (tkIntXlibStubsPtr->xSetWMClientMachine) /* 102 */ jpayne@69: #define XStringListToTextProperty \ jpayne@69: (tkIntXlibStubsPtr->xStringListToTextProperty) /* 103 */ jpayne@69: #define XDrawLine \ jpayne@69: (tkIntXlibStubsPtr->xDrawLine) /* 104 */ jpayne@69: #define XWarpPointer \ jpayne@69: (tkIntXlibStubsPtr->xWarpPointer) /* 105 */ jpayne@69: #define XFillRectangle \ jpayne@69: (tkIntXlibStubsPtr->xFillRectangle) /* 106 */ jpayne@69: #define XFlush \ jpayne@69: (tkIntXlibStubsPtr->xFlush) /* 107 */ jpayne@69: #define XGrabServer \ jpayne@69: (tkIntXlibStubsPtr->xGrabServer) /* 108 */ jpayne@69: #define XUngrabServer \ jpayne@69: (tkIntXlibStubsPtr->xUngrabServer) /* 109 */ jpayne@69: #define XFree \ jpayne@69: (tkIntXlibStubsPtr->xFree) /* 110 */ jpayne@69: #define XNoOp \ jpayne@69: (tkIntXlibStubsPtr->xNoOp) /* 111 */ jpayne@69: #define XSynchronize \ jpayne@69: (tkIntXlibStubsPtr->xSynchronize) /* 112 */ jpayne@69: #define XSync \ jpayne@69: (tkIntXlibStubsPtr->xSync) /* 113 */ jpayne@69: #define XVisualIDFromVisual \ jpayne@69: (tkIntXlibStubsPtr->xVisualIDFromVisual) /* 114 */ jpayne@69: /* Slot 115 is reserved */ jpayne@69: /* Slot 116 is reserved */ jpayne@69: /* Slot 117 is reserved */ jpayne@69: /* Slot 118 is reserved */ jpayne@69: /* Slot 119 is reserved */ jpayne@69: #define XOffsetRegion \ jpayne@69: (tkIntXlibStubsPtr->xOffsetRegion) /* 120 */ jpayne@69: #define XUnionRegion \ jpayne@69: (tkIntXlibStubsPtr->xUnionRegion) /* 121 */ jpayne@69: #define XCreateWindow \ jpayne@69: (tkIntXlibStubsPtr->xCreateWindow) /* 122 */ jpayne@69: /* Slot 123 is reserved */ jpayne@69: /* Slot 124 is reserved */ jpayne@69: /* Slot 125 is reserved */ jpayne@69: /* Slot 126 is reserved */ jpayne@69: /* Slot 127 is reserved */ jpayne@69: /* Slot 128 is reserved */ jpayne@69: #define XLowerWindow \ jpayne@69: (tkIntXlibStubsPtr->xLowerWindow) /* 129 */ jpayne@69: #define XFillArcs \ jpayne@69: (tkIntXlibStubsPtr->xFillArcs) /* 130 */ jpayne@69: #define XDrawArcs \ jpayne@69: (tkIntXlibStubsPtr->xDrawArcs) /* 131 */ jpayne@69: #define XDrawRectangles \ jpayne@69: (tkIntXlibStubsPtr->xDrawRectangles) /* 132 */ jpayne@69: #define XDrawSegments \ jpayne@69: (tkIntXlibStubsPtr->xDrawSegments) /* 133 */ jpayne@69: #define XDrawPoint \ jpayne@69: (tkIntXlibStubsPtr->xDrawPoint) /* 134 */ jpayne@69: #define XDrawPoints \ jpayne@69: (tkIntXlibStubsPtr->xDrawPoints) /* 135 */ jpayne@69: #define XReparentWindow \ jpayne@69: (tkIntXlibStubsPtr->xReparentWindow) /* 136 */ jpayne@69: #define XPutImage \ jpayne@69: (tkIntXlibStubsPtr->xPutImage) /* 137 */ jpayne@69: /* Slot 138 is reserved */ jpayne@69: /* Slot 139 is reserved */ jpayne@69: /* Slot 140 is reserved */ jpayne@69: /* Slot 141 is reserved */ jpayne@69: /* Slot 142 is reserved */ jpayne@69: /* Slot 143 is reserved */ jpayne@69: /* Slot 144 is reserved */ jpayne@69: /* Slot 145 is reserved */ jpayne@69: /* Slot 146 is reserved */ jpayne@69: /* Slot 147 is reserved */ jpayne@69: /* Slot 148 is reserved */ jpayne@69: /* Slot 149 is reserved */ jpayne@69: /* Slot 150 is reserved */ jpayne@69: /* Slot 151 is reserved */ jpayne@69: /* Slot 152 is reserved */ jpayne@69: /* Slot 153 is reserved */ jpayne@69: /* Slot 154 is reserved */ jpayne@69: /* Slot 155 is reserved */ jpayne@69: /* Slot 156 is reserved */ jpayne@69: /* Slot 157 is reserved */ jpayne@69: #define TkUnusedStubEntry \ jpayne@69: (tkIntXlibStubsPtr->tkUnusedStubEntry) /* 158 */ jpayne@69: #endif /* WIN */ jpayne@69: #ifdef MAC_OSX_TK /* AQUA */ jpayne@69: #define XSetDashes \ jpayne@69: (tkIntXlibStubsPtr->xSetDashes) /* 0 */ jpayne@69: #define XGetModifierMapping \ jpayne@69: (tkIntXlibStubsPtr->xGetModifierMapping) /* 1 */ jpayne@69: #define XCreateImage \ jpayne@69: (tkIntXlibStubsPtr->xCreateImage) /* 2 */ jpayne@69: #define XGetImage \ jpayne@69: (tkIntXlibStubsPtr->xGetImage) /* 3 */ jpayne@69: #define XGetAtomName \ jpayne@69: (tkIntXlibStubsPtr->xGetAtomName) /* 4 */ jpayne@69: #define XKeysymToString \ jpayne@69: (tkIntXlibStubsPtr->xKeysymToString) /* 5 */ jpayne@69: #define XCreateColormap \ jpayne@69: (tkIntXlibStubsPtr->xCreateColormap) /* 6 */ jpayne@69: #define XGContextFromGC \ jpayne@69: (tkIntXlibStubsPtr->xGContextFromGC) /* 7 */ jpayne@69: #define XKeycodeToKeysym \ jpayne@69: (tkIntXlibStubsPtr->xKeycodeToKeysym) /* 8 */ jpayne@69: #define XStringToKeysym \ jpayne@69: (tkIntXlibStubsPtr->xStringToKeysym) /* 9 */ jpayne@69: #define XRootWindow \ jpayne@69: (tkIntXlibStubsPtr->xRootWindow) /* 10 */ jpayne@69: #define XSetErrorHandler \ jpayne@69: (tkIntXlibStubsPtr->xSetErrorHandler) /* 11 */ jpayne@69: #define XAllocColor \ jpayne@69: (tkIntXlibStubsPtr->xAllocColor) /* 12 */ jpayne@69: #define XBell \ jpayne@69: (tkIntXlibStubsPtr->xBell) /* 13 */ jpayne@69: #define XChangeProperty \ jpayne@69: (tkIntXlibStubsPtr->xChangeProperty) /* 14 */ jpayne@69: #define XChangeWindowAttributes \ jpayne@69: (tkIntXlibStubsPtr->xChangeWindowAttributes) /* 15 */ jpayne@69: #define XConfigureWindow \ jpayne@69: (tkIntXlibStubsPtr->xConfigureWindow) /* 16 */ jpayne@69: #define XCopyArea \ jpayne@69: (tkIntXlibStubsPtr->xCopyArea) /* 17 */ jpayne@69: #define XCopyPlane \ jpayne@69: (tkIntXlibStubsPtr->xCopyPlane) /* 18 */ jpayne@69: #define XCreateBitmapFromData \ jpayne@69: (tkIntXlibStubsPtr->xCreateBitmapFromData) /* 19 */ jpayne@69: #define XDefineCursor \ jpayne@69: (tkIntXlibStubsPtr->xDefineCursor) /* 20 */ jpayne@69: #define XDestroyWindow \ jpayne@69: (tkIntXlibStubsPtr->xDestroyWindow) /* 21 */ jpayne@69: #define XDrawArc \ jpayne@69: (tkIntXlibStubsPtr->xDrawArc) /* 22 */ jpayne@69: #define XDrawLines \ jpayne@69: (tkIntXlibStubsPtr->xDrawLines) /* 23 */ jpayne@69: #define XDrawRectangle \ jpayne@69: (tkIntXlibStubsPtr->xDrawRectangle) /* 24 */ jpayne@69: #define XFillArc \ jpayne@69: (tkIntXlibStubsPtr->xFillArc) /* 25 */ jpayne@69: #define XFillPolygon \ jpayne@69: (tkIntXlibStubsPtr->xFillPolygon) /* 26 */ jpayne@69: #define XFillRectangles \ jpayne@69: (tkIntXlibStubsPtr->xFillRectangles) /* 27 */ jpayne@69: #define XFreeColormap \ jpayne@69: (tkIntXlibStubsPtr->xFreeColormap) /* 28 */ jpayne@69: #define XFreeColors \ jpayne@69: (tkIntXlibStubsPtr->xFreeColors) /* 29 */ jpayne@69: #define XFreeModifiermap \ jpayne@69: (tkIntXlibStubsPtr->xFreeModifiermap) /* 30 */ jpayne@69: #define XGetGeometry \ jpayne@69: (tkIntXlibStubsPtr->xGetGeometry) /* 31 */ jpayne@69: #define XGetWindowProperty \ jpayne@69: (tkIntXlibStubsPtr->xGetWindowProperty) /* 32 */ jpayne@69: #define XGrabKeyboard \ jpayne@69: (tkIntXlibStubsPtr->xGrabKeyboard) /* 33 */ jpayne@69: #define XGrabPointer \ jpayne@69: (tkIntXlibStubsPtr->xGrabPointer) /* 34 */ jpayne@69: #define XKeysymToKeycode \ jpayne@69: (tkIntXlibStubsPtr->xKeysymToKeycode) /* 35 */ jpayne@69: #define XMapWindow \ jpayne@69: (tkIntXlibStubsPtr->xMapWindow) /* 36 */ jpayne@69: #define XMoveResizeWindow \ jpayne@69: (tkIntXlibStubsPtr->xMoveResizeWindow) /* 37 */ jpayne@69: #define XMoveWindow \ jpayne@69: (tkIntXlibStubsPtr->xMoveWindow) /* 38 */ jpayne@69: #define XQueryPointer \ jpayne@69: (tkIntXlibStubsPtr->xQueryPointer) /* 39 */ jpayne@69: #define XRaiseWindow \ jpayne@69: (tkIntXlibStubsPtr->xRaiseWindow) /* 40 */ jpayne@69: #define XRefreshKeyboardMapping \ jpayne@69: (tkIntXlibStubsPtr->xRefreshKeyboardMapping) /* 41 */ jpayne@69: #define XResizeWindow \ jpayne@69: (tkIntXlibStubsPtr->xResizeWindow) /* 42 */ jpayne@69: #define XSelectInput \ jpayne@69: (tkIntXlibStubsPtr->xSelectInput) /* 43 */ jpayne@69: #define XSendEvent \ jpayne@69: (tkIntXlibStubsPtr->xSendEvent) /* 44 */ jpayne@69: #define XSetIconName \ jpayne@69: (tkIntXlibStubsPtr->xSetIconName) /* 45 */ jpayne@69: #define XSetInputFocus \ jpayne@69: (tkIntXlibStubsPtr->xSetInputFocus) /* 46 */ jpayne@69: #define XSetSelectionOwner \ jpayne@69: (tkIntXlibStubsPtr->xSetSelectionOwner) /* 47 */ jpayne@69: #define XSetWindowBackground \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowBackground) /* 48 */ jpayne@69: #define XSetWindowBackgroundPixmap \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowBackgroundPixmap) /* 49 */ jpayne@69: #define XSetWindowBorder \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowBorder) /* 50 */ jpayne@69: #define XSetWindowBorderPixmap \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowBorderPixmap) /* 51 */ jpayne@69: #define XSetWindowBorderWidth \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowBorderWidth) /* 52 */ jpayne@69: #define XSetWindowColormap \ jpayne@69: (tkIntXlibStubsPtr->xSetWindowColormap) /* 53 */ jpayne@69: #define XUngrabKeyboard \ jpayne@69: (tkIntXlibStubsPtr->xUngrabKeyboard) /* 54 */ jpayne@69: #define XUngrabPointer \ jpayne@69: (tkIntXlibStubsPtr->xUngrabPointer) /* 55 */ jpayne@69: #define XUnmapWindow \ jpayne@69: (tkIntXlibStubsPtr->xUnmapWindow) /* 56 */ jpayne@69: #define TkPutImage \ jpayne@69: (tkIntXlibStubsPtr->tkPutImage) /* 57 */ jpayne@69: #define XParseColor \ jpayne@69: (tkIntXlibStubsPtr->xParseColor) /* 58 */ jpayne@69: #define XCreateGC \ jpayne@69: (tkIntXlibStubsPtr->xCreateGC) /* 59 */ jpayne@69: #define XFreeGC \ jpayne@69: (tkIntXlibStubsPtr->xFreeGC) /* 60 */ jpayne@69: #define XInternAtom \ jpayne@69: (tkIntXlibStubsPtr->xInternAtom) /* 61 */ jpayne@69: #define XSetBackground \ jpayne@69: (tkIntXlibStubsPtr->xSetBackground) /* 62 */ jpayne@69: #define XSetForeground \ jpayne@69: (tkIntXlibStubsPtr->xSetForeground) /* 63 */ jpayne@69: #define XSetClipMask \ jpayne@69: (tkIntXlibStubsPtr->xSetClipMask) /* 64 */ jpayne@69: #define XSetClipOrigin \ jpayne@69: (tkIntXlibStubsPtr->xSetClipOrigin) /* 65 */ jpayne@69: #define XSetTSOrigin \ jpayne@69: (tkIntXlibStubsPtr->xSetTSOrigin) /* 66 */ jpayne@69: #define XChangeGC \ jpayne@69: (tkIntXlibStubsPtr->xChangeGC) /* 67 */ jpayne@69: #define XSetFont \ jpayne@69: (tkIntXlibStubsPtr->xSetFont) /* 68 */ jpayne@69: #define XSetArcMode \ jpayne@69: (tkIntXlibStubsPtr->xSetArcMode) /* 69 */ jpayne@69: #define XSetStipple \ jpayne@69: (tkIntXlibStubsPtr->xSetStipple) /* 70 */ jpayne@69: #define XSetFillRule \ jpayne@69: (tkIntXlibStubsPtr->xSetFillRule) /* 71 */ jpayne@69: #define XSetFillStyle \ jpayne@69: (tkIntXlibStubsPtr->xSetFillStyle) /* 72 */ jpayne@69: #define XSetFunction \ jpayne@69: (tkIntXlibStubsPtr->xSetFunction) /* 73 */ jpayne@69: #define XSetLineAttributes \ jpayne@69: (tkIntXlibStubsPtr->xSetLineAttributes) /* 74 */ jpayne@69: #define _XInitImageFuncPtrs \ jpayne@69: (tkIntXlibStubsPtr->_XInitImageFuncPtrs) /* 75 */ jpayne@69: #define XCreateIC \ jpayne@69: (tkIntXlibStubsPtr->xCreateIC) /* 76 */ jpayne@69: #define XGetVisualInfo \ jpayne@69: (tkIntXlibStubsPtr->xGetVisualInfo) /* 77 */ jpayne@69: #define XSetWMClientMachine \ jpayne@69: (tkIntXlibStubsPtr->xSetWMClientMachine) /* 78 */ jpayne@69: #define XStringListToTextProperty \ jpayne@69: (tkIntXlibStubsPtr->xStringListToTextProperty) /* 79 */ jpayne@69: #define XDrawSegments \ jpayne@69: (tkIntXlibStubsPtr->xDrawSegments) /* 80 */ jpayne@69: #define XForceScreenSaver \ jpayne@69: (tkIntXlibStubsPtr->xForceScreenSaver) /* 81 */ jpayne@69: #define XDrawLine \ jpayne@69: (tkIntXlibStubsPtr->xDrawLine) /* 82 */ jpayne@69: #define XFillRectangle \ jpayne@69: (tkIntXlibStubsPtr->xFillRectangle) /* 83 */ jpayne@69: #define XClearWindow \ jpayne@69: (tkIntXlibStubsPtr->xClearWindow) /* 84 */ jpayne@69: #define XDrawPoint \ jpayne@69: (tkIntXlibStubsPtr->xDrawPoint) /* 85 */ jpayne@69: #define XDrawPoints \ jpayne@69: (tkIntXlibStubsPtr->xDrawPoints) /* 86 */ jpayne@69: #define XWarpPointer \ jpayne@69: (tkIntXlibStubsPtr->xWarpPointer) /* 87 */ jpayne@69: #define XQueryColor \ jpayne@69: (tkIntXlibStubsPtr->xQueryColor) /* 88 */ jpayne@69: #define XQueryColors \ jpayne@69: (tkIntXlibStubsPtr->xQueryColors) /* 89 */ jpayne@69: #define XQueryTree \ jpayne@69: (tkIntXlibStubsPtr->xQueryTree) /* 90 */ jpayne@69: #define XSync \ jpayne@69: (tkIntXlibStubsPtr->xSync) /* 91 */ jpayne@69: /* Slot 92 is reserved */ jpayne@69: /* Slot 93 is reserved */ jpayne@69: /* Slot 94 is reserved */ jpayne@69: /* Slot 95 is reserved */ jpayne@69: /* Slot 96 is reserved */ jpayne@69: /* Slot 97 is reserved */ jpayne@69: /* Slot 98 is reserved */ jpayne@69: /* Slot 99 is reserved */ jpayne@69: /* Slot 100 is reserved */ jpayne@69: /* Slot 101 is reserved */ jpayne@69: /* Slot 102 is reserved */ jpayne@69: /* Slot 103 is reserved */ jpayne@69: /* Slot 104 is reserved */ jpayne@69: /* Slot 105 is reserved */ jpayne@69: #define XSetClipRectangles \ jpayne@69: (tkIntXlibStubsPtr->xSetClipRectangles) /* 106 */ jpayne@69: #define XFlush \ jpayne@69: (tkIntXlibStubsPtr->xFlush) /* 107 */ jpayne@69: #define XGrabServer \ jpayne@69: (tkIntXlibStubsPtr->xGrabServer) /* 108 */ jpayne@69: #define XUngrabServer \ jpayne@69: (tkIntXlibStubsPtr->xUngrabServer) /* 109 */ jpayne@69: #define XFree \ jpayne@69: (tkIntXlibStubsPtr->xFree) /* 110 */ jpayne@69: #define XNoOp \ jpayne@69: (tkIntXlibStubsPtr->xNoOp) /* 111 */ jpayne@69: #define XSynchronize \ jpayne@69: (tkIntXlibStubsPtr->xSynchronize) /* 112 */ jpayne@69: /* Slot 113 is reserved */ jpayne@69: #define XVisualIDFromVisual \ jpayne@69: (tkIntXlibStubsPtr->xVisualIDFromVisual) /* 114 */ jpayne@69: /* Slot 115 is reserved */ jpayne@69: /* Slot 116 is reserved */ jpayne@69: /* Slot 117 is reserved */ jpayne@69: /* Slot 118 is reserved */ jpayne@69: /* Slot 119 is reserved */ jpayne@69: #define XOffsetRegion \ jpayne@69: (tkIntXlibStubsPtr->xOffsetRegion) /* 120 */ jpayne@69: /* Slot 121 is reserved */ jpayne@69: /* Slot 122 is reserved */ jpayne@69: /* Slot 123 is reserved */ jpayne@69: /* Slot 124 is reserved */ jpayne@69: /* Slot 125 is reserved */ jpayne@69: /* Slot 126 is reserved */ jpayne@69: /* Slot 127 is reserved */ jpayne@69: /* Slot 128 is reserved */ jpayne@69: #define XLowerWindow \ jpayne@69: (tkIntXlibStubsPtr->xLowerWindow) /* 129 */ jpayne@69: /* Slot 130 is reserved */ jpayne@69: /* Slot 131 is reserved */ jpayne@69: /* Slot 132 is reserved */ jpayne@69: /* Slot 133 is reserved */ jpayne@69: /* Slot 134 is reserved */ jpayne@69: /* Slot 135 is reserved */ jpayne@69: /* Slot 136 is reserved */ jpayne@69: #define XPutImage \ jpayne@69: (tkIntXlibStubsPtr->xPutImage) /* 137 */ jpayne@69: /* Slot 138 is reserved */ jpayne@69: /* Slot 139 is reserved */ jpayne@69: /* Slot 140 is reserved */ jpayne@69: /* Slot 141 is reserved */ jpayne@69: /* Slot 142 is reserved */ jpayne@69: /* Slot 143 is reserved */ jpayne@69: #define XDestroyIC \ jpayne@69: (tkIntXlibStubsPtr->xDestroyIC) /* 144 */ jpayne@69: #define XCreatePixmapCursor \ jpayne@69: (tkIntXlibStubsPtr->xCreatePixmapCursor) /* 145 */ jpayne@69: #define XCreateGlyphCursor \ jpayne@69: (tkIntXlibStubsPtr->xCreateGlyphCursor) /* 146 */ jpayne@69: /* Slot 147 is reserved */ jpayne@69: /* Slot 148 is reserved */ jpayne@69: /* Slot 149 is reserved */ jpayne@69: /* Slot 150 is reserved */ jpayne@69: /* Slot 151 is reserved */ jpayne@69: /* Slot 152 is reserved */ jpayne@69: /* Slot 153 is reserved */ jpayne@69: /* Slot 154 is reserved */ jpayne@69: /* Slot 155 is reserved */ jpayne@69: /* Slot 156 is reserved */ jpayne@69: #define XkbKeycodeToKeysym \ jpayne@69: (tkIntXlibStubsPtr->xkbKeycodeToKeysym) /* 157 */ jpayne@69: #define TkUnusedStubEntry \ jpayne@69: (tkIntXlibStubsPtr->tkUnusedStubEntry) /* 158 */ jpayne@69: #endif /* AQUA */ jpayne@69: jpayne@69: #endif /* defined(USE_TK_STUBS) */ jpayne@69: jpayne@69: /* !END!: Do not edit above this line. */ jpayne@69: jpayne@69: #undef TCL_STORAGE_CLASS jpayne@69: #define TCL_STORAGE_CLASS DLLIMPORT jpayne@69: jpayne@69: #undef TkUnusedStubEntry jpayne@69: jpayne@69: #endif /* _TKINTXLIBDECLS */