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/state.h | |
| parent | 032af5aeb9bd80b933672ca4b5360c33baa8d42e (diff) | |
Add buttons and update draw
Diffstat (limited to 'src/state.h')
| -rw-r--r-- | src/state.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/state.h b/src/state.h index 696b657..38cc63f 100644 --- a/src/state.h +++ b/src/state.h @@ -1,18 +1,24 @@ #ifndef COMET_STATE_H #define COMET_STATE_H +#include <glib.h> + #include "window.h" #include "draw.h" +#include "button.h" typedef struct State State; struct State { - Window *win; - Drawable *draw; + Window *win; + Drawable *draw; + GList *btns; }; State *state_create(Window *win, Drawable *draw); +void state_add_button(State *state, Button *btn); + void state_destroy(State *state); #endif |
