diff options
| author | Fabien Costantini <fabien@onepost.net> | 2008-10-04 15:27:12 +0000 |
|---|---|---|
| committer | Fabien Costantini <fabien@onepost.net> | 2008-10-04 15:27:12 +0000 |
| commit | 7fc0d4903ddf8c10ce1b87880bc3832c405e713d (patch) | |
| tree | bb0e7379588e8707990faf15a848615f5a78fd2e | |
| parent | bfac12dbfad45c400fc77fedb0dbeca315b0960f (diff) | |
Corrected comment inversion in fl screen_xywh() api.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/Fl.H | 7 | ||||
| -rw-r--r-- | src/screen_xywh.cxx | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -604,7 +604,12 @@ public: // multi-head support: static int screen_count(); - /** See void screen_xywh(int &x, int &y, int &w, int &h, int mx, int my) */ + /** + Gets the bounding box of a screen + that contains the mouse pointer in. + \param[out] X,Y,W,H the corresponding screen bounding box + \see void screen_xywh(int &x, int &y, int &w, int &h, int mx, int my) + */ static void screen_xywh(int &X, int &Y, int &W, int &H) { screen_xywh(X, Y, W, H, e_x_root, e_y_root); } diff --git a/src/screen_xywh.cxx b/src/screen_xywh.cxx index 529e74c4b..1b04cbfc6 100644 --- a/src/screen_xywh.cxx +++ b/src/screen_xywh.cxx @@ -152,9 +152,9 @@ int Fl::screen_count() { /** Gets the bounding box of a screen - where the mouse pointer is in. + that contains the specified screen position \a mx, \a my \param[out] X,Y,W,H the corresponding screen bounding box - \param[in] mx, my the mouse absolute screen position + \param[in] mx, my the absolute screen position */ void Fl::screen_xywh(int &X, int &Y, int &W, int &H, int mx, int my) { if (!num_screens) screen_init(); |
