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

#include "cru/base/Base.h"

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

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

 public:
  std::string GetControlType() const final { return std::string(control_type); }
};
}  // namespace cru::ui::controls