![]() |
Raven Engine v0.1
|
Event triggered when the main window is resized. More...
#include <WindowEvent.h>
Public Member Functions | |
| WindowResizeEvent (unsigned int width, unsigned int height) | |
| unsigned int | GetWidth () const |
| unsigned int | GetHeight () const |
| std::string | ToString () const override |
| Converts the event to a string for logging or debugging. | |
| 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. | |
Event triggered when the main window is resized.
Carries the new width and height. Used to update rendering viewport or UI layout logic.
|
inline |
|
inlinenodiscard |
|
inlinenodiscard |
|
inlinenodiscardoverridevirtual |
Converts the event to a string for logging or debugging.
Reimplemented from Raven::Event.