diff options
Diffstat (limited to 'src/drw/drw.h')
| -rw-r--r-- | src/drw/drw.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/drw/drw.h b/src/drw/drw.h index e645d43..88308ab 100644 --- a/src/drw/drw.h +++ b/src/drw/drw.h | |||
| @@ -1,29 +1,29 @@ | |||
| 1 | /* See LICENSE file for copyright and license details. */ | 1 | /* See LICENSE file for copyright and license details. */ |
| 2 | 2 | ||
| 3 | typedef struct { | 3 | typedef struct { |
| 4 | Cursor cursor; | 4 | Cursor cursor; |
| 5 | } Cur; | 5 | } Cur; |
| 6 | 6 | ||
| 7 | typedef struct Fnt { | 7 | typedef struct Fnt { |
| 8 | Display *dpy; | 8 | Display *dpy; |
| 9 | unsigned int h; | 9 | unsigned int h; |
| 10 | XftFont *xfont; | 10 | XftFont *xfont; |
| 11 | FcPattern *pattern; | 11 | FcPattern *pattern; |
| 12 | struct Fnt *next; | 12 | struct Fnt *next; |
| 13 | } Fnt; | 13 | } Fnt; |
| 14 | 14 | ||
| 15 | enum { ColFg, ColBg, ColBorder }; /* Clr scheme index */ | 15 | enum { ColFg, ColBg, ColBorder }; /* Clr scheme index */ |
| 16 | typedef XftColor Clr; | 16 | typedef XftColor Clr; |
| 17 | 17 | ||
| 18 | typedef struct { | 18 | typedef struct { |
| 19 | unsigned int w, h; | 19 | unsigned int w, h; |
| 20 | Display *dpy; | 20 | Display *dpy; |
| 21 | int screen; | 21 | int screen; |
| 22 | Window root; | 22 | Window root; |
| 23 | Drawable drawable; | 23 | Drawable drawable; |
| 24 | GC gc; | 24 | GC gc; |
| 25 | Clr *scheme; | 25 | Clr *scheme; |
| 26 | Fnt *fonts; | 26 | Fnt *fonts; |
| 27 | } Drw; | 27 | } Drw; |
| 28 | 28 | ||
| 29 | /* Drawable abstraction */ | 29 | /* Drawable abstraction */ |
