|
JUCE
|
Manages details about connected display devices. More...
Classes | |
| struct | Display |
| Contains details about a display device. More... | |
Public Member Functions | |
| const Display & | getMainDisplay () const noexcept |
| Returns the display which acts as user's main screen. More... | |
| const Display & | getDisplayContaining (Point< int > position) const noexcept |
| Returns the display which contains a particular point. More... | |
| RectangleList< int > | getRectangleList (bool userAreasOnly) const |
| Returns a RectangleList made up of all the displays. More... | |
| Rectangle< int > | getTotalBounds (bool userAreasOnly) const |
| Returns the smallest bounding box which contains all the displays. More... | |
Public Attributes | |
| Array< Display > | displays |
| The list of displays. More... | |
Manages details about connected display devices.
|
noexcept |
Returns the display which acts as user's main screen.
Returns the display which contains a particular point.
If the point lies outside all the displays, the nearest one will be returned.
| RectangleList<int> Desktop::Displays::getRectangleList | ( | bool | userAreasOnly | ) | const |
Returns a RectangleList made up of all the displays.
| Rectangle<int> Desktop::Displays::getTotalBounds | ( | bool | userAreasOnly | ) | const |
Returns the smallest bounding box which contains all the displays.
1.8.13