aboutsummaryrefslogtreecommitdiff
path: root/src/ui/window.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-11-27 17:53:21 +0800
committercrupest <crupest@outlook.com>2018-11-27 17:53:21 +0800
commit7ccb08ac09a83e81a822712b712dc0473c9b23cf (patch)
treea5757aca9903a5bcddf6b480d57030fd27b2ba1f /src/ui/window.hpp
parent7e00386fc0895f8b08cd64ef737cb6c618955635 (diff)
downloadcru-7ccb08ac09a83e81a822712b712dc0473c9b23cf.tar.gz
cru-7ccb08ac09a83e81a822712b712dc0473c9b23cf.tar.bz2
cru-7ccb08ac09a83e81a822712b712dc0473c9b23cf.zip
Add mouse wheel support.
Diffstat (limited to 'src/ui/window.hpp')
-rw-r--r--src/ui/window.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/window.hpp b/src/ui/window.hpp
index 7c82bf89..e82aa585 100644
--- a/src/ui/window.hpp
+++ b/src/ui/window.hpp
@@ -270,7 +270,8 @@ namespace cru::ui
void OnMouseLeaveInternal();
void OnMouseDownInternal(MouseButton button, POINT point);
void OnMouseUpInternal(MouseButton button, POINT point);
-
+
+ void OnMouseWheelInternal(short delta, POINT point);
void OnKeyDownInternal(int virtual_code);
void OnKeyUpInternal(int virtual_code);
void OnCharInternal(wchar_t c);