Mir
|
#include <graphics_display_layout.h>
Public Member Functions | |
GraphicsDisplayLayout (std::shared_ptr< graphics::Display > const &display) | |
void | clip_to_output (geometry::Rectangle &rect) |
Clips a rectangle to the output it is in. More... | |
void | size_to_output (geometry::Rectangle &rect) |
Makes a rectangle take up the whole area of the output it is in. More... | |
void | place_in_output (graphics::DisplayConfigurationOutputId output_id, geometry::Rectangle &rect) |
Places a rectangle in an particular output. More... | |
![]() | |
virtual | ~DisplayLayout ()=default |
Additional Inherited Members | |
![]() | |
DisplayLayout ()=default | |
DisplayLayout (DisplayLayout const &)=delete | |
DisplayLayout & | operator= (DisplayLayout const &)=delete |
mir::shell::GraphicsDisplayLayout::GraphicsDisplayLayout | ( | std::shared_ptr< graphics::Display > const & | display | ) |
|
virtual |
Clips a rectangle to the output it is in.
[in,out] | rect | the rectangle to clip |
Implements mir::shell::DisplayLayout.
|
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 |
Implements mir::shell::DisplayLayout.
|
virtual |
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,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015