GlPortal Class Reference
0.1.1
Source code documentation of the free and open 3D action puzzle game.
|
#include <external/RadixEngine/include/radix/input/InputSource.hpp>
Inherited by radix::NullInputSource, and radix::Window.
Data Structures | |
struct | KeyPressedEvent |
struct | KeyReleasedEvent |
struct | MouseButtonPressedEvent |
struct | MouseButtonReleasedEvent |
struct | MouseWheelScrolledEvent |
struct | WindowCloseEvent |
struct | WindowEnterEvent |
struct | WindowExposedEvent |
struct | WindowFocusGainedEvent |
struct | WindowFocusLostEvent |
struct | WindowHiddenEvent |
struct | WindowLeaveEvent |
struct | WindowMaximizedEvent |
struct | WindowMinimizedEvent |
struct | WindowMovedEvent |
struct | WindowResizedEvent |
struct | WindowRestoredEvent |
struct | WindowShownEvent |
struct | WindowSizeChangedEvent |
Public Types | |
enum | MouseButton : uint8_t { MouseButton::Left = 0, MouseButton::Right = 1, MouseButton::Middle = 2, MouseButton::Aux1, MouseButton::Aux2, MouseButton::Aux3, MouseButton::Aux4, MouseButton::Aux5, MouseButton::Aux6, MouseButton::Aux7, MouseButton::Aux8, MouseButton::Unknown = 0xFF } |
using | KeyboardKey = int |
using | KeyboardModifier = int |
Public Member Functions | |
void | addDispatcher (EventDispatcher &d) |
void | removeDispatcher (EventDispatcher &d) |
virtual void | processEvents ()=0 |
virtual void | keyPressed (KeyboardKey key, KeyboardModifier mod)=0 |
virtual void | keyReleased (KeyboardKey key, KeyboardModifier mod)=0 |
virtual bool | isKeyDown (KeyboardKey key)=0 |
virtual std::string | getCharBuffer ()=0 |
virtual void | addToBuffer (const std::string &character)=0 |
virtual void | clearBuffer ()=0 |
virtual void | truncateCharBuffer ()=0 |
virtual void | clear ()=0 |
Protected Attributes | |
std::vector < std::reference_wrapper < EventDispatcher > > | dispatchers |
using radix::InputSource::KeyboardKey = int |
using radix::InputSource::KeyboardModifier = int |
|
strong |
|
inline |
|
pure virtual |
Implemented in radix::Window, and radix::NullInputSource.
|
pure virtual |
Implemented in radix::Window, and radix::NullInputSource.
|
pure virtual |
Implemented in radix::Window, and radix::NullInputSource.
|
pure virtual |
Implemented in radix::Window, and radix::NullInputSource.
|
pure virtual |
Implemented in radix::Window, and radix::NullInputSource.
|
pure virtual |
Implemented in radix::Window, and radix::NullInputSource.
|
pure virtual |
Implemented in radix::Window, and radix::NullInputSource.
|
pure virtual |
Implemented in radix::Window, and radix::NullInputSource.
void radix::InputSource::removeDispatcher | ( | EventDispatcher & | d | ) |
|
pure virtual |
Implemented in radix::Window, and radix::NullInputSource.
|
protected |