Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine.
GitHub | Vesper Updates | Creator
Loading...
Searching...
No Matches
Event.h File Reference

Defines the base Event class and related enumerations and macros. More...

#include "vzpch.h"
#include "Vesper/Core/Base.h"

Go to the source code of this file.

Classes

class  Vesper::Event
 Abstract base class for all events. More...
class  Vesper::EventDispatcher
 Stack-based templated event dispatcher. More...

Namespaces

namespace  Vesper
 TEMPORARY.

Enumerations

enum class  Vesper::EventType {
  Vesper::None = 0 , Vesper::WindowClose , Vesper::WindowResize , Vesper::WindowFocus ,
  Vesper::WindowLostFocus , Vesper::WindowMoved , Vesper::AppTick , Vesper::AppUpdate ,
  Vesper::AppRender , Vesper::KeyPressed , Vesper::KeyReleased , Vesper::KeyTyped ,
  Vesper::MouseButtonPressed , Vesper::MouseButtonReleased , Vesper::MouseMoved , Vesper::MouseScrolled
}
 Enumeration of event types. More...
enum  Vesper::EventCategory {
  Vesper::None = 0 , Vesper::EventCategoryApplication = BIT(0) , Vesper::EventCategoryInput = BIT(1) , Vesper::EventCategoryKeyboard = BIT(2) ,
  Vesper::EventCategoryMouse = BIT(3) , Vesper::EventCategoryMouseButton = BIT(4)
}
 Enumeration of event categories. More...

Functions

std::string Vesper::format_as (const Event &e)
 Format an event as a string.

Detailed Description

Defines the base Event class and related enumerations and macros.

Author
Damon S. Green II