separating drawsquare from drawtext, made drawtext extern

This commit is contained in:
Anselm R. Garbe
2007-02-20 13:40:31 +01:00
parent 355beb53f0
commit f4d15b1fec
2 changed files with 65 additions and 49 deletions

2
dwm.h
View File

@ -131,6 +131,8 @@ 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 */