added draw.c again (except getcolor and setfont which are helpers in main.c)

This commit is contained in:
Anselm R. Garbe
2007-02-20 13:46:21 +01:00
parent f4d15b1fec
commit e7508783e8
4 changed files with 144 additions and 133 deletions

10
dwm.h
View File

@ -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 */