aboutsummaryrefslogtreecommitdiff
path: root/dmenu.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-20 13:54:00 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-20 13:54:00 +0100
commita1913a6af7c9cd6de18e15e989050690fdaa6600 (patch)
tree2a6269418606217571e026efab125866ef2a5376 /dmenu.h
parent66b2e8379f0b851d0535a50321e22b58fdaa247d (diff)
downloaddmenu-a1913a6af7c9cd6de18e15e989050690fdaa6600.tar.gz
dmenu-a1913a6af7c9cd6de18e15e989050690fdaa6600.tar.bz2
dmenu-a1913a6af7c9cd6de18e15e989050690fdaa6600.zip
readded draw.c again (except getcolor and setfont)
Diffstat (limited to 'dmenu.h')
-rw-r--r--dmenu.h5
1 files changed, 5 insertions, 0 deletions
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 */