summaryrefslogtreecommitdiff
path: root/src/screen_xywh.cxx
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2008-10-04 14:15:16 +0000
committerFabien Costantini <fabien@onepost.net>2008-10-04 14:15:16 +0000
commitbfac12dbfad45c400fc77fedb0dbeca315b0960f (patch)
tree790dc4c23978b1cef96ea482414528356fa5a616 /src/screen_xywh.cxx
parent0eb1ac797f7bb6aa66b19eb7a0383609ae2bc925 (diff)
Completed and corrected Fl and related Fl_Window documentation, added cross references, especially to back compatibility functions to the new ones.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6372 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/screen_xywh.cxx')
-rw-r--r--src/screen_xywh.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/screen_xywh.cxx b/src/screen_xywh.cxx
index bd31be0fd..529e74c4b 100644
--- a/src/screen_xywh.cxx
+++ b/src/screen_xywh.cxx
@@ -151,12 +151,10 @@ int Fl::screen_count() {
}
/**
- Gets the bounding box of a screen. The first form gets the
- bounding box for the screen the mouse pointer is in. The second
- form gets the bounding box for the screen that contains the
- specified coordinates. The last form gets the bounding box for
- the numbered screen, where n is a number from 0 to the
- number of screens less 1.
+ Gets the bounding box of a screen
+ where the mouse pointer is in.
+ \param[out] X,Y,W,H the corresponding screen bounding box
+ \param[in] mx, my the mouse absolute screen position
*/
void Fl::screen_xywh(int &X, int &Y, int &W, int &H, int mx, int my) {
if (!num_screens) screen_init();
@@ -222,8 +220,10 @@ void Fl::screen_xywh(int &X, int &Y, int &W, int &H, int mx, int my) {
}
/**
- Returns the screen bounding rect for the given screen.
- See void screen_xywh(int &x, int &y, int &w, int &h, int mx, int my)
+ Gets the screen bounding rect for the given screen.
+ \param[out] X,Y,W,H the corresponding screen bounding box
+ \param[in] n the screen number (0 to Fl::screen_count() - 1)
+ \see void screen_xywh(int &x, int &y, int &w, int &h, int mx, int my)
*/
void Fl::screen_xywh(int &X, int &Y, int &W, int &H, int n) {
if (!num_screens) screen_init();