From 72ee43e9470c6fdbc6ed7ff92b85dfa5062c5762 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 6 Jan 2015 18:51:37 +0000 Subject: Added separate event handlers for mouse button clicks and mouse wheel movement. --- src/ui/listview.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/listview.h') diff --git a/src/ui/listview.h b/src/ui/listview.h index 7678b8b..616233d 100644 --- a/src/ui/listview.h +++ b/src/ui/listview.h @@ -79,9 +79,9 @@ protected: virtual bool on_emit(Widget *sender, const Event event, void *data); /** - * @brief keypress event handler + * @brief mouse hweel event handler * */ - virtual bool on_keypress(const int key, const unsigned int modifier); + virtual bool on_mousewheel(const math::Vector2f & direction); private: float listview_scroll; -- cgit v1.2.3