/brlcad/tags/rel-7-14-0/src/other/tk/generic/tkIntXlibDecls.h
C Header | 1369 lines | 1139 code | 9 blank | 221 comment | 0 complexity | 2501040f056bd2e35ed951934ea44f02 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, LGPL-2.1, Apache-2.0, AGPL-3.0, LGPL-3.0, GPL-3.0, MPL-2.0-no-copyleft-exception, CC-BY-SA-3.0, 0BSD, BSD-3-Clause
- /*
- * tkIntXlibDecls.h --
- *
- * This file contains the declarations for all platform dependent
- * unsupported functions that are exported by the Tk library. These
- * interfaces are not guaranteed to remain the same between
- * versions. Use at your own risk.
- *
- * Copyright (c) 1998-1999 by Scriptics Corporation.
- * All rights reserved.
- *
- * RCS: @(#) $Id$
- */
- #ifndef _TKINTXLIBDECLS
- #define _TKINTXLIBDECLS
- #include "X11/Xutil.h"
- #ifdef BUILD_tk
- #undef TCL_STORAGE_CLASS
- #define TCL_STORAGE_CLASS DLLEXPORT
- #endif
- /*
- * WARNING: This file is automatically generated by the tools/genStubs.tcl
- * script. Any modifications to the function declarations below should be made
- * in the generic/tkInt.decls script.
- */
- /* !BEGIN!: Do not edit below this line. */
- /*
- * Exported function declarations:
- */
- #ifdef __WIN32__ /* WIN */
- #ifndef XSetDashes_TCL_DECLARED
- #define XSetDashes_TCL_DECLARED
- /* 0 */
- EXTERN void XSetDashes (Display * display, GC gc,
- int dash_offset, _Xconst char * dash_list,
- int n);
- #endif
- #ifndef XGetModifierMapping_TCL_DECLARED
- #define XGetModifierMapping_TCL_DECLARED
- /* 1 */
- EXTERN XModifierKeymap * XGetModifierMapping (Display * d);
- #endif
- #ifndef XCreateImage_TCL_DECLARED
- #define XCreateImage_TCL_DECLARED
- /* 2 */
- EXTERN 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);
- #endif
- #ifndef XGetImage_TCL_DECLARED
- #define XGetImage_TCL_DECLARED
- /* 3 */
- EXTERN XImage * XGetImage (Display * d, Drawable dr, int i1, int i2,
- unsigned int ui1, unsigned int ui2,
- unsigned long ul, int i3);
- #endif
- #ifndef XGetAtomName_TCL_DECLARED
- #define XGetAtomName_TCL_DECLARED
- /* 4 */
- EXTERN char * XGetAtomName (Display * d, Atom a);
- #endif
- #ifndef XKeysymToString_TCL_DECLARED
- #define XKeysymToString_TCL_DECLARED
- /* 5 */
- EXTERN char * XKeysymToString (KeySym k);
- #endif
- #ifndef XCreateColormap_TCL_DECLARED
- #define XCreateColormap_TCL_DECLARED
- /* 6 */
- EXTERN Colormap XCreateColormap (Display * d, Window w, Visual * v,
- int i);
- #endif
- #ifndef XCreatePixmapCursor_TCL_DECLARED
- #define XCreatePixmapCursor_TCL_DECLARED
- /* 7 */
- EXTERN Cursor XCreatePixmapCursor (Display * d, Pixmap p1,
- Pixmap p2, XColor * x1, XColor * x2,
- unsigned int ui1, unsigned int ui2);
- #endif
- #ifndef XCreateGlyphCursor_TCL_DECLARED
- #define XCreateGlyphCursor_TCL_DECLARED
- /* 8 */
- EXTERN Cursor XCreateGlyphCursor (Display * d, Font f1, Font f2,
- unsigned int ui1, unsigned int ui2,
- XColor * x1, XColor * x2);
- #endif
- #ifndef XGContextFromGC_TCL_DECLARED
- #define XGContextFromGC_TCL_DECLARED
- /* 9 */
- EXTERN GContext XGContextFromGC (GC g);
- #endif
- #ifndef XListHosts_TCL_DECLARED
- #define XListHosts_TCL_DECLARED
- /* 10 */
- EXTERN XHostAddress * XListHosts (Display * d, int * i, Bool * b);
- #endif
- #ifndef XKeycodeToKeysym_TCL_DECLARED
- #define XKeycodeToKeysym_TCL_DECLARED
- /* 11 */
- EXTERN KeySym XKeycodeToKeysym (Display * d, unsigned int k, int i);
- #endif
- #ifndef XStringToKeysym_TCL_DECLARED
- #define XStringToKeysym_TCL_DECLARED
- /* 12 */
- EXTERN KeySym XStringToKeysym (_Xconst char * c);
- #endif
- #ifndef XRootWindow_TCL_DECLARED
- #define XRootWindow_TCL_DECLARED
- /* 13 */
- EXTERN Window XRootWindow (Display * d, int i);
- #endif
- #ifndef XSetErrorHandler_TCL_DECLARED
- #define XSetErrorHandler_TCL_DECLARED
- /* 14 */
- EXTERN XErrorHandler XSetErrorHandler (XErrorHandler x);
- #endif
- #ifndef XIconifyWindow_TCL_DECLARED
- #define XIconifyWindow_TCL_DECLARED
- /* 15 */
- EXTERN Status XIconifyWindow (Display * d, Window w, int i);
- #endif
- #ifndef XWithdrawWindow_TCL_DECLARED
- #define XWithdrawWindow_TCL_DECLARED
- /* 16 */
- EXTERN Status XWithdrawWindow (Display * d, Window w, int i);
- #endif
- #ifndef XGetWMColormapWindows_TCL_DECLARED
- #define XGetWMColormapWindows_TCL_DECLARED
- /* 17 */
- EXTERN Status XGetWMColormapWindows (Display * d, Window w,
- Window ** wpp, int * ip);
- #endif
- #ifndef XAllocColor_TCL_DECLARED
- #define XAllocColor_TCL_DECLARED
- /* 18 */
- EXTERN Status XAllocColor (Display * d, Colormap c, XColor * xp);
- #endif
- #ifndef XBell_TCL_DECLARED
- #define XBell_TCL_DECLARED
- /* 19 */
- EXTERN void XBell (Display * d, int i);
- #endif
- #ifndef XChangeProperty_TCL_DECLARED
- #define XChangeProperty_TCL_DECLARED
- /* 20 */
- EXTERN void XChangeProperty (Display * d, Window w, Atom a1,
- Atom a2, int i1, int i2,
- _Xconst unsigned char * c, int i3);
- #endif
- #ifndef XChangeWindowAttributes_TCL_DECLARED
- #define XChangeWindowAttributes_TCL_DECLARED
- /* 21 */
- EXTERN void XChangeWindowAttributes (Display * d, Window w,
- unsigned long ul, XSetWindowAttributes * x);
- #endif
- #ifndef XClearWindow_TCL_DECLARED
- #define XClearWindow_TCL_DECLARED
- /* 22 */
- EXTERN void XClearWindow (Display * d, Window w);
- #endif
- #ifndef XConfigureWindow_TCL_DECLARED
- #define XConfigureWindow_TCL_DECLARED
- /* 23 */
- EXTERN void XConfigureWindow (Display * d, Window w,
- unsigned int i, XWindowChanges * x);
- #endif
- #ifndef XCopyArea_TCL_DECLARED
- #define XCopyArea_TCL_DECLARED
- /* 24 */
- EXTERN void XCopyArea (Display * d, Drawable dr1, Drawable dr2,
- GC g, int i1, int i2, unsigned int ui1,
- unsigned int ui2, int i3, int i4);
- #endif
- #ifndef XCopyPlane_TCL_DECLARED
- #define XCopyPlane_TCL_DECLARED
- /* 25 */
- EXTERN 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);
- #endif
- #ifndef XCreateBitmapFromData_TCL_DECLARED
- #define XCreateBitmapFromData_TCL_DECLARED
- /* 26 */
- EXTERN Pixmap XCreateBitmapFromData (Display * display, Drawable d,
- _Xconst char * data, unsigned int width,
- unsigned int height);
- #endif
- #ifndef XDefineCursor_TCL_DECLARED
- #define XDefineCursor_TCL_DECLARED
- /* 27 */
- EXTERN void XDefineCursor (Display * d, Window w, Cursor c);
- #endif
- #ifndef XDeleteProperty_TCL_DECLARED
- #define XDeleteProperty_TCL_DECLARED
- /* 28 */
- EXTERN void XDeleteProperty (Display * d, Window w, Atom a);
- #endif
- #ifndef XDestroyWindow_TCL_DECLARED
- #define XDestroyWindow_TCL_DECLARED
- /* 29 */
- EXTERN void XDestroyWindow (Display * d, Window w);
- #endif
- #ifndef XDrawArc_TCL_DECLARED
- #define XDrawArc_TCL_DECLARED
- /* 30 */
- EXTERN void XDrawArc (Display * d, Drawable dr, GC g, int i1,
- int i2, unsigned int ui1, unsigned int ui2,
- int i3, int i4);
- #endif
- #ifndef XDrawLines_TCL_DECLARED
- #define XDrawLines_TCL_DECLARED
- /* 31 */
- EXTERN void XDrawLines (Display * d, Drawable dr, GC g,
- XPoint * x, int i1, int i2);
- #endif
- #ifndef XDrawRectangle_TCL_DECLARED
- #define XDrawRectangle_TCL_DECLARED
- /* 32 */
- EXTERN void XDrawRectangle (Display * d, Drawable dr, GC g,
- int i1, int i2, unsigned int ui1,
- unsigned int ui2);
- #endif
- #ifndef XFillArc_TCL_DECLARED
- #define XFillArc_TCL_DECLARED
- /* 33 */
- EXTERN void XFillArc (Display * d, Drawable dr, GC g, int i1,
- int i2, unsigned int ui1, unsigned int ui2,
- int i3, int i4);
- #endif
- #ifndef XFillPolygon_TCL_DECLARED
- #define XFillPolygon_TCL_DECLARED
- /* 34 */
- EXTERN void XFillPolygon (Display * d, Drawable dr, GC g,
- XPoint * x, int i1, int i2, int i3);
- #endif
- #ifndef XFillRectangles_TCL_DECLARED
- #define XFillRectangles_TCL_DECLARED
- /* 35 */
- EXTERN void XFillRectangles (Display * d, Drawable dr, GC g,
- XRectangle * x, int i);
- #endif
- #ifndef XForceScreenSaver_TCL_DECLARED
- #define XForceScreenSaver_TCL_DECLARED
- /* 36 */
- EXTERN void XForceScreenSaver (Display * d, int i);
- #endif
- #ifndef XFreeColormap_TCL_DECLARED
- #define XFreeColormap_TCL_DECLARED
- /* 37 */
- EXTERN void XFreeColormap (Display * d, Colormap c);
- #endif
- #ifndef XFreeColors_TCL_DECLARED
- #define XFreeColors_TCL_DECLARED
- /* 38 */
- EXTERN void XFreeColors (Display * d, Colormap c,
- unsigned long * ulp, int i, unsigned long ul);
- #endif
- #ifndef XFreeCursor_TCL_DECLARED
- #define XFreeCursor_TCL_DECLARED
- /* 39 */
- EXTERN void XFreeCursor (Display * d, Cursor c);
- #endif
- #ifndef XFreeModifiermap_TCL_DECLARED
- #define XFreeModifiermap_TCL_DECLARED
- /* 40 */
- EXTERN void XFreeModifiermap (XModifierKeymap * x);
- #endif
- #ifndef XGetGeometry_TCL_DECLARED
- #define XGetGeometry_TCL_DECLARED
- /* 41 */
- EXTERN Status XGetGeometry (Display * d, Drawable dr, Window * w,
- int * i1, int * i2, unsigned int * ui1,
- unsigned int * ui2, unsigned int * ui3,
- unsigned int * ui4);
- #endif
- #ifndef XGetInputFocus_TCL_DECLARED
- #define XGetInputFocus_TCL_DECLARED
- /* 42 */
- EXTERN void XGetInputFocus (Display * d, Window * w, int * i);
- #endif
- #ifndef XGetWindowProperty_TCL_DECLARED
- #define XGetWindowProperty_TCL_DECLARED
- /* 43 */
- EXTERN 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);
- #endif
- #ifndef XGetWindowAttributes_TCL_DECLARED
- #define XGetWindowAttributes_TCL_DECLARED
- /* 44 */
- EXTERN Status XGetWindowAttributes (Display * d, Window w,
- XWindowAttributes * x);
- #endif
- #ifndef XGrabKeyboard_TCL_DECLARED
- #define XGrabKeyboard_TCL_DECLARED
- /* 45 */
- EXTERN int XGrabKeyboard (Display * d, Window w, Bool b, int i1,
- int i2, Time t);
- #endif
- #ifndef XGrabPointer_TCL_DECLARED
- #define XGrabPointer_TCL_DECLARED
- /* 46 */
- EXTERN int XGrabPointer (Display * d, Window w1, Bool b,
- unsigned int ui, int i1, int i2, Window w2,
- Cursor c, Time t);
- #endif
- #ifndef XKeysymToKeycode_TCL_DECLARED
- #define XKeysymToKeycode_TCL_DECLARED
- /* 47 */
- EXTERN KeyCode XKeysymToKeycode (Display * d, KeySym k);
- #endif
- #ifndef XLookupColor_TCL_DECLARED
- #define XLookupColor_TCL_DECLARED
- /* 48 */
- EXTERN Status XLookupColor (Display * d, Colormap c1,
- _Xconst char * c2, XColor * x1, XColor * x2);
- #endif
- #ifndef XMapWindow_TCL_DECLARED
- #define XMapWindow_TCL_DECLARED
- /* 49 */
- EXTERN void XMapWindow (Display * d, Window w);
- #endif
- #ifndef XMoveResizeWindow_TCL_DECLARED
- #define XMoveResizeWindow_TCL_DECLARED
- /* 50 */
- EXTERN void XMoveResizeWindow (Display * d, Window w, int i1,
- int i2, unsigned int ui1, unsigned int ui2);
- #endif
- #ifndef XMoveWindow_TCL_DECLARED
- #define XMoveWindow_TCL_DECLARED
- /* 51 */
- EXTERN void XMoveWindow (Display * d, Window w, int i1, int i2);
- #endif
- #ifndef XNextEvent_TCL_DECLARED
- #define XNextEvent_TCL_DECLARED
- /* 52 */
- EXTERN void XNextEvent (Display * d, XEvent * x);
- #endif
- #ifndef XPutBackEvent_TCL_DECLARED
- #define XPutBackEvent_TCL_DECLARED
- /* 53 */
- EXTERN void XPutBackEvent (Display * d, XEvent * x);
- #endif
- #ifndef XQueryColors_TCL_DECLARED
- #define XQueryColors_TCL_DECLARED
- /* 54 */
- EXTERN void XQueryColors (Display * d, Colormap c, XColor * x,
- int i);
- #endif
- #ifndef XQueryPointer_TCL_DECLARED
- #define XQueryPointer_TCL_DECLARED
- /* 55 */
- EXTERN Bool XQueryPointer (Display * d, Window w1, Window * w2,
- Window * w3, int * i1, int * i2, int * i3,
- int * i4, unsigned int * ui);
- #endif
- #ifndef XQueryTree_TCL_DECLARED
- #define XQueryTree_TCL_DECLARED
- /* 56 */
- EXTERN Status XQueryTree (Display * d, Window w1, Window * w2,
- Window * w3, Window ** w4, unsigned int * ui);
- #endif
- #ifndef XRaiseWindow_TCL_DECLARED
- #define XRaiseWindow_TCL_DECLARED
- /* 57 */
- EXTERN void XRaiseWindow (Display * d, Window w);
- #endif
- #ifndef XRefreshKeyboardMapping_TCL_DECLARED
- #define XRefreshKeyboardMapping_TCL_DECLARED
- /* 58 */
- EXTERN void XRefreshKeyboardMapping (XMappingEvent * x);
- #endif
- #ifndef XResizeWindow_TCL_DECLARED
- #define XResizeWindow_TCL_DECLARED
- /* 59 */
- EXTERN void XResizeWindow (Display * d, Window w,
- unsigned int ui1, unsigned int ui2);
- #endif
- #ifndef XSelectInput_TCL_DECLARED
- #define XSelectInput_TCL_DECLARED
- /* 60 */
- EXTERN void XSelectInput (Display * d, Window w, long l);
- #endif
- #ifndef XSendEvent_TCL_DECLARED
- #define XSendEvent_TCL_DECLARED
- /* 61 */
- EXTERN Status XSendEvent (Display * d, Window w, Bool b, long l,
- XEvent * x);
- #endif
- #ifndef XSetCommand_TCL_DECLARED
- #define XSetCommand_TCL_DECLARED
- /* 62 */
- EXTERN void XSetCommand (Display * d, Window w, CONST char ** c,
- int i);
- #endif
- #ifndef XSetIconName_TCL_DECLARED
- #define XSetIconName_TCL_DECLARED
- /* 63 */
- EXTERN void XSetIconName (Display * d, Window w,
- _Xconst char * c);
- #endif
- #ifndef XSetInputFocus_TCL_DECLARED
- #define XSetInputFocus_TCL_DECLARED
- /* 64 */
- EXTERN void XSetInputFocus (Display * d, Window w, int i, Time t);
- #endif
- #ifndef XSetSelectionOwner_TCL_DECLARED
- #define XSetSelectionOwner_TCL_DECLARED
- /* 65 */
- EXTERN void XSetSelectionOwner (Display * d, Atom a, Window w,
- Time t);
- #endif
- #ifndef XSetWindowBackground_TCL_DECLARED
- #define XSetWindowBackground_TCL_DECLARED
- /* 66 */
- EXTERN void XSetWindowBackground (Display * d, Window w,
- unsigned long ul);
- #endif
- #ifndef XSetWindowBackgroundPixmap_TCL_DECLARED
- #define XSetWindowBackgroundPixmap_TCL_DECLARED
- /* 67 */
- EXTERN void XSetWindowBackgroundPixmap (Display * d, Window w,
- Pixmap p);
- #endif
- #ifndef XSetWindowBorder_TCL_DECLARED
- #define XSetWindowBorder_TCL_DECLARED
- /* 68 */
- EXTERN void XSetWindowBorder (Display * d, Window w,
- unsigned long ul);
- #endif
- #ifndef XSetWindowBorderPixmap_TCL_DECLARED
- #define XSetWindowBorderPixmap_TCL_DECLARED
- /* 69 */
- EXTERN void XSetWindowBorderPixmap (Display * d, Window w,
- Pixmap p);
- #endif
- #ifndef XSetWindowBorderWidth_TCL_DECLARED
- #define XSetWindowBorderWidth_TCL_DECLARED
- /* 70 */
- EXTERN void XSetWindowBorderWidth (Display * d, Window w,
- unsigned int ui);
- #endif
- #ifndef XSetWindowColormap_TCL_DECLARED
- #define XSetWindowColormap_TCL_DECLARED
- /* 71 */
- EXTERN void XSetWindowColormap (Display * d, Window w,
- Colormap c);
- #endif
- #ifndef XTranslateCoordinates_TCL_DECLARED
- #define XTranslateCoordinates_TCL_DECLARED
- /* 72 */
- EXTERN Bool XTranslateCoordinates (Display * d, Window w1,
- Window w2, int i1, int i2, int * i3,
- int * i4, Window * w3);
- #endif
- #ifndef XUngrabKeyboard_TCL_DECLARED
- #define XUngrabKeyboard_TCL_DECLARED
- /* 73 */
- EXTERN void XUngrabKeyboard (Display * d, Time t);
- #endif
- #ifndef XUngrabPointer_TCL_DECLARED
- #define XUngrabPointer_TCL_DECLARED
- /* 74 */
- EXTERN void XUngrabPointer (Display * d, Time t);
- #endif
- #ifndef XUnmapWindow_TCL_DECLARED
- #define XUnmapWindow_TCL_DECLARED
- /* 75 */
- EXTERN void XUnmapWindow (Display * d, Window w);
- #endif
- #ifndef XWindowEvent_TCL_DECLARED
- #define XWindowEvent_TCL_DECLARED
- /* 76 */
- EXTERN void XWindowEvent (Display * d, Window w, long l,
- XEvent * x);
- #endif
- #ifndef XDestroyIC_TCL_DECLARED
- #define XDestroyIC_TCL_DECLARED
- /* 77 */
- EXTERN void XDestroyIC (XIC x);
- #endif
- #ifndef XFilterEvent_TCL_DECLARED
- #define XFilterEvent_TCL_DECLARED
- /* 78 */
- EXTERN Bool XFilterEvent (XEvent * x, Window w);
- #endif
- #ifndef XmbLookupString_TCL_DECLARED
- #define XmbLookupString_TCL_DECLARED
- /* 79 */
- EXTERN int XmbLookupString (XIC xi, XKeyPressedEvent * xk,
- char * c, int i, KeySym * k, Status * s);
- #endif
- #ifndef TkPutImage_TCL_DECLARED
- #define TkPutImage_TCL_DECLARED
- /* 80 */
- EXTERN 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);
- #endif
- /* Slot 81 is reserved */
- #ifndef XParseColor_TCL_DECLARED
- #define XParseColor_TCL_DECLARED
- /* 82 */
- EXTERN Status XParseColor (Display * display, Colormap map,
- _Xconst char * spec, XColor * colorPtr);
- #endif
- #ifndef XCreateGC_TCL_DECLARED
- #define XCreateGC_TCL_DECLARED
- /* 83 */
- EXTERN GC XCreateGC (Display * display, Drawable d,
- unsigned long valuemask, XGCValues * values);
- #endif
- #ifndef XFreeGC_TCL_DECLARED
- #define XFreeGC_TCL_DECLARED
- /* 84 */
- EXTERN void XFreeGC (Display * display, GC gc);
- #endif
- #ifndef XInternAtom_TCL_DECLARED
- #define XInternAtom_TCL_DECLARED
- /* 85 */
- EXTERN Atom XInternAtom (Display * display,
- _Xconst char * atom_name,
- Bool only_if_exists);
- #endif
- #ifndef XSetBackground_TCL_DECLARED
- #define XSetBackground_TCL_DECLARED
- /* 86 */
- EXTERN void XSetBackground (Display * display, GC gc,
- unsigned long foreground);
- #endif
- #ifndef XSetForeground_TCL_DECLARED
- #define XSetForeground_TCL_DECLARED
- /* 87 */
- EXTERN void XSetForeground (Display * display, GC gc,
- unsigned long foreground);
- #endif
- #ifndef XSetClipMask_TCL_DECLARED
- #define XSetClipMask_TCL_DECLARED
- /* 88 */
- EXTERN void XSetClipMask (Display * display, GC gc,
- Pixmap pixmap);
- #endif
- #ifndef XSetClipOrigin_TCL_DECLARED
- #define XSetClipOrigin_TCL_DECLARED
- /* 89 */
- EXTERN void XSetClipOrigin (Display * display, GC gc,
- int clip_x_origin, int clip_y_origin);
- #endif
- #ifndef XSetTSOrigin_TCL_DECLARED
- #define XSetTSOrigin_TCL_DECLARED
- /* 90 */
- EXTERN void XSetTSOrigin (Display * display, GC gc,
- int ts_x_origin, int ts_y_origin);
- #endif
- #ifndef XChangeGC_TCL_DECLARED
- #define XChangeGC_TCL_DECLARED
- /* 91 */
- EXTERN void XChangeGC (Display * d, GC gc, unsigned long mask,
- XGCValues * values);
- #endif
- #ifndef XSetFont_TCL_DECLARED
- #define XSetFont_TCL_DECLARED
- /* 92 */
- EXTERN void XSetFont (Display * display, GC gc, Font font);
- #endif
- #ifndef XSetArcMode_TCL_DECLARED
- #define XSetArcMode_TCL_DECLARED
- /* 93 */
- EXTERN void XSetArcMode (Display * display, GC gc, int arc_mode);
- #endif
- #ifndef XSetStipple_TCL_DECLARED
- #define XSetStipple_TCL_DECLARED
- /* 94 */
- EXTERN void XSetStipple (Display * display, GC gc,
- Pixmap stipple);
- #endif
- #ifndef XSetFillRule_TCL_DECLARED
- #define XSetFillRule_TCL_DECLARED
- /* 95 */
- EXTERN void XSetFillRule (Display * display, GC gc,
- int fill_rule);
- #endif
- #ifndef XSetFillStyle_TCL_DECLARED
- #define XSetFillStyle_TCL_DECLARED
- /* 96 */
- EXTERN void XSetFillStyle (Display * display, GC gc,
- int fill_style);
- #endif
- #ifndef XSetFunction_TCL_DECLARED
- #define XSetFunction_TCL_DECLARED
- /* 97 */
- EXTERN void XSetFunction (Display * display, GC gc, int function);
- #endif
- #ifndef XSetLineAttributes_TCL_DECLARED
- #define XSetLineAttributes_TCL_DECLARED
- /* 98 */
- EXTERN void XSetLineAttributes (Display * display, GC gc,
- unsigned int line_width, int line_style,
- int cap_style, int join_style);
- #endif
- #ifndef _XInitImageFuncPtrs_TCL_DECLARED
- #define _XInitImageFuncPtrs_TCL_DECLARED
- /* 99 */
- EXTERN int _XInitImageFuncPtrs (XImage * image);
- #endif
- #ifndef XCreateIC_TCL_DECLARED
- #define XCreateIC_TCL_DECLARED
- /* 100 */
- EXTERN XIC XCreateIC (void);
- #endif
- #ifndef XGetVisualInfo_TCL_DECLARED
- #define XGetVisualInfo_TCL_DECLARED
- /* 101 */
- EXTERN XVisualInfo * XGetVisualInfo (Display * display, long vinfo_mask,
- XVisualInfo * vinfo_template,
- int * nitems_return);
- #endif
- #ifndef XSetWMClientMachine_TCL_DECLARED
- #define XSetWMClientMachine_TCL_DECLARED
- /* 102 */
- EXTERN void XSetWMClientMachine (Display * display, Window w,
- XTextProperty * text_prop);
- #endif
- #ifndef XStringListToTextProperty_TCL_DECLARED
- #define XStringListToTextProperty_TCL_DECLARED
- /* 103 */
- EXTERN Status XStringListToTextProperty (char ** list, int count,
- XTextProperty * text_prop_return);
- #endif
- #ifndef XDrawLine_TCL_DECLARED
- #define XDrawLine_TCL_DECLARED
- /* 104 */
- EXTERN void XDrawLine (Display * d, Drawable dr, GC g, int x1,
- int y1, int x2, int y2);
- #endif
- #ifndef XWarpPointer_TCL_DECLARED
- #define XWarpPointer_TCL_DECLARED
- /* 105 */
- EXTERN void XWarpPointer (Display * d, Window s, Window dw,
- int sx, int sy, unsigned int sw,
- unsigned int sh, int dx, int dy);
- #endif
- #ifndef XFillRectangle_TCL_DECLARED
- #define XFillRectangle_TCL_DECLARED
- /* 106 */
- EXTERN void XFillRectangle (Display * display, Drawable d, GC gc,
- int x, int y, unsigned int width,
- unsigned int height);
- #endif
- #endif /* WIN */
- #ifdef MAC_OSX_TK /* AQUA */
- #ifndef XSetDashes_TCL_DECLARED
- #define XSetDashes_TCL_DECLARED
- /* 0 */
- EXTERN void XSetDashes (Display * display, GC gc,
- int dash_offset, _Xconst char * dash_list,
- int n);
- #endif
- #ifndef XGetModifierMapping_TCL_DECLARED
- #define XGetModifierMapping_TCL_DECLARED
- /* 1 */
- EXTERN XModifierKeymap * XGetModifierMapping (Display * d);
- #endif
- #ifndef XCreateImage_TCL_DECLARED
- #define XCreateImage_TCL_DECLARED
- /* 2 */
- EXTERN 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);
- #endif
- #ifndef XGetImage_TCL_DECLARED
- #define XGetImage_TCL_DECLARED
- /* 3 */
- EXTERN XImage * XGetImage (Display * d, Drawable dr, int i1, int i2,
- unsigned int ui1, unsigned int ui2,
- unsigned long ul, int i3);
- #endif
- #ifndef XGetAtomName_TCL_DECLARED
- #define XGetAtomName_TCL_DECLARED
- /* 4 */
- EXTERN char * XGetAtomName (Display * d, Atom a);
- #endif
- #ifndef XKeysymToString_TCL_DECLARED
- #define XKeysymToString_TCL_DECLARED
- /* 5 */
- EXTERN char * XKeysymToString (KeySym k);
- #endif
- #ifndef XCreateColormap_TCL_DECLARED
- #define XCreateColormap_TCL_DECLARED
- /* 6 */
- EXTERN Colormap XCreateColormap (Display * d, Window w, Visual * v,
- int i);
- #endif
- #ifndef XGContextFromGC_TCL_DECLARED
- #define XGContextFromGC_TCL_DECLARED
- /* 7 */
- EXTERN GContext XGContextFromGC (GC g);
- #endif
- #ifndef XKeycodeToKeysym_TCL_DECLARED
- #define XKeycodeToKeysym_TCL_DECLARED
- /* 8 */
- EXTERN KeySym XKeycodeToKeysym (Display * d, KeyCode k, int i);
- #endif
- #ifndef XStringToKeysym_TCL_DECLARED
- #define XStringToKeysym_TCL_DECLARED
- /* 9 */
- EXTERN KeySym XStringToKeysym (_Xconst char * c);
- #endif
- #ifndef XRootWindow_TCL_DECLARED
- #define XRootWindow_TCL_DECLARED
- /* 10 */
- EXTERN Window XRootWindow (Display * d, int i);
- #endif
- #ifndef XSetErrorHandler_TCL_DECLARED
- #define XSetErrorHandler_TCL_DECLARED
- /* 11 */
- EXTERN XErrorHandler XSetErrorHandler (XErrorHandler x);
- #endif
- #ifndef XAllocColor_TCL_DECLARED
- #define XAllocColor_TCL_DECLARED
- /* 12 */
- EXTERN Status XAllocColor (Display * d, Colormap c, XColor * xp);
- #endif
- #ifndef XBell_TCL_DECLARED
- #define XBell_TCL_DECLARED
- /* 13 */
- EXTERN void XBell (Display * d, int i);
- #endif
- #ifndef XChangeProperty_TCL_DECLARED
- #define XChangeProperty_TCL_DECLARED
- /* 14 */
- EXTERN void XChangeProperty (Display * d, Window w, Atom a1,
- Atom a2, int i1, int i2,
- _Xconst unsigned char * c, int i3);
- #endif
- #ifndef XChangeWindowAttributes_TCL_DECLARED
- #define XChangeWindowAttributes_TCL_DECLARED
- /* 15 */
- EXTERN void XChangeWindowAttributes (Display * d, Window w,
- unsigned long ul, XSetWindowAttributes * x);
- #endif
- #ifndef XConfigureWindow_TCL_DECLARED
- #define XConfigureWindow_TCL_DECLARED
- /* 16 */
- EXTERN void XConfigureWindow (Display * d, Window w,
- unsigned int i, XWindowChanges * x);
- #endif
- #ifndef XCopyArea_TCL_DECLARED
- #define XCopyArea_TCL_DECLARED
- /* 17 */
- EXTERN void XCopyArea (Display * d, Drawable dr1, Drawable dr2,
- GC g, int i1, int i2, unsigned int ui1,
- unsigned int ui2, int i3, int i4);
- #endif
- #ifndef XCopyPlane_TCL_DECLARED
- #define XCopyPlane_TCL_DECLARED
- /* 18 */
- EXTERN 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);
- #endif
- #ifndef XCreateBitmapFromData_TCL_DECLARED
- #define XCreateBitmapFromData_TCL_DECLARED
- /* 19 */
- EXTERN Pixmap XCreateBitmapFromData (Display * display, Drawable d,
- _Xconst char * data, unsigned int width,
- unsigned int height);
- #endif
- #ifndef XDefineCursor_TCL_DECLARED
- #define XDefineCursor_TCL_DECLARED
- /* 20 */
- EXTERN void XDefineCursor (Display * d, Window w, Cursor c);
- #endif
- #ifndef XDestroyWindow_TCL_DECLARED
- #define XDestroyWindow_TCL_DECLARED
- /* 21 */
- EXTERN void XDestroyWindow (Display * d, Window w);
- #endif
- #ifndef XDrawArc_TCL_DECLARED
- #define XDrawArc_TCL_DECLARED
- /* 22 */
- EXTERN void XDrawArc (Display * d, Drawable dr, GC g, int i1,
- int i2, unsigned int ui1, unsigned int ui2,
- int i3, int i4);
- #endif
- #ifndef XDrawLines_TCL_DECLARED
- #define XDrawLines_TCL_DECLARED
- /* 23 */
- EXTERN void XDrawLines (Display * d, Drawable dr, GC g,
- XPoint * x, int i1, int i2);
- #endif
- #ifndef XDrawRectangle_TCL_DECLARED
- #define XDrawRectangle_TCL_DECLARED
- /* 24 */
- EXTERN void XDrawRectangle (Display * d, Drawable dr, GC g,
- int i1, int i2, unsigned int ui1,
- unsigned int ui2);
- #endif
- #ifndef XFillArc_TCL_DECLARED
- #define XFillArc_TCL_DECLARED
- /* 25 */
- EXTERN void XFillArc (Display * d, Drawable dr, GC g, int i1,
- int i2, unsigned int ui1, unsigned int ui2,
- int i3, int i4);
- #endif
- #ifndef XFillPolygon_TCL_DECLARED
- #define XFillPolygon_TCL_DECLARED
- /* 26 */
- EXTERN void XFillPolygon (Display * d, Drawable dr, GC g,
- XPoint * x, int i1, int i2, int i3);
- #endif
- #ifndef XFillRectangles_TCL_DECLARED
- #define XFillRectangles_TCL_DECLARED
- /* 27 */
- EXTERN void XFillRectangles (Display * d, Drawable dr, GC g,
- XRectangle * x, int i);
- #endif
- #ifndef XFreeColormap_TCL_DECLARED
- #define XFreeColormap_TCL_DECLARED
- /* 28 */
- EXTERN void XFreeColormap (Display * d, Colormap c);
- #endif
- #ifndef XFreeColors_TCL_DECLARED
- #define XFreeColors_TCL_DECLARED
- /* 29 */
- EXTERN void XFreeColors (Display * d, Colormap c,
- unsigned long * ulp, int i, unsigned long ul);
- #endif
- #ifndef XFreeModifiermap_TCL_DECLARED
- #define XFreeModifiermap_TCL_DECLARED
- /* 30 */
- EXTERN void XFreeModifiermap (XModifierKeymap * x);
- #endif
- #ifndef XGetGeometry_TCL_DECLARED
- #define XGetGeometry_TCL_DECLARED
- /* 31 */
- EXTERN Status XGetGeometry (Display * d, Drawable dr, Window * w,
- int * i1, int * i2, unsigned int * ui1,
- unsigned int * ui2, unsigned int * ui3,
- unsigned int * ui4);
- #endif
- #ifndef XGetWindowProperty_TCL_DECLARED
- #define XGetWindowProperty_TCL_DECLARED
- /* 32 */
- EXTERN 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);
- #endif
- #ifndef XGrabKeyboard_TCL_DECLARED
- #define XGrabKeyboard_TCL_DECLARED
- /* 33 */
- EXTERN int XGrabKeyboard (Display * d, Window w, Bool b, int i1,
- int i2, Time t);
- #endif
- #ifndef XGrabPointer_TCL_DECLARED
- #define XGrabPointer_TCL_DECLARED
- /* 34 */
- EXTERN int XGrabPointer (Display * d, Window w1, Bool b,
- unsigned int ui, int i1, int i2, Window w2,
- Cursor c, Time t);
- #endif
- #ifndef XKeysymToKeycode_TCL_DECLARED
- #define XKeysymToKeycode_TCL_DECLARED
- /* 35 */
- EXTERN KeyCode XKeysymToKeycode (Display * d, KeySym k);
- #endif
- #ifndef XMapWindow_TCL_DECLARED
- #define XMapWindow_TCL_DECLARED
- /* 36 */
- EXTERN void XMapWindow (Display * d, Window w);
- #endif
- #ifndef XMoveResizeWindow_TCL_DECLARED
- #define XMoveResizeWindow_TCL_DECLARED
- /* 37 */
- EXTERN void XMoveResizeWindow (Display * d, Window w, int i1,
- int i2, unsigned int ui1, unsigned int ui2);
- #endif
- #ifndef XMoveWindow_TCL_DECLARED
- #define XMoveWindow_TCL_DECLARED
- /* 38 */
- EXTERN void XMoveWindow (Display * d, Window w, int i1, int i2);
- #endif
- #ifndef XQueryPointer_TCL_DECLARED
- #define XQueryPointer_TCL_DECLARED
- /* 39 */
- EXTERN Bool XQueryPointer (Display * d, Window w1, Window * w2,
- Window * w3, int * i1, int * i2, int * i3,
- int * i4, unsigned int * ui);
- #endif
- #ifndef XRaiseWindow_TCL_DECLARED
- #define XRaiseWindow_TCL_DECLARED
- /* 40 */
- EXTERN void XRaiseWindow (Display * d, Window w);
- #endif
- #ifndef XRefreshKeyboardMapping_TCL_DECLARED
- #define XRefreshKeyboardMapping_TCL_DECLARED
- /* 41 */
- EXTERN void XRefreshKeyboardMapping (XMappingEvent * x);
- #endif
- #ifndef XResizeWindow_TCL_DECLARED
- #define XResizeWindow_TCL_DECLARED
- /* 42 */
- EXTERN void XResizeWindow (Display * d, Window w,
- unsigned int ui1, unsigned int ui2);
- #endif
- #ifndef XSelectInput_TCL_DECLARED
- #define XSelectInput_TCL_DECLARED
- /* 43 */
- EXTERN void XSelectInput (Display * d, Window w, long l);
- #endif
- #ifndef XSendEvent_TCL_DECLARED
- #define XSendEvent_TCL_DECLARED
- /* 44 */
- EXTERN Status XSendEvent (Display * d, Window w, Bool b, long l,
- XEvent * x);
- #endif
- #ifndef XSetIconName_TCL_DECLARED
- #define XSetIconName_TCL_DECLARED
- /* 45 */
- EXTERN void XSetIconName (Display * d, Window w,
- _Xconst char * c);
- #endif
- #ifndef XSetInputFocus_TCL_DECLARED
- #define XSetInputFocus_TCL_DECLARED
- /* 46 */
- EXTERN void XSetInputFocus (Display * d, Window w, int i, Time t);
- #endif
- #ifndef XSetSelectionOwner_TCL_DECLARED
- #define XSetSelectionOwner_TCL_DECLARED
- /* 47 */
- EXTERN void XSetSelectionOwner (Display * d, Atom a, Window w,
- Time t);
- #endif
- #ifndef XSetWindowBackground_TCL_DECLARED
- #define XSetWindowBackground_TCL_DECLARED
- /* 48 */
- EXTERN void XSetWindowBackground (Display * d, Window w,
- unsigned long ul);
- #endif
- #ifndef XSetWindowBackgroundPixmap_TCL_DECLARED
- #define XSetWindowBackgroundPixmap_TCL_DECLARED
- /* 49 */
- EXTERN void XSetWindowBackgroundPixmap (Display * d, Window w,
- Pixmap p);
- #endif
- #ifndef XSetWindowBorder_TCL_DECLARED
- #define XSetWindowBorder_TCL_DECLARED
- /* 50 */
- EXTERN void XSetWindowBorder (Display * d, Window w,
- unsigned long ul);
- #endif
- #ifndef XSetWindowBorderPixmap_TCL_DECLARED
- #define XSetWindowBorderPixmap_TCL_DECLARED
- /* 51 */
- EXTERN void XSetWindowBorderPixmap (Display * d, Window w,
- Pixmap p);
- #endif
- #ifndef XSetWindowBorderWidth_TCL_DECLARED
- #define XSetWindowBorderWidth_TCL_DECLARED
- /* 52 */
- EXTERN void XSetWindowBorderWidth (Display * d, Window w,
- unsigned int ui);
- #endif
- #ifndef XSetWindowColormap_TCL_DECLARED
- #define XSetWindowColormap_TCL_DECLARED
- /* 53 */
- EXTERN void XSetWindowColormap (Display * d, Window w,
- Colormap c);
- #endif
- #ifndef XUngrabKeyboard_TCL_DECLARED
- #define XUngrabKeyboard_TCL_DECLARED
- /* 54 */
- EXTERN void XUngrabKeyboard (Display * d, Time t);
- #endif
- #ifndef XUngrabPointer_TCL_DECLARED
- #define XUngrabPointer_TCL_DECLARED
- /* 55 */
- EXTERN void XUngrabPointer (Display * d, Time t);
- #endif
- #ifndef XUnmapWindow_TCL_DECLARED
- #define XUnmapWindow_TCL_DECLARED
- /* 56 */
- EXTERN void XUnmapWindow (Display * d, Window w);
- #endif
- #ifndef TkPutImage_TCL_DECLARED
- #define TkPutImage_TCL_DECLARED
- /* 57 */
- EXTERN 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);
- #endif
- #ifndef XParseColor_TCL_DECLARED
- #define XParseColor_TCL_DECLARED
- /* 58 */
- EXTERN Status XParseColor (Display * display, Colormap map,
- _Xconst char * spec, XColor * colorPtr);
- #endif
- #ifndef XCreateGC_TCL_DECLARED
- #define XCreateGC_TCL_DECLARED
- /* 59 */
- EXTERN GC XCreateGC (Display * display, Drawable d,
- unsigned long valuemask, XGCValues * values);
- #endif
- #ifndef XFreeGC_TCL_DECLARED
- #define XFreeGC_TCL_DECLARED
- /* 60 */
- EXTERN void XFreeGC (Display * display, GC gc);
- #endif
- #ifndef XInternAtom_TCL_DECLARED
- #define XInternAtom_TCL_DECLARED
- /* 61 */
- EXTERN Atom XInternAtom (Display * display,
- _Xconst char * atom_name,
- Bool only_if_exists);
- #endif
- #ifndef XSetBackground_TCL_DECLARED
- #define XSetBackground_TCL_DECLARED
- /* 62 */
- EXTERN void XSetBackground (Display * display, GC gc,
- unsigned long foreground);
- #endif
- #ifndef XSetForeground_TCL_DECLARED
- #define XSetForeground_TCL_DECLARED
- /* 63 */
- EXTERN void XSetForeground (Display * display, GC gc,
- unsigned long foreground);
- #endif
- #ifndef XSetClipMask_TCL_DECLARED
- #define XSetClipMask_TCL_DECLARED
- /* 64 */
- EXTERN void XSetClipMask (Display * display, GC gc,
- Pixmap pixmap);
- #endif
- #ifndef XSetClipOrigin_TCL_DECLARED
- #define XSetClipOrigin_TCL_DECLARED
- /* 65 */
- EXTERN void XSetClipOrigin (Display * display, GC gc,
- int clip_x_origin, int clip_y_origin);
- #endif
- #ifndef XSetTSOrigin_TCL_DECLARED
- #define XSetTSOrigin_TCL_DECLARED
- /* 66 */
- EXTERN void XSetTSOrigin (Display * display, GC gc,
- int ts_x_origin, int ts_y_origin);
- #endif
- #ifndef XChangeGC_TCL_DECLARED
- #define XChangeGC_TCL_DECLARED
- /* 67 */
- EXTERN void XChangeGC (Display * d, GC gc, unsigned long mask,
- XGCValues * values);
- #endif
- #ifndef XSetFont_TCL_DECLARED
- #define XSetFont_TCL_DECLARED
- /* 68 */
- EXTERN void XSetFont (Display * display, GC gc, Font font);
- #endif
- #ifndef XSetArcMode_TCL_DECLARED
- #define XSetArcMode_TCL_DECLARED
- /* 69 */
- EXTERN void XSetArcMode (Display * display, GC gc, int arc_mode);
- #endif
- #ifndef XSetStipple_TCL_DECLARED
- #define XSetStipple_TCL_DECLARED
- /* 70 */
- EXTERN void XSetStipple (Display * display, GC gc,
- Pixmap stipple);
- #endif
- #ifndef XSetFillRule_TCL_DECLARED
- #define XSetFillRule_TCL_DECLARED
- /* 71 */
- EXTERN void XSetFillRule (Display * display, GC gc,
- int fill_rule);
- #endif
- #ifndef XSetFillStyle_TCL_DECLARED
- #define XSetFillStyle_TCL_DECLARED
- /* 72 */
- EXTERN void XSetFillStyle (Display * display, GC gc,
- int fill_style);
- #endif
- #ifndef XSetFunction_TCL_DECLARED
- #define XSetFunction_TCL_DECLARED
- /* 73 */
- EXTERN void XSetFunction (Display * display, GC gc, int function);
- #endif
- #ifndef XSetLineAttributes_TCL_DECLARED
- #define XSetLineAttributes_TCL_DECLARED
- /* 74 */
- EXTERN void XSetLineAttributes (Display * display, GC gc,
- unsigned int line_width, int line_style,
- int cap_style, int join_style);
- #endif
- #ifndef _XInitImageFuncPtrs_TCL_DECLARED
- #define _XInitImageFuncPtrs_TCL_DECLARED
- /* 75 */
- EXTERN int _XInitImageFuncPtrs (XImage * image);
- #endif
- #ifndef XCreateIC_TCL_DECLARED
- #define XCreateIC_TCL_DECLARED
- /* 76 */
- EXTERN XIC XCreateIC (void);
- #endif
- #ifndef XGetVisualInfo_TCL_DECLARED
- #define XGetVisualInfo_TCL_DECLARED
- /* 77 */
- EXTERN XVisualInfo * XGetVisualInfo (Display * display, long vinfo_mask,
- XVisualInfo * vinfo_template,
- int * nitems_return);
- #endif
- #ifndef XSetWMClientMachine_TCL_DECLARED
- #define XSetWMClientMachine_TCL_DECLARED
- /* 78 */
- EXTERN void XSetWMClientMachine (Display * display, Window w,
- XTextProperty * text_prop);
- #endif
- #ifndef XStringListToTextProperty_TCL_DECLARED
- #define XStringListToTextProperty_TCL_DECLARED
- /* 79 */
- EXTERN Status XStringListToTextProperty (char ** list, int count,
- XTextProperty * text_prop_return);
- #endif
- #ifndef XDrawSegments_TCL_DECLARED
- #define XDrawSegments_TCL_DECLARED
- /* 80 */
- EXTERN void XDrawSegments (Display * display, Drawable d, GC gc,
- XSegment * segments, int nsegments);
- #endif
- #ifndef XForceScreenSaver_TCL_DECLARED
- #define XForceScreenSaver_TCL_DECLARED
- /* 81 */
- EXTERN void XForceScreenSaver (Display * display, int mode);
- #endif
- #ifndef XDrawLine_TCL_DECLARED
- #define XDrawLine_TCL_DECLARED
- /* 82 */
- EXTERN void XDrawLine (Display * d, Drawable dr, GC g, int x1,
- int y1, int x2, int y2);
- #endif
- #ifndef XFillRectangle_TCL_DECLARED
- #define XFillRectangle_TCL_DECLARED
- /* 83 */
- EXTERN void XFillRectangle (Display * display, Drawable d, GC gc,
- int x, int y, unsigned int width,
- unsigned int height);
- #endif
- #ifndef XClearWindow_TCL_DECLARED
- #define XClearWindow_TCL_DECLARED
- /* 84 */
- EXTERN void XClearWindow (Display * d, Window w);
- #endif
- #ifndef XDrawPoint_TCL_DECLARED
- #define XDrawPoint_TCL_DECLARED
- /* 85 */
- EXTERN void XDrawPoint (Display * display, Drawable d, GC gc,
- int x, int y);
- #endif
- #ifndef XDrawPoints_TCL_DECLARED
- #define XDrawPoints_TCL_DECLARED
- /* 86 */
- EXTERN void XDrawPoints (Display * display, Drawable d, GC gc,
- XPoint * points, int npoints, int mode);
- #endif
- #ifndef XWarpPointer_TCL_DECLARED
- #define XWarpPointer_TCL_DECLARED
- /* 87 */
- EXTERN 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);
- #endif
- #ifndef XQueryColor_TCL_DECLARED
- #define XQueryColor_TCL_DECLARED
- /* 88 */
- EXTERN void XQueryColor (Display * display, Colormap colormap,
- XColor * def_in_out);
- #endif
- #ifndef XQueryColors_TCL_DECLARED
- #define XQueryColors_TCL_DECLARED
- /* 89 */
- EXTERN void XQueryColors (Display * display, Colormap colormap,
- XColor * defs_in_out, int ncolors);
- #endif
- #ifndef XQueryTree_TCL_DECLARED
- #define XQueryTree_TCL_DECLARED
- /* 90 */
- EXTERN Status XQueryTree (Display * d, Window w1, Window * w2,
- Window * w3, Window ** w4, unsigned int * ui);
- #endif
- #ifndef XSync_TCL_DECLARED
- #define XSync_TCL_DECLARED
- /* 91 */
- EXTERN int XSync (Display * display, Bool flag);
- #endif
- #endif /* AQUA */
- typedef struct TkIntXlibStubs {
- int magic;
- struct TkIntXlibStubHooks *hooks;
- #ifdef __WIN32__ /* WIN */
- void (*xSetDashes) (Display * display, GC gc, int dash_offset, _Xconst char * dash_list, int n); /* 0 */
- XModifierKeymap * (*xGetModifierMapping) (Display * d); /* 1 */
- 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 */
- XImage * (*xGetImage) (Display * d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */
- char * (*xGetAtomName) (Display * d, Atom a); /* 4 */
- char * (*xKeysymToString) (KeySym k); /* 5 */
- Colormap (*xCreateColormap) (Display * d, Window w, Visual * v, int i); /* 6 */
- Cursor (*xCreatePixmapCursor) (Display * d, Pixmap p1, Pixmap p2, XColor * x1, XColor * x2, unsigned int ui1, unsigned int ui2); /* 7 */
- Cursor (*xCreateGlyphCursor) (Display * d, Font f1, Font f2, unsigned int ui1, unsigned int ui2, XColor * x1, XColor * x2); /* 8 */
- GContext (*xGContextFromGC) (GC g); /* 9 */
- XHostAddress * (*xListHosts) (Display * d, int * i, Bool * b); /* 10 */
- KeySym (*xKeycodeToKeysym) (Display * d, unsigned int k, int i); /* 11 */
- KeySym (*xStringToKeysym) (_Xconst char * c); /* 12 */
- Window (*xRootWindow) (Display * d, int i); /* 13 */
- XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 14 */
- Status (*xIconifyWindow) (Display * d, Window w, int i); /* 15 */
- Status (*xWithdrawWindow) (Display * d, Window w, int i); /* 16 */
- Status (*xGetWMColormapWindows) (Display * d, Window w, Window ** wpp, int * ip); /* 17 */
- Status (*xAllocColor) (Display * d, Colormap c, XColor * xp); /* 18 */
- void (*xBell) (Display * d, int i); /* 19 */
- void (*xChangeProperty) (Display * d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char * c, int i3); /* 20 */
- void (*xChangeWindowAttributes) (Display * d, Window w, unsigned long ul, XSetWindowAttributes * x); /* 21 */
- void (*xClearWindow) (Display * d, Window w); /* 22 */
- void (*xConfigureWindow) (Display * d, Window w, unsigned int i, XWindowChanges * x); /* 23 */
- 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 */
- 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 */
- Pixmap (*xCreateBitmapFromData) (Display * display, Drawable d, _Xconst char * data, unsigned int width, unsigned int height); /* 26 */
- void (*xDefineCursor) (Display * d, Window w, Cursor c); /* 27 */
- void (*xDeleteProperty) (Display * d, Window w, Atom a); /* 28 */
- void (*xDestroyWindow) (Display * d, Window w); /* 29 */
- void (*xDrawArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 30 */
- void (*xDrawLines) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2); /* 31 */
- void (*xDrawRectangle) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 32 */
- void (*xFillArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 33 */
- void (*xFillPolygon) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2, int i3); /* 34 */
- void (*xFillRectangles) (Display * d, Drawable dr, GC g, XRectangle * x, int i); /* 35 */
- void (*xForceScreenSaver) (Display * d, int i); /* 36 */
- void (*xFreeColormap) (Display * d, Colormap c); /* 37 */
- void (*xFreeColors) (Display * d, Colormap c, unsigned long * ulp, int i, unsigned long ul); /* 38 */
- void (*xFreeCursor) (Display * d, Cursor c); /* 39 */
- void (*xFreeModifiermap) (XModifierKeymap * x); /* 40 */
- 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 */
- void (*xGetInputFocus) (Display * d, Window * w, int * i); /* 42 */
- 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 */
- Status (*xGetWindowAttributes) (Display * d, Window w, XWindowAttributes * x); /* 44 */
- int (*xGrabKeyboard) (Display * d, Window w, Bool b, int i1, int i2, Time t); /* 45 */
- int (*xGrabPointer) (Display * d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 46 */
- KeyCode (*xKeysymToKeycode) (Display * d, KeySym k); /* 47 */
- Status (*xLookupColor) (Display * d, Colormap c1, _Xconst char * c2, XColor * x1, XColor * x2); /* 48 */
- void (*xMapWindow) (Display * d, Window w); /* 49 */
- void (*xMoveResizeWindow) (Display * d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 50 */
- void (*xMoveWindow) (Display * d, Window w, int i1, int i2); /* 51 */
- void (*xNextEvent) (Display * d, XEvent * x); /* 52 */
- void (*xPutBackEvent) (Display * d, XEvent * x); /* 53 */
- void (*xQueryColors) (Display * d, Colormap c, XColor * x, int i); /* 54 */
- Bool (*xQueryPointer) (Display * d, Window w1, Window * w2, Window * w3, int * i1, int * i2, int * i3, int * i4, unsigned int * ui); /* 55 */
- Status (*xQueryTree) (Display * d, Window w1, Window * w2, Window * w3, Window ** w4, unsigned int * ui); /* 56 */
- void (*xRaiseWindow) (Display * d, Window w); /* 57 */
- void (*xRefreshKeyboardMapping) (XMappingEvent * x); /* 58 */
- void (*xResizeWindow) (Display * d, Window w, unsigned int ui1, unsigned int ui2); /* 59 */
- void (*xSelectInput) (Display * d, Window w, long l); /* 60 */
- Status (*xSendEvent) (Display * d, Window w, Bool b, long l, XEvent * x); /* 61 */
- void (*xSetCommand) (Display * d, Window w, CONST char ** c, int i); /* 62 */
- void (*xSetIconName) (Display * d, Window w, _Xconst char * c); /* 63 */
- void (*xSetInputFocus) (Display * d, Window w, int i, Time t); /* 64 */
- void (*xSetSelectionOwner) (Display * d, Atom a, Window w, Time t); /* 65 */
- void (*xSetWindowBackground) (Display * d, Window w, unsigned long ul); /* 66 */
- void (*xSetWindowBackgroundPixmap) (Display * d, Window w, Pixmap p); /* 67 */
- void (*xSetWindowBorder) (Display * d, Window w, unsigned long ul); /* 68 */
- void (*xSetWindowBorderPixmap) (Display * d, Window w, Pixmap p); /* 69 */
- void (*xSetWindowBorderWidth) (Display * d, Window w, unsigned int ui); /* 70 */
- void (*xSetWindowColormap) (Display * d, Window w, Colormap c); /* 71 */
- Bool (*xTranslateCoordinates) (Display * d, Window w1, Window w2, int i1, int i2, int * i3, int * i4, Window * w3); /* 72 */
- void (*xUngrabKeyboard) (Display * d, Time t); /* 73 */
- void (*xUngrabPointer) (Display * d, Time t); /* 74 */
- void (*xUnmapWindow) (Display * d, Window w); /* 75 */
- void (*xWindowEvent) (Display * d, Window w, long l, XEvent * x); /* 76 */
- void (*xDestroyIC) (XIC x); /* 77 */
- Bool (*xFilterEvent) (XEvent * x, Window w); /* 78 */
- int (*xmbLookupString) (XIC xi, XKeyPressedEvent * xk, char * c, int i, KeySym * k, Status * s); /* 79 */
- 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 */
- void *reserved81;
- Status (*xParseColor) (Display * display, Colormap map, _Xconst char * spec, XColor * colorPtr); /* 82 */
- GC (*xCreateGC) (Display * display, Drawable d, unsigned long valuemask, XGCValues * values); /* 83 */
- void (*xFreeGC) (Display * display, GC gc); /* 84 */
- Atom (*xInternAtom) (Display * display, _Xconst char * atom_name, Bool only_if_exists); /* 85 */
- void (*xSetBackground) (Display * display, GC gc, unsigned long foreground); /* 86 */
- void (*xSetForeground) (Display * display, GC gc, unsigned long foreground); /* 87 */
- void (*xSetClipMask) (Display * display, GC gc, Pixmap pixmap); /* 88 */
- void (*xSetClipOrigin) (Display * display, GC gc, int clip_x_origin, int clip_y_origin); /* 89 */
- void (*xSetTSOrigin) (Display * display, GC gc, int ts_x_origin, int ts_y_origin); /* 90 */
- void (*xChangeGC) (Display * d, GC gc, unsigned long mask, XGCValues * values); /* 91 */
- void (*xSetFont) (Display * display, GC gc, Font font); /* 92 */
- void (*xSetArcMode) (Display * display, GC gc, int arc_mode); /* 93 */
- void (*xSetStipple) (Display * display, GC gc, Pixmap stipple); /* 94 */
- void (*xSetFillRule) (Display * display, GC gc, int fill_rule); /* 95 */
- void (*xSetFillStyle) (Display * display, GC gc, int fill_style); /* 96 */
- void (*xSetFunction) (Display * display, GC gc, int function); /* 97 */
- void (*xSetLineAttributes) (Display * display, GC gc, unsigned int line_width, int line_style, int cap_style, int join_style); /* 98 */
- int (*_XInitImageFuncPtrs) (XImage * image); /* 99 */
- XIC (*xCreateIC) (void); /* 100 */
- XVisualInfo * (*xGetVisualInfo) (Display * display, long vinfo_mask, XVisualInfo * vinfo_template, int * nitems_return); /* 101 */
- void (*xSetWMClientMachine) (Display * display, Window w, XTextProperty * text_prop); /* 102 */
- Status (*xStringListToTextProperty) (char ** list, int count, XTextProperty * text_prop_return); /* 103 */
- void (*xDrawLine) (Display * d, Drawable dr, GC g, int x1, int y1, int x2, int y2); /* 104 */
- void (*xWarpPointer) (Display * d, Window s, Window dw, int sx, int sy, unsigned int sw, unsigned int sh, int dx, int dy); /* 105 */
- void (*xFillRectangle) (Display * display, Drawable d, GC gc, int x, int y, unsigned int width, unsigned int height); /* 106 */
- #endif /* WIN */
- #ifdef MAC_OSX_TK /* AQUA */
- void (*xSetDashes) (Display * display, GC gc, int dash_offset, _Xconst char * dash_list, int n); /* 0 */
- XModifierKeymap * (*xGetModifierMapping) (Display * d); /* 1 */
- 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 */
- XImage * (*xGetImage) (Display * d, Drawable dr, int i1, int i2, unsigned int ui1, unsigned int ui2, unsigned long ul, int i3); /* 3 */
- char * (*xGetAtomName) (Display * d, Atom a); /* 4 */
- char * (*xKeysymToString) (KeySym k); /* 5 */
- Colormap (*xCreateColormap) (Display * d, Window w, Visual * v, int i); /* 6 */
- GContext (*xGContextFromGC) (GC g); /* 7 */
- KeySym (*xKeycodeToKeysym) (Display * d, KeyCode k, int i); /* 8 */
- KeySym (*xStringToKeysym) (_Xconst char * c); /* 9 */
- Window (*xRootWindow) (Display * d, int i); /* 10 */
- XErrorHandler (*xSetErrorHandler) (XErrorHandler x); /* 11 */
- Status (*xAllocColor) (Display * d, Colormap c, XColor * xp); /* 12 */
- void (*xBell) (Display * d, int i); /* 13 */
- void (*xChangeProperty) (Display * d, Window w, Atom a1, Atom a2, int i1, int i2, _Xconst unsigned char * c, int i3); /* 14 */
- void (*xChangeWindowAttributes) (Display * d, Window w, unsigned long ul, XSetWindowAttributes * x); /* 15 */
- void (*xConfigureWindow) (Display * d, Window w, unsigned int i, XWindowChanges * x); /* 16 */
- 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 */
- 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 */
- Pixmap (*xCreateBitmapFromData) (Display * display, Drawable d, _Xconst char * data, unsigned int width, unsigned int height); /* 19 */
- void (*xDefineCursor) (Display * d, Window w, Cursor c); /* 20 */
- void (*xDestroyWindow) (Display * d, Window w); /* 21 */
- void (*xDrawArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 22 */
- void (*xDrawLines) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2); /* 23 */
- void (*xDrawRectangle) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 24 */
- void (*xFillArc) (Display * d, Drawable dr, GC g, int i1, int i2, unsigned int ui1, unsigned int ui2, int i3, int i4); /* 25 */
- void (*xFillPolygon) (Display * d, Drawable dr, GC g, XPoint * x, int i1, int i2, int i3); /* 26 */
- void (*xFillRectangles) (Display * d, Drawable dr, GC g, XRectangle * x, int i); /* 27 */
- void (*xFreeColormap) (Display * d, Colormap c); /* 28 */
- void (*xFreeColors) (Display * d, Colormap c, unsigned long * ulp, int i, unsigned long ul); /* 29 */
- void (*xFreeModifiermap) (XModifierKeymap * x); /* 30 */
- 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 */
- 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 */
- int (*xGrabKeyboard) (Display * d, Window w, Bool b, int i1, int i2, Time t); /* 33 */
- int (*xGrabPointer) (Display * d, Window w1, Bool b, unsigned int ui, int i1, int i2, Window w2, Cursor c, Time t); /* 34 */
- KeyCode (*xKeysymToKeycode) (Display * d, KeySym k); /* 35 */
- void (*xMapWindow) (Display * d, Window w); /* 36 */
- void (*xMoveResizeWindow) (Display * d, Window w, int i1, int i2, unsigned int ui1, unsigned int ui2); /* 37 */
- void (*xMoveWindow) (Display * d, Window w, int i1, int i2); /* 38 */
- Bool (*xQueryPointer) (Display * d, Window w1, Window * w2, Window * w3, int * i1, int * i2, int * i3, int * i4, unsigned int * ui); /* 39 */
- void (*xRaiseWindow) (Display * d, Window w); /* 40 */
- void (*xRefreshKeyboardMapping) (XMappingEvent * x); /* 41 */
- void (*xResizeWindow) (Display * d, Window w, unsigned int ui1, unsi