Mir
|
Configuration information for a display output. More...
#include <display_configuration.h>
Public Member Functions | |
geometry::Rectangle | extents () const |
The logical rectangle occupied by the output, based on its position, current mode and orientation (rotation) More... | |
bool | valid () const |
Public Attributes | |
DisplayConfigurationOutputId | id |
The output's id. More... | |
DisplayConfigurationCardId | card_id |
The id of the card the output is connected to. More... | |
DisplayConfigurationOutputType | type |
The type of the output. More... | |
std::vector< MirPixelFormat > | pixel_formats |
The pixel formats supported by the output. More... | |
std::vector < DisplayConfigurationMode > | modes |
The modes supported by the output. More... | |
size_t | preferred_mode_index |
The index in the 'modes' vector of the preferred output mode. More... | |
geometry::Size | physical_size_mm |
The physical size of the output. More... | |
bool | connected |
Whether the output is connected. More... | |
bool | used |
Whether the output is used in the configuration. More... | |
geometry::Point | top_left |
The top left point of this output in the virtual coordinate space. More... | |
size_t | current_mode_index |
The index in the 'modes' vector of the current output mode. More... | |
MirPixelFormat | current_format |
The current output pixel format. More... | |
MirPowerMode | power_mode |
Current power mode. More... | |
MirOrientation | orientation |
Configuration information for a display output.
mir::geometry::Rectangle mir::graphics::DisplayConfigurationOutput::extents | ( | ) | const |
The logical rectangle occupied by the output, based on its position, current mode and orientation (rotation)
bool mir::graphics::DisplayConfigurationOutput::valid | ( | ) | const |
DisplayConfigurationCardId mir::graphics::DisplayConfigurationOutput::card_id |
The id of the card the output is connected to.
bool mir::graphics::DisplayConfigurationOutput::connected |
Whether the output is connected.
MirPixelFormat mir::graphics::DisplayConfigurationOutput::current_format |
The current output pixel format.
A matching entry should be found in the 'pixel_formats' vector
size_t mir::graphics::DisplayConfigurationOutput::current_mode_index |
The index in the 'modes' vector of the current output mode.
DisplayConfigurationOutputId mir::graphics::DisplayConfigurationOutput::id |
The output's id.
std::vector<DisplayConfigurationMode> mir::graphics::DisplayConfigurationOutput::modes |
The modes supported by the output.
MirOrientation mir::graphics::DisplayConfigurationOutput::orientation |
geometry::Size mir::graphics::DisplayConfigurationOutput::physical_size_mm |
The physical size of the output.
std::vector<MirPixelFormat> mir::graphics::DisplayConfigurationOutput::pixel_formats |
The pixel formats supported by the output.
MirPowerMode mir::graphics::DisplayConfigurationOutput::power_mode |
Current power mode.
size_t mir::graphics::DisplayConfigurationOutput::preferred_mode_index |
The index in the 'modes' vector of the preferred output mode.
geometry::Point mir::graphics::DisplayConfigurationOutput::top_left |
The top left point of this output in the virtual coordinate space.
DisplayConfigurationOutputType mir::graphics::DisplayConfigurationOutput::type |
The type of the output.
bool mir::graphics::DisplayConfigurationOutput::used |
Whether the output is used in the configuration.
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014