diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-17 12:54:55 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-17 12:54:55 +0800 |
| commit | 0f8f98b9005803ab154b43dcad0db1f292072a4d (patch) | |
| tree | 0a43d5a9c4e3b747ad955fc30a143aa07ab5888d /include/cru/ui/components/Component.h | |
| parent | b68f9f52a3ecdd8e379dd60ac1c1366e76695464 (diff) | |
| download | cru-0f8f98b9005803ab154b43dcad0db1f292072a4d.tar.gz cru-0f8f98b9005803ab154b43dcad0db1f292072a4d.tar.bz2 cru-0f8f98b9005803ab154b43dcad0db1f292072a4d.zip | |
Refactor window host.
Diffstat (limited to 'include/cru/ui/components/Component.h')
| -rw-r--r-- | include/cru/ui/components/Component.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/cru/ui/components/Component.h b/include/cru/ui/components/Component.h index 6d31ae79..d8966a89 100644 --- a/include/cru/ui/components/Component.h +++ b/include/cru/ui/components/Component.h @@ -10,9 +10,6 @@ namespace cru::ui::components { */ class CRU_UI_API Component : public Object, public DeleteLaterImpl { public: - Component() = default; - ~Component() = default; - virtual controls::Control* GetRootControl() = 0; bool IsDeleteByParent() const { return delete_by_parent_; } @@ -21,9 +18,6 @@ class CRU_UI_API Component : public Object, public DeleteLaterImpl { } void DeleteIfDeleteByParent(bool delete_later = true); - protected: - void OnPrepareDelete() override; - private: bool delete_by_parent_ = false; }; |
