Functions | |
static int | Fl::h () |
Returns the height of the screen in pixels. | |
static int | Fl::screen_count () |
Gets the number of available screens. | |
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) |
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) |
Gets the bounding box of a screen that contains the mouse pointer. | |
static int | Fl::w () |
Returns the width of the screen in pixels. | |
static int | Fl::x () |
Returns the origin of the current screen, where 0 indicates the left side of the screen. | |
static int | Fl::y () |
Returns the origin of the current screen, where 0 indicates the top edge of the screen. |
static int Fl::h | ( | ) | [static, inherited] |
Returns the height of the screen in pixels.
void Fl::screen_xywh | ( | int & | X, | |
int & | Y, | |||
int & | W, | |||
int & | H, | |||
int | n | |||
) | [static, inherited] |
Gets the screen bounding rect for the given screen.
[out] | X,Y,W,H | the corresponding screen bounding box |
[in] | n | the screen number (0 to Fl::screen_count() - 1) |
void Fl::screen_xywh | ( | int & | X, | |
int & | Y, | |||
int & | W, | |||
int & | H, | |||
int | mx, | |||
int | my | |||
) | [static, inherited] |
Gets the bounding box of a screen that contains the specified screen position mx
, my
.
[out] | X,Y,W,H | the corresponding screen bounding box |
[in] | mx,my | the absolute screen position |
static void Fl::screen_xywh | ( | int & | X, | |
int & | Y, | |||
int & | W, | |||
int & | H | |||
) | [inline, static, inherited] |
Gets the bounding box of a screen that contains the mouse pointer.
[out] | X,Y,W,H | the corresponding screen bounding box |
static int Fl::w | ( | ) | [static, inherited] |
Returns the width of the screen in pixels.
static int Fl::x | ( | ) | [static, inherited] |
Returns the origin of the current screen, where 0 indicates the left side of the screen.
static int Fl::y | ( | ) | [static, inherited] |
Returns the origin of the current screen, where 0 indicates the top edge of the screen.