diff options
author | crupest <crupest@outlook.com> | 2022-02-09 23:53:18 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-09 23:53:18 +0800 |
commit | b8863c403a44c1c7ac35f1a1da92bbf3c8858552 (patch) | |
tree | 7e38f029f0657e6c1210a53f1cba331cdb8feab6 /src/ui/controls/ScrollView.cpp | |
parent | d18b5453d7ffd19667ee8ac125b34ab5328f0dc3 (diff) | |
download | cru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.tar.gz cru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.tar.bz2 cru-b8863c403a44c1c7ac35f1a1da92bbf3c8858552.zip |
...
Diffstat (limited to 'src/ui/controls/ScrollView.cpp')
-rw-r--r-- | src/ui/controls/ScrollView.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/ui/controls/ScrollView.cpp b/src/ui/controls/ScrollView.cpp index e87ede4b..f3b3750f 100644 --- a/src/ui/controls/ScrollView.cpp +++ b/src/ui/controls/ScrollView.cpp @@ -1,19 +1,7 @@ #include "cru/ui/controls/ScrollView.h" -#include "cru/ui/render/RenderObject.h" -#include "cru/ui/render/ScrollRenderObject.h" - -#include <memory> - namespace cru::ui::controls { -ScrollView::ScrollView() { - scroll_render_object_ = std::make_unique<render::ScrollRenderObject>(); - scroll_render_object_->SetAttachedControl(this); - - SetContainerRenderObject(scroll_render_object_.get()); -} +ScrollView::ScrollView() {} -render::RenderObject* ScrollView::GetRenderObject() const { - return scroll_render_object_.get(); -} +ScrollView::~ScrollView() {} } // namespace cru::ui::controls |