|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
Core event types plus the dispatcher and delegate machinery that routes them. More...
Enumerations | |
| enum class | Sleak::EventCategory { Sleak::EventCategory::None = (1 << 0) , Sleak::EventCategory::Application = (1 << 1) , Sleak::EventCategory::Input = (1 << 2) , Sleak::EventCategory::Keyboard = (1 << 3) , Sleak::EventCategory::Mouse = (1 << 4) , Sleak::EventCategory::MouseButton = (1 << 5) } |
| enum class | Sleak::EventType { Sleak::EventType::Unknown = 0 , Sleak::EventType::WindowOpen , Sleak::EventType::WindowClose , Sleak::EventType::WindowResize , Sleak::EventType::WindowFullscreen , Sleak::EventType::WindowFocus , Sleak::EventType::WindowLostFocus , Sleak::EventType::WindowMoved , Sleak::EventType::Tick , Sleak::EventType::Update , Sleak::EventType::Render , Sleak::EventType::KeyPressed , Sleak::EventType::KeyReleased , Sleak::EventType::KeyTyped , Sleak::EventType::MousePressed , Sleak::EventType::MouseReleased , Sleak::EventType::MouseMoved , Sleak::EventType::MouseScrolled } |
Core event types plus the dispatcher and delegate machinery that routes them.
|
strong |
#include <Event.hpp>
Bitmask groups an Event can belong to, queried via Event::IsInCategory().
| Enumerator | |
|---|---|
| None | |
| Application | |
| Input | |
| Keyboard | |
| Mouse | |
| MouseButton | |
|
strong |
#include <Event.hpp>
Concrete kind of Event; each Event subclass reports one of these via GetEventType().