readded border colors, this sucks least

This commit is contained in:
Anselm R.Garbe
2006-08-10 11:13:21 +02:00
parent dd902868df
commit c6113a3b27
5 changed files with 38 additions and 26 deletions

View File

@ -24,6 +24,7 @@ struct DC { /* draw context */
int x, y, w, h;
unsigned long bg;
unsigned long fg;
unsigned long border;
Drawable drawable;
Fnt font;
GC gc;
@ -34,7 +35,7 @@ extern Display *dpy;
extern DC dc;
/* draw.c */
extern void drawtext(const char *text, Bool sel);
extern void drawtext(const char *text, Bool invert, Bool border);
extern unsigned long getcolor(const char *colstr);
extern void setfont(const char *fontstr);
extern unsigned int textw(const char *text);