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