2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
3 * See LICENSE file for license details.
8 #include <X11/Xlocale.h>
10 #define SPACE 30 /* px */
13 typedef struct Fnt Fnt;
23 struct DC { /* draw context */
38 extern void drawtext(const char *text, Bool invert, Bool border);
39 extern unsigned long getcolor(const char *colstr);
40 extern void setfont(const char *fontstr);
41 extern unsigned int textw(const char *text);
44 extern void *emalloc(unsigned int size);
45 extern void eprint(const char *errstr, ...);
46 extern char *estrdup(const char *str);