aboutsummaryrefslogtreecommitdiff
path: root/src/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw.h')
-rw-r--r--src/draw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/draw.h b/src/draw.h
index 0b1ac95..c9de967 100644
--- a/src/draw.h
+++ b/src/draw.h
@@ -15,6 +15,7 @@ typedef struct {
typedef struct {
PangoFontDescription *desc;
+ PangoContext *ctx;
int height;
int width;
int left_pad;
@@ -42,6 +43,7 @@ typedef struct {
Drawer *draw_create(const char *font, int height, int left_pad, int right_pad, int top_pad);
+// TODO: Rework the api so that we don't need to pass the window
void draw_compute_layout(Drawer *draw, Window *win, GList *btns);
void draw_paint(Drawer *draw, Window *win);