diff options
author | crupest <crupest@outlook.com> | 2020-10-28 20:51:55 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-28 20:51:55 +0800 |
commit | 6ce70ed4b08c7db20b6b384be26c7fc4e11c98de (patch) | |
tree | 208ca80036c186d18e0ec25491881a760075ae83 /include/cru/ui/Window.hpp | |
parent | 8f27c928c2ce4f3617c9113582a93da10721114c (diff) | |
download | cru-6ce70ed4b08c7db20b6b384be26c7fc4e11c98de.tar.gz cru-6ce70ed4b08c7db20b6b384be26c7fc4e11c98de.tar.bz2 cru-6ce70ed4b08c7db20b6b384be26c7fc4e11c98de.zip |
...
Diffstat (limited to 'include/cru/ui/Window.hpp')
-rw-r--r-- | include/cru/ui/Window.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cru/ui/Window.hpp b/include/cru/ui/Window.hpp index 450ea97b..5ea24855 100644 --- a/include/cru/ui/Window.hpp +++ b/include/cru/ui/Window.hpp @@ -3,7 +3,7 @@ namespace cru::ui { class Window final : public ContentControl { - friend UiHost; + friend WindowHost; public: static constexpr std::u16string_view control_type = u"Window"; @@ -32,9 +32,9 @@ class Window final : public ContentControl { void OnChildChanged(Control* old_child, Control* new_child) override; private: - std::unique_ptr<UiHost> managed_ui_host_; + std::unique_ptr<WindowHost> managed_ui_host_; - // UiHost is responsible to take care of lifetime of this. + // WindowHost is responsible to take care of lifetime of this. render::WindowRenderObject* render_object_; }; } // namespace cru::ui |