diff options
author | arg@mmvi <unknown> | 2006-09-26 13:37:36 +0200 |
---|---|---|
committer | arg@mmvi <unknown> | 2006-09-26 13:37:36 +0200 |
commit | 3b590beda2fb23400f74394badd7a5231d4d7920 (patch) | |
tree | 83dd31e0fc82f815cd8510269f2d0c5e49673118 /dmenu.h | |
parent | 5c0d28e4ff9909059ac1247aa71f9b1e906fea3a (diff) |
added fallback to color initialization
Diffstat (limited to 'dmenu.h')
-rw-r--r-- | dmenu.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -43,7 +43,8 @@ extern DC dc; /* global drawing context */ /* draw.c */ extern void drawtext(const char *text, unsigned long col[ColLast]); /* draws text with the defined color tuple */ -extern unsigned long getcolor(const char *colstr); /* returns color of colstr */ +extern unsigned long getcolor( + const char *colstr, const char *alternate); /* returns color of colstr */ extern void setfont(const char *fontstr); /* sets global font */ extern unsigned int textw(const char *text); /* returns width of text in px */ |