diff options
author | crupest <crupest@outlook.com> | 2022-01-29 22:09:29 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-29 22:09:29 +0800 |
commit | 592f3f3f25f00232234399f4c5f51318a3fa49d2 (patch) | |
tree | 9ff928062aab8598bbbd00aa243d234e80aa6406 /include/cru/ui/controls/StackLayout.hpp | |
parent | a2c2089c8d97b4910d4287c14c82e20d33366c24 (diff) | |
download | cru-592f3f3f25f00232234399f4c5f51318a3fa49d2.tar.gz cru-592f3f3f25f00232234399f4c5f51318a3fa49d2.tar.bz2 cru-592f3f3f25f00232234399f4c5f51318a3fa49d2.zip |
...
Diffstat (limited to 'include/cru/ui/controls/StackLayout.hpp')
-rw-r--r-- | include/cru/ui/controls/StackLayout.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cru/ui/controls/StackLayout.hpp b/include/cru/ui/controls/StackLayout.hpp index 657cadc6..5d90dfda 100644 --- a/include/cru/ui/controls/StackLayout.hpp +++ b/include/cru/ui/controls/StackLayout.hpp @@ -1,5 +1,6 @@ #pragma once #include "LayoutControl.hpp" +#include "cru/ui/Base.hpp" namespace cru::ui::controls { class CRU_UI_API StackLayout : public LayoutControl { @@ -21,6 +22,9 @@ class CRU_UI_API StackLayout : public LayoutControl { render::RenderObject* GetRenderObject() const override; + const StackChildLayoutData& GetChildLayoutData(Index position); + void SetChildLayoutData(Index position, StackChildLayoutData data); + private: std::shared_ptr<render::StackLayoutRenderObject> render_object_; }; |