mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 16:46:52 +08:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
+2
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user