diff options
author | crupest <crupest@outlook.com> | 2019-12-13 22:25:29 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-12-13 22:25:29 +0800 |
commit | 3d3290a60d328b6d2a6d3fc4d8d7483583ed13aa (patch) | |
tree | 3e2b75cfb70e96d4b5f4a0b5cb19a8c3cd20cf53 /src/ui/control.cpp | |
parent | 9110574bb51e9e2959842a7641f598d34c3cd847 (diff) | |
download | cru-3d3290a60d328b6d2a6d3fc4d8d7483583ed13aa.tar.gz cru-3d3290a60d328b6d2a6d3fc4d8d7483583ed13aa.tar.bz2 cru-3d3290a60d328b6d2a6d3fc4d8d7483583ed13aa.zip |
...
Diffstat (limited to 'src/ui/control.cpp')
-rw-r--r-- | src/ui/control.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ui/control.cpp b/src/ui/control.cpp index 5f760939..cde602b7 100644 --- a/src/ui/control.cpp +++ b/src/ui/control.cpp @@ -105,9 +105,12 @@ void Control::SetCursor(std::shared_ptr<ICursor> cursor) { } } -void Control::OnParentChanged(Control* old_parent, Control* new_parent) {} +void Control::OnParentChanged(Control* old_parent, Control* new_parent) { + CRU_UNUSED(old_parent) + CRU_UNUSED(new_parent) +} -void Control::OnAttachToWindow(Window* window) {} +void Control::OnAttachToWindow(Window* window) { CRU_UNUSED(window) } -void Control::OnDetachToWindow(Window* window) {} +void Control::OnDetachToWindow(Window* window) { CRU_UNUSED(window) } } // namespace cru::ui |