3#include "pixelbullet/application/event.h"
18 unsigned int GetWidth()
const
22 unsigned int GetHeight()
const
27 std::string ToString()
const override
30 ss <<
"WindowResizeEvent: " << width_ <<
", " << height_;
34 EVENT_CLASS_TYPE(WindowResize)
35 EVENT_CLASS_CATEGORY(EventCategoryApplication)
37 unsigned int width_, height_;
45 EVENT_CLASS_TYPE(WindowClose)
46 EVENT_CLASS_CATEGORY(EventCategoryApplication)
54 EVENT_CLASS_TYPE(WindowFocus)
55 EVENT_CLASS_CATEGORY(EventCategoryApplication)
63 EVENT_CLASS_TYPE(WindowLostFocus)
64 EVENT_CLASS_CATEGORY(EventCategoryApplication)
85 std::string ToString()
const override
88 ss <<
"WindowMovedEvent: " << x_ <<
", " << y_;
92 EVENT_CLASS_TYPE(WindowMoved)
93 EVENT_CLASS_CATEGORY(EventCategoryApplication)
105 EVENT_CLASS_TYPE(AppTick)
106 EVENT_CLASS_CATEGORY(EventCategoryApplication)
114 EVENT_CLASS_TYPE(AppUpdate)
115 EVENT_CLASS_CATEGORY(EventCategoryApplication)
123 EVENT_CLASS_TYPE(AppRender)
124 EVENT_CLASS_CATEGORY(EventCategoryApplication)
Definition application_event.h:119
Definition application_event.h:101
Definition application_event.h:110
Definition application_event.h:41
Definition application_event.h:50
Definition application_event.h:59
Definition application_event.h:68
Definition application_event.h:10