diff options
Diffstat (limited to '')
| -rw-r--r-- | dwm.h | 16 |
1 files changed, 7 insertions, 9 deletions
| @@ -42,20 +42,18 @@ enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ | |||
| 42 | enum { ColBorder, ColFG, ColBG, ColLast }; /* color */ | 42 | enum { ColBorder, ColFG, ColBG, ColLast }; /* color */ |
| 43 | 43 | ||
| 44 | typedef struct { | 44 | typedef struct { |
| 45 | int ascent; | ||
| 46 | int descent; | ||
| 47 | int height; | ||
| 48 | XFontSet set; | ||
| 49 | XFontStruct *xfont; | ||
| 50 | } Fnt; | ||
| 51 | |||
| 52 | typedef struct { | ||
| 53 | int x, y, w, h; | 45 | int x, y, w, h; |
| 54 | unsigned long norm[ColLast]; | 46 | unsigned long norm[ColLast]; |
| 55 | unsigned long sel[ColLast]; | 47 | unsigned long sel[ColLast]; |
| 56 | Drawable drawable; | 48 | Drawable drawable; |
| 57 | Fnt font; | ||
| 58 | GC gc; | 49 | GC gc; |
| 50 | struct Fnt { | ||
| 51 | int ascent; | ||
| 52 | int descent; | ||
| 53 | int height; | ||
| 54 | XFontSet set; | ||
| 55 | XFontStruct *xfont; | ||
| 56 | } font; | ||
| 59 | } DC; /* draw context */ | 57 | } DC; /* draw context */ |
| 60 | 58 | ||
| 61 | typedef struct Client Client; | 59 | typedef struct Client Client; |
