QuasarEngine
Cross-platform 3D engine and editor
Loading...
Searching...
No Matches
Quasar::WindowCloseEvent Class Referencefinal

Sent when the user asks to close the window, for example with the close button. More...

#include <quasar/events/WindowEvent.h>

Inheritance diagram for Quasar::WindowCloseEvent:
Quasar::EventOf< EventType::WindowClose, EventCategory::Window > Quasar::Event

Additional Inherited Members

Public Member Functions inherited from Quasar::EventOf< EventType::WindowClose, EventCategory::Window >
EventType GetType () const override
 Returns the type of the event.
EventCategory GetCategories () const override
 Returns all the categories of the event.
Public Member Functions inherited from Quasar::Event
virtual std::string ToString () const
 Returns a readable description of the event, for debugging.
const char * GetName () const
 Returns the name of the type of the event, for example "KeyPressed".
bool IsInCategory (EventCategory category) const
 Returns true if the event belongs to the given category.
bool IsHandled () const
 Returns true if the event was handled.
void SetHandled (bool handled)
 Marks the event as handled, or not handled.
Static Public Member Functions inherited from Quasar::EventOf< EventType::WindowClose, EventCategory::Window >
static constexpr EventType GetStaticType ()
 Returns the type of this event class.
Protected Member Functions inherited from Quasar::Event
 Event ()=default
 Creates an event that is not handled.

Detailed Description

Sent when the user asks to close the window, for example with the close button.


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