aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/render/RenderObject.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/render/RenderObject.hpp
parent8f27c928c2ce4f3617c9113582a93da10721114c (diff)
downloadcru-6ce70ed4b08c7db20b6b384be26c7fc4e11c98de.tar.gz
cru-6ce70ed4b08c7db20b6b384be26c7fc4e11c98de.tar.bz2
cru-6ce70ed4b08c7db20b6b384be26c7fc4e11c98de.zip
...
Diffstat (limited to 'include/cru/ui/render/RenderObject.hpp')
-rw-r--r--include/cru/ui/render/RenderObject.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cru/ui/render/RenderObject.hpp b/include/cru/ui/render/RenderObject.hpp
index 57251e3a..f052221e 100644
--- a/include/cru/ui/render/RenderObject.hpp
+++ b/include/cru/ui/render/RenderObject.hpp
@@ -64,7 +64,7 @@ class RenderObject : public Object {
Control* GetAttachedControl() const { return control_; }
void SetAttachedControl(Control* new_control) { control_ = new_control; }
- UiHost* GetUiHost() const { return ui_host_; }
+ WindowHost* GetWindowHost() const { return ui_host_; }
RenderObject* GetParent() const { return parent_; }
@@ -198,11 +198,11 @@ class RenderObject : public Object {
private:
void SetParent(RenderObject* new_parent);
- void SetRenderHostRecursive(UiHost* host);
+ void SetRenderHostRecursive(WindowHost* host);
private:
Control* control_ = nullptr;
- UiHost* ui_host_ = nullptr;
+ WindowHost* ui_host_ = nullptr;
RenderObject* parent_ = nullptr;
std::vector<RenderObject*> children_{};