Enigma  3.2.0
A Simple, Reliable and Efficient Encryption Tool
WindowResizeEvent Class Reference

#include <ApplicationEvent.hpp>

Inheritance diagram for WindowResizeEvent:
Event

Public Member Functions

 WindowResizeEvent (const std::int32_t width, const std::int32_t height)
 
std::int32_t GetWidth () const noexcept
 
std::int32_t GetHeight () const noexcept
 
std::string ToString () const override
 
 EVENT_CLASS_TYPE (EventType::WINDOW_RESIZE)
 
 EVENT_CLASS_CATEGORY (EventCategory::APPLICATION)
 
- Public Member Functions inherited from Event
virtual EventType GetEventType () const =0
 
virtual const char * GetName () const =0
 
virtual std::uint32_t GetCategoryFlags () const =0
 
bool IsInCategory (EventCategory category) const noexcept
 
bool IsHandled () const noexcept
 
void SetHandled (const bool handled) noexcept
 

Additional Inherited Members

- Protected Attributes inherited from Event
bool m_isHandled {false}
 

Detailed Description

Window size changed Event

Definition at line 15 of file ApplicationEvent.hpp.

Constructor & Destructor Documentation

◆ WindowResizeEvent()

WindowResizeEvent::WindowResizeEvent ( const std::int32_t  width,
const std::int32_t  height 
)
inline

Definition at line 17 of file ApplicationEvent.hpp.

Member Function Documentation

◆ EVENT_CLASS_CATEGORY()

WindowResizeEvent::EVENT_CLASS_CATEGORY ( EventCategory::APPLICATION  )

◆ EVENT_CLASS_TYPE()

WindowResizeEvent::EVENT_CLASS_TYPE ( EventType::WINDOW_RESIZE  )

◆ GetHeight()

std::int32_t WindowResizeEvent::GetHeight ( ) const
inlinenoexcept

Definition at line 22 of file ApplicationEvent.hpp.

◆ GetWidth()

std::int32_t WindowResizeEvent::GetWidth ( ) const
inlinenoexcept

Definition at line 21 of file ApplicationEvent.hpp.

◆ ToString()

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

Reimplemented from Event.

Definition at line 24 of file ApplicationEvent.hpp.


The documentation for this class was generated from the following file: