aboutsummaryrefslogtreecommitdiff
path: root/include/cru
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-03-18 22:40:20 +0800
committercrupest <crupest@outlook.com>2020-03-18 22:40:20 +0800
commitbfd277f9f621931a1c6ea05ea2cd6d04455cfe67 (patch)
tree0fed9243fac2efd78d4aa522ebf483abf7df637d /include/cru
parent477155d6fccc8eafadb6d7f4c468c9141d7d4e92 (diff)
downloadcru-bfd277f9f621931a1c6ea05ea2cd6d04455cfe67.tar.gz
cru-bfd277f9f621931a1c6ea05ea2cd6d04455cfe67.tar.bz2
cru-bfd277f9f621931a1c6ea05ea2cd6d04455cfe67.zip
...
Diffstat (limited to 'include/cru')
-rw-r--r--include/cru/ui/controls/container.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cru/ui/controls/container.hpp b/include/cru/ui/controls/container.hpp
index d6aa5635..7d4c0d23 100644
--- a/include/cru/ui/controls/container.hpp
+++ b/include/cru/ui/controls/container.hpp
@@ -19,6 +19,9 @@ class Container : public ContentControl {
render::RenderObject* GetRenderObject() const override;
+ protected:
+ void OnChildChanged(Control* old_child, Control* new_child) override;
+
private:
std::unique_ptr<render::BorderRenderObject> render_object_;
};