| 1 |
#ifndef _XLIB |
| 2 |
#define _XLIB |
| 3 |
extern XFontStruct *XLoadQueryFont _ANSI_ARGS_((Display *, const char *)); |
| 4 |
extern XModifierKeymap *XGetModifierMapping _ANSI_ARGS_((Display *)); |
| 5 |
extern XImage *XCreateImage _ANSI_ARGS_((Display *, Visual *, unsigned int, int, int, char *, unsigned int, unsigned int, int, int)); |
| 6 |
extern XImage *XGetImage _ANSI_ARGS_((Display *, Drawable, int, int, unsigned int, unsigned int, long unsigned int, int)); |
| 7 |
extern Display *XOpenDisplay _ANSI_ARGS_((const char *)); |
| 8 |
extern char *XGetAtomName _ANSI_ARGS_((Display *, Atom)); |
| 9 |
extern char *XKeysymToString _ANSI_ARGS_((KeySym)); |
| 10 |
extern Atom XInternAtom _ANSI_ARGS_((Display *, const char *, int)); |
| 11 |
extern Colormap XCreateColormap _ANSI_ARGS_((Display *, Window, Visual *, int)); |
| 12 |
extern Cursor XCreatePixmapCursor _ANSI_ARGS_((Display *, Pixmap, Pixmap, XColor *, XColor *, unsigned int, unsigned int)); |
| 13 |
extern Cursor XCreateGlyphCursor _ANSI_ARGS_((Display *, Font, Font, unsigned int, unsigned int, XColor *, XColor *)); |
| 14 |
extern Font XLoadFont _ANSI_ARGS_((Display *, const char *)); |
| 15 |
extern GC XCreateGC _ANSI_ARGS_((Display *, Drawable, long unsigned int, XGCValues *)); |
| 16 |
extern GContext XGContextFromGC _ANSI_ARGS_((GC)); |
| 17 |
extern Pixmap XCreatePixmap _ANSI_ARGS_((Display *, Drawable, unsigned int, unsigned int, unsigned int)); |
| 18 |
extern Pixmap XCreateBitmapFromData _ANSI_ARGS_((Display *, Drawable, const char *, unsigned int, unsigned int)); |
| 19 |
extern Window XCreateWindow _ANSI_ARGS_((Display *, Window, int, int, unsigned int, unsigned int, unsigned int, int, unsigned int, Visual *, long unsigned int, XSetWindowAttributes *)); |
| 20 |
extern Atom *XListProperties _ANSI_ARGS_((Display *, Window, int *)); |
| 21 |
extern XHostAddress *XListHosts _ANSI_ARGS_((Display *, int *, int *)); |
| 22 |
extern KeySym XKeycodeToKeysym _ANSI_ARGS_((Display *, unsigned int, int)); |
| 23 |
extern KeySym XStringToKeysym _ANSI_ARGS_((const char *)); |
| 24 |
extern VisualID XVisualIDFromVisual _ANSI_ARGS_((Visual *)); |
| 25 |
extern Window XRootWindow _ANSI_ARGS_((Display *, int)); |
| 26 |
extern XErrorHandler XSetErrorHandler _ANSI_ARGS_((XErrorHandler)); |
| 27 |
extern int XIconifyWindow _ANSI_ARGS_((Display *, Window, int)); |
| 28 |
extern int XWithdrawWindow _ANSI_ARGS_((Display *, Window, int)); |
| 29 |
extern int XGetWMColormapWindows _ANSI_ARGS_((Display *, Window, Window **, int *)); |
| 30 |
extern int XSetWMColormapWindows _ANSI_ARGS_((Display *, Window, Window *, int)); |
| 31 |
extern int XSetTransientForHint _ANSI_ARGS_((Display *, Window, Window)); |
| 32 |
extern int XAllocColor _ANSI_ARGS_((Display *, Colormap, XColor *)); |
| 33 |
extern int XAllocNamedColor _ANSI_ARGS_((Display *, Colormap, const char *, XColor *, XColor *)); |
| 34 |
extern int XBell _ANSI_ARGS_((Display *, int)); |
| 35 |
extern int XChangeProperty _ANSI_ARGS_((Display *, Window, Atom, Atom, int, int, const unsigned char *, int)); |
| 36 |
extern int XChangeWindowAttributes _ANSI_ARGS_((Display *, Window, long unsigned int, XSetWindowAttributes *)); |
| 37 |
extern int XCheckIfEvent _ANSI_ARGS_((Display *, XEvent *, int (*) (Display *, XEvent *, XPointer), XPointer)); |
| 38 |
extern int XCheckWindowEvent _ANSI_ARGS_((Display *, Window, long int, XEvent *)); |
| 39 |
extern int XClearWindow _ANSI_ARGS_((Display *, Window)); |
| 40 |
extern int XConfigureWindow _ANSI_ARGS_((Display *, Window, unsigned int, XWindowChanges *)); |
| 41 |
extern int XConvertSelection _ANSI_ARGS_((Display *, Atom, Atom, Atom, Window, Time)); |
| 42 |
extern int XCopyArea _ANSI_ARGS_((Display *, Drawable, Drawable, GC, int, int, unsigned int, unsigned int, int, int)); |
| 43 |
extern int XCopyPlane _ANSI_ARGS_((Display *, Drawable, Drawable, GC, int, int, unsigned int, unsigned int, int, int, long unsigned int)); |
| 44 |
extern int XDefineCursor _ANSI_ARGS_((Display *, Window, Cursor)); |
| 45 |
extern int XDeleteProperty _ANSI_ARGS_((Display *, Window, Atom)); |
| 46 |
extern int XDestroyWindow _ANSI_ARGS_((Display *, Window)); |
| 47 |
extern int XDrawArc _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int, int, int)); |
| 48 |
extern int XDrawLine _ANSI_ARGS_((Display *, Drawable, GC, int, int, int, int)); |
| 49 |
extern int XDrawLines _ANSI_ARGS_((Display *, Drawable, GC, XPoint *, int, int)); |
| 50 |
extern int XDrawRectangle _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int)); |
| 51 |
extern int XDrawString _ANSI_ARGS_((Display *, Drawable, GC, int, int, const char *, int)); |
| 52 |
extern int XEventsQueued _ANSI_ARGS_((Display *, int)); |
| 53 |
extern int XFillArc _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int, int, int)); |
| 54 |
extern int XFillPolygon _ANSI_ARGS_((Display *, Drawable, GC, XPoint *, int, int, int)); |
| 55 |
extern int XFillRectangle _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int)); |
| 56 |
extern int XFillRectangles _ANSI_ARGS_((Display *, Drawable, GC, XRectangle *, int)); |
| 57 |
extern int XFlush _ANSI_ARGS_((Display *)); |
| 58 |
extern int XFree _ANSI_ARGS_((void *)); |
| 59 |
extern int XFreeColormap _ANSI_ARGS_((Display *, Colormap)); |
| 60 |
extern int XFreeColors _ANSI_ARGS_((Display *, Colormap, long unsigned int *, int, long unsigned int)); |
| 61 |
extern int XFreeCursor _ANSI_ARGS_((Display *, Cursor)); |
| 62 |
extern int XFreeFont _ANSI_ARGS_((Display *, XFontStruct *)); |
| 63 |
extern int XFreeGC _ANSI_ARGS_((Display *, GC)); |
| 64 |
extern int XFreeModifiermap _ANSI_ARGS_((XModifierKeymap *)); |
| 65 |
extern int XFreePixmap _ANSI_ARGS_((Display *, Pixmap)); |
| 66 |
extern int XGetFontProperty _ANSI_ARGS_((XFontStruct *, Atom, long unsigned int *)); |
| 67 |
extern int XGetGeometry _ANSI_ARGS_((Display *, Drawable, Window *, int *, int *, unsigned int *, unsigned int *, unsigned int *, unsigned int *)); |
| 68 |
extern int XGetWindowProperty _ANSI_ARGS_((Display *, Window, Atom, long int, long int, int, Atom, Atom *, int *, long unsigned int *, long unsigned int *, unsigned char **)); |
| 69 |
extern int XGetWindowAttributes _ANSI_ARGS_((Display *, Window, XWindowAttributes *)); |
| 70 |
extern int XGrabKeyboard _ANSI_ARGS_((Display *, Window, int, int, int, Time)); |
| 71 |
extern int XGrabPointer _ANSI_ARGS_((Display *, Window, int, unsigned int, int, int, Window, Cursor, Time)); |
| 72 |
extern int XGrabServer _ANSI_ARGS_((Display *)); |
| 73 |
extern int XLookupColor _ANSI_ARGS_((Display *, Colormap, const char *, XColor *, XColor *)); |
| 74 |
extern int XMapWindow _ANSI_ARGS_((Display *, Window)); |
| 75 |
extern int XMoveResizeWindow _ANSI_ARGS_((Display *, Window, int, int, unsigned int, unsigned int)); |
| 76 |
extern int XMoveWindow _ANSI_ARGS_((Display *, Window, int, int)); |
| 77 |
extern int XNextEvent _ANSI_ARGS_((Display *, XEvent *)); |
| 78 |
extern int XNoOp _ANSI_ARGS_((Display *)); |
| 79 |
extern int XParseColor _ANSI_ARGS_((Display *, Colormap, const char *, XColor *)); |
| 80 |
extern int XPutBackEvent _ANSI_ARGS_((Display *, XEvent *)); |
| 81 |
extern int XPutImage _ANSI_ARGS_((Display *, Drawable, GC, XImage *, int, int, int, int, unsigned int, unsigned int)); |
| 82 |
extern int XQueryPointer _ANSI_ARGS_((Display *, Window, Window *, Window *, int *, int *, int *, int *, unsigned int *)); |
| 83 |
extern int XQueryTree _ANSI_ARGS_((Display *, Window, Window *, Window *, Window **, unsigned int *)); |
| 84 |
extern int XRaiseWindow _ANSI_ARGS_((Display *, Window)); |
| 85 |
extern int XReadBitmapFile _ANSI_ARGS_((Display *, Drawable, const char *, unsigned int *, unsigned int *, Pixmap *, int *, int *)); |
| 86 |
extern int XRefreshKeyboardMapping _ANSI_ARGS_((XMappingEvent *)); |
| 87 |
extern int XResizeWindow _ANSI_ARGS_((Display *, Window, unsigned int, unsigned int)); |
| 88 |
extern int XSelectInput _ANSI_ARGS_((Display *, Window, long int)); |
| 89 |
extern int XSendEvent _ANSI_ARGS_((Display *, Window, int, long int, XEvent *)); |
| 90 |
extern int XSetClipMask _ANSI_ARGS_((Display *, GC, Pixmap)); |
| 91 |
extern int XSetClipOrigin _ANSI_ARGS_((Display *, GC, int, int)); |
| 92 |
extern int XSetCommand _ANSI_ARGS_((Display *, Window, char **, int)); |
| 93 |
extern int XSetForeground _ANSI_ARGS_((Display *, GC, long unsigned int)); |
| 94 |
extern int XSetIconName _ANSI_ARGS_((Display *, Window, const char *)); |
| 95 |
extern int XSetInputFocus _ANSI_ARGS_((Display *, Window, int, Time)); |
| 96 |
extern int XSetSelectionOwner _ANSI_ARGS_((Display *, Atom, Window, Time)); |
| 97 |
extern int XSetTSOrigin _ANSI_ARGS_((Display *, GC, int, int)); |
| 98 |
extern int XSetWindowBackground _ANSI_ARGS_((Display *, Window, long unsigned int)); |
| 99 |
extern int XSetWindowBackgroundPixmap _ANSI_ARGS_((Display *, Window, Pixmap)); |
| 100 |
extern int XSetWindowBorder _ANSI_ARGS_((Display *, Window, long unsigned int)); |
| 101 |
extern int XSetWindowBorderPixmap _ANSI_ARGS_((Display *, Window, Pixmap)); |
| 102 |
extern int XSetWindowBorderWidth _ANSI_ARGS_((Display *, Window, unsigned int)); |
| 103 |
extern int XSetWindowColormap _ANSI_ARGS_((Display *, Window, Colormap)); |
| 104 |
extern int XSync _ANSI_ARGS_((Display *, int)); |
| 105 |
extern int XTextExtents _ANSI_ARGS_((XFontStruct *, const char *, int, int *, int *, int *, XCharStruct *)); |
| 106 |
extern int XTextWidth _ANSI_ARGS_((XFontStruct *, const char *, int)); |
| 107 |
extern int XTranslateCoordinates _ANSI_ARGS_((Display *, Window, Window, int, int, int *, int *, Window *)); |
| 108 |
extern int XUngrabKeyboard _ANSI_ARGS_((Display *, Time)); |
| 109 |
extern int XUngrabPointer _ANSI_ARGS_((Display *, Time)); |
| 110 |
extern int XUngrabServer _ANSI_ARGS_((Display *)); |
| 111 |
extern int XUnmapWindow _ANSI_ARGS_((Display *, Window)); |
| 112 |
extern int XWindowEvent _ANSI_ARGS_((Display *, Window, long int, XEvent *)); |
| 113 |
extern XIM XOpenIM _ANSI_ARGS_((Display *, struct _XrmHashBucketRec *, char *, char *)); |
| 114 |
extern int XCloseIM _ANSI_ARGS_((XIM)); |
| 115 |
extern char *XGetIMValues _ANSI_ARGS_((XIM, ...)); |
| 116 |
extern XIC XCreateIC _ANSI_ARGS_((XIM, ...)); |
| 117 |
extern void XDestroyIC _ANSI_ARGS_((XIC)); |
| 118 |
extern int XFilterEvent _ANSI_ARGS_((XEvent *, Window)); |
| 119 |
extern int XmbLookupString _ANSI_ARGS_((XIC, XKeyPressedEvent *, char *, int, KeySym *, int *)); |
| 120 |
#endif /* _XLIB */ |