Mir
|
Interface to the layout of the display outputs. More...
#include <display_layout.h>
Public Member Functions | |
virtual | ~DisplayLayout ()=default |
virtual void | clip_to_output (geometry::Rectangle &rect)=0 |
Clips a rectangle to the output it is in. More... | |
virtual void | size_to_output (geometry::Rectangle &rect)=0 |
Makes a rectangle take up the whole area of the output it is in. More... | |
virtual void | place_in_output (graphics::DisplayConfigurationOutputId id, geometry::Rectangle &rect)=0 |
Places a rectangle in an particular output. More... | |
Protected Member Functions | |
DisplayLayout ()=default | |
DisplayLayout (DisplayLayout const &)=delete | |
DisplayLayout & | operator= (DisplayLayout const &)=delete |
Interface to the layout of the display outputs.
|
virtualdefault |
|
protecteddefault |
|
protecteddelete |
|
pure virtual |
Clips a rectangle to the output it is in.
[in,out] | rect | the rectangle to clip |
Implemented in mir::shell::GraphicsDisplayLayout.
|
protecteddelete |
|
pure virtual |
Places a rectangle in an particular output.
[in] | id | the id of the output to place the rectangle in |
[in,out] | rect | the rectangle to place |
Implemented in mir::shell::GraphicsDisplayLayout.
|
pure virtual |
Makes a rectangle take up the whole area of the output it is in.
[in,out] | rect | the rectangle to make fullscreen |
Implemented in mir::shell::GraphicsDisplayLayout.
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014