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

#include <ApplicationEvent.hpp>

Inheritance diagram for FrameBufferResizeEvent:
Event

Public Member Functions

 FrameBufferResizeEvent (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::FRAME_BUFFER_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

Frame buffer size changed Event

Definition at line 39 of file ApplicationEvent.hpp.

Constructor & Destructor Documentation

◆ FrameBufferResizeEvent()

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

Definition at line 41 of file ApplicationEvent.hpp.

Member Function Documentation

◆ EVENT_CLASS_CATEGORY()

FrameBufferResizeEvent::EVENT_CLASS_CATEGORY ( EventCategory::APPLICATION  )

◆ EVENT_CLASS_TYPE()

FrameBufferResizeEvent::EVENT_CLASS_TYPE ( EventType::FRAME_BUFFER_RESIZE  )

◆ GetHeight()

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

Definition at line 46 of file ApplicationEvent.hpp.

◆ GetWidth()

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

Definition at line 45 of file ApplicationEvent.hpp.

◆ ToString()

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

Reimplemented from Event.

Definition at line 48 of file ApplicationEvent.hpp.


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