diff options
author | Stijn Buys <ingar@osirion.org> | 2016-07-28 21:20:12 +0200 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2016-07-28 21:20:12 +0200 |
commit | abdccafa2db707acd833ef35372c1e24853f8902 (patch) | |
tree | 5c724f7bfa5854369393d9ba64e9687d85f1ac35 /src | |
parent | d237d6783277692011999609cef4a60d7f1d9888 (diff) |
Updated header documentation.
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/widget.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h index a3994af..14bea7b 100644 --- a/src/ui/widget.h +++ b/src/ui/widget.h @@ -371,12 +371,16 @@ protected: /// called when the mouse enters the widget virtual void on_mouseover(const math::Vector2f &cursor); - /// called when a mouse button is pressed + /** + * @brief mouse button press event handler + * */ virtual bool on_mousepress(const unsigned int button); - - /// called when a mouse button is released + + /** + * @brief mouse button release event handler + * */ virtual bool on_mouserelease(const unsigned int button); - + /// called when the scrollwheel is used virtual bool on_mousewheel(const math::Vector2f & direction); |