Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Attributes | List of all members
mir::graphics::DisplayConfigurationOutput Struct Reference

Configuration information for a display output. More...

#include <display_configuration.h>

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
< geometry::PixelFormat
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...
 
size_t current_format_index
 The index in the 'pixel_format' vector of the current output pixel format. More...
 
MirPowerMode power_mode
 Current power mode. More...
 

Detailed Description

Configuration information for a display output.

Member Data Documentation

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.

size_t mir::graphics::DisplayConfigurationOutput::current_format_index

The index in the 'pixel_format' vector of the current output pixel format.

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.

geometry::Size mir::graphics::DisplayConfigurationOutput::physical_size_mm

The physical size of the output.

std::vector<geometry::PixelFormat> 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.


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

Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013