From 33a74489f036600bb80a3c34fcdf10e5f9dafae1 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Wed, 19 Jun 2013 19:35:33 +0200 Subject: applied Julian's enum approach, however renamed theme into scheme resp. Theme into ClrScheme --- drw.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'drw.h') diff --git a/drw.h b/drw.h index 764b9e3..a5f34e0 100644 --- a/drw.h +++ b/drw.h @@ -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); -- cgit v1.2.3-13-gbd6f