aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/Container.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-09 23:53:18 +0800
committercrupest <crupest@outlook.com>2022-02-09 23:53:18 +0800
commitb8863c403a44c1c7ac35f1a1da92bbf3c8858552 (patch)
tree7e38f029f0657e6c1210a53f1cba331cdb8feab6 /src/ui/controls/Container.cpp
parentd18b5453d7ffd19667ee8ac125b34ab5328f0dc3 (diff)
downloadcru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.tar.gz
cru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.tar.bz2
cru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.zip
...
Diffstat (limited to 'src/ui/controls/Container.cpp')
-rw-r--r--src/ui/controls/Container.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/ui/controls/Container.cpp b/src/ui/controls/Container.cpp
index 92ac3847..7b0c10a9 100644
--- a/src/ui/controls/Container.cpp
+++ b/src/ui/controls/Container.cpp
@@ -5,16 +5,7 @@
#include "cru/ui/render/RenderObject.h"
namespace cru::ui::controls {
-Container::Container() {
- render_object_ = std::make_unique<render::BorderRenderObject>();
- render_object_->SetBorderEnabled(false);
- render_object_->SetAttachedControl(this);
- SetContainerRenderObject(render_object_.get());
-}
+Container::Container() {}
Container::~Container() = default;
-
-render::RenderObject* Container::GetRenderObject() const {
- return render_object_.get();
-}
} // namespace cru::ui::controls