Xinqi Bao's Git
projects
/
dmenu.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
changed text in dmenu manpage
[dmenu.git]
/
dmenu.h
diff --git
a/dmenu.h
b/dmenu.h
index
b58a32b
..
ff9790d
100644
(file)
--- a/
dmenu.h
+++ b/
dmenu.h
@@
-1,17
+1,15
@@
-/*
- * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
+/* (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
*/
#include <X11/Xlib.h>
* See LICENSE file for license details.
*/
#include <X11/Xlib.h>
-#include <X11/Xlocale.h>
-#define FONT "
fixed
"
+#define FONT "
-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*
"
#define NORMBGCOLOR "#333366"
#define NORMFGCOLOR "#cccccc"
#define SELBGCOLOR "#666699"
#define SELFGCOLOR "#eeeeee"
#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 };
/* 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 */
/* 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 */
extern void setfont(const char *fontstr); /* sets global font */
extern unsigned int textw(const char *text); /* returns width of text in px */