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

#include <MouseEvent.hpp>

Inheritance diagram for MouseMotionEvent:
Event

Public Member Functions

 MouseMotionEvent (const float x, const float y)
 
float GetX () const noexcept
 
float GetY () const noexcept
 
std::string ToString () const override
 
- 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

Mouse Movement Event

Definition at line 15 of file MouseEvent.hpp.

Constructor & Destructor Documentation

◆ MouseMotionEvent()

MouseMotionEvent::MouseMotionEvent ( const float  x,
const float  y 
)
inline

Definition at line 17 of file MouseEvent.hpp.

Member Function Documentation

◆ GetX()

float MouseMotionEvent::GetX ( ) const
inlinenoexcept

Definition at line 21 of file MouseEvent.hpp.

◆ GetY()

float MouseMotionEvent::GetY ( ) const
inlinenoexcept

Definition at line 22 of file MouseEvent.hpp.

◆ ToString()

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

Reimplemented from Event.

Definition at line 24 of file MouseEvent.hpp.


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