Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/scrollpane.h')
-rw-r--r--src/ui/scrollpane.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ui/scrollpane.h b/src/ui/scrollpane.h
index 8fe8395..eac2b17 100644
--- a/src/ui/scrollpane.h
+++ b/src/ui/scrollpane.h
@@ -58,8 +58,11 @@ protected:
/// draw the scroll pane
virtual void draw();
- /// key event handler provides mouse scrolling
- virtual bool on_keypress(const int key, const unsigned int modifier);
+
+ /**
+ * @brief mousehweel event handler
+ * */
+ virtual bool on_mousewheel(const math::Vector2f & direction);
private:
ui::Text &scrollpane_text;