Author: manolo
Date: 2012-05-23 07:10:42 -0700 (Wed, 23 May 2012)
New Revision: 9543
Log:
Fixed Doxygen doc of fltk3::event_widget(), event_x() and event_y() functions.
Modified:
branches/branch-3.0/include/fltk3/run.h
branches/branch-3.0/src/fltk3/run.cxx
Modified: branches/branch-3.0/include/fltk3/run.h
===================================================================
--- branches/branch-3.0/include/fltk3/run.h 2012-05-21 16:19:35 UTC (rev
9542)
+++ branches/branch-3.0/include/fltk3/run.h 2012-05-23 14:10:42 UTC (rev
9543)
@@ -499,27 +499,23 @@
*/
inline int event() {return e_number;}
/**
- Returns the mouse position of the event relative to the fltk3::Window
+ Returns the mouse position of the event relative to the fltk3::Widget
it was passed to.
+ \sa fltk3::event_widget()
*/
inline int event_x() {return e_x;}
/**
- Returns the mouse position of the event relative to the fltk3::Window
+ Returns the mouse position of the event relative to the fltk3::Widget
it was passed to.
+ \sa fltk3::event_widget()
*/
inline int event_y() {return e_y;}
/**
- Returns the mouse position on the screen of the event. To find the
- absolute position of an fltk3::Window on the screen, use the
- difference between event_x_root(),event_y_root() and
- event_x(),event_y().
+ Returns the mouse position on the screen of the event.
*/
inline int event_x_root() {return e_x_root;}
/**
- Returns the mouse position on the screen of the event. To find the
- absolute position of an fltk3::Window on the screen, use the
- difference between event_x_root(),event_y_root() and
- event_x(),event_y().
+ Returns the mouse position on the screen of the event.
*/
inline int event_y_root() {return e_y_root;}
/**
@@ -695,7 +691,13 @@
*/
inline int event_length() {return e_length;}
- Widget* event_widget();
+ /** Widget to which mouse event coordinates relate.
+
+ Functions fltk3::event_x() and fltk3::event_y() return values that are
+ offsets from the top-left of the widget returned by this function.
+ */
+ inline Widget* event_widget() {return e_widget;}
+
int compose(int &del);
void compose_reset();
Modified: branches/branch-3.0/src/fltk3/run.cxx
===================================================================
--- branches/branch-3.0/src/fltk3/run.cxx 2012-05-21 16:19:35 UTC (rev
9542)
+++ branches/branch-3.0/src/fltk3/run.cxx 2012-05-23 14:10:42 UTC (rev
9543)
@@ -2017,14 +2017,6 @@
fltk3::release_widget_pointer(wp_); // remove pointer from watch list
}
-/** Widget to which mouse event coordinates relate.
-
- Functions fltk3::event_x() and fltk3::event_y() return values that are
- offsets from the top-left of the widget returned by this function.
- Outside of event-handling contexts, this function returns NULL.
- */
-fltk3::Widget* fltk3::event_widget() {return fltk3::e_widget;}
-
//
// End of "$Id$".
//
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit