summaryrefslogtreecommitdiffstats
path: root/drw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drw.h')
-rw-r--r--drw.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drw.h b/drw.h
index 764b9e3..a5f34e0 100644
--- a/drw.h
+++ b/drw.h
@@ -20,7 +20,7 @@ typedef struct {
20 Clr *fg; 20 Clr *fg;
21 Clr *bg; 21 Clr *bg;
22 Clr *border; 22 Clr *border;
23} Theme; 23} ClrScheme;
24 24
25typedef struct { 25typedef struct {
26 unsigned int w, h; 26 unsigned int w, h;
@@ -29,7 +29,7 @@ typedef struct {
29 Window root; 29 Window root;
30 Drawable drawable; 30 Drawable drawable;
31 GC gc; 31 GC gc;
32 Theme *theme; 32 ClrScheme *scheme;
33 Fnt *font; 33 Fnt *font;
34} Drw; 34} Drw;
35 35
@@ -59,7 +59,7 @@ void drw_cur_free(Drw *drw, Cur *cursor);
59 59
60/* Drawing context manipulation */ 60/* Drawing context manipulation */
61void drw_setfont(Drw *drw, Fnt *font); 61void drw_setfont(Drw *drw, Fnt *font);
62void drw_settheme(Drw *drw, Theme *theme); 62void drw_setscheme(Drw *drw, ClrScheme *scheme);
63 63
64/* Drawing functions */ 64/* Drawing functions */
65void drw_rect(Drw *drw, int x, int y, unsigned int w, unsigned int h, int filled, int empty, int invert); 65void drw_rect(Drw *drw, int x, int y, unsigned int w, unsigned int h, int filled, int empty, int invert);