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 |
auto | size () const -> mir::geometry::Size |
auto | application () const -> Application |
operator bool () const | |
void | resize (mir::geometry::Size const &size) |
void | move_to (mir::geometry::Point top_left) |
operator std::weak_ptr< mir::scene::Surface > () const | |
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) |
Handle class to manage a Mir surface. It may be null (e.g. default initialized)
miral::Window::Window | ( | ) |
miral::Window::Window | ( | Application const & | application, |
std::shared_ptr< mir::scene::Surface > const & | surface | ||
) |
miral::Window::~Window | ( | ) |
auto miral::Window::application | ( | ) | const -> Application |
void miral::Window::move_to | ( | mir::geometry::Point | top_left | ) |
miral::Window::operator bool | ( | ) | const |
miral::Window::operator std::shared_ptr< mir::scene::Surface > | ( | ) | const |
miral::Window::operator std::weak_ptr< mir::scene::Surface > | ( | ) | const |
void miral::Window::resize | ( | mir::geometry::Size const & | size | ) |
auto miral::Window::size | ( | ) | const -> mir::geometry::Size |
auto miral::Window::top_left | ( | ) | const -> mir::geometry::Point |
|
friend |
|
friend |
Copyright © 2012-2020
Canonical Ltd.
Generated on Mon Jun 29 21:51:46 UTC 2020
This documentation is licensed under the GPL version 2 or 3.