Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2016-07-28 21:20:12 +0200
committerStijn Buys <ingar@osirion.org>2016-07-28 21:20:12 +0200
commitabdccafa2db707acd833ef35372c1e24853f8902 (patch)
tree5c724f7bfa5854369393d9ba64e9687d85f1ac35 /src/ui/widget.h
parentd237d6783277692011999609cef4a60d7f1d9888 (diff)
Updated header documentation.
Diffstat (limited to 'src/ui/widget.h')
-rw-r--r--src/ui/widget.h12
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);