aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/Window.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-28 20:51:55 +0800
committercrupest <crupest@outlook.com>2020-10-28 20:51:55 +0800
commit6ce70ed4b08c7db20b6b384be26c7fc4e11c98de (patch)
tree208ca80036c186d18e0ec25491881a760075ae83 /include/cru/ui/Window.hpp
parent8f27c928c2ce4f3617c9113582a93da10721114c (diff)
downloadcru-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.hpp6
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