![]() |
Radium Engine
1.7.0
|
KeyMappingManageable decorator to use as CRTP. More...
#include <Gui/Utils/KeyMappingManager.hpp>
Inheritance diagram for Ra::Gui::KeyMappingManageable< T >:
Collaboration diagram for Ra::Gui::KeyMappingManageable< T >:Static Public Member Functions | |
| static KeyMappingManager::Context | getContext () |
| static void | configureKeyMapping () |
Protected Member Functions | |
| T & | self () |
Static Protected Member Functions | |
| static void | setContext (const KeyMappingManager::Context &c) |
KeyMappingManageable decorator to use as CRTP.
typical use as a CRTP :
It defines a static class member m_keyMappingContext, readable with getContext() This context index must be registered by the class to the KeyMappingManager with
after configuration file is loaded. Decoreated class must implement configureKeyMapping_impl().
Definition at line 243 of file KeyMappingManager.hpp.
|
inlinestatic |
KeyManageable class must implement static configureKeyMapping_impl to get their keyMappingAction values from KeyMappingManager.
Definition at line 251 of file KeyMappingManager.hpp.
|
inlinestatic |
Definition at line 246 of file KeyMappingManager.hpp.
|
inlineprotected |
Definition at line 254 of file KeyMappingManager.hpp.
|
inlinestaticprotected |
Definition at line 255 of file KeyMappingManager.hpp.