X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dmenu.h;h=0afdf0e1d0fce1e79adf5dc148952191aa59c58c;hb=771c0cb6072b3e90d4ed7007073552736c49e655;hp=b58a32b120e24cbe80f850856cc2b53882597450;hpb=3b590beda2fb23400f74394badd7a5231d4d7920;p=dmenu.git diff --git a/dmenu.h b/dmenu.h index b58a32b..0afdf0e 100644 --- a/dmenu.h +++ b/dmenu.h @@ -1,17 +1,15 @@ -/* - * (C)opyright MMVI Anselm R. Garbe +/* (C)opyright MMVII Anselm R. Garbe * See LICENSE file for license details. */ #include -#include -#define FONT "fixed" +#define FONT "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*" #define NORMBGCOLOR "#333366" #define NORMFGCOLOR "#cccccc" #define SELBGCOLOR "#666699" #define SELFGCOLOR "#eeeeee" -#define SPACE 30 /* px */ +#define SPACE 30 /* px */ /* color */ enum { ColFG, ColBG, ColLast }; @@ -43,8 +41,7 @@ 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, const char *alternate); /* returns color of colstr */ +extern unsigned long getcolor(const char *colstr); /* 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 */