Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::MouseButtonReleasedEvent Struct Reference

Event fired when a mouse button is released. More...

#include <MouseEvent.h>

Inherits Raven::Event.

Public Member Functions

constexpr MouseButtonReleasedEvent (MouseCode button)
 Constructs a MouseButtonReleasedEvent.
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 released.
Public Attributes inherited from Raven::Event
EventType Type = EventType::None
 Concrete event type.
EventCategory Category = EventCategory::None
 Event category bitmask.

Detailed Description

Event fired when a mouse button is released.

Constructor & Destructor Documentation

◆ MouseButtonReleasedEvent()

Raven::MouseButtonReleasedEvent::MouseButtonReleasedEvent ( MouseCode button)
inlineconstexpr

Constructs a MouseButtonReleasedEvent.

Parameters
buttonThe button that was released.

Member Function Documentation

◆ StaticCategory()

constexpr EventCategory Raven::MouseButtonReleasedEvent::StaticCategory ( )
inlinestaticconstexpr

◆ StaticType()

constexpr EventType Raven::MouseButtonReleasedEvent::StaticType ( )
inlinestaticconstexpr

Returns the static event type identifier.

Member Data Documentation

◆ Button

MouseCode Raven::MouseButtonReleasedEvent::Button

Mouse button that was released.


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