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

Event fired when the user requests the window to close. More...

#include <WindowEvent.h>

Inherits Raven::Event.

Public Member Functions

constexpr WindowCloseEvent ()
 Constructs a close event.
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 type identifier for this event.
static constexpr EventCategory StaticCategory ()

Additional Inherited Members

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 the user requests the window to close.

Dispatched when a quit message or close request is received.

Constructor & Destructor Documentation

◆ WindowCloseEvent()

Raven::WindowCloseEvent::WindowCloseEvent ( )
inlineconstexpr

Constructs a close event.

Member Function Documentation

◆ StaticCategory()

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

◆ StaticType()

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

Returns the static type identifier for this event.


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