Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | #ifndef _XLIB |
2 | #define _XLIB | |
3 | #ifndef _XLIB_H_ | |
4 | extern XFontStruct *XLoadQueryFont _ANSI_ARGS_((Display *, const char *)); | |
5 | extern XModifierKeymap *XGetModifierMapping _ANSI_ARGS_((Display *)); | |
6 | extern XImage *XCreateImage _ANSI_ARGS_((Display *, Visual *, unsigned int, int, int, char *, unsigned int, unsigned int, int, int)); | |
7 | extern XImage *XGetImage _ANSI_ARGS_((Display *, Drawable, int, int, unsigned int, unsigned int, long unsigned int, int)); | |
8 | extern Display *XOpenDisplay _ANSI_ARGS_((const char *)); | |
9 | extern char *XGetAtomName _ANSI_ARGS_((Display *, Atom)); | |
10 | extern char *XKeysymToString _ANSI_ARGS_((KeySym)); | |
11 | extern Atom XInternAtom _ANSI_ARGS_((Display *, const char *, int)); | |
12 | extern Colormap XCreateColormap _ANSI_ARGS_((Display *, Window, Visual *, int)); | |
13 | extern Cursor XCreatePixmapCursor _ANSI_ARGS_((Display *, Pixmap, Pixmap, XColor *, XColor *, unsigned int, unsigned int)); | |
14 | extern Cursor XCreateGlyphCursor _ANSI_ARGS_((Display *, Font, Font, unsigned int, unsigned int, XColor const *, XColor const *)); | |
15 | extern Font XLoadFont _ANSI_ARGS_((Display *, const char *)); | |
16 | extern GC XCreateGC _ANSI_ARGS_((Display *, Drawable, long unsigned int, XGCValues *)); | |
17 | extern GContext XGContextFromGC _ANSI_ARGS_((GC)); | |
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 Visual *XDefaultVisual _ANSI_ARGS_((Display *, int)); | |
27 | extern Colormap XDefaultColormap _ANSI_ARGS_((Display *, int)); | |
28 | extern XErrorHandler XSetErrorHandler _ANSI_ARGS_((XErrorHandler)); | |
29 | extern int XIconifyWindow _ANSI_ARGS_((Display *, Window, int)); | |
30 | extern int XWithdrawWindow _ANSI_ARGS_((Display *, Window, int)); | |
31 | extern int XGetWMColormapWindows _ANSI_ARGS_((Display *, Window, Window **, int *)); | |
32 | extern int XSetWMColormapWindows _ANSI_ARGS_((Display *, Window, Window *, int)); | |
33 | extern int XSetTransientForHint _ANSI_ARGS_((Display *, Window, Window)); | |
34 | extern int XAllocColor _ANSI_ARGS_((Display *, Colormap, XColor *)); | |
35 | extern int XAllocNamedColor _ANSI_ARGS_((Display *, Colormap, const char *, XColor *, XColor *)); | |
36 | extern int XBell _ANSI_ARGS_((Display *, int)); | |
37 | extern int XChangeProperty _ANSI_ARGS_((Display *, Window, Atom, Atom, int, int, const unsigned char *, int)); | |
38 | extern int XChangeWindowAttributes _ANSI_ARGS_((Display *, Window, long unsigned int, XSetWindowAttributes *)); | |
39 | extern int XCheckIfEvent _ANSI_ARGS_((Display *, XEvent *, int (*) (Display *, XEvent *, char *), char *)); | |
40 | extern int XCheckWindowEvent _ANSI_ARGS_((Display *, Window, long int, XEvent *)); | |
41 | extern int XClearWindow _ANSI_ARGS_((Display *, Window)); | |
42 | extern int XConfigureWindow _ANSI_ARGS_((Display *, Window, unsigned int, XWindowChanges *)); | |
43 | extern int XConvertSelection _ANSI_ARGS_((Display *, Atom, Atom, Atom, Window, Time)); | |
44 | extern int XCopyArea _ANSI_ARGS_((Display *, Drawable, Drawable, GC, int, int, unsigned int, unsigned int, int, int)); | |
45 | extern int XCopyPlane _ANSI_ARGS_((Display *, Drawable, Drawable, GC, int, int, unsigned int, unsigned int, int, int, long unsigned int)); | |
46 | extern int XDefaultDepth _ANSI_ARGS_((Display *, int)); | |
47 | extern int XDefaultScreen _ANSI_ARGS_((Display *)); | |
48 | extern int XDefineCursor _ANSI_ARGS_((Display *, Window, Cursor)); | |
49 | extern int XDeleteProperty _ANSI_ARGS_((Display *, Window, Atom)); | |
50 | extern int XDestroyWindow _ANSI_ARGS_((Display *, Window)); | |
51 | extern int XDrawArc _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int, int, int)); | |
52 | extern int XDrawLine _ANSI_ARGS_((Display *, Drawable, GC, int, int, int, int)); | |
53 | extern int XDrawLines _ANSI_ARGS_((Display *, Drawable, GC, XPoint *, int, int)); | |
54 | extern int XDrawRectangle _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int)); | |
55 | extern int XDrawString _ANSI_ARGS_((Display *, Drawable, GC, int, int, const char *, int)); | |
56 | extern int XEventsQueued _ANSI_ARGS_((Display *, int)); | |
57 | extern int XFillArc _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int, int, int)); | |
58 | extern int XFillPolygon _ANSI_ARGS_((Display *, Drawable, GC, XPoint *, int, int, int)); | |
59 | extern int XFillRectangle _ANSI_ARGS_((Display *, Drawable, GC, int, int, unsigned int, unsigned int)); | |
60 | extern int XFillRectangles _ANSI_ARGS_((Display *, Drawable, GC, XRectangle *, int)); | |
61 | extern int XFlush _ANSI_ARGS_((Display *)); | |
62 | extern int XFree _ANSI_ARGS_((XFree_arg_t *)); | |
63 | extern int XFreeColormap _ANSI_ARGS_((Display *, Colormap)); | |
64 | extern int XFreeColors _ANSI_ARGS_((Display *, Colormap, long unsigned int *, int, long unsigned int)); | |
65 | extern int XFreeCursor _ANSI_ARGS_((Display *, Cursor)); | |
66 | extern int XFreeFont _ANSI_ARGS_((Display *, XFontStruct *)); | |
67 | extern int XFreeGC _ANSI_ARGS_((Display *, GC)); | |
68 | extern int XFreeModifiermap _ANSI_ARGS_((XModifierKeymap *)); | |
69 | extern int XGetFontProperty _ANSI_ARGS_((XFontStruct *, Atom, long unsigned int *)); | |
70 | extern int XGetGeometry _ANSI_ARGS_((Display *, Drawable, Window *, int *, int *, unsigned int *, unsigned int *, unsigned int *, unsigned int *)); | |
71 | extern int XGetInputFocus _ANSI_ARGS_((Display *, Window *, int *)); | |
72 | extern int XGetWindowProperty _ANSI_ARGS_((Display *, Window, Atom, long int, long int, int, Atom, Atom *, int *, long unsigned int *, long unsigned int *, unsigned char **)); | |
73 | extern int XGetWindowAttributes _ANSI_ARGS_((Display *, Window, XWindowAttributes *)); | |
74 | extern int XGrabKeyboard _ANSI_ARGS_((Display *, Window, int, int, int, Time)); | |
75 | extern int XGrabPointer _ANSI_ARGS_((Display *, Window, int, unsigned int, int, int, Window, Cursor, Time)); | |
76 | extern int XGrabServer _ANSI_ARGS_((Display *)); | |
77 | extern int XLookupColor _ANSI_ARGS_((Display *, Colormap, const char *, XColor *, XColor *)); | |
78 | extern int XLowerWindow _ANSI_ARGS_((Display *, Window)); | |
79 | extern int XMapWindow _ANSI_ARGS_((Display *, Window)); | |
80 | extern int XMoveResizeWindow _ANSI_ARGS_((Display *, Window, int, int, unsigned int, unsigned int)); | |
81 | extern int XMoveWindow _ANSI_ARGS_((Display *, Window, int, int)); | |
82 | extern int XNextEvent _ANSI_ARGS_((Display *, XEvent *)); | |
83 | extern int XNoOp _ANSI_ARGS_((Display *)); | |
84 | extern int XParseColor _ANSI_ARGS_((Display *, Colormap, const char *, XColor *)); | |
85 | extern int XPutBackEvent _ANSI_ARGS_((Display *, XEvent *)); | |
86 | extern int XPutImage _ANSI_ARGS_((Display *, Drawable, GC, XImage *, int, int, int, int, unsigned int, unsigned int)); | |
87 | extern int XQueryColors _ANSI_ARGS_((Display *, Colormap, XColor *, int)); | |
88 | extern int XQueryPointer _ANSI_ARGS_((Display *, Window, Window *, Window *, int *, int *, int *, int *, unsigned int *)); | |
89 | extern int XQueryTree _ANSI_ARGS_((Display *, Window, Window *, Window *, Window **, unsigned int *)); | |
90 | extern int XRaiseWindow _ANSI_ARGS_((Display *, Window)); | |
91 | extern int XReadBitmapFile _ANSI_ARGS_((Display *, Drawable, const char *, unsigned int *, unsigned int *, Pixmap *, int *, int *)); | |
92 | extern int XRefreshKeyboardMapping _ANSI_ARGS_((XMappingEvent *)); | |
93 | extern int XResizeWindow _ANSI_ARGS_((Display *, Window, unsigned int, unsigned int)); | |
94 | extern int XSelectInput _ANSI_ARGS_((Display *, Window, long int)); | |
95 | extern int XSendEvent _ANSI_ARGS_((Display *, Window, int, long int, XEvent *)); | |
96 | extern int XSetClipMask _ANSI_ARGS_((Display *, GC, Pixmap)); | |
97 | extern int XSetClipOrigin _ANSI_ARGS_((Display *, GC, int, int)); | |
98 | extern int XSetCommand _ANSI_ARGS_((Display *, Window, char **, int)); | |
99 | extern int XSetDashes _ANSI_ARGS_((Display *, GC, int, const char *, int)); | |
100 | extern int XSetForeground _ANSI_ARGS_((Display *, GC, long unsigned int)); | |
101 | extern int XSetIconName _ANSI_ARGS_((Display *, Window, const char *)); | |
102 | extern int XSetInputFocus _ANSI_ARGS_((Display *, Window, int, Time)); | |
103 | extern int XSetSelectionOwner _ANSI_ARGS_((Display *, Atom, Window, Time)); | |
104 | extern int XSetTSOrigin _ANSI_ARGS_((Display *, GC, int, int)); | |
105 | extern int XSetWindowBackground _ANSI_ARGS_((Display *, Window, long unsigned int)); | |
106 | extern int XSetWindowBackgroundPixmap _ANSI_ARGS_((Display *, Window, Pixmap)); | |
107 | extern int XSetWindowBorder _ANSI_ARGS_((Display *, Window, long unsigned int)); | |
108 | extern int XSetWindowBorderPixmap _ANSI_ARGS_((Display *, Window, Pixmap)); | |
109 | extern int XSetWindowBorderWidth _ANSI_ARGS_((Display *, Window, unsigned int)); | |
110 | extern int XSetWindowColormap _ANSI_ARGS_((Display *, Window, Colormap)); | |
111 | extern int XSync _ANSI_ARGS_((Display *, int)); | |
112 | extern int XTextExtents _ANSI_ARGS_((XFontStruct *, const char *, int, int *, int *, int *, XCharStruct *)); | |
113 | extern int XTextWidth _ANSI_ARGS_((XFontStruct *, const char *, int)); | |
114 | extern int XTranslateCoordinates _ANSI_ARGS_((Display *, Window, Window, int, int, int *, int *, Window *)); | |
115 | extern int XUngrabKeyboard _ANSI_ARGS_((Display *, Time)); | |
116 | extern int XUngrabPointer _ANSI_ARGS_((Display *, Time)); | |
117 | extern int XUngrabServer _ANSI_ARGS_((Display *)); | |
118 | extern int XUnmapWindow _ANSI_ARGS_((Display *, Window)); | |
119 | extern int XWindowEvent _ANSI_ARGS_((Display *, Window, long int, XEvent *)); | |
120 | extern Region XCreateRegion _ANSI_ARGS_((void)); | |
121 | extern XVisualInfo *XGetVisualInfo _ANSI_ARGS_((Display *, long int, XVisualInfo *, int *)); | |
122 | extern XSizeHints *XAllocSizeHints _ANSI_ARGS_((void)); | |
123 | extern XClassHint *XAllocClassHint _ANSI_ARGS_((void)); | |
124 | extern void XSetWMNormalHints _ANSI_ARGS_((Display *, Window, XSizeHints *)); | |
125 | extern void XSetWMName _ANSI_ARGS_((Display *, Window, XTextProperty *)); | |
126 | extern void XSetWMClientMachine _ANSI_ARGS_((Display *, Window, XTextProperty *)); | |
127 | extern int XStringListToTextProperty _ANSI_ARGS_((char **, int, XTextProperty *)); | |
128 | extern int XClipBox _ANSI_ARGS_((Region, XRectangle *)); | |
129 | extern int XDestroyRegion _ANSI_ARGS_((Region)); | |
130 | extern int XIntersectRegion _ANSI_ARGS_((Region, Region, Region)); | |
131 | extern int XLookupString _ANSI_ARGS_((XKeyEvent *, char *, int, KeySym *, XComposeStatus *)); | |
132 | extern int XSetClassHint _ANSI_ARGS_((Display *, Window, XClassHint *)); | |
133 | extern int XSetWMHints _ANSI_ARGS_((Display *, Window, XWMHints *)); | |
134 | extern int XSetRegion _ANSI_ARGS_((Display *, GC, Region)); | |
135 | extern int XUnionRectWithRegion _ANSI_ARGS_((XRectangle *, Region, Region)); | |
136 | extern int XSetBackground _ANSI_ARGS_((Display *, GC, unsigned long)); | |
137 | extern int XDrawImageString _ANSI_ARGS_((Display *, Drawable, GC, int, int, const char *, int)); | |
138 | extern int XWarpPointer _ANSI_ARGS_(( Display *, Window, Window, int, int, unsigned int, unsigned int, int, int )); | |
139 | extern int XDrawPoints _ANSI_ARGS_(( Display*, Drawable, GC, XPoint*, int, int)); | |
140 | extern int XChangeGC _ANSI_ARGS_(( Display*, GC, unsigned long, XGCValues *)); | |
141 | extern char **XListFonts _ANSI_ARGS_(( Display*, const char *, int, int *)); | |
142 | extern int XFreeFontNames _ANSI_ARGS_((char **)); | |
143 | extern Window XGetSelectionOwner _ANSI_ARGS_((Display *, Atom)); | |
144 | extern int XRectInRegion _ANSI_ARGS_(( Region,int,int,unsigned,unsigned)); | |
145 | #endif /* _XLIB_H_ */ | |
146 | extern int _XInitImageFuncPtrs _ANSI_ARGS_((XImage *image)); | |
147 | #endif /* _XLIB */ |