openshot-audio  0.1.7
Classes | Public Member Functions | Public Attributes | Friends | List of all members
juce::Desktop::Displays Class Reference

#include <juce_gui_basics.h>

Classes

struct  Display
 

Public Member Functions

const DisplaygetMainDisplay () const noexcept
 
const DisplaygetDisplayContaining (Point< int > position) const noexcept
 
RectangleList< intgetRectangleList (bool userAreasOnly) const
 
Rectangle< intgetTotalBounds (bool userAreasOnly) const
 
void refresh ()
 

Public Attributes

Array< Displaydisplays
 

Friends

class Desktop
 
struct ContainerDeletePolicy< Displays >
 

Member Function Documentation

const Desktop::Displays::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.

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

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

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.

void Desktop::Displays::refresh ( )

Friends And Related Function Documentation

friend struct ContainerDeletePolicy< Displays >
friend
friend class Desktop
friend

Member Data Documentation

Array<Display> juce::Desktop::Displays::displays

The list of displays.


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