Author: mordante
Date: Thu Aug 14 21:05:34 2008
New Revision: 28592
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28592&view=rev
Log:
Fix some comments, which were at the wrong function.
Modified:
trunk/src/gui/widgets/widget.hpp
Modified: trunk/src/gui/widgets/widget.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/widget.hpp?rev=28592&r1=28591&r2=28592&view=diff
==============================================================================
--- trunk/src/gui/widgets/widget.hpp (original)
+++ trunk/src/gui/widgets/widget.hpp Thu Aug 14 21:05:34 2008
@@ -75,22 +75,22 @@
virtual void mouse_move(tevent_handler& /*event_handler*/) {}
/**
+ * The mouse 'hovers' over a widget.
+ *
+ * If the mouse remains a while without moving over a widget this event
can
+ * be send. This event can be used to show a tooltip.
+ *
+ * @param event_handler The event handler that send the event.
+ */
+ virtual void mouse_hover(tevent_handler& /*event_handler*/) {}
+
+ /**
* The mouse 'leaves' the widget.
*
* If the mouse is moves off the widget this event is called. When the
leave
* occurs while the mouse is captured the event will be send when still
of
* the widget if the capture is released. This event is only triggered
when
* wants_mouse_hover_ is set.
- *
- * @param event_handler The event handler that send the event.
- */
- virtual void mouse_hover(tevent_handler& /*event_handler*/) {}
-
- /**
- * The mouse 'hovers' over a widget.
- *
- * If the mouse remains a while without moving over a widget this event
can
- * be send. This event can be used to show a tooltip.
*
* @param event_handler The event handler that send the event.
*/
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits