fl global screen functions declared in <FL/Fl.H>
More...
Functions |
static int | Fl::h () |
| Returns the height of the screen work area in pixels.
|
static int | Fl::screen_count () |
| Gets the number of available screens.
|
static void | Fl::screen_dpi (float &h, float &v, int n=0) |
| Gets the screen resolution in dots-per-inch for the given screen.
|
static void | Fl::screen_xywh (int &X, int &Y, int &W, int &H) |
| Gets the bounding box of a screen that contains the mouse pointer.
|
static void | Fl::screen_xywh (int &X, int &Y, int &W, int &H, int mx, int my) |
| Gets the bounding box of a screen that contains the specified screen position mx , my .
|
static void | Fl::screen_xywh (int &X, int &Y, int &W, int &H, int n) |
| Gets the screen bounding rect for the given screen.
|
static void | Fl::screen_xywh (int &X, int &Y, int &W, int &H, int mx, int my, int mw, int mh) |
| Gets the screen bounding rect for the screen which intersects the most with the rectangle defined by mx , my , mw , mh .
|
static int | Fl::w () |
| Returns the width of the screen work area in pixels.
|
static int | Fl::x () |
| Returns the origin of the current screen work area, where 0 indicates the left side of the screen.
|
static int | Fl::y () |
| Returns the origin of the current screen work area, where 0 indicates the top edge of the screen.
|
Detailed Description
fl global screen functions declared in <FL/Fl.H>
Function Documentation
Returns the height of the screen work area in pixels.
void Fl::screen_dpi |
( |
float & |
h, |
|
|
float & |
v, |
|
|
int |
n = 0 |
|
) |
| |
|
static |
static void Fl::screen_xywh |
( |
int & |
X, |
|
|
int & |
Y, |
|
|
int & |
W, |
|
|
int & |
H |
|
) |
| |
|
inlinestatic |
void Fl::screen_xywh |
( |
int & |
X, |
|
|
int & |
Y, |
|
|
int & |
W, |
|
|
int & |
H, |
|
|
int |
mx, |
|
|
int |
my |
|
) |
| |
|
static |
Gets the bounding box of a screen that contains the specified screen position mx
, my
.
- Parameters:
-
[out] | X,Y,W,H | the corresponding screen bounding box |
[in] | mx,my | the absolute screen position |
void Fl::screen_xywh |
( |
int & |
X, |
|
|
int & |
Y, |
|
|
int & |
W, |
|
|
int & |
H, |
|
|
int |
n |
|
) |
| |
|
static |
void Fl::screen_xywh |
( |
int & |
X, |
|
|
int & |
Y, |
|
|
int & |
W, |
|
|
int & |
H, |
|
|
int |
mx, |
|
|
int |
my, |
|
|
int |
mw, |
|
|
int |
mh |
|
) |
| |
|
static |
Gets the screen bounding rect for the screen which intersects the most with the rectangle defined by mx
, my
, mw
, mh
.
- Parameters:
-
[out] | X,Y,W,H | the corresponding screen bounding box |
[in] | mx,my,mw,mh | the rectangle to search for intersection with |
- See also:
- void screen_xywh(int &X, int &Y, int &W, int &H, int n)
Returns the width of the screen work area in pixels.
Returns the origin of the current screen work area, where 0 indicates the left side of the screen.
Returns the origin of the current screen work area, where 0 indicates the top edge of the screen.