added fallback to color initialization
[dmenu.git] / dmenu.h
diff --git a/dmenu.h b/dmenu.h
index eed5689..b58a32b 100644 (file)
--- a/dmenu.h
+++ b/dmenu.h
@@ -3,10 +3,14 @@
  * See LICENSE file for license details.
  */
 
-#include "config.h"
 #include <X11/Xlib.h>
 #include <X11/Xlocale.h>
 
+#define FONT                   "fixed"
+#define NORMBGCOLOR            "#333366"
+#define NORMFGCOLOR            "#cccccc"
+#define SELBGCOLOR             "#666699"
+#define SELFGCOLOR             "#eeeeee"
 #define SPACE          30 /* px */
 
 /* color */
@@ -39,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 */