aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/Window.h
blob: a1a97f872662a1e836b7bea5415e27148badacfb (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 "cru/platform/gui/Base.h"
#include "cru/ui/controls/RootControl.h"

#include "cru/common/Base.h"

namespace cru::ui::controls {
class CRU_UI_API Window final : public RootControl {
 public:
  static constexpr StringView control_type = u"Window";

 public:
  explicit Window(Control* attached_control = nullptr);
  CRU_DELETE_COPY(Window)
  CRU_DELETE_MOVE(Window)
  ~Window() override;

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