Mir
|
#include <surface.h>
Public Member Functions | |
Surface (std::shared_ptr< mir::scene::Surface > wrapped) | |
~Surface ()=default | |
mir::scene::Surface * | get_wrapped () const |
void | add_observer (std::shared_ptr< miroil::SurfaceObserver > const &observer) |
void | remove_observer (std::shared_ptr< miroil::SurfaceObserver > const &observer) |
int | buffers_ready_for_compositor (void const *compositor_id) const |
mir::graphics::RenderableList | generate_renderables (miroil::CompositorID id) const |
bool | is_confined_to_window () |
void | set_orientation (MirOrientation orientation) |
void | set_confine_pointer_state (MirPointerConfinementState state) |
std::shared_ptr< mir::scene::Surface > | parent () const |
mir::geometry::Point | top_left () const |
Top-left corner (of the window frame if present) More... | |
bool | visible () const |
int | configure (MirWindowAttrib attrib, int value) |
int | query (MirWindowAttrib attrib) const |
void | set_keymap (MirInputDeviceId id, std::string const &model, std::string const &layout, std::string const &variant, std::string const &options) |
miroil::Surface::Surface | ( | std::shared_ptr< mir::scene::Surface > | wrapped | ) |
|
default |
void miroil::Surface::add_observer | ( | std::shared_ptr< miroil::SurfaceObserver > const & | observer | ) |
int miroil::Surface::buffers_ready_for_compositor | ( | void const * | compositor_id | ) | const |
int miroil::Surface::configure | ( | MirWindowAttrib | attrib, |
int | value | ||
) |
mir::graphics::RenderableList miroil::Surface::generate_renderables | ( | miroil::CompositorID | id | ) | const |
mir::scene::Surface * miroil::Surface::get_wrapped | ( | ) | const |
bool miroil::Surface::is_confined_to_window | ( | ) |
std::shared_ptr< mir::scene::Surface > miroil::Surface::parent | ( | ) | const |
int miroil::Surface::query | ( | MirWindowAttrib | attrib | ) | const |
void miroil::Surface::remove_observer | ( | std::shared_ptr< miroil::SurfaceObserver > const & | observer | ) |
void miroil::Surface::set_confine_pointer_state | ( | MirPointerConfinementState | state | ) |
void miroil::Surface::set_keymap | ( | MirInputDeviceId | id, |
std::string const & | model, | ||
std::string const & | layout, | ||
std::string const & | variant, | ||
std::string const & | options | ||
) |
void miroil::Surface::set_orientation | ( | MirOrientation | orientation | ) |
mir::geometry::Point miroil::Surface::top_left | ( | ) | const |
Top-left corner (of the window frame if present)
bool miroil::Surface::visible | ( | ) | const |
Copyright © 2012-2023
Canonical Ltd.
Generated on Tue 2 May 10:01:24 UTC 2023
This documentation is licensed under the GPL version 2 or 3.