22#include <kiwano/event/Event.h>
97 inline bool operator()(
const Event* evt)
const
事件类型
Definition: EventType.h:36
const EventType & GetType() const
获取类型事件
Definition: Event.h:91
窗口关闭事件
Definition: WindowEvent.h:89
窗口事件
Definition: WindowEvent.h:37
Window * window
窗口
Definition: WindowEvent.h:39
窗口焦点变化事件
Definition: WindowEvent.h:69
bool focus
是否获取到焦点
Definition: WindowEvent.h:71
窗口移动事件
Definition: WindowEvent.h:47
int y
窗口左上角 y 坐标
Definition: WindowEvent.h:50
int x
窗口左上角 x 坐标
Definition: WindowEvent.h:49
窗口大小变化事件
Definition: WindowEvent.h:58
uint32_t width
窗口宽度
Definition: WindowEvent.h:60
uint32_t height
窗口高度
Definition: WindowEvent.h:61
窗口标题更改事件
Definition: WindowEvent.h:79
String title
标题
Definition: WindowEvent.h:81
窗口类,控制窗口标题、大小、图标等
Definition: Window.h:115
事件特性:判断事件类型是否相同
Definition: Event.h:81