aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-25 12:59:45 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-25 12:59:45 +0200
commitb55bd709ee6d0b09c141bf5ffe0647866e0374ef (patch)
tree50bb320829520b71e8280a298af162b0ba1508a2 /dwm.h
parent9833610356f7ce033589680fddf87000e5788774 (diff)
downloaddwm-b55bd709ee6d0b09c141bf5ffe0647866e0374ef.tar.zst
new color stuff/new rendering stuff
Diffstat (limited to 'dwm.h')
-rw-r--r--dwm.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/dwm.h b/dwm.h
index 9d2d959..c23c86c 100644
--- a/dwm.h
+++ b/dwm.h
@@ -23,6 +23,9 @@ enum { WMProtocols, WMDelete, WMLast };
/* cursor */
enum { CurNormal, CurResize, CurMove, CurLast };
+/* color */
+enum { ColFG, ColBG, ColLast };
+
/* window corners */
typedef enum { TopLeft, TopRight, BotLeft, BotRight } Corner;
@@ -36,9 +39,9 @@ typedef struct {
typedef struct { /* draw context */
int x, y, w, h;
- unsigned long bg;
- unsigned long fg;
- unsigned long border;
+ unsigned long norm[ColLast];
+ unsigned long sel[ColLast];
+ unsigned long status[ColLast];
Drawable drawable;
Fnt font;
GC gc;
@@ -66,7 +69,7 @@ struct Client {
extern const char *tags[];
extern char stext[1024];
extern int screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
-extern unsigned int ntags, numlockmask;
+extern unsigned int ntags, numlockmask, modew;
extern void (*handler[LASTEvent])(XEvent *);
extern void (*arrange)(Arg *);
extern Atom wmatom[WMLast], netatom[NetLast];