Make dinput a properly separated dll.
[wine] / include / ts_xutil.h
1 /*
2  * Thread safe wrappers around Xutil calls.
3  * Always include this file instead of <X11/Xutil.h>.
4  * This file was generated automatically by tools/make_X11wrappers
5  *
6  * Copyright 1998 Kristian Nielsen
7  */
8
9 #ifndef __WINE_TS_XUTIL_H
10 #define __WINE_TS_XUTIL_H
11
12 #include "config.h"
13
14
15 #include <X11/Xlib.h>
16 #include <X11/Xresource.h>
17 #include <X11/Xutil.h>
18
19 extern void (*wine_tsx11_lock)(void);
20 extern void (*wine_tsx11_unlock)(void);
21
22 extern XClassHint * TSXAllocClassHint(void);
23 extern XSizeHints * TSXAllocSizeHints(void);
24 extern XWMHints * TSXAllocWMHints(void);
25 extern int  TSXClipBox(Region, XRectangle*);
26 extern Region  TSXCreateRegion(void);
27 extern int  TSXDeleteContext(Display*, XID, XContext);
28 extern int  TSXDestroyRegion(Region);
29 extern int  TSXEmptyRegion(Region);
30 extern int  TSXEqualRegion(Region, Region);
31 extern int  TSXFindContext(Display*, XID, XContext, XPointer*);
32 extern XVisualInfo * TSXGetVisualInfo(Display*, long, XVisualInfo*, int*);
33 extern XWMHints * TSXGetWMHints(Display*, Window);
34 extern int   TSXGetWMSizeHints(Display*, Window, XSizeHints*, long*, Atom);
35 extern int  TSXIntersectRegion(Region, Region, Region);
36 extern int  TSXLookupString(XKeyEvent*, char*, int, KeySym*, XComposeStatus*);
37 extern int  TSXOffsetRegion(Region, int, int);
38 extern int   TSXPointInRegion(Region, int, int);
39 extern Region  TSXPolygonRegion(XPoint*, int, int);
40 extern int  TSXRectInRegion(Region, int, int, unsigned int, unsigned int);
41 extern int  TSXSaveContext(Display*, XID, XContext, const  char*);
42 extern int  TSXSetClassHint(Display*, Window, XClassHint*);
43 extern int  TSXSetWMHints(Display*, Window, XWMHints*);
44 extern void  TSXSetWMProperties(Display*, Window, XTextProperty*, XTextProperty*, char**, int, XSizeHints*, XWMHints*, XClassHint*);
45 extern void  TSXSetWMSizeHints(Display*, Window, XSizeHints*, Atom);
46 extern int  TSXSetRegion(Display*, GC, Region);
47 extern int  TSXShrinkRegion(Region, int, int);
48 extern int   TSXStringListToTextProperty(char**, int, XTextProperty*);
49 extern int  TSXSubtractRegion(Region, Region, Region);
50 extern int  TSXUnionRectWithRegion(XRectangle*, Region, Region);
51 extern int  TSXUnionRegion(Region, Region, Region);
52 extern int  TSXXorRegion(Region, Region, Region);
53 extern int TSXDestroyImage(struct _XImage *);
54 extern struct _XImage * TSXSubImage(struct _XImage *, int, int, unsigned int, unsigned int);
55 extern int TSXAddPixel(struct _XImage *, long);
56 extern XContext TSXUniqueContext(void);
57
58
59 #endif /* __WINE_TS_XUTIL_H */