From ab92cac18652f72be12f68b5a96095ba8eb5afdf Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Fri, 17 Nov 2023 15:42:49 +0100 Subject: Reorganize project structure --- src/state.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/state.h (limited to 'src/state.h') diff --git a/src/state.h b/src/state.h new file mode 100644 index 0000000..696b657 --- /dev/null +++ b/src/state.h @@ -0,0 +1,20 @@ +#ifndef COMET_STATE_H +#define COMET_STATE_H + +#include "window.h" +#include "draw.h" + +typedef struct State State; + +struct State { + Window *win; + Drawable *draw; +}; + +State *state_create(Window *win, Drawable *draw); + +void state_destroy(State *state); + +#endif + +// vim: ts=4 sw=4 et -- cgit v1.2.3