From fe3ed50e1da2bb4ced3172e86a3b244a9c3d4f1c Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Fri, 17 Nov 2023 17:48:03 +0100 Subject: Add buttons and update draw --- src/draw.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/draw.h') diff --git a/src/draw.h b/src/draw.h index 3e83146..481c080 100644 --- a/src/draw.h +++ b/src/draw.h @@ -1,6 +1,7 @@ #ifndef COMET_DRAW_H #define COMET_DRAW_H +#include #include #include @@ -15,10 +16,13 @@ struct Drawable { int right_pad; int top_pad; double alpha; + GList *btns; }; Drawable *draw_create(const char *font, int height, int left_pad, int right_pad, int top_pad, double alpha); +void draw_set_buttons(Drawable *draw, GList *btns); + void draw_paint(Drawable *draw, Window *win); void draw_destroy(Drawable *draw); -- cgit v1.2.3