Event fired when a mouse button is pressed. More...
#include <MouseEvent.h>
Inherits Raven::Event.
Public Member Functions | |
| constexpr | MouseButtonPressedEvent (MouseCode button) |
| Constructs a MouseButtonPressedEvent. | |
| Public Member Functions inherited from Raven::Event | |
| constexpr bool | IsInCategory (EventCategory cat) const noexcept |
| Checks whether this event belongs to a given category. | |
Static Public Member Functions | |
| static constexpr EventType | StaticType () |
| Returns the static event type identifier. | |
| static constexpr EventCategory | StaticCategory () |
Public Attributes | |
| MouseCode | Button |
| Mouse button that was pressed. | |
| Public Attributes inherited from Raven::Event | |
| EventType | Type = EventType::None |
| Concrete event type. | |
| EventCategory | Category = EventCategory::None |
| Event category bitmask. | |
Event fired when a mouse button is pressed.
|
inlineconstexpr |
Constructs a MouseButtonPressedEvent.
| button | The button that was pressed. |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
Returns the static event type identifier.