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

#include <MouseEvent.hpp>

Inheritance diagram for MouseButtonPressedEvent:
MouseButtonEvent Event

Public Member Functions

 MouseButtonPressedEvent (const MouseCode button)
 
std::string ToString () const override
 
- Public Member Functions inherited from MouseButtonEvent
MouseCode GetMouseButton () const noexcept
 
- 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 Member Functions inherited from MouseButtonEvent
 MouseButtonEvent (const MouseCode button)
 
- Protected Attributes inherited from MouseButtonEvent
MouseCode m_button
 
- Protected Attributes inherited from Event
bool m_isHandled {false}
 

Detailed Description

Mouse Button Press Event

Definition at line 76 of file MouseEvent.hpp.

Constructor & Destructor Documentation

◆ MouseButtonPressedEvent()

MouseButtonPressedEvent::MouseButtonPressedEvent ( const MouseCode  button)
inlineexplicit

Definition at line 78 of file MouseEvent.hpp.

Member Function Documentation

◆ ToString()

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

Implements MouseButtonEvent.

Definition at line 81 of file MouseEvent.hpp.


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