Functions for finding our information about the environment.
More...
Detailed Description
Functions for finding our information about the environment.
Function Documentation
void jmonitor_getdisplayrect |
( |
long |
workarea, |
|
|
long |
displayindex, |
|
|
t_rect * |
rect | |
|
) |
| | |
Return the t_rect for a given display.
- Parameters:
-
| workarea | Set workarea non-zero to clip out things like dock / task bar. |
| displayindex | The index number for a monitor. The primary monitor has an index of 0. |
| rect | The address of a valid t_rect whose values will be filled-in upon return. |
void jmonitor_getdisplayrect_foralldisplays |
( |
long |
workarea, |
|
|
t_rect * |
rect | |
|
) |
| | |
Return a union of all display rects.
- Parameters:
-
| workarea | Set workarea non-zero to clip out things like dock / task bar. |
| rect | The address of a valid t_rect whose values will be filled-in upon return. |
void jmonitor_getdisplayrect_forpoint |
( |
long |
workarea, |
|
|
t_pt |
pt, |
|
|
t_rect * |
rect | |
|
) |
| | |
Return the t_rect for the display on which a point exists.
- Parameters:
-
| workarea | Set workarea non-zero to clip out things like dock / task bar. |
| pt | A point, for which the monitor will be determined and the rect recturned. |
| rect | The address of a valid t_rect whose values will be filled-in upon return. |
long jmonitor_getnumdisplays |
( |
|
) |
|
Return the number of monitors on which can be displayed.
- Returns:
- The number of monitors.