aboutsummaryrefslogtreecommitdiffstats
path: root/include/window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/window.hpp')
-rw-r--r--include/window.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/window.hpp b/include/window.hpp
index 4b3d37b..44d6501 100644
--- a/include/window.hpp
+++ b/include/window.hpp
@@ -24,6 +24,8 @@ class window {
uint32_t width;
uint32_t height;
+
+ bool isOpen;
};
#elif defined(WINDOWS)
#include <Windows.h>
@@ -32,8 +34,14 @@ class window {
public:
window(uint32_t width, uint32_t height);
+ static LRESULT CALLBACK window_procedure(HWND hwnd, UINT umsg, WPARAM wparam, LPARAM lparam);
+
+ HWND win_handle;
+
uint32_t width;
uint32_t height;
+
+ bool isOpen;
};
#endif