readded border colors, this sucks least
This commit is contained in:
parent
dd902868df
commit
c6113a3b27
5 changed files with 38 additions and 26 deletions
3
dmenu.h
3
dmenu.h
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue