![]() |
Raven Engine v0.1
|
Event triggered when a mouse button is released. More...
#include <MouseEvent.h>
Public Member Functions | |
| MouseButtonReleasedEvent (const MouseCode button) | |
| Constructs a MouseButtonReleasedEvent with the specified button. | |
| std::string | ToString () const override |
| Converts the MouseButtonReleasedEvent to a string representation. | |
| Public Member Functions inherited from Raven::MouseButtonEvent | |
| MouseCode | GetMouseButton () const |
| Gets the mouse button associated with this event. | |
| Public Member Functions inherited from Raven::Event | |
| virtual | ~Event ()=default |
| virtual EventType | GetEventType () const =0 |
| Returns the runtime event type. | |
| virtual const char * | GetName () const =0 |
| Returns the name of the event. | |
| virtual EventCategory | GetCategoryFlags () const =0 |
| Returns the category flags of the event. | |
| bool | IsInCategory (EventCategory category) const |
| Checks if the event belongs to the specified category. | |
Additional Inherited Members | |
| Public Attributes inherited from Raven::Event | |
| bool | Handled = false |
| Indicates whether the event has been handled. | |
| Protected Member Functions inherited from Raven::MouseButtonEvent | |
| MouseButtonEvent (const MouseCode button) | |
| Constructs a MouseButtonEvent with the specified mouse button. | |
| Protected Attributes inherited from Raven::MouseButtonEvent | |
| MouseCode | m_Button |
Event triggered when a mouse button is released.
This event is triggered when a mouse button is released. It contains the button code for the released button.
|
inline |
Constructs a MouseButtonReleasedEvent with the specified button.
| button | The mouse button code that was released. |
|
inlinenodiscardoverridevirtual |
Converts the MouseButtonReleasedEvent to a string representation.
Reimplemented from Raven::Event.