aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/render/LayoutRenderObject.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-27 23:08:41 +0800
committercrupest <crupest@outlook.com>2020-06-27 23:08:41 +0800
commit456ca63c02848f59f17435996fb8c563bced1b5a (patch)
treea48053472e278afbf4a5eedd6992378fc6562adf /include/cru/ui/render/LayoutRenderObject.hpp
parent2f7e9a90b0cdf15be105a52ea1f77584a3f102e4 (diff)
downloadcru-456ca63c02848f59f17435996fb8c563bced1b5a.tar.gz
cru-456ca63c02848f59f17435996fb8c563bced1b5a.tar.bz2
cru-456ca63c02848f59f17435996fb8c563bced1b5a.zip
...
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()));