summary refs log tree commit diff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2022-10-04 01:18:19 +0200
committerMel <einebeere@gmail.com>2022-10-04 01:18:19 +0200
commit0631fb666d2a28a6eb9b8d1578675699b41a5de6 (patch)
tree1db9b88d9c11074864f6959d32960eb6c54d3c4b /src/Window.hpp
parent75f3941579c756655fc7d4d29e7b92b6eae436b7 (diff)
downloadmeowcraft-0631fb666d2a28a6eb9b8d1578675699b41a5de6.tar.zst
meowcraft-0631fb666d2a28a6eb9b8d1578675699b41a5de6.zip
Cube Rendering
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index acd39fe..5a2b640 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -12,6 +12,8 @@ public:
 
     GLFWwindow* get();
 
+    void on_size_change(void (* callback)(GLFWwindow*, int, int));
+
     void close();
     void start_frame();
 
@@ -19,6 +21,7 @@ public:
     bool should_close();
 private:
     GLFWwindow* m_window;
+
 };
 
 }
\ No newline at end of file