32-bit clipboard support.
[wine/multimedia.git] / include / ts_xlib.h
blob43e390c2ef9fd527f27383d111427c6766aa87e3
1 /*
2 * Thread safe wrappers around Xlib calls.
3 * Always include this file instead of <X11/Xlib.h>.
4 * This file was generated automatically by tools/make_X11wrappers
6 * Copyright 1998 Kristian Nielsen
7 */
9 #ifndef __WINE_TSXLIB_H
10 #define __WINE_TSXLIB_H
12 #include <X11/Xlib.h>
14 extern XFontStruct * TSXLoadQueryFont(Display*, const char*);
15 extern XModifierKeymap * TSXGetModifierMapping(Display*);
16 extern XImage * TSXCreateImage(Display*, Visual*, unsigned int, int, int, char*, unsigned int, unsigned int, int, int);
17 extern XImage * TSXGetImage(Display*, Drawable, int, int, unsigned int, unsigned int, unsigned long, int);
18 extern Display * TSXOpenDisplay(const char*);
19 extern void TSXrmInitialize(void);
20 extern char * TSXGetAtomName(Display*, Atom);
21 extern char * TSXKeysymToString(KeySym);
22 extern Atom TSXInternAtom(Display*, const char*, int);
23 extern Colormap TSXCopyColormapAndFree(Display*, Colormap);
24 extern Colormap TSXCreateColormap(Display*, Window, Visual*, int);
25 extern Cursor TSXCreatePixmapCursor(Display*, Pixmap, Pixmap, XColor*, XColor*, unsigned int, unsigned int);
26 extern Cursor TSXCreateFontCursor(Display*, unsigned int);
27 extern GC TSXCreateGC(Display*, Drawable, unsigned long, XGCValues*);
28 extern Pixmap TSXCreatePixmap(Display*, Drawable, unsigned int, unsigned int, unsigned int);
29 extern Pixmap TSXCreateBitmapFromData(Display*, Drawable, const char*, unsigned int, unsigned int);
30 extern Window TSXGetSelectionOwner(Display*, Atom);
31 extern Window TSXCreateWindow(Display*, Window, int, int, unsigned int, unsigned int, unsigned int, int, unsigned int, Visual*, unsigned long, XSetWindowAttributes*);
32 extern char ** TSXListFonts(Display*, const char*, int, int*);
33 extern KeySym TSXKeycodeToKeysym(Display*, unsigned int, int);
34 extern KeySym TSXLookupKeysym(XKeyEvent*, int);
35 extern KeySym * TSXGetKeyboardMapping(Display*, unsigned int, int, int*);
36 extern char * TSXResourceManagerString(Display*);
37 extern int TSXInitThreads(void);
38 extern int * TSXListDepths(Display*, int, int*);
39 extern int TSXReconfigureWMWindow(Display*, Window, int, unsigned int, XWindowChanges*);
40 extern int TSXSetWMProtocols(Display*, Window, Atom*, int);
41 extern int TSXSetTransientForHint(Display*, Window, Window);
42 extern int TSXActivateScreenSaver(Display*);
43 extern int TSXAllocColor(Display*, Colormap, XColor*);
44 extern int TSXAllocColorCells(Display*, Colormap, int, unsigned long*, unsigned int, unsigned long*, unsigned int);
45 extern int TSXBell(Display*, int);
46 extern int TSXChangeGC(Display*, GC, unsigned long, XGCValues*);
47 extern int TSXChangeKeyboardControl(Display*, unsigned long, XKeyboardControl*);
48 extern int TSXChangeProperty(Display*, Window, Atom, Atom, int, int, const unsigned char*, int);
49 extern int TSXChangeWindowAttributes(Display*, Window, unsigned long, XSetWindowAttributes*);
50 extern int TSXCheckTypedWindowEvent(Display*, Window, int, XEvent*);
51 extern int TSXCheckWindowEvent(Display*, Window, long, XEvent*);
52 extern int TSXConvertSelection(Display*, Atom, Atom, Atom, Window, Time);
53 extern int TSXCopyArea(Display*, Drawable, Drawable, GC, int, int, unsigned int, unsigned int, int, int);
54 extern int TSXCopyPlane(Display*, Drawable, Drawable, GC, int, int, unsigned int, unsigned int, int, int, unsigned long);
55 extern int TSXDefineCursor(Display*, Window, Cursor);
56 extern int TSXDestroyWindow(Display*, Window);
57 extern int TSXDisplayKeycodes(Display*, int*, int*);
58 extern int TSXDrawArc(Display*, Drawable, GC, int, int, unsigned int, unsigned int, int, int);
59 extern int TSXDrawLine(Display*, Drawable, GC, int, int, int, int);
60 extern int TSXDrawLines(Display*, Drawable, GC, XPoint*, int, int);
61 extern int TSXDrawPoint(Display*, Drawable, GC, int, int);
62 extern int TSXDrawRectangle(Display*, Drawable, GC, int, int, unsigned int, unsigned int);
63 extern int TSXDrawSegments(Display*, Drawable, GC, XSegment*, int);
64 extern int TSXDrawString(Display*, Drawable, GC, int, int, const char*, int);
65 extern int TSXDrawText(Display*, Drawable, GC, int, int, XTextItem*, int);
66 extern int TSXFillArc(Display*, Drawable, GC, int, int, unsigned int, unsigned int, int, int);
67 extern int TSXFillPolygon(Display*, Drawable, GC, XPoint*, int, int, int);
68 extern int TSXFillRectangle(Display*, Drawable, GC, int, int, unsigned int, unsigned int);
69 extern int TSXFlush(Display*);
70 extern int TSXFree(void*);
71 extern int TSXFreeColormap(Display*, Colormap);
72 extern int TSXFreeColors(Display*, Colormap, unsigned long*, int, unsigned long);
73 extern int TSXFreeCursor(Display*, Cursor);
74 extern int TSXFreeFont(Display*, XFontStruct*);
75 extern int TSXFreeFontNames(char**);
76 extern int TSXFreeGC(Display*, GC);
77 extern int TSXFreeModifiermap(XModifierKeymap*);
78 extern int TSXFreePixmap(Display*, Pixmap);
79 extern int TSXGetFontProperty(XFontStruct*, Atom, unsigned long*);
80 extern int TSXGetGeometry(Display*, Drawable, Window*, int*, int*, unsigned int*, unsigned int*, unsigned int*, unsigned int*);
81 extern int TSXGetInputFocus(Display*, Window*, int*);
82 extern int TSXGetKeyboardControl(Display*, XKeyboardState*);
83 extern int TSXGetScreenSaver(Display*, int*, int*, int*, int*);
84 extern int TSXGetWindowProperty(Display*, Window, Atom, long, long, int, Atom, Atom*, int*, unsigned long*, unsigned long*, unsigned char**);
85 extern int TSXGetWindowAttributes(Display*, Window, XWindowAttributes*);
86 extern int TSXGrabServer(Display*);
87 extern int TSXInstallColormap(Display*, Colormap);
88 extern KeyCode TSXKeysymToKeycode(Display*, KeySym);
89 extern int TSXMapWindow(Display*, Window);
90 extern int TSXNextEvent(Display*, XEvent*);
91 extern int TSXParseGeometry(const char*, int*, int*, unsigned int*, unsigned int*);
92 extern int TSXPending(Display*);
93 extern int TSXPutBackEvent(Display*, XEvent*);
94 extern int TSXPutImage(Display*, Drawable, GC, XImage*, int, int, int, int, unsigned int, unsigned int);
95 extern int TSXQueryColor(Display*, Colormap, XColor*);
96 extern int TSXQueryKeymap(Display*, char*);
97 extern int TSXQueryPointer(Display*, Window, Window*, Window*, int*, int*, int*, int*, unsigned int*);
98 extern int TSXQueryTree(Display*, Window, Window*, Window*, Window**, unsigned int*);
99 extern int TSXResetScreenSaver(Display*);
100 extern int TSXRestackWindows(Display*, Window*, int);
101 extern int TSXSendEvent(Display*, Window, int, long, XEvent*);
102 extern int TSXSetArcMode(Display*, GC, int);
103 extern int TSXSetBackground(Display*, GC, unsigned long);
104 extern int TSXSetClipMask(Display*, GC, Pixmap);
105 extern int TSXSetClipOrigin(Display*, GC, int, int);
106 extern int TSXSetClipRectangles(Display*, GC, int, int, XRectangle*, int, int);
107 extern int TSXSetDashes(Display*, GC, int, const char*, int);
108 extern int TSXSetFillStyle(Display*, GC, int);
109 extern int TSXSetForeground(Display*, GC, unsigned long);
110 extern int TSXSetFunction(Display*, GC, int);
111 extern int TSXSetGraphicsExposures(Display*, GC, int);
112 extern int TSXSetIconName(Display*, Window, const char*);
113 extern int TSXSetInputFocus(Display*, Window, int, Time);
114 extern int TSXSetLineAttributes(Display*, GC, unsigned int, int, int, int);
115 extern int TSXSetScreenSaver(Display*, int, int, int, int);
116 extern int TSXSetSelectionOwner(Display*, Atom, Window, Time);
117 extern int TSXSetSubwindowMode(Display*, GC, int);
118 extern int TSXSetWindowColormap(Display*, Window, Colormap);
119 extern int TSXStoreColor(Display*, Colormap, XColor*);
120 extern int TSXStoreName(Display*, Window, const char*);
121 extern int TSXSync(Display*, int);
122 extern int TSXTextExtents(XFontStruct*, const char*, int, int*, int*, int*, XCharStruct*);
123 extern int TSXTextWidth(XFontStruct*, const char*, int);
124 extern int TSXUngrabServer(Display*);
125 extern int TSXUninstallColormap(Display*, Colormap);
126 extern int TSXUnmapWindow(Display*, Window);
127 extern int TSXWarpPointer(Display*, Window, Window, int, int, unsigned int, unsigned int, int, int);
128 extern XIM TSXOpenIM(Display*, struct _XrmHashBucketRec*, char*, char*);
129 extern int (*TSXSynchronize(Display *, Bool))(Display *);
130 extern void TS_XInitImageFuncPtrs(XImage *);
132 #endif /* __WINE_TSXLIB_H */