From 456ca63c02848f59f17435996fb8c563bced1b5a Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 27 Jun 2020 23:08:41 +0800 Subject: ... --- include/cru/ui/render/LayoutRenderObject.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/cru/ui/render/LayoutRenderObject.hpp') 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& GetChildLayoutDataList() const { + return this->child_layout_data_; + } + ChildLayoutData* GetChildLayoutData(Index position) { Expects(position >= 0 && position < static_cast(child_layout_data_.size())); -- cgit v1.2.3