|
Mir
|
#include <display_input_region.h>

Public Member Functions | |
| DisplayInputRegion (std::shared_ptr< graphics::Display > const &display) | |
| geometry::Rectangle | bounding_rectangle () |
| The bounding rectangle of the input region. More... | |
| void | confine (geometry::Point &point) |
| Confines a point to the input region. More... | |
Public Member Functions inherited from mir::input::InputRegion | |
| virtual | ~InputRegion ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from mir::input::InputRegion | |
| InputRegion ()=default | |
| InputRegion (InputRegion const &)=delete | |
| InputRegion & | operator= (InputRegion const &)=delete |
| mir::input::DisplayInputRegion::DisplayInputRegion | ( | std::shared_ptr< graphics::Display > const & | display | ) |
|
virtual |
The bounding rectangle of the input region.
Implements mir::input::InputRegion.
|
virtual |
Confines a point to the input region.
If the point is within input region it remains unchanged, otherwise it is replaced by the region point that is closest to it.
| [in,out] | point | the point to confine |
Implements mir::input::InputRegion.
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014