dwm-meillo

diff dwm.h @ 353:8a06efe5b563

new color stuff/new rendering stuff
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 25 Aug 2006 12:59:45 +0200
parents 5a8bdc3b37cb
children ba6c55e1b9b2
line diff
     1.1 --- a/dwm.h	Fri Aug 25 07:54:49 2006 +0200
     1.2 +++ b/dwm.h	Fri Aug 25 12:59:45 2006 +0200
     1.3 @@ -23,6 +23,9 @@
     1.4  /* cursor */
     1.5  enum { CurNormal, CurResize, CurMove, CurLast };
     1.6  
     1.7 +/* color */
     1.8 +enum { ColFG, ColBG, ColLast };
     1.9 +
    1.10  /* window corners */
    1.11  typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner;
    1.12  
    1.13 @@ -36,9 +39,9 @@
    1.14  
    1.15  typedef struct { /* draw context */
    1.16  	int x, y, w, h;
    1.17 -	unsigned long bg;
    1.18 -	unsigned long fg;
    1.19 -	unsigned long border;
    1.20 +	unsigned long norm[ColLast];
    1.21 +	unsigned long sel[ColLast];
    1.22 +	unsigned long status[ColLast];
    1.23  	Drawable drawable;
    1.24  	Fnt font;
    1.25  	GC gc;
    1.26 @@ -66,7 +69,7 @@
    1.27  extern const char *tags[];
    1.28  extern char stext[1024];
    1.29  extern int screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
    1.30 -extern unsigned int ntags, numlockmask;
    1.31 +extern unsigned int ntags, numlockmask, modew;
    1.32  extern void (*handler[LASTEvent])(XEvent *);
    1.33  extern void (*arrange)(Arg *);
    1.34  extern Atom wmatom[WMLast], netatom[NetLast];