aboutsummaryrefslogtreecommitdiff
path: root/src/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw.h')
-rw-r--r--src/draw.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/draw.h b/src/draw.h
index db56946..f68b4ab 100644
--- a/src/draw.h
+++ b/src/draw.h
@@ -19,7 +19,6 @@ typedef struct {
int left_pad;
int right_pad;
int top_pad;
- int line_w;
Color background;
GList *layouts;
} Drawer;
@@ -30,10 +29,12 @@ typedef struct {
int width, height;
int text_w, text_h;
int x_pad, y_pad;
+ int line_w;
PangoLayout *pl;
+ GList *children;
} Layout;
-Drawer *draw_create(const char *font, int height, int left_pad, int right_pad, int top_pad, int line_w);
+Drawer *draw_create(const char *font, int height, int left_pad, int right_pad, int top_pad);
void draw_compute_layout(Drawer *draw, Window *win, GList *btns);