x11.h (611B)
1 /* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail> 2 * See LICENSE file for license details. 3 */ 4 5 #define _X11_VISIBLE 6 #define pointerwin __pointerwin 7 #include <assert.h> 8 #include <limits.h> 9 #include <math.h> 10 #include <strings.h> 11 #include <unistd.h> 12 #include <bio.h> 13 #include <stuff/x.h> 14 #include <stuff/util.h> 15 #undef pointerwin 16 17 extern int (*xlib_errorhandler) (Display*, XErrorEvent*); 18 19 void configwin(Window*, Rectangle, int); 20 XPoint* convpts(Point*, int); 21 int errorhandler(Display*, XErrorEvent*); 22 void setgccol(Image*, Color*); 23 XftColor* xftcolor(Image*, Color*); 24 XftDraw* xftdrawable(Image*); 25