From f1e35c16b65f888b8e74ad97aec2b2747a3e4dce Mon Sep 17 00:00:00 2001 From: ladevieq Date: Thu, 14 Jan 2021 23:56:53 +0100 Subject: Windows window --- include/window.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/window.hpp') 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 @@ -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 -- cgit v1.3