blob: 28e0e7964bc3a45c117518e7fcebc449cbcf5761 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#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";
static StackLayout* Create() { return new StackLayout(); }
protected:
StackLayout();
public:
CRU_DELETE_COPY(StackLayout)
CRU_DELETE_MOVE(StackLayout)
~StackLayout() override;
String GetControlType() const final { return kControlType.ToString(); }
};
} // namespace cru::ui::controls
|