Mir
|
#include <tiling_window_manager.h>
Public Member Functions | |
TilingWindowManagerPolicy (miral::WindowManagerTools const &tools, SpinnerSplash const &spinner, miral::InternalClientLauncher const &launcher, miral::ActiveOutputsMonitor &outputs_monitor) | |
~TilingWindowManagerPolicy () | |
auto | place_new_window (miral::ApplicationInfo const &app_info, miral::WindowSpecification const &request_parameters) -> miral::WindowSpecification override |
Customize initial window placement. More... | |
void | handle_window_ready (miral::WindowInfo &window_info) override |
notification that the first buffer has been posted More... | |
void | handle_modify_window (miral::WindowInfo &window_info, miral::WindowSpecification const &modifications) override |
request from client to modify the window specification. More... | |
bool | handle_keyboard_event (MirKeyboardEvent const *event) override |
keyboard event handler More... | |
bool | handle_touch_event (MirTouchEvent const *event) override |
touch event handler More... | |
bool | handle_pointer_event (MirPointerEvent const *event) override |
pointer event handler More... | |
void | handle_raise_window (miral::WindowInfo &window_info) override |
request from client to raise the window More... | |
void | advise_end () override |
after any related calls end More... | |
void | advise_new_window (miral::WindowInfo const &window_info) override |
Notification that a window has been created. More... | |
void | advise_focus_gained (miral::WindowInfo const &info) override |
Notification that a window has gained focus. More... | |
void | advise_new_app (miral::ApplicationInfo &application) override |
Notification that a new application has connected. More... | |
void | advise_delete_app (miral::ApplicationInfo const &application) override |
Notification that an application has disconnected. More... | |
auto | confirm_inherited_move (miral::WindowInfo const &window_info, Displacement movement) -> Rectangle override |
Confirm (and optionally adjust) the motion of a child window when the parent is moved. More... | |
![]() | |
virtual void | advise_begin () |
before any related calls begin More... | |
virtual | ~WindowManagementPolicy ()=default |
WindowManagementPolicy ()=default | |
WindowManagementPolicy (WindowManagementPolicy const &)=delete | |
WindowManagementPolicy & | operator= (WindowManagementPolicy const &)=delete |
virtual void | advise_focus_lost (WindowInfo const &window_info) |
Notification that a window has lost focus. More... | |
virtual void | advise_state_change (WindowInfo const &window_info, MirWindowState state) |
Notification that a window is about to change state. More... | |
virtual void | advise_move_to (WindowInfo const &window_info, Point top_left) |
Notification that a window is about to move. More... | |
virtual void | advise_resize (WindowInfo const &window_info, Size const &new_size) |
Notification that a window is about to resize. More... | |
virtual void | advise_delete_window (WindowInfo const &window_info) |
Notification that a window is about to be destroyed. More... | |
virtual void | advise_raise (std::vector< Window > const &windows) |
Notification that windows are being raised to the top. More... | |
|
explicit |
TilingWindowManagerPolicy::~TilingWindowManagerPolicy | ( | ) |
|
overridevirtual |
Notification that an application has disconnected.
application | the application |
Reimplemented from miral::WindowManagementPolicy.
|
overridevirtual |
after any related calls end
Reimplemented from miral::WindowManagementPolicy.
|
overridevirtual |
Notification that a window has gained focus.
window_info | the window |
Reimplemented from miral::WindowManagementPolicy.
|
overridevirtual |
Notification that a new application has connected.
application | the application |
Reimplemented from miral::WindowManagementPolicy.
|
overridevirtual |
Notification that a window has been created.
window_info | the window |
Reimplemented from miral::WindowManagementPolicy.
|
overridevirtual |
Confirm (and optionally adjust) the motion of a child window when the parent is moved.
window_info | the window |
movement | the movement of the parent |
Implements miral::WindowManagementPolicy.
|
overridevirtual |
keyboard event handler
event | the event |
Implements miral::WindowManagementPolicy.
|
overridevirtual |
request from client to modify the window specification.
window_info | the window |
modifications | the requested changes |
Implements miral::WindowManagementPolicy.
|
overridevirtual |
pointer event handler
event | the event |
Implements miral::WindowManagementPolicy.
|
overridevirtual |
request from client to raise the window
window_info | the window |
Implements miral::WindowManagementPolicy.
|
overridevirtual |
touch event handler
event | the event |
Implements miral::WindowManagementPolicy.
|
overridevirtual |
notification that the first buffer has been posted
window_info | the window |
Implements miral::WindowManagementPolicy.
|
overridevirtual |
Customize initial window placement.
app_info | the application requesting a new window |
requested_specification | the requested specification (updated with default placement) |
Implements miral::WindowManagementPolicy.
Copyright © 2012-2018
Canonical Ltd.
Generated on Mon Feb 19 14:05:11 UTC 2018