Specialized window event with InputEvent::WindowResizeRequest type. More...
#include <kanzi/core.ui/platform/input/common/events.hpp>
Public Member Functions | |
unsigned int | getHeight () const |
Returns the requested height of the window. | |
unsigned int | getWidth () const |
Returns the requested width of the window. | |
WindowResizeRequestEvent (NativeWindowHandle target, unsigned int width, unsigned int height) | |
Constructs an event for a given target window with width and height. | |
Public Member Functions inherited from kanzi::WindowEvent | |
NativeWindowHandle | getWindow () const |
Returns the window instance to which the event refers. | |
WindowEvent (Type type, NativeWindowHandle window) | |
Constructs a window event with a given type for a given window. | |
Public Member Functions inherited from kanzi::InputEvent | |
Type | getType () const |
Returns the type of the event. | |
InputEvent (Type type) | |
Constructs an event with a given type. | |
bool | isHandled () const |
Returns true if the event is handled, false if not. | |
void | markHandled () |
Marks the event as handled. | |
virtual | ~InputEvent () |
Destructor. | |
Protected Attributes | |
unsigned int | m_height |
Holds the requested height of the window. | |
unsigned int | m_width |
Holds the requested width of the window. | |
Protected Attributes inherited from kanzi::WindowEvent | |
NativeWindowHandle | m_window |
The window instance to which the event refers. | |
Additional Inherited Members | |
Public Types inherited from kanzi::InputEvent | |
enum | Type { Key , Pointer , Touch , WindowResized , WindowResizeRequest , WindowFocusLost , WindowFocusGained , WindowHidden , WindowResourcesLost , WindowOrientationChanged , WindowRedrawRequest , WindowPlacement , WindowClosed , ApplicationPaused , ApplicationSleep , ApplicationWakeup , DebugToggleHud , DebugSetHud , UserEvent } |
InputEvent type enumeration. More... | |
Specialized window event with InputEvent::WindowResizeRequest type.
The event is requesting the resizing of a window.
|
explicit |
Constructs an event for a given target window with width and height.
Returns the requested width of the window.
Returns the requested height of the window.
Holds the requested width of the window.
Holds the requested height of the window.