diff options
author | crupest <crupest@outlook.com> | 2020-06-27 23:08:41 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-27 23:08:41 +0800 |
commit | 456ca63c02848f59f17435996fb8c563bced1b5a (patch) | |
tree | a48053472e278afbf4a5eedd6992378fc6562adf /include/cru/ui/render/LayoutRenderObject.hpp | |
parent | 2f7e9a90b0cdf15be105a52ea1f77584a3f102e4 (diff) | |
download | cru-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.hpp | 4 |
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())); |