diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-20 13:54:00 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-20 13:54:00 +0100 |
commit | a1913a6af7c9cd6de18e15e989050690fdaa6600 (patch) | |
tree | 2a6269418606217571e026efab125866ef2a5376 /dmenu.h | |
parent | 66b2e8379f0b851d0535a50321e22b58fdaa247d (diff) |
readded draw.c again (except getcolor and setfont)
Diffstat (limited to 'dmenu.h')
-rw-r--r-- | dmenu.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 */ |