diff options
author | crupest <crupest@outlook.com> | 2019-04-04 17:12:25 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-04-04 17:12:25 +0800 |
commit | a410e2048db6f5ef6fb50e401a59b4b98b979050 (patch) | |
tree | 500680c63b074e8c3eefd756fd6a1d0f41840c1a /src/ui/control.cpp | |
parent | fcaf471275a67d718887430ee63a53890915c4c7 (diff) | |
download | cru-a410e2048db6f5ef6fb50e401a59b4b98b979050.tar.gz cru-a410e2048db6f5ef6fb50e401a59b4b98b979050.tar.bz2 cru-a410e2048db6f5ef6fb50e401a59b4b98b979050.zip |
...
Diffstat (limited to 'src/ui/control.cpp')
-rw-r--r-- | src/ui/control.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ui/control.cpp b/src/ui/control.cpp index 318d591a..c5d02d40 100644 --- a/src/ui/control.cpp +++ b/src/ui/control.cpp @@ -1,7 +1,9 @@ -#include "control.hpp" +#include "cru/ui/control.hpp" #include "window.hpp" +#include <cassert> + namespace cru::ui { void Control::_SetParent(Control* parent) { const auto old_parent = GetParent(); @@ -61,7 +63,7 @@ void Control::OnAttachToWindow(Window* window) {} void Control::OnDetachToWindow(Window* window) {} -void Control::OnMouseClickBegin(MouseButton button) {} +void Control::OnMouseClickBegin(platform::MouseButton button) {} -void Control::OnMouseClickEnd(MouseButton button) {} +void Control::OnMouseClickEnd(platform::MouseButton button) {} } // namespace cru::ui |