Mir
|
#include <window_specification.h>
Classes | |
struct | AspectRatio |
Public Types | |
enum | BufferUsage { BufferUsage::undefined, BufferUsage::hardware, BufferUsage::software } |
enum | InputReceptionMode { InputReceptionMode::normal, InputReceptionMode::receives_all_input } |
|
strong |
|
strong |
miral::WindowSpecification::WindowSpecification | ( | ) |
miral::WindowSpecification::WindowSpecification | ( | WindowSpecification const & | that | ) |
miral::WindowSpecification::WindowSpecification | ( | mir::shell::SurfaceSpecification const & | spec | ) |
miral::WindowSpecification::WindowSpecification | ( | mir::scene::SurfaceCreationParameters const & | params | ) |
miral::WindowSpecification::~WindowSpecification | ( | ) |
auto miral::WindowSpecification::application_id | ( | ) | const -> mir::optional_value< std::string > const & |
The D-bus service name and basename of the app's .desktop file See http://standards.freedesktop.org/desktop-entry-spec/.
auto miral::WindowSpecification::application_id | ( | ) | -> mir::optional_value< std::string > & |
auto miral::WindowSpecification::attached_edges | ( | ) | const -> mir::optional_value< MirPlacementGravity > const & |
The set of window eges that are attched to edges of the output If attached to perpendicular edges, it is attached to the corner where the two edges intersect If attached to oposite edges (eg left and right), it is stretched across the output in that direction If all edges are specified, it takes up the entire output.
auto miral::WindowSpecification::attached_edges | ( | ) | -> mir::optional_value< MirPlacementGravity > & |
auto miral::WindowSpecification::aux_rect | ( | ) | const -> mir::optional_value< Rectangle > const & |
auto miral::WindowSpecification::aux_rect | ( | ) | -> mir::optional_value< Rectangle > & |
auto miral::WindowSpecification::aux_rect_placement_gravity | ( | ) | const -> mir::optional_value< MirPlacementGravity > const & |
auto miral::WindowSpecification::aux_rect_placement_gravity | ( | ) | -> mir::optional_value< MirPlacementGravity > & |
auto miral::WindowSpecification::aux_rect_placement_offset | ( | ) | const -> mir::optional_value< Displacement > const & |
auto miral::WindowSpecification::aux_rect_placement_offset | ( | ) | -> mir::optional_value< Displacement > & |
auto miral::WindowSpecification::confine_pointer | ( | ) | const -> mir::optional_value< MirPointerConfinementState > const & |
auto miral::WindowSpecification::confine_pointer | ( | ) | -> mir::optional_value< MirPointerConfinementState > & |
auto miral::WindowSpecification::depth_layer | ( | ) | const -> mir::optional_value< MirDepthLayer > const & |
The depth layer of a child window is updated with the depth layer of its parent, but can be overridden.
auto miral::WindowSpecification::depth_layer | ( | ) | -> mir::optional_value< MirDepthLayer > & |
auto miral::WindowSpecification::exclusive_rect | ( | ) | const -> mir::optional_value< mir::optional_value< mir::geometry::Rectangle >> const & |
The area over which the window should not be occluded Only meaningful for windows attached to an edge If the outer optional is unset (the default), the window's exclusive rect is not changed by this spec If the outer optional is set but the inner is not, the window's exclusive rect is cleared.
auto miral::WindowSpecification::exclusive_rect | ( | ) | -> mir::optional_value< mir::optional_value< mir::geometry::Rectangle >> & |
auto miral::WindowSpecification::height_inc | ( | ) | const -> mir::optional_value< DeltaY > const & |
auto miral::WindowSpecification::height_inc | ( | ) | -> mir::optional_value< DeltaY > & |
auto miral::WindowSpecification::input_mode | ( | ) | const -> mir::optional_value< InputReceptionMode > const & |
auto miral::WindowSpecification::input_mode | ( | ) | -> mir::optional_value< InputReceptionMode > & |
auto miral::WindowSpecification::input_shape | ( | ) | const -> mir::optional_value< std::vector< Rectangle >> const & |
auto miral::WindowSpecification::input_shape | ( | ) | -> mir::optional_value< std::vector< Rectangle >> & |
auto miral::WindowSpecification::max_aspect | ( | ) | const -> mir::optional_value< AspectRatio > const & |
auto miral::WindowSpecification::max_aspect | ( | ) | -> mir::optional_value< AspectRatio > & |
auto miral::WindowSpecification::max_height | ( | ) | const -> mir::optional_value< Height > const & |
auto miral::WindowSpecification::max_height | ( | ) | -> mir::optional_value< Height > & |
auto miral::WindowSpecification::max_width | ( | ) | const -> mir::optional_value< Width > const & |
auto miral::WindowSpecification::max_width | ( | ) | -> mir::optional_value< Width > & |
auto miral::WindowSpecification::min_aspect | ( | ) | const -> mir::optional_value< AspectRatio > const & |
auto miral::WindowSpecification::min_aspect | ( | ) | -> mir::optional_value< AspectRatio > & |
auto miral::WindowSpecification::min_height | ( | ) | const -> mir::optional_value< Height > const & |
auto miral::WindowSpecification::min_height | ( | ) | -> mir::optional_value< Height > & |
auto miral::WindowSpecification::min_width | ( | ) | const -> mir::optional_value< Width > const & |
auto miral::WindowSpecification::min_width | ( | ) | -> mir::optional_value< Width > & |
auto miral::WindowSpecification::name | ( | ) | const -> mir::optional_value< std::string > const & |
auto miral::WindowSpecification::name | ( | ) | -> mir::optional_value< std::string > & |
auto miral::WindowSpecification::operator= | ( | WindowSpecification const & | that | ) | -> WindowSpecification & |
auto miral::WindowSpecification::output_id | ( | ) | const -> mir::optional_value< int > const & |
auto miral::WindowSpecification::output_id | ( | ) | -> mir::optional_value< int > & |
auto miral::WindowSpecification::parent | ( | ) | const -> mir::optional_value< std::weak_ptr< mir::scene::Surface >> const & |
auto miral::WindowSpecification::parent | ( | ) | -> mir::optional_value< std::weak_ptr< mir::scene::Surface >> & |
auto miral::WindowSpecification::placement_hints | ( | ) | const -> mir::optional_value< MirPlacementHints > const & |
auto miral::WindowSpecification::placement_hints | ( | ) | -> mir::optional_value< MirPlacementHints > & |
auto miral::WindowSpecification::preferred_orientation | ( | ) | const -> mir::optional_value< MirOrientationMode > const & |
auto miral::WindowSpecification::preferred_orientation | ( | ) | -> mir::optional_value< MirOrientationMode > & |
auto miral::WindowSpecification::shell_chrome | ( | ) | const -> mir::optional_value< MirShellChrome > const & |
auto miral::WindowSpecification::shell_chrome | ( | ) | -> mir::optional_value< MirShellChrome > & |
auto miral::WindowSpecification::size | ( | ) | const -> mir::optional_value< Size > const & |
auto miral::WindowSpecification::size | ( | ) | -> mir::optional_value< Size > & |
auto miral::WindowSpecification::state | ( | ) | const -> mir::optional_value< MirWindowState > const & |
auto miral::WindowSpecification::state | ( | ) | -> mir::optional_value< MirWindowState > & |
auto miral::WindowSpecification::top_left | ( | ) | const -> mir::optional_value< Point > const & |
auto miral::WindowSpecification::top_left | ( | ) | -> mir::optional_value< Point > & |
auto miral::WindowSpecification::type | ( | ) | const -> mir::optional_value< MirWindowType > const & |
auto miral::WindowSpecification::type | ( | ) | -> mir::optional_value< MirWindowType > & |
void miral::WindowSpecification::update | ( | mir::scene::SurfaceCreationParameters & | params | ) | const |
auto miral::WindowSpecification::userdata | ( | ) | const -> mir::optional_value< std::shared_ptr< void >> const & |
auto miral::WindowSpecification::userdata | ( | ) | -> mir::optional_value< std::shared_ptr< void >> & |
auto miral::WindowSpecification::width_inc | ( | ) | const -> mir::optional_value< DeltaX > const & |
auto miral::WindowSpecification::width_inc | ( | ) | -> mir::optional_value< DeltaX > & |
auto miral::WindowSpecification::window_placement_gravity | ( | ) | const -> mir::optional_value< MirPlacementGravity > const & |
auto miral::WindowSpecification::window_placement_gravity | ( | ) | -> mir::optional_value< MirPlacementGravity > & |
Copyright © 2012-2019
Canonical Ltd.
Generated on Fri Dec 6 02:25:22 UTC 2019
This documentation is licensed under the GPL version 2 or 3.