From 3b590beda2fb23400f74394badd7a5231d4d7920 Mon Sep 17 00:00:00 2001 From: "arg@mmvi" Date: Tue, 26 Sep 2006 13:37:36 +0200 Subject: added fallback to color initialization --- dmenu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dmenu.h') 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 */ -- cgit v1.2.3