summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2023-01-08 21:25:21 -0700
committercflip <cflip@cflip.net>2023-01-08 21:25:21 -0700
commitc2e8836f592db9cf28111182ea40f1268c758933 (patch)
tree1dce79a44616787778a0223eb4e4dcfccf7f2e83 /window.h
parent76010f7b97e6b71db6e123d28c91f997ff56945c (diff)
Connect the window and font code to the editor's main function
Diffstat (limited to 'window.h')
-rw-r--r--window.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/window.h b/window.h
new file mode 100644
index 0000000..0175838
--- /dev/null
+++ b/window.h
@@ -0,0 +1,11 @@
+#ifndef _WINDOW_H
+#define _WINDOW_H
+
+struct editor_state;
+
+void window_init();
+int window_handle_event();
+void window_redraw(struct editor_state *editor);
+void window_destroy();
+
+#endif