SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Events

Core event types plus the dispatcher and delegate machinery that routes them. More...

Classes

class  Sleak::Delegate< Args >
class  Sleak::Event
class  Sleak::EventDelegate< EventT >
class  Sleak::EventDelegateBase
class  Sleak::EventDispatcher
class  Sleak::IDelegate
class  Sleak::Events::Input::KeyEvent
class  Sleak::Events::Input::KeyPressedEvent
class  Sleak::Events::Input::KeyReleasedEvent
class  Sleak::Events::Input::KeyTypedEvent
class  Sleak::Events::Input::MouseButtonEvent
class  Sleak::Events::Input::MouseButtonPressedEvent
class  Sleak::Events::Input::MouseButtonReleasedEvent
class  Sleak::Events::Input::MouseMovedEvent
class  Sleak::Events::Input::MouseScrolledEvent
class  Sleak::MulticastDelegate< Args >
class  Sleak::Events::RenderEvent
class  Sleak::Events::TickEvent
class  Sleak::Events::UpdateEvent
class  Sleak::Events::WindowCloseEvent
class  Sleak::Events::WindowFullScreen
class  Sleak::Events::WindowOpenEvent
class  Sleak::Events::WindowResizeEvent

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
}

Detailed Description

Core event types plus the dispatcher and delegate machinery that routes them.

Enumeration Type Documentation

◆ EventCategory

enum class Sleak::EventCategory
strong

#include <Event.hpp>

Bitmask groups an Event can belong to, queried via Event::IsInCategory().

Enumerator
None 
Application 
Input 
Keyboard 
Mouse 
MouseButton 

Definition at line 33 of file Event.hpp.

◆ EventType

enum class Sleak::EventType
strong

#include <Event.hpp>

Concrete kind of Event; each Event subclass reports one of these via GetEventType().

Enumerator
Unknown 
WindowOpen 
WindowClose 
WindowResize 
WindowFullscreen 
WindowFocus 
WindowLostFocus 
WindowMoved 
Tick 
Update 
Render 
KeyPressed 
KeyReleased 
KeyTyped 
MousePressed 
MouseReleased 
MouseMoved 
MouseScrolled 

Definition at line 23 of file Event.hpp.