More detailed documentation of Fl::screen_xywh()

This commit is contained in:
ManoloFLTK 2023-07-10 09:18:26 +02:00
parent 4d2d3cf76d
commit c47cbf4402
2 changed files with 5 additions and 1 deletions

View File

@ -57,7 +57,7 @@
}
delete printer;
\endcode
<p>Recommend method to refresh GUI while printing :
<p>Recommended method to refresh GUI while printing :
\code
printer->begin_job(0);

View File

@ -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[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)
\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)
{
@ -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
\param[out] X,Y,W,H the corresponding screen bounding box
\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)
*/
void Fl::screen_xywh(int &X, int &Y, int &W, int &H, int n)