X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=dmenu.h;h=9e184fd8c487c6d3f491aed3f4aa6330bf3bcecc;hb=deea1fb5abbb6c23d7d1e0be6f2936d15cc334be;hp=b58a32b120e24cbe80f850856cc2b53882597450;hpb=3b590beda2fb23400f74394badd7a5231d4d7920;p=dmenu.git diff --git a/dmenu.h b/dmenu.h index b58a32b..9e184fd 100644 --- a/dmenu.h +++ b/dmenu.h @@ -1,17 +1,15 @@ -/* - * (C)opyright MMVI Anselm R. Garbe +/* (C)opyright MMVI-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 */