7 class WindowResizeEvent :
public Event
10 WindowResizeEvent(
unsigned int width,
unsigned int height)
11 : m_Width(width), m_Height(height) {}
13 inline unsigned int GetWidth()
const {
return m_Width; }
14 inline unsigned int GetHeight()
const {
return m_Height; }
16 std::string ToString()
const override
19 ss <<
"WindowResizeEvent: " << m_Width <<
", " << m_Height;
23 EVENT_CLASS_TYPE(WindowResize)
24 EVENT_CLASS_CATEGORY(EventCategoryApplication)
26 unsigned int m_Width, m_Height;