aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'state.h')
-rw-r--r--state.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/state.h b/state.h
index 5c5528d..696b657 100644
--- a/state.h
+++ b/state.h
@@ -4,10 +4,12 @@
#include "window.h"
#include "draw.h"
-typedef struct {
+typedef struct State State;
+
+struct State {
Window *win;
Drawable *draw;
-} State;
+};
State *state_create(Window *win, Drawable *draw);