blob: 271ad4b7230ce595fa5c4985aeca4f887d26ab62 (
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
26
|
#pragma once
#include "RootControl.h"
#include "cru/platform/gui/Base.h"
#include <memory>
namespace cru::ui::controls {
class CRU_UI_API Popup : public RootControl {
public:
static constexpr StringView kControlType = u"Popup";
static Popup* Create(Control* attached_control = nullptr) {
return new Popup(attached_control);
}
explicit Popup(Control* attached_control = nullptr);
CRU_DELETE_COPY(Popup)
CRU_DELETE_MOVE(Popup)
~Popup() override;
String GetControlType() const override { return kControlType.ToString(); }
};
} // namespace cru::ui::controls
|