Francois Boisvert
[wine.git] / include / ts_xutil.h
blob007b2b2554fd669ab64ccf2abb2a7fba509819af
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
6 * Copyright 1998 Kristian Nielsen
7 */
9 #ifndef __WINE_TS_XUTIL_H
10 #define __WINE_TS_XUTIL_H
12 #include "config.h"
15 #include <X11/Xlib.h>
16 #include <X11/Xresource.h>
17 #include <X11/Xutil.h>
19 extern XClassHint * TSXAllocClassHint(void);
20 extern XSizeHints * TSXAllocSizeHints(void);
21 extern XWMHints * TSXAllocWMHints(void);
22 extern int TSXClipBox(Region, XRectangle*);
23 extern Region TSXCreateRegion(void);
24 extern int TSXDeleteContext(Display*, XID, XContext);
25 extern int TSXDestroyRegion(Region);
26 extern int TSXEmptyRegion(Region);
27 extern int TSXEqualRegion(Region, Region);
28 extern int TSXFindContext(Display*, XID, XContext, XPointer*);
29 extern XVisualInfo * TSXGetVisualInfo(Display*, long, XVisualInfo*, int*);
30 extern int TSXGetWMSizeHints(Display*, Window, XSizeHints*, long*, Atom);
31 extern int TSXIntersectRegion(Region, Region, Region);
32 extern int TSXLookupString(XKeyEvent*, char*, int, KeySym*, XComposeStatus*);
33 extern int TSXOffsetRegion(Region, int, int);
34 extern int TSXPointInRegion(Region, int, int);
35 extern Region TSXPolygonRegion(XPoint*, int, int);
36 extern int TSXRectInRegion(Region, int, int, unsigned int, unsigned int);
37 extern int TSXSaveContext(Display*, XID, XContext, const char*);
38 extern int TSXSetClassHint(Display*, Window, XClassHint*);
39 extern int TSXSetWMHints(Display*, Window, XWMHints*);
40 extern void TSXSetWMProperties(Display*, Window, XTextProperty*, XTextProperty*, char**, int, XSizeHints*, XWMHints*, XClassHint*);
41 extern void TSXSetWMSizeHints(Display*, Window, XSizeHints*, Atom);
42 extern int TSXSetRegion(Display*, GC, Region);
43 extern int TSXShrinkRegion(Region, int, int);
44 extern int TSXStringListToTextProperty(char**, int, XTextProperty*);
45 extern int TSXSubtractRegion(Region, Region, Region);
46 extern int TSXUnionRectWithRegion(XRectangle*, Region, Region);
47 extern int TSXUnionRegion(Region, Region, Region);
48 extern int TSXXorRegion(Region, Region, Region);
49 extern int TSXDestroyImage(struct _XImage *);
50 extern struct _XImage * TSXSubImage(struct _XImage *, int, int, unsigned int, unsigned int);
51 extern int TSXAddPixel(struct _XImage *, long);
52 extern XContext TSXUniqueContext(void);
55 #endif /* __WINE_TS_XUTIL_H */