aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/TreeView.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/TreeView.h')
-rw-r--r--include/cru/ui/controls/TreeView.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/cru/ui/controls/TreeView.h b/include/cru/ui/controls/TreeView.h
index 62b1c69b..08b62c1a 100644
--- a/include/cru/ui/controls/TreeView.h
+++ b/include/cru/ui/controls/TreeView.h
@@ -54,17 +54,11 @@ class CRU_UI_API TreeView : public Control {
using Control::AddChild;
public:
- constexpr static std::string_view kControlType = "TreeView";
+ constexpr static auto kControlType = "TreeView";
TreeView();
- CRU_DELETE_COPY(TreeView)
- CRU_DELETE_MOVE(TreeView)
- ~TreeView() override;
- std::string GetControlType() const override {
- return std::string(kControlType);
- }
- render::TreeRenderObject* GetRenderObject() { return &render_object_; }
+ render::TreeRenderObject* GetRenderObject() override { return &render_object_; }
TreeViewItem* GetRootItem() { return &root_item_; }