1 /* See LICENSE file for copyright and license details. */
4 enum { ColFG, ColBG, ColLast };
9 unsigned long norm[ColLast];
10 unsigned long sel[ColLast];
20 } DC; /* draw context */
22 /* forward declarations */
23 void drawcleanup(void);
25 void drawtext(const char *text, unsigned long col[ColLast]);
26 void eprint(const char *errstr, ...);
27 unsigned long getcolor(const char *colstr);
28 void initfont(const char *fontstr);
29 int textnw(const char *text, unsigned int len);
30 int textw(const char *text);
37 unsigned int spaceitem;
42 const char *normbgcolor;
43 const char *normfgcolor;
44 const char *selbgcolor;
45 const char *selfgcolor;