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 */
37 extern void drawtext(const char *text, unsigned int colidx, Bool border);
38 extern unsigned long getcolor(const char *colstr);
39 extern void setfont(const char *fontstr);
40 extern unsigned int textw(const char *text);
43 extern void *emalloc(unsigned int size);
44 extern void eprint(const char *errstr, ...);
45 extern char *estrdup(const char *str);