summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 2e6a60b..9027712 100644
--- a/src/common.h
+++ b/src/common.h
@@ -35,6 +35,19 @@
typedef GLFWwindow* honey_window;
+typedef struct {
+ honey_window window;
+ int width;
+ int height;
+ bool fullscreen;
+} honey_window_information;
+
+extern int honey_window_info_ref;
+extern int honey_window_resize_callback_ref;
+extern int honey_window_resize_callback_data_ref;
+extern int honey_window_focus_callback_ref;
+extern int honey_window_focus_callback_data_ref;
+
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
typedef enum {