diff options
| -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(); |
