#include <AppEvent.hpp>
Definition at line 6 of file AppEvent.hpp.
◆ WindowResizeEvent()
| Cori::Core::WindowResizeEvent::WindowResizeEvent |
( |
const uint32_t | width, |
|
|
const uint32_t | height ) |
|
inline |
◆ GetCategoryFlags()
| uint32_t Cori::Core::WindowResizeEvent::GetCategoryFlags |
( |
| ) |
const |
|
inlineoverridevirtual |
Gives the flags of particular Event.
- Note
- You shouldn't overload this, it is overloaded by EVENT_CLASS_CATEGORY macro!
- Returns
- Flag variable that stores all the relevant EventCategory flags.
Implements Cori::Core::Event.
Definition at line 19 of file AppEvent.hpp.
◆ GetEventType()
| std::type_index Cori::Core::WindowResizeEvent::GetEventType |
( |
| ) |
const |
|
inlineconstexproverridevirtual |
Gives the return type of the Event.
- Note
- You shouldn't overload this, it is overloaded by EVENT_CLASS_TYPE macro!
- Returns
- Type index of derived event type.
Implements Cori::Core::Event.
Definition at line 18 of file AppEvent.hpp.
◆ GetHeight()
| uint32_t Cori::Core::WindowResizeEvent::GetHeight |
( |
| ) |
const |
|
inlinenodiscard |
◆ GetName()
| const char * Cori::Core::WindowResizeEvent::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
This will give you the string version of EventType.
- Note
- You shouldn't overload this, it is overloaded by EVENT_CLASS_TYPE macro!
- Returns
- EventType name.
Implements Cori::Core::Event.
Definition at line 18 of file AppEvent.hpp.
◆ GetWidth()
| uint32_t Cori::Core::WindowResizeEvent::GetWidth |
( |
| ) |
const |
|
inlinenodiscard |
◆ IsInCategory()
| bool Cori::Core::Event::IsInCategory |
( |
const EventCategory | category | ) |
const |
|
inlinenodiscardinherited |
Checks if the Event is in specific category.
- Parameters
-
| category | Bitmask that we need to check presence of. |
- Returns
- True is present, false otherwise.
Definition at line 59 of file Event.hpp.
◆ ToString()
| std::string Cori::Core::WindowResizeEvent::ToString |
( |
| ) |
const |
|
inlinenodiscardoverridevirtual |
◆ m_Handled
| bool Cori::Core::Event::m_Handled = false |
|
inherited |
The documentation for this class was generated from the following file: