15#include <vsg/app/Window.h>
16#include <vsg/core/observer_ptr.h>
17#include <vsg/ui/UIEvent.h>
23 class VSG_DECLSPEC WindowEvent :
public Inherit<UIEvent, WindowEvent>
28 WindowEvent(
Window* in_window, time_point in_time) :
34 void read(
Input& input)
override;
35 void write(
Output& output)
const override;
40 class VSG_DECLSPEC ExposeWindowEvent :
public Inherit<WindowEvent, ExposeWindowEvent>
43 ExposeWindowEvent() {}
45 ExposeWindowEvent(
Window* in_window, time_point in_time, int32_t in_x, int32_t in_y, uint32_t in_width, uint32_t in_height) :
46 Inherit(in_window, in_time),
57 void read(
Input& input)
override;
58 void write(
Output& output)
const override;
63 class VSG_DECLSPEC ConfigureWindowEvent :
public Inherit<WindowEvent, ConfigureWindowEvent>
66 ConfigureWindowEvent() {}
68 ConfigureWindowEvent(
Window* in_window, time_point in_time, int32_t in_x, int32_t in_y, uint32_t in_width, uint32_t in_height) :
69 Inherit(in_window, in_time),
80 void read(
Input& input)
override;
81 void write(
Output& output)
const override;
86 class CloseWindowEvent :
public Inherit<WindowEvent, CloseWindowEvent>
91 CloseWindowEvent(
Window* in_window, time_point in_time) :
92 Inherit(in_window, in_time) {}
97 class FocusInEvent :
public Inherit<WindowEvent, FocusInEvent>
102 FocusInEvent(
Window* in_window, time_point in_time) :
103 Inherit(in_window, in_time) {}
108 class FocusOutEvent :
public Inherit<WindowEvent, FocusOutEvent>
113 FocusOutEvent(
Window* in_window, time_point in_time) :
114 Inherit(in_window, in_time) {}
CloseWindowEvent represents a window close event.
Definition WindowEvent.h:87
ExposeWindowEvent represents a window expose event.
Definition WindowEvent.h:41
FocusInEvent represents a window acquiring focus event.
Definition WindowEvent.h:98
FocusOutEvent represents a window losing focus event.
Definition WindowEvent.h:109
WindowEvent is the base class for events related to a window.
Definition WindowEvent.h:24
Definition observer_ptr.h:24