summaryrefslogtreecommitdiff
path: root/dmenu.h
diff options
context:
space:
mode:
authorarg@mmvi <unknown>2006-09-26 13:37:36 +0200
committerarg@mmvi <unknown>2006-09-26 13:37:36 +0200
commit3b590beda2fb23400f74394badd7a5231d4d7920 (patch)
tree83dd31e0fc82f815cd8510269f2d0c5e49673118 /dmenu.h
parent5c0d28e4ff9909059ac1247aa71f9b1e906fea3a (diff)
added fallback to color initialization
Diffstat (limited to 'dmenu.h')
-rw-r--r--dmenu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dmenu.h b/dmenu.h
index d4065d2..b58a32b 100644
--- a/dmenu.h
+++ b/dmenu.h
@@ -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 */