aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win/gui/Window.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-12 23:01:40 +0800
committercrupest <crupest@outlook.com>2022-01-12 23:01:40 +0800
commitab63f82a383804fe1787c0daf2b5d98512fa7398 (patch)
tree89681fca2f762e7e3ca264bba56d24a975e4661c /include/cru/win/gui/Window.hpp
parentc409caa8873e25699fc10ae435e8d123685f28f3 (diff)
downloadcru-ab63f82a383804fe1787c0daf2b5d98512fa7398.tar.gz
cru-ab63f82a383804fe1787c0daf2b5d98512fa7398.tar.bz2
cru-ab63f82a383804fe1787c0daf2b5d98512fa7398.zip
...
Diffstat (limited to 'include/cru/win/gui/Window.hpp')
-rw-r--r--include/cru/win/gui/Window.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/win/gui/Window.hpp b/include/cru/win/gui/Window.hpp
index 7a982da7..41eac5fa 100644
--- a/include/cru/win/gui/Window.hpp
+++ b/include/cru/win/gui/Window.hpp
@@ -173,8 +173,8 @@ class WinNativeWindow : public WinNativeResource, public virtual INativeWindow {
WinUiApplication* application_;
WindowStyleFlag style_flag_{};
- WindowVisibilityType visibility_{};
- Rect client_rect_;
+ WindowVisibilityType visibility_ = WindowVisibilityType::Hide;
+ Rect client_rect_{100, 100, 400, 300};
HWND hwnd_ = nullptr;
WinNativeWindow* parent_window_ = nullptr;