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

#include <MouseEvent.hpp>

Inheritance diagram for MouseWheelEvent:
Event

Public Member Functions

 MouseWheelEvent (const float xOffset, const float yOffset)
 
float GetXOffset () const noexcept
 
float GetYOffset () 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 Wheel Scroll Event

Definition at line 38 of file MouseEvent.hpp.

Constructor & Destructor Documentation

◆ MouseWheelEvent()

MouseWheelEvent::MouseWheelEvent ( const float  xOffset,
const float  yOffset 
)
inline

Definition at line 40 of file MouseEvent.hpp.

Member Function Documentation

◆ GetXOffset()

float MouseWheelEvent::GetXOffset ( ) const
inlinenoexcept

Definition at line 44 of file MouseEvent.hpp.

◆ GetYOffset()

float MouseWheelEvent::GetYOffset ( ) const
inlinenoexcept

Definition at line 45 of file MouseEvent.hpp.

◆ ToString()

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

Reimplemented from Event.

Definition at line 47 of file MouseEvent.hpp.


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