2 * Thread safe wrappers around Xlib calls.
3 * This file was generated automatically by tools/make_X11wrappers
16 XFontStruct * TSXLoadQueryFont(Display* a0, const char* a1)
20 r = XLoadQueryFont(a0, a1);
25 XImage * TSXGetImage(Display* a0, Drawable a1, int a2, int a3, unsigned int a4, unsigned int a5, unsigned long a6, int a7)
29 r = XGetImage(a0, a1, a2, a3, a4, a5, a6, a7);
34 Display * TSXOpenDisplay(const char* a0)
43 char * TSXGetAtomName(Display* a0, Atom a1)
47 r = XGetAtomName(a0, a1);
52 char * TSXKeysymToString(KeySym a0)
56 r = XKeysymToString(a0);
61 Atom TSXInternAtom(Display* a0, const char* a1, int a2)
65 r = XInternAtom(a0, a1, a2);
70 Colormap TSXCreateColormap(Display* a0, Window a1, Visual* a2, int a3)
74 r = XCreateColormap(a0, a1, a2, a3);
79 Pixmap TSXCreatePixmap(Display* a0, Drawable a1, unsigned int a2, unsigned int a3, unsigned int a4)
83 r = XCreatePixmap(a0, a1, a2, a3, a4);
88 Pixmap TSXCreateBitmapFromData(Display* a0, Drawable a1, const char* a2, unsigned int a3, unsigned int a4)
92 r = XCreateBitmapFromData(a0, a1, a2, a3, a4);
97 Window TSXGetSelectionOwner(Display* a0, Atom a1)
101 r = XGetSelectionOwner(a0, a1);
106 char ** TSXListFonts(Display* a0, const char* a1, int a2, int* a3)
110 r = XListFonts(a0, a1, a2, a3);
115 KeySym TSXKeycodeToKeysym(Display* a0, unsigned int a1, int a2)
119 r = XKeycodeToKeysym(a0, a1, a2);
124 int * TSXListDepths(Display* a0, int a1, int* a2)
128 r = XListDepths(a0, a1, a2);
133 int TSXReconfigureWMWindow(Display* a0, Window a1, int a2, unsigned int a3, XWindowChanges* a4)
137 r = XReconfigureWMWindow(a0, a1, a2, a3, a4);
142 int TSXAllocColor(Display* a0, Colormap a1, XColor* a2)
146 r = XAllocColor(a0, a1, a2);
151 int TSXAllocColorCells(Display* a0, Colormap a1, int a2, unsigned long* a3, unsigned int a4, unsigned long* a5, unsigned int a6)
155 r = XAllocColorCells(a0, a1, a2, a3, a4, a5, a6);
160 int TSXBell(Display* a0, int a1)
169 int TSXChangeGC(Display* a0, GC a1, unsigned long a2, XGCValues* a3)
173 r = XChangeGC(a0, a1, a2, a3);
178 int TSXChangeProperty(Display* a0, Window a1, Atom a2, Atom a3, int a4, int a5, const unsigned char* a6, int a7)
182 r = XChangeProperty(a0, a1, a2, a3, a4, a5, a6, a7);
187 int TSXChangeWindowAttributes(Display* a0, Window a1, unsigned long a2, XSetWindowAttributes* a3)
191 r = XChangeWindowAttributes(a0, a1, a2, a3);
196 int TSXCopyArea(Display* a0, Drawable a1, Drawable a2, GC a3, int a4, int a5, unsigned int a6, unsigned int a7, int a8, int a9)
200 r = XCopyArea(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9);
205 int TSXCopyPlane(Display* a0, Drawable a1, Drawable a2, GC a3, int a4, int a5, unsigned int a6, unsigned int a7, int a8, int a9, unsigned long a10)
209 r = XCopyPlane(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
214 int TSXDefineCursor(Display* a0, Window a1, Cursor a2)
218 r = XDefineCursor(a0, a1, a2);
223 int TSXDeleteProperty(Display* a0, Window a1, Atom a2)
227 r = XDeleteProperty(a0, a1, a2);
232 int TSXDrawArc(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6, int a7, int a8)
236 r = XDrawArc(a0, a1, a2, a3, a4, a5, a6, a7, a8);
241 int TSXDrawLine(Display* a0, Drawable a1, GC a2, int a3, int a4, int a5, int a6)
245 r = XDrawLine(a0, a1, a2, a3, a4, a5, a6);
250 int TSXDrawLines(Display* a0, Drawable a1, GC a2, XPoint* a3, int a4, int a5)
254 r = XDrawLines(a0, a1, a2, a3, a4, a5);
259 int TSXDrawRectangle(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6)
263 r = XDrawRectangle(a0, a1, a2, a3, a4, a5, a6);
268 int TSXDrawString16(Display* a0, Drawable a1, GC a2, int a3, int a4, const XChar2b* a5, int a6)
272 r = XDrawString16(a0, a1, a2, a3, a4, a5, a6);
277 int TSXDrawText16(Display* a0, Drawable a1, GC a2, int a3, int a4, XTextItem16* a5, int a6)
281 r = XDrawText16(a0, a1, a2, a3, a4, a5, a6);
286 int TSXFillArc(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6, int a7, int a8)
290 r = XFillArc(a0, a1, a2, a3, a4, a5, a6, a7, a8);
295 int TSXFillPolygon(Display* a0, Drawable a1, GC a2, XPoint* a3, int a4, int a5, int a6)
299 r = XFillPolygon(a0, a1, a2, a3, a4, a5, a6);
304 int TSXFillRectangle(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6)
308 r = XFillRectangle(a0, a1, a2, a3, a4, a5, a6);
313 int TSXFlush(Display* a0)
322 int TSXFree(void* a0)
331 int TSXFreeColormap(Display* a0, Colormap a1)
335 r = XFreeColormap(a0, a1);
340 int TSXFreeColors(Display* a0, Colormap a1, unsigned long* a2, int a3, unsigned long a4)
344 r = XFreeColors(a0, a1, a2, a3, a4);
349 int TSXFreeFont(Display* a0, XFontStruct* a1)
353 r = XFreeFont(a0, a1);
358 int TSXFreeFontNames(char** a0)
362 r = XFreeFontNames(a0);
367 int TSXFreePixmap(Display* a0, Pixmap a1)
371 r = XFreePixmap(a0, a1);
376 int TSXGetFontProperty(XFontStruct* a0, Atom a1, unsigned long* a2)
380 r = XGetFontProperty(a0, a1, a2);
385 int TSXGetGeometry(Display* a0, Drawable a1, Window* a2, int* a3, int* a4, unsigned int* a5, unsigned int* a6, unsigned int* a7, unsigned int* a8)
389 r = XGetGeometry(a0, a1, a2, a3, a4, a5, a6, a7, a8);
394 int TSXGetScreenSaver(Display* a0, int* a1, int* a2, int* a3, int* a4)
398 r = XGetScreenSaver(a0, a1, a2, a3, a4);
403 int TSXGetWindowProperty(Display* a0, Window a1, Atom a2, long a3, long a4, int a5, Atom a6, Atom* a7, int* a8, unsigned long* a9, unsigned long* a10, unsigned char** a11)
407 r = XGetWindowProperty(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
412 int TSXGetWindowAttributes(Display* a0, Window a1, XWindowAttributes* a2)
416 r = XGetWindowAttributes(a0, a1, a2);
421 int TSXGrabPointer(Display* a0, Window a1, int a2, unsigned int a3, int a4, int a5, Window a6, Cursor a7, Time a8)
425 r = XGrabPointer(a0, a1, a2, a3, a4, a5, a6, a7, a8);
430 int TSXGrabServer(Display* a0)
439 KeyCode TSXKeysymToKeycode(Display* a0, KeySym a1)
443 r = XKeysymToKeycode(a0, a1);
448 int TSXMapWindow(Display* a0, Window a1)
452 r = XMapWindow(a0, a1);
457 int TSXQueryColor(Display* a0, Colormap a1, XColor* a2)
461 r = XQueryColor(a0, a1, a2);
466 int TSXQueryColors(Display* a0, Colormap a1, XColor* a2, int a3)
470 r = XQueryColors(a0, a1, a2, a3);
475 int TSXQueryPointer(Display* a0, Window a1, Window* a2, Window* a3, int* a4, int* a5, int* a6, int* a7, unsigned int* a8)
479 r = XQueryPointer(a0, a1, a2, a3, a4, a5, a6, a7, a8);
484 int TSXQueryTree(Display* a0, Window a1, Window* a2, Window* a3, Window** a4, unsigned int* a5)
488 r = XQueryTree(a0, a1, a2, a3, a4, a5);
493 int TSXRefreshKeyboardMapping(XMappingEvent* a0)
497 r = XRefreshKeyboardMapping(a0);
502 int TSXSendEvent(Display* a0, Window a1, int a2, long a3, XEvent* a4)
506 r = XSendEvent(a0, a1, a2, a3, a4);
511 int TSXSetArcMode(Display* a0, GC a1, int a2)
515 r = XSetArcMode(a0, a1, a2);
520 int TSXSetClipRectangles(Display* a0, GC a1, int a2, int a3, XRectangle* a4, int a5, int a6)
524 r = XSetClipRectangles(a0, a1, a2, a3, a4, a5, a6);
529 int TSXSetDashes(Display* a0, GC a1, int a2, const char* a3, int a4)
533 r = XSetDashes(a0, a1, a2, a3, a4);
538 int TSXSetForeground(Display* a0, GC a1, unsigned long a2)
542 r = XSetForeground(a0, a1, a2);
547 int TSXSetFunction(Display* a0, GC a1, int a2)
551 r = XSetFunction(a0, a1, a2);
556 int TSXSetGraphicsExposures(Display* a0, GC a1, int a2)
560 r = XSetGraphicsExposures(a0, a1, a2);
565 int TSXSetLineAttributes(Display* a0, GC a1, unsigned int a2, int a3, int a4, int a5)
569 r = XSetLineAttributes(a0, a1, a2, a3, a4, a5);
574 int TSXSetScreenSaver(Display* a0, int a1, int a2, int a3, int a4)
578 r = XSetScreenSaver(a0, a1, a2, a3, a4);
583 int TSXSetSelectionOwner(Display* a0, Atom a1, Window a2, Time a3)
587 r = XSetSelectionOwner(a0, a1, a2, a3);
592 int TSXSetSubwindowMode(Display* a0, GC a1, int a2)
596 r = XSetSubwindowMode(a0, a1, a2);
601 int TSXStoreColor(Display* a0, Colormap a1, XColor* a2)
605 r = XStoreColor(a0, a1, a2);
610 int TSXSync(Display* a0, int a1)
619 int TSXTextExtents16(XFontStruct* a0, const XChar2b* a1, int a2, int* a3, int* a4, int* a5, XCharStruct* a6)
623 r = XTextExtents16(a0, a1, a2, a3, a4, a5, a6);
628 int TSXTextWidth16(XFontStruct* a0, const XChar2b* a1, int a2)
632 r = XTextWidth16(a0, a1, a2);
637 int TSXUngrabPointer(Display* a0, Time a1)
641 r = XUngrabPointer(a0, a1);
646 int TSXUngrabServer(Display* a0)
650 r = XUngrabServer(a0);
655 int TSXUninstallColormap(Display* a0, Colormap a1)
659 r = XUninstallColormap(a0, a1);
664 int TSXUnmapWindow(Display* a0, Window a1)
668 r = XUnmapWindow(a0, a1);
673 XIM TSXOpenIM(Display* a0, struct _XrmHashBucketRec* a1, char* a2, char* a3)
677 r = XOpenIM(a0, a1, a2, a3);
682 #endif /* defined(HAVE_X11_XLIB_H) */