diff options
Diffstat (limited to 'drw.h')
| -rw-r--r-- | drw.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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 | ||
| 25 | typedef struct { | 25 | typedef 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 */ |
| 61 | void drw_setfont(Drw *drw, Fnt *font); | 61 | void drw_setfont(Drw *drw, Fnt *font); |
| 62 | void drw_settheme(Drw *drw, Theme *theme); | 62 | void drw_setscheme(Drw *drw, ClrScheme *scheme); |
| 63 | 63 | ||
| 64 | /* Drawing functions */ | 64 | /* Drawing functions */ |
| 65 | void drw_rect(Drw *drw, int x, int y, unsigned int w, unsigned int h, int filled, int empty, int invert); | 65 | void drw_rect(Drw *drw, int x, int y, unsigned int w, unsigned int h, int filled, int empty, int invert); |
