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

#include "../render/BorderRenderObject.h"

namespace cru::ui::controls {
class CRU_UI_API Container
    : public SingleChildControl<render::BorderRenderObject> {
  static constexpr StringView kControlType = u"Container";

 protected:
  Container();

 public:
  CRU_DELETE_COPY(Container)
  CRU_DELETE_MOVE(Container)

  ~Container() override;

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