From a1913a6af7c9cd6de18e15e989050690fdaa6600 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Tue, 20 Feb 2007 13:54:00 +0100 Subject: readded draw.c again (except getcolor and setfont) --- dmenu.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dmenu.h') diff --git a/dmenu.h b/dmenu.h index 5c047ff..bb3b144 100644 --- a/dmenu.h +++ b/dmenu.h @@ -38,6 +38,11 @@ extern int screen; extern Display *dpy; extern DC dc; /* global drawing context */ +/* draw.c */ +extern void drawtext(const char *text, unsigned long col[ColLast]); +extern unsigned int textw(const char *text); +extern unsigned int textnw(const char *text, unsigned int len); + /* util.c */ extern void *emalloc(unsigned int size); /* allocates memory, exits on error */ extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */ -- cgit v1.2.3