aboutsummaryrefslogtreecommitdiff
path: root/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'state.h')
-rw-r--r--state.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/state.h b/state.h
new file mode 100644
index 0000000..5c5528d
--- /dev/null
+++ b/state.h
@@ -0,0 +1,18 @@
+#ifndef COMET_STATE_H
+#define COMET_STATE_H
+
+#include "window.h"
+#include "draw.h"
+
+typedef struct {
+ Window *win;
+ Drawable *draw;
+} State;
+
+State *state_create(Window *win, Drawable *draw);
+
+void state_destroy(State *state);
+
+#endif
+
+// vim: ts=4 sw=4 et