More detailed documentation of Fl::screen_xywh()
This commit is contained in:
parent
4d2d3cf76d
commit
c47cbf4402
@ -57,7 +57,7 @@
|
|||||||
}
|
}
|
||||||
delete printer;
|
delete printer;
|
||||||
\endcode
|
\endcode
|
||||||
<p>Recommend method to refresh GUI while printing :
|
<p>Recommended method to refresh GUI while printing :
|
||||||
\code
|
\code
|
||||||
printer->begin_job(0);
|
printer->begin_job(0);
|
||||||
……
|
……
|
||||||
|
@ -94,6 +94,8 @@ void Fl::screen_work_area(int &X, int &Y, int &W, int &H, int mx, int my)
|
|||||||
\param[out] X,Y,W,H the work area bounding box
|
\param[out] X,Y,W,H the work area bounding box
|
||||||
\param[in] n the screen number (0 to Fl::screen_count() - 1)
|
\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)
|
\see void screen_xywh(int &x, int &y, int &w, int &h, int mx, int my)
|
||||||
|
\note Like all quantities accessible via public APIs of FLTK, values of \p X,Y,W,H
|
||||||
|
are given in FLTK units, that is, in drawing units divided by the scaling factor of screen \p n.
|
||||||
*/
|
*/
|
||||||
void Fl::screen_work_area(int &X, int &Y, int &W, int &H, int n)
|
void Fl::screen_work_area(int &X, int &Y, int &W, int &H, int n)
|
||||||
{
|
{
|
||||||
@ -106,6 +108,8 @@ void Fl::screen_work_area(int &X, int &Y, int &W, int &H, int n)
|
|||||||
Under Windows, Mac OS X, and the Gnome desktop, screen #0 contains the menubar/taskbar
|
Under Windows, Mac OS X, and the Gnome desktop, screen #0 contains the menubar/taskbar
|
||||||
\param[out] X,Y,W,H the corresponding screen bounding box
|
\param[out] X,Y,W,H the corresponding screen bounding box
|
||||||
\param[in] n the screen number (0 to Fl::screen_count() - 1)
|
\param[in] n the screen number (0 to Fl::screen_count() - 1)
|
||||||
|
\note Like all quantities accessible via public APIs of FLTK, values of \p X,Y,W,H
|
||||||
|
are given in FLTK units, that is, in drawing units divided by the scaling factor of screen \p n.
|
||||||
\see void screen_xywh(int &x, int &y, int &w, int &h, int mx, int my)
|
\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)
|
void Fl::screen_xywh(int &X, int &Y, int &W, int &H, int n)
|
||||||
|
Loading…
Reference in New Issue
Block a user