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

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

namespace cru::ui::controls {
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