Browse Source

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
pull/49/head
Fabien Costantini 17 years ago
parent
commit
7fc0d4903d
  1. 7
      FL/Fl.H
  2. 4
      src/screen_xywh.cxx

7
FL/Fl.H

@ -604,7 +604,12 @@ public: @@ -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);
}

4
src/screen_xywh.cxx

@ -152,9 +152,9 @@ int Fl::screen_count() { @@ -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();

Loading…
Cancel
Save