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 6851e87..6a14ad1 100644
--- a/src/draw.h
+++ b/src/draw.h
@@ -48,6 +48,8 @@ void draw_paint(Drawer *draw, Window *win);
// 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_compute_text_size(Drawer *draw, const char *text, int *text_w, int *text_h);
+
void draw_set_background(Drawer *draw, Color background);
void draw_set_separator(Drawer *draw, int sep);