Mir
|
#include <kiosk_window_manager.h>
Public Member Functions | |
KioskWindowManagerPolicy (miral::WindowManagerTools const &tools, SwSplash const &) | |
auto | place_new_window (miral::ApplicationInfo const &app_info, miral::WindowSpecification const &request) -> miral::WindowSpecification override |
Customize initial window placement. More... | |
void | advise_focus_gained (miral::WindowInfo const &info) override |
Notification that a window has gained focus. 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_modify_window (miral::WindowInfo &window_info, miral::WindowSpecification const &modifications) override |
request from client to modify the window specification. More... | |
![]() | |
CanonicalWindowManagerPolicy (WindowManagerTools const &tools) | |
void | handle_window_ready (WindowInfo &window_info) override |
Tries to focus on the newly ready window. More... | |
void | handle_modify_window (WindowInfo &window_info, WindowSpecification const &modifications) override |
Applies the requested modifications. More... | |
void | handle_raise_window (WindowInfo &window_info) override |
Tries to focus on the newly ready window. More... | |
void | advise_focus_gained (WindowInfo const &info) override |
Raises the window (and any children) More... | |
auto | confirm_inherited_move (WindowInfo const &window_info, Displacement movement) -> Rectangle override |
Move the child window with the parent. More... | |
![]() | |
virtual void | advise_begin () |
before any related calls begin More... | |
virtual void | advise_end () |
after any related calls end More... | |
virtual | ~WindowManagementPolicy ()=default |
WindowManagementPolicy ()=default | |
WindowManagementPolicy (WindowManagementPolicy const &)=delete | |
WindowManagementPolicy & | operator= (WindowManagementPolicy const &)=delete |
virtual void | advise_new_app (ApplicationInfo &application) |
Notification that a new application has connected. More... | |
virtual void | advise_delete_app (ApplicationInfo const &application) |
Notification that an application has disconnected. More... | |
virtual void | advise_new_window (WindowInfo const &window_info) |
Notification that a window has been created. More... | |
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... | |
Additional Inherited Members | |
![]() | |
WindowManagerTools | tools |
KioskWindowManagerPolicy::KioskWindowManagerPolicy | ( | miral::WindowManagerTools const & | tools, |
SwSplash const & | splash | ||
) |
|
overridevirtual |
Notification that a window has gained focus.
window_info | the window |
Reimplemented from 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 |
touch event handler
event | the event |
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) |
Reimplemented from miral::CanonicalWindowManagerPolicy.
Copyright © 2012-2017
Canonical Ltd.
Generated on Wed Oct 11 15:14:10 UTC 2017