aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-20 13:46:21 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-20 13:46:21 +0100
commite7508783e85aba0ce4ab09b0dd76c40342113aed (patch)
tree849f33eb5182d16668b77bc9fbdd7e8e4e2dc3dd /dwm.h
parentf4d15b1fec52bdd6d512577fd96490efaddb55eb (diff)
downloaddwm-e7508783e85aba0ce4ab09b0dd76c40342113aed.tar.gz
added draw.c again (except getcolor and setfont which are helpers in main.c)
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/dwm.h b/dwm.h
index 36033fe..42f847b 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 */