diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-17 17:48:03 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-17 17:48:03 +0100 |
| commit | fe3ed50e1da2bb4ced3172e86a3b244a9c3d4f1c (patch) | |
| tree | d78e5535144910508eb0c629253f386f16dcffe5 /src/draw.h | |
| parent | 032af5aeb9bd80b933672ca4b5360c33baa8d42e (diff) | |
Add buttons and update draw
Diffstat (limited to 'src/draw.h')
| -rw-r--r-- | src/draw.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ #ifndef COMET_DRAW_H #define COMET_DRAW_H +#include <glib.h> #include <pango/pango-font.h> #include <pango/pango-types.h> @@ -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); |
