aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/container.cpp
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-09-15 17:06:34 +0800
committer杨宇千 <crupest@outlook.com>2019-09-15 17:06:34 +0800
commit574e69fb379cd54fc3034fe45a155e770435b97d (patch)
tree96fab3a1db66fa974a135e777778e56a861745bc /src/ui/controls/container.cpp
parent55d98d3259e9f3e184ad6323d1d49d298bd1723b (diff)
downloadcru-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.cpp13
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