aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/Popup.h
blob: 7c57d2573784b1ea73b19c0eb446313920f0ded2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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 std::string_view kControlType = "Popup";

  explicit Popup(Control* attached_control = nullptr);

  CRU_DELETE_COPY(Popup)
  CRU_DELETE_MOVE(Popup)

  ~Popup() override;

  std::string GetControlType() const override { return std::string(kControlType); }
};
}  // namespace cru::ui::controls