|
|
| KeyEvent (Magnum::Platform::GlfwApplication::KeyEvent *glfw_event=NULL) |
| |
|
HRESULT | invoke () |
| |
|
std::string | keyName () |
| |
|
bool | keyAlt () |
| |
|
bool | keyCtrl () |
| |
|
bool | keyShift () |
| |
|
|
static HRESULT | invoke (Magnum::Platform::GlfwApplication::KeyEvent &ke) |
| |
| static KeyEventDelegateHandle | addDelegate (KeyEventDelegateType *_delegate) |
| | Adds an event delegate.
|
| |
| static KeyEventHandlerHandle | addHandler (KeyEventHandlerType *_handler) |
| | Adds an event handler.
|
| |
| static KeyEventDelegateType * | getDelegate (const KeyEventDelegateHandle &handle) |
| | Get an event delegate.
|
| |
| static KeyEventHandlerType * | getHandler (const KeyEventHandlerHandle &handle) |
| | Get an event handler.
|
| |
| static bool | removeDelegate (const KeyEventDelegateHandle &handle) |
| | Remove an event delegate.
|
| |
| static bool | removeHandler (const KeyEventHandlerHandle &handle) |
| | Remove an event handler.
|
| |
|
|
Magnum::Platform::GlfwApplication::KeyEvent * | glfw_event |
| |
◆ addDelegate()
| static KeyEventDelegateHandle TissueForge::event::KeyEvent::addDelegate |
( |
KeyEventDelegateType * | _delegate | ) |
|
|
static |
Adds an event delegate.
- Parameters
-
- Returns
- handle for future getting and removing
◆ addHandler()
| static KeyEventHandlerHandle TissueForge::event::KeyEvent::addHandler |
( |
KeyEventHandlerType * | _handler | ) |
|
|
static |
Adds an event handler.
- Parameters
-
- Returns
- handle for future getting and removing
◆ getDelegate()
| static KeyEventDelegateType * TissueForge::event::KeyEvent::getDelegate |
( |
const KeyEventDelegateHandle & | handle | ) |
|
|
static |
Get an event delegate.
- Parameters
-
- Returns
- delegate if handle is valid, otherwise NULL
◆ getHandler()
| static KeyEventHandlerType * TissueForge::event::KeyEvent::getHandler |
( |
const KeyEventHandlerHandle & | handle | ) |
|
|
static |
Get an event handler.
- Parameters
-
- Returns
- handler if handle is valid, otherwise NULL
◆ removeDelegate()
| static bool TissueForge::event::KeyEvent::removeDelegate |
( |
const KeyEventDelegateHandle & | handle | ) |
|
|
static |
Remove an event delegate.
- Parameters
-
- Returns
- true when delegate is removed
-
false when handle is invalid
◆ removeHandler()
| static bool TissueForge::event::KeyEvent::removeHandler |
( |
const KeyEventHandlerHandle & | handle | ) |
|
|
static |
Remove an event handler.
- Parameters
-
- Returns
- true when handler is removed
-
false when handle is invalid
The documentation for this struct was generated from the following file: