le2d v0.4.7
2D game engine framework
 
Loading...
Searching...
No Matches
event.hpp File Reference
#include "le2d/vector_space.hpp"
#include <glm/vec2.hpp>
#include <klib/visitor.hpp>
#include <kvf/codepoint.hpp>
#include <span>
#include <string>
#include <variant>

Go to the source code of this file.

Classes

struct  le::event::WindowClose
 
struct  le::event::FramebufferResize
 
struct  le::event::WindowResize
 
struct  le::event::WindowPos
 
struct  le::event::CursorPos
 
struct  le::event::Key
 
struct  le::event::MouseButton
 
struct  le::event::Scroll
 
struct  le::event::Drop
 

Namespaces

namespace  le
 
namespace  le::event
 

Typedefs

using le::event::Codepoint = kvf::Codepoint
 
using le::event::Event = std::variant< WindowClose, WindowFocus, CursorFocus, FramebufferResize, WindowResize, WindowPos, WindowIconify, CursorPos, Codepoint, Key, MouseButton, Scroll, Drop >
 
using le::Event = event::Event
 

Enumerations

enum class  le::event::WindowFocus : bool { le::event::False , le::event::True }
 
enum class  le::event::CursorFocus : bool { le::event::False , le::event::True }
 
enum class  le::event::WindowIconify : bool { le::event::False , le::event::True }