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 | separating drawsquare from drawtext, made drawtext extern (diff) | |
| download | dwm-e7508783e85aba0ce4ab09b0dd76c40342113aed.tar.gz 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 */ | |||
| 117 | extern void unmanage(Client *c); /* destroy c */ | 117 | extern void unmanage(Client *c); /* destroy c */ |
| 118 | extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */ | 118 | extern void zoom(Arg *arg); /* zooms the focused client to master area, arg is ignored */ |
| 119 | 119 | ||
| 120 | /* draw.c */ | ||
| 121 | extern void drawstatus(void); /* draw the bar */ | ||
| 122 | extern void drawtext(const char *text, | ||
| 123 | unsigned long col[ColLast]); /* draw text */ | ||
| 124 | extern unsigned int textw(const char *text); /* return the width of text in px*/ | ||
| 125 | |||
| 120 | /* event.c */ | 126 | /* event.c */ |
| 121 | extern void grabkeys(void); /* grab all keys defined in config.h */ | 127 | extern void grabkeys(void); /* grab all keys defined in config.h */ |
| 122 | 128 | ||
| @@ -130,10 +136,6 @@ extern void toggleversatile(Arg *arg); /* toggles focusesd client between versa | |||
| 130 | extern void versatile(void); /* arranges all windows versatile */ | 136 | extern void versatile(void); /* arranges all windows versatile */ |
| 131 | 137 | ||
| 132 | /* main.c */ | 138 | /* main.c */ |
| 133 | extern void drawstatus(void); /* draw the bar */ | ||
| 134 | extern void drawtext(const char *text, | ||
| 135 | unsigned long col[ColLast]); /* draw text */ | ||
| 136 | extern unsigned int textw(const char *text); /* return the width of text in px*/ | ||
| 137 | extern void quit(Arg *arg); /* quit dwm nicely */ | 139 | extern void quit(Arg *arg); /* quit dwm nicely */ |
| 138 | extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ | 140 | extern void sendevent(Window w, Atom a, long value); /* send synthetic event to w */ |
| 139 | extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ | 141 | extern int xerror(Display *dsply, XErrorEvent *ee); /* dwm's X error handler */ |
