diff options
Diffstat (limited to 'draw.h')
| -rw-r--r-- | draw.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -6,15 +6,16 @@ #include "window.h" -// TODO: Make opaque -typedef struct { +typedef struct Drawable Drawable; + +struct Drawable { PangoFontDescription *desc; int height; int left_pad; int right_pad; int top_pad; double alpha; -} Drawable; +}; Drawable *draw_create(const char *font, int height, int left_pad, int right_pad, int top_pad, double alpha); |
