X-Git-Url: https://git.xinqibao.xyz/dmenu.git/blobdiff_plain/0e5f467aa85e318ed27fc5d6d3826426a06ef3c3..3b590beda2fb23400f74394badd7a5231d4d7920:/dmenu.h diff --git a/dmenu.h b/dmenu.h index eed5689..b58a32b 100644 --- a/dmenu.h +++ b/dmenu.h @@ -3,10 +3,14 @@ * See LICENSE file for license details. */ -#include "config.h" #include #include +#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 */