aboutsummaryrefslogtreecommitdiff
path: root/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'draw.h')
-rw-r--r--draw.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/draw.h b/draw.h
index 2bbb3c2..3e83146 100644
--- a/draw.h
+++ b/draw.h
@@ -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);