Xinqi Bao's Git
75b6266c032f46f0e74ba9de3d528174592248b3
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 */
12 typedef struct Brush Brush
;
14 typedef struct Fnt Fnt
;
24 struct DC
{ /* draw context */
39 extern void drawtext(const char *text
, Bool invert
, Bool border
);
40 extern unsigned long getcolor(const char *colstr
);
41 extern void setfont(const char *fontstr
);
42 extern unsigned int textw(const char *text
);
45 extern void *emalloc(unsigned int size
);
46 extern void eprint(const char *errstr
, ...);
47 extern char *estrdup(const char *str
);