SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Sleak::Events::WindowResizeEvent Class Reference

#include <ApplicationEvent.hpp>

Inheritance diagram for Sleak::Events::WindowResizeEvent:

Public Member Functions

 WindowResizeEvent (uint16_t Width, uint16_t Height)
virtual int GetCategoryFlags () const override
virtual EventType GetEventType () const override
uint16_t GetHeight () const
virtual const char * GetName () const override
uint16_t GetWidth () const
std::string ToString () const override
Public Member Functions inherited from Sleak::Event
 Event ()
virtual ~Event ()=default
bool IsInCategory (EventCategory category)

Static Public Member Functions

static EventType GetStaticType ()

Additional Inherited Members

Public Attributes inherited from Sleak::Event
bool Handled = false

Detailed Description

Fired when the window's client area changes size.

Definition at line 11 of file ApplicationEvent.hpp.

Constructor & Destructor Documentation

◆ WindowResizeEvent()

Sleak::Events::WindowResizeEvent::WindowResizeEvent ( uint16_t Width,
uint16_t Height )
inline

Definition at line 13 of file ApplicationEvent.hpp.

Member Function Documentation

◆ GetCategoryFlags()

virtual int Sleak::Events::WindowResizeEvent::GetCategoryFlags ( ) const
inlineoverridevirtual

Implements Sleak::Event.

Definition at line 25 of file ApplicationEvent.hpp.

◆ GetEventType()

virtual EventType Sleak::Events::WindowResizeEvent::GetEventType ( ) const
inlineoverridevirtual

Implements Sleak::Event.

Definition at line 24 of file ApplicationEvent.hpp.

◆ GetHeight()

uint16_t Sleak::Events::WindowResizeEvent::GetHeight ( ) const
inline

Definition at line 16 of file ApplicationEvent.hpp.

◆ GetName()

virtual const char * Sleak::Events::WindowResizeEvent::GetName ( ) const
inlineoverridevirtual

Implements Sleak::Event.

Definition at line 24 of file ApplicationEvent.hpp.

◆ GetStaticType()

EventType Sleak::Events::WindowResizeEvent::GetStaticType ( )
inlinestatic

Definition at line 24 of file ApplicationEvent.hpp.

◆ GetWidth()

uint16_t Sleak::Events::WindowResizeEvent::GetWidth ( ) const
inline

Definition at line 15 of file ApplicationEvent.hpp.

◆ ToString()

std::string Sleak::Events::WindowResizeEvent::ToString ( ) const
inlineoverridevirtual

Reimplemented from Sleak::Event.

Definition at line 18 of file ApplicationEvent.hpp.