diff options
author | crupest <crupest@outlook.com> | 2020-10-29 00:16:48 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-29 00:16:48 +0800 |
commit | c5125e9034a5b05700ed41aee30f43476cb2c7f2 (patch) | |
tree | 4056188cda8cdf5e2a2c891ab32289d70d327d2d /include/cru/ui/WindowHost.hpp | |
parent | 52594324b302f6e9da10ac01fe803196371bb2d9 (diff) | |
download | cru-c5125e9034a5b05700ed41aee30f43476cb2c7f2.tar.gz cru-c5125e9034a5b05700ed41aee30f43476cb2c7f2.tar.bz2 cru-c5125e9034a5b05700ed41aee30f43476cb2c7f2.zip |
...
Diffstat (limited to 'include/cru/ui/WindowHost.hpp')
-rw-r--r-- | include/cru/ui/WindowHost.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/cru/ui/WindowHost.hpp b/include/cru/ui/WindowHost.hpp index 8efb505d..c3221dcf 100644 --- a/include/cru/ui/WindowHost.hpp +++ b/include/cru/ui/WindowHost.hpp @@ -120,10 +120,10 @@ class WindowHost : public Object { bool no_enter); private: - Control* root_control_; - render::RenderObject* root_render_object_; + Control* root_control_ = nullptr; + render::RenderObject* root_render_object_ = nullptr; - platform::native::INativeWindow* native_window_; + platform::native::INativeWindow* native_window_ = nullptr; bool need_layout_ = false; platform::native::TimerAutoCanceler relayout_timer_canceler_; @@ -136,7 +136,7 @@ class WindowHost : public Object { Control* focus_control_; - Control* mouse_captured_control_; + Control* mouse_captured_control_ = nullptr; bool layout_prefer_to_fill_window_ = true; }; |