aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/StackLayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/controls/StackLayout.cpp')
-rw-r--r--src/ui/controls/StackLayout.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/controls/StackLayout.cpp b/src/ui/controls/StackLayout.cpp
index 89968571..667e6755 100644
--- a/src/ui/controls/StackLayout.cpp
+++ b/src/ui/controls/StackLayout.cpp
@@ -17,4 +17,13 @@ StackLayout::~StackLayout() = default;
render::RenderObject* StackLayout::GetRenderObject() const {
return render_object_.get();
}
+
+const StackChildLayoutData& StackLayout::GetChildLayoutData(Index position) {
+ return render_object_->GetChildLayoutData(position);
+}
+
+void StackLayout::SetChildLayoutData(Index position,
+ StackChildLayoutData data) {
+ render_object_->SetChildLayoutData(position, std::move(data));
+}
} // namespace cru::ui::controls