diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-20 13:46:21 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-20 13:46:21 +0100 |
commit | e7508783e85aba0ce4ab09b0dd76c40342113aed (patch) | |
tree | 849f33eb5182d16668b77bc9fbdd7e8e4e2dc3dd /dwm.h | |
parent | f4d15b1fec52bdd6d512577fd96490efaddb55eb (diff) | |
download | dwm-e7508783e85aba0ce4ab09b0dd76c40342113aed.tar.gz dwm-e7508783e85aba0ce4ab09b0dd76c40342113aed.tar.bz2 dwm-e7508783e85aba0ce4ab09b0dd76c40342113aed.zip |
added draw.c again (except getcolor and setfont which are helpers in main.c)
Diffstat (limited to 'dwm.h')
-rw-r--r-- | dwm.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -117,6 +117,12 @@ extern void updatetitle(Client *c); /* update the name of c */ extern void unmanage(Client *c); /* destroy c */ extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */ +/* draw.c */ +extern void drawstatus(void); /* draw the bar */ +extern void drawtext(const char *text, + unsigned long col[ColLast]); /* draw text */ +extern unsigned int textw(const char *text); /* return the width of text in px*/ + /* event.c */ extern void grabkeys(void); /* grab all keys defined in config.h */ @@ -130,10 +136,6 @@ extern void toggleversatile(Arg *arg); /* toggles focusesd client between versa extern void versatile(void); /* arranges all windows versatile */ /* main.c */ -extern void drawstatus(void); /* draw the bar */ -extern void drawtext(const char *text, - unsigned long col[ColLast]); /* draw text */ -extern unsigned int textw(const char *text); /* return the width of text in px*/ extern void quit(Arg *arg); /* quit dwm nicely */ extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ |