3#include "spark/events/Event.h"
13 DEFINE_EVENT_TYPE(EventType::WindowResize)
14 DEFINE_EVENT_CATEGORY(EventCategoryApplication)
28 [[nodiscard]]
unsigned int width()
const;
34 [[nodiscard]]
unsigned int height()
const;
37 unsigned int m_width, m_height;
46 DEFINE_EVENT_TYPE(EventType::WindowClose)
47 DEFINE_EVENT_CATEGORY(EventCategoryApplication)
A base class for all events in SPARK.
Definition Event.h:53
A class representing a window close event.
Definition WindowEvents.h:44
WindowCloseEvent()=default
Instantiates a new WindowCloseEvent.
A class representing a window resize event.
Definition WindowEvents.h:11