|
Mir
|
Handle class to manage a Mir surface. It may be null (e.g. default initialized) More...
#include <window.h>
Public Member Functions | |
| Window () | |
| Window (Application const &application, std::shared_ptr< mir::scene::Surface > const &surface) | |
| ~Window () | |
| auto | top_left () const -> mir::geometry::Point |
| The position of the top-left corner of the window frame. More... | |
| auto | size () const -> mir::geometry::Size |
| The size of the window frame. Units are logical screen coordinates (not necessarily device pixels). Any decorations are included in the size. More... | |
| auto | application () const -> Application |
| The application that created this window. More... | |
| operator bool () const | |
| Indicates that the Window isn't null. More... | |
| void | resize (mir::geometry::Size const &size) |
| Not for external use, use WindowManagerTools::modify_window() instead. More... | |
| void | move_to (mir::geometry::Point top_left) |
| operator std::weak_ptr< mir::scene::Surface > () const | |
| Access to the underlying Mir surface. More... | |
| operator std::shared_ptr< mir::scene::Surface > () const | |
Friends | |
| bool | operator== (Window const &lhs, Window const &rhs) |
| bool | operator== (std::shared_ptr< mir::scene::Surface > const &lhs, Window const &rhs) |
| bool | operator== (Window const &lhs, std::shared_ptr< mir::scene::Surface > const &rhs) |
| bool | operator< (Window const &lhs, Window const &rhs) |