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

#include <ApplicationEvent.hpp>

Inheritance diagram for WindowMoveEvent:
Event

Public Member Functions

 WindowMoveEvent (const std::int32_t x, const std::int32_t y)
 
std::int32_t GetTopLeftX () const noexcept
 
std::int32_t GetTopLeftY () const noexcept
 
std::string ToString () const override
 
 EVENT_CLASS_TYPE (EventType::WINDOW_MOVED)
 
 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 position changed Event

Definition at line 63 of file ApplicationEvent.hpp.

Constructor & Destructor Documentation

◆ WindowMoveEvent()

WindowMoveEvent::WindowMoveEvent ( const std::int32_t  x,
const std::int32_t  y 
)
inline

Definition at line 65 of file ApplicationEvent.hpp.

Member Function Documentation

◆ EVENT_CLASS_CATEGORY()

WindowMoveEvent::EVENT_CLASS_CATEGORY ( EventCategory::APPLICATION  )

◆ EVENT_CLASS_TYPE()

WindowMoveEvent::EVENT_CLASS_TYPE ( EventType::WINDOW_MOVED  )

◆ GetTopLeftX()

std::int32_t WindowMoveEvent::GetTopLeftX ( ) const
inlinenoexcept

Definition at line 69 of file ApplicationEvent.hpp.

◆ GetTopLeftY()

std::int32_t WindowMoveEvent::GetTopLeftY ( ) const
inlinenoexcept

Definition at line 70 of file ApplicationEvent.hpp.

◆ ToString()

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

Reimplemented from Event.

Definition at line 72 of file ApplicationEvent.hpp.


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