diff options
author | Anselm R Garbe <anselm@garbe.us> | 2013-06-19 19:35:33 +0200 |
---|---|---|
committer | Anselm R Garbe <anselm@garbe.us> | 2013-06-19 19:35:33 +0200 |
commit | 33a74489f036600bb80a3c34fcdf10e5f9dafae1 (patch) | |
tree | 306a8a62e6600fe571da72ae52d18ad68dd6cd43 /drw.h | |
parent | 5364697914fd4272fc1a6494b4fc522d2935427a (diff) | |
download | dwm-33a74489f036600bb80a3c34fcdf10e5f9dafae1.tar.gz |
applied Julian's enum approach,
however renamed theme into scheme resp. Theme into ClrScheme
Diffstat (limited to 'drw.h')
-rw-r--r-- | drw.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,7 +20,7 @@ typedef struct { Clr *fg; Clr *bg; Clr *border; -} Theme; +} ClrScheme; typedef struct { unsigned int w, h; @@ -29,7 +29,7 @@ typedef struct { Window root; Drawable drawable; GC gc; - Theme *theme; + ClrScheme *scheme; Fnt *font; } Drw; @@ -59,7 +59,7 @@ void drw_cur_free(Drw *drw, Cur *cursor); /* Drawing context manipulation */ void drw_setfont(Drw *drw, Fnt *font); -void drw_settheme(Drw *drw, Theme *theme); +void drw_setscheme(Drw *drw, ClrScheme *scheme); /* Drawing functions */ void drw_rect(Drw *drw, int x, int y, unsigned int w, unsigned int h, int filled, int empty, int invert); |