diff options
author | crupest <crupest@outlook.com> | 2019-05-23 23:07:27 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-05-23 23:07:27 +0800 |
commit | 9c2ece689c580f6857f50a81c09d423e6fed4a83 (patch) | |
tree | fb3e01fb00fbdbe76d052ee4e46392032848c884 /include/cru/ui/window.hpp | |
parent | 691918e9e25b4f7e4731ff8d0e563c6316160254 (diff) | |
download | cru-9c2ece689c580f6857f50a81c09d423e6fed4a83.tar.gz cru-9c2ece689c580f6857f50a81c09d423e6fed4a83.tar.bz2 cru-9c2ece689c580f6857f50a81c09d423e6fed4a83.zip |
...
Diffstat (limited to 'include/cru/ui/window.hpp')
-rw-r--r-- | include/cru/ui/window.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/cru/ui/window.hpp b/include/cru/ui/window.hpp index 0a81e2e1..140ac531 100644 --- a/include/cru/ui/window.hpp +++ b/include/cru/ui/window.hpp @@ -4,6 +4,7 @@ #include "event/ui_event.hpp" #include <memory> +#include <vector> namespace cru::platform::native { struct NativeWindow; @@ -82,7 +83,7 @@ class Window final : public ContentControl { private: platform::native::NativeWindow* native_window_; - EventRevokerGuard event_revoker_guard_; + std::vector<EventRevokerGuard> event_revoker_guards_; std::shared_ptr<render::WindowRenderObject> render_object_; |