aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/StackLayout.h
blob: cbf35cbe2a61103374a00af5aabe7077b6154f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once
#include "LayoutControl.h"

#include "../render/StackLayoutRenderObject.h"

namespace cru::ui::controls {
using render::StackChildLayoutData;

class CRU_UI_API StackLayout
    : public LayoutControl<render::StackLayoutRenderObject> {
 public:
  static constexpr StringView kControlType = u"StackLayout";

  StackLayout();
  CRU_DELETE_COPY(StackLayout)
  CRU_DELETE_MOVE(StackLayout)
  ~StackLayout() override;

  String GetControlType() const final { return kControlType.ToString(); }
};
}  // namespace cru::ui::controls