JUCE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Public Member Functions | Public Attributes | List of all members
Desktop::Displays Class Reference

Classes

struct  Display
 Contains details about a display device. More...
 

Public Member Functions

const DisplaygetMainDisplay () const noexcept
 Returns the display which acts as user's main screen.
 
const DisplaygetDisplayContaining (Point< int > position) const noexcept
 Returns the display which contains a particular point.
 
RectangleList< int > getRectangleList (bool userAreasOnly) const
 Returns a RectangleList made up of all the displays.
 
Rectangle< int > getTotalBounds (bool userAreasOnly) const
 Returns the smallest bounding box which contains all the displays.
 

Public Attributes

Array< Displaydisplays
 The list of displays.
 

Member Function Documentation

const Display& Desktop::Displays::getMainDisplay ( ) const
noexcept

Returns the display which acts as user's main screen.

const Display& Desktop::Displays::getDisplayContaining ( Point< int >  position) const
noexcept

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.

Member Data Documentation

Array<Display> Desktop::Displays::displays

The list of displays.


The documentation for this class was generated from the following file: