diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-01-14 23:56:53 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-01-14 23:56:53 +0100 |
| commit | f1e35c16b65f888b8e74ad97aec2b2747a3e4dce (patch) | |
| tree | 5f45368640221e6d947ce9817be73ce8f63e7a60 /include/window.hpp | |
| parent | df861ee241cbe91f6319ea593fd630d160b135b8 (diff) | |
Windows window
Diffstat (limited to 'include/window.hpp')
| -rw-r--r-- | include/window.hpp | 8 |
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 |
