From e7508783e85aba0ce4ab09b0dd76c40342113aed Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Tue, 20 Feb 2007 13:46:21 +0100 Subject: added draw.c again (except getcolor and setfont which are helpers in main.c) --- dwm.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dwm.h') diff --git a/dwm.h b/dwm.h index 36033fec..42f847be 100644 --- a/dwm.h +++ b/dwm.h @@ -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 */ -- cgit v1.2.3