Mir
Public Member Functions | Public Attributes | List of all members
mir::shell::SurfaceSpecification Struct Reference

Specification of surface properties requested by client. More...

#include <surface_specification.h>

Public Member Functions

bool is_empty () const
 

Public Attributes

optional_value< geometry::Width > width
 
optional_value< geometry::Height > height
 
optional_value< MirPixelFormat > pixel_format
 
optional_value< graphics::BufferUsage > buffer_usage
 
optional_value< std::string > name
 
optional_value< graphics::DisplayConfigurationOutputId > output_id
 
optional_value< MirSurfaceType > type
 
optional_value< MirSurfaceState > state
 
optional_value< MirOrientationMode > preferred_orientation
 
optional_value< frontend::SurfaceId > parent_id
 
optional_value< geometry::Rectangle > aux_rect
 
optional_value< MirEdgeAttachment > edge_attachment
 
optional_value< geometry::Width > min_width
 
optional_value< geometry::Height > min_height
 
optional_value< geometry::Width > max_width
 
optional_value< geometry::Height > max_height
 
optional_value< geometry::DeltaX > width_inc
 
optional_value< geometry::DeltaY > height_inc
 
optional_value< SurfaceAspectRatio > min_aspect
 
optional_value< SurfaceAspectRatio > max_aspect
 
optional_value< std::vector< StreamSpecification > > streams
 
optional_value< std::weak_ptr< scene::Surface > > parent
 
optional_value< std::vector< geometry::Rectangle > > input_shape
 
mir::optional_value< MirShellChrome > shell_chrome
 

Detailed Description

Specification of surface properties requested by client.

Examples:
server_example_window_management.cpp.

Member Function Documentation

bool mir::shell::SurfaceSpecification::is_empty ( ) const

Member Data Documentation

optional_value<geometry::Rectangle> mir::shell::SurfaceSpecification::aux_rect
optional_value<graphics::BufferUsage> mir::shell::SurfaceSpecification::buffer_usage
optional_value<MirEdgeAttachment> mir::shell::SurfaceSpecification::edge_attachment
optional_value<geometry::Height> mir::shell::SurfaceSpecification::height
optional_value<geometry::DeltaY> mir::shell::SurfaceSpecification::height_inc
optional_value<std::vector<geometry::Rectangle> > mir::shell::SurfaceSpecification::input_shape
optional_value<SurfaceAspectRatio> mir::shell::SurfaceSpecification::max_aspect
optional_value<geometry::Height> mir::shell::SurfaceSpecification::max_height
optional_value<geometry::Width> mir::shell::SurfaceSpecification::max_width
optional_value<SurfaceAspectRatio> mir::shell::SurfaceSpecification::min_aspect
optional_value<geometry::Height> mir::shell::SurfaceSpecification::min_height
optional_value<geometry::Width> mir::shell::SurfaceSpecification::min_width
optional_value<std::string> mir::shell::SurfaceSpecification::name
optional_value<graphics::DisplayConfigurationOutputId> mir::shell::SurfaceSpecification::output_id
optional_value<std::weak_ptr<scene::Surface> > mir::shell::SurfaceSpecification::parent
optional_value<frontend::SurfaceId> mir::shell::SurfaceSpecification::parent_id
optional_value<MirPixelFormat> mir::shell::SurfaceSpecification::pixel_format
optional_value<MirOrientationMode> mir::shell::SurfaceSpecification::preferred_orientation
mir::optional_value<MirShellChrome> mir::shell::SurfaceSpecification::shell_chrome
optional_value<MirSurfaceState> mir::shell::SurfaceSpecification::state
optional_value<std::vector<StreamSpecification> > mir::shell::SurfaceSpecification::streams
optional_value<MirSurfaceType> mir::shell::SurfaceSpecification::type
optional_value<geometry::Width> mir::shell::SurfaceSpecification::width
optional_value<geometry::DeltaX> mir::shell::SurfaceSpecification::width_inc

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

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016