|
Mir
|
#include <graphics_display_layout.h>
Public Member Functions | |
| GraphicsDisplayLayout (std::shared_ptr< graphics::Display > const &display) | |
| void | clip_to_output (geometry::Rectangle &rect) override |
| Clips a rectangle to the output it is in. More... | |
| void | size_to_output (geometry::Rectangle &rect) override |
| Makes a rectangle take up the whole area of the output it is in. More... | |
| bool | place_in_output (graphics::DisplayConfigurationOutputId output_id, geometry::Rectangle &rect) override |
| Places a rectangle in an particular output if the display is known, otherwise does nothing. More... | |
Public Member Functions inherited from mir::shell::DisplayLayout | |
| virtual | ~DisplayLayout ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from mir::shell::DisplayLayout | |
| DisplayLayout ()=default | |
| DisplayLayout (DisplayLayout const &)=delete | |
| DisplayLayout & | operator= (DisplayLayout const &)=delete |
| mir::shell::GraphicsDisplayLayout::GraphicsDisplayLayout | ( | std::shared_ptr< graphics::Display > const & | display | ) |
|
overridevirtual |
Clips a rectangle to the output it is in.
| [in,out] | rect | the rectangle to clip |
Implements mir::shell::DisplayLayout.
|
overridevirtual |
Places a rectangle in an particular output if the display is known, otherwise does nothing.
| [in] | id | the id of the output to place the rectangle in |
| [in,out] | rect | the rectangle to place |
Implements mir::shell::DisplayLayout.
|
overridevirtual |
Makes a rectangle take up the whole area of the output it is in.
| [in,out] | rect | the rectangle to make fullscreen |
Implements mir::shell::DisplayLayout.
Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016