diff options
author | 杨宇千 <crupest@outlook.com> | 2019-09-15 17:06:34 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-09-15 17:06:34 +0800 |
commit | 574e69fb379cd54fc3034fe45a155e770435b97d (patch) | |
tree | 96fab3a1db66fa974a135e777778e56a861745bc /src/ui/controls/container.cpp | |
parent | 55d98d3259e9f3e184ad6323d1d49d298bd1723b (diff) | |
download | cru-574e69fb379cd54fc3034fe45a155e770435b97d.tar.gz cru-574e69fb379cd54fc3034fe45a155e770435b97d.tar.bz2 cru-574e69fb379cd54fc3034fe45a155e770435b97d.zip |
...
Diffstat (limited to 'src/ui/controls/container.cpp')
-rw-r--r-- | src/ui/controls/container.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ui/controls/container.cpp b/src/ui/controls/container.cpp new file mode 100644 index 00000000..7ebee4b4 --- /dev/null +++ b/src/ui/controls/container.cpp @@ -0,0 +1,13 @@ +#include "cru/ui/controls/container.hpp" + +#include "cru/platform/graph/graph_factory.hpp" +#include "cru/ui/render/border_render_object.hpp" + +namespace cru::ui::controls { +Container::Container() { + render_object_.reset(new render::BorderRenderObject); + render_object_->SetBorderEnabled(false); +} + +Container::~Container() {} +} // namespace cru::ui::controls |