blob: efc099f7fa43775f2b204ac60164573bc84abf71 (
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
27
28
29
30
31
|
#pragma once
#include "../content_control.hpp"
namespace cru::ui::render {
class BorderRenderObject;
}
namespace cru::ui::controls {
class Container : public ContentControl {
static constexpr std::string_view control_type = "Container";
protected:
Container();
public:
CRU_DELETE_COPY(Container)
CRU_DELETE_MOVE(Container)
~Container() override;
public:
std::string_view GetControlType() const final {
return control_type;
}
render::RenderObject* GetRenderObject() const override;
private:
std::unique_ptr<render::BorderRenderObject> render_object_;
};
} // namespace cru::ui::controls
|