aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/render/LayoutRenderObject.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/render/LayoutRenderObject.hpp')
-rw-r--r--include/cru/ui/render/LayoutRenderObject.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cru/ui/render/LayoutRenderObject.hpp b/include/cru/ui/render/LayoutRenderObject.hpp
index e6ca9dc0..f99eb4ca 100644
--- a/include/cru/ui/render/LayoutRenderObject.hpp
+++ b/include/cru/ui/render/LayoutRenderObject.hpp
@@ -18,6 +18,10 @@ class LayoutRenderObject : public RenderObject {
~LayoutRenderObject() override = default;
+ const std::vector<ChildLayoutData>& GetChildLayoutDataList() const {
+ return this->child_layout_data_;
+ }
+
ChildLayoutData* GetChildLayoutData(Index position) {
Expects(position >= 0 &&
position < static_cast<Index>(child_layout_data_.size()));