diff options
author | crupest <crupest@outlook.com> | 2018-11-27 17:53:21 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-11-27 17:53:21 +0800 |
commit | 7ccb08ac09a83e81a822712b712dc0473c9b23cf (patch) | |
tree | a5757aca9903a5bcddf6b480d57030fd27b2ba1f /src/ui/window.hpp | |
parent | 7e00386fc0895f8b08cd64ef737cb6c618955635 (diff) | |
download | cru-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.hpp | 3 |
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); |