a Key Map contains a map of keys to FunctionMapEntrys, as well as a list of functions to execute when a key map is put into use and a list to execute when a key map is no longer used
More...
|
| | DtKeyMap (const std::string &name, DtKeyMapManager &keyMapManager) |
| | CTOR. More...
|
| |
| virtual | ~DtKeyMap () |
| | DTOR. More...
|
| |
| | DtKeyMap (const DtKeyMap &orig) |
| | Copy Constructor (Deep copy) More...
|
| |
| DtKeyMap & | operator= (const DtKeyMap &orig) |
| | Assignment Operator (Deep copy) More...
|
| |
| DtKeyMap * | clone (const std::string &newName) |
| | Create a new keymap based on this one. More...
|
| |
| const std::string & | name () const |
| | the name of the map (required parameter to constructor) More...
|
| |
| void | addKeyBinding (DtKeyState::KeyType key, const std::string &functionName, DtKeyState::KeyModifier modifiers=DtKeyState::NO_MODIFIER, bool replace=false, DtKeyEvent::KeyEventType eventType=DtKeyEvent::KEY_DOWN) |
| | bind a function name to a key/modifier/event type triple More...
|
| |
| virtual void | removeKeyBinding (DtKeyState::KeyType key, const std::string &functionName, DtKeyState::KeyModifier modifiers=DtKeyState::NO_MODIFIER, DtKeyEvent::KeyEventType eventType=DtKeyEvent::KEY_DOWN) |
| |
| void | addBinaryKeyBinding (DtKeyState::KeyType key, const std::string &binaryName, DtKeyState::KeyModifier modifiers=DtKeyState::NO_MODIFIER, bool replace=false) |
| |
| virtual void | removeBinaryKeyBinding (DtKeyState::KeyType key, const std::string &functionName, DtKeyState::KeyModifier modifiers=DtKeyState::NO_MODIFIER) |
| |
| DtKeyFunctionNameList | getKeyFunctionNameList (const DtKeyEvent &keyEvent) |
| | Return the list of function names associated with this key event. More...
|
| |
| DtKeyFunctionMapEntry * | findKeyFunctions (DtKeyState::KeyType key) |
| | get the map entry for specified key More...
|
| |
| virtual MappedKeyList | findKeyMappings (const std::string &functionName) |
| | Get a list of the keys (and modifiers) that this function is mapped to in this KeyMap. More...
|
| |
| virtual MappedKeyList | findBinaryKeyMappings (const std::string &functionName) |
| | Get a list of the keys (and modifiers) that this binary function is mapped to in this KeyMap. More...
|
| |
| void | getRecord (makArchives::DtKeyMapRecord &record) const |
| | Get a record from this map. More...
|
| |
| void | setFromRecord (const makArchives::DtKeyMapRecord &record) |
| | Set from a record. More...
|
| |
|
| void | buildReverseKeyMap () |
| |
| void | determineParentFunctions () |
| | Used by the reverse key map buider, it finds and sets the parent function of key mappings inherited from a parent binary function. More...
|
| |
| void | processKeyFunctionSet (const DtKeyFunctionSet &functionSet, DtKeyState::KeyType keyType, DtKeyEvent::KeyEventType eventType) |
| |
| void | processKeyFunctionNameList (const DtKeyFunctionNameList &functionNames, DtKeyState::KeyType keyType, DtKeyEvent::KeyEventType eventType, DtKeyState::KeyModifier modifiers) |
| |
| void | processAddKeyBind (DtKeyFunctionNameList &functionList, std::string functionName, DtKeyState::KeyType keyType, DtKeyEvent::KeyEventType eventType, DtKeyState::KeyModifier modifiers, bool replace) |
| | This binds the function name into the function list for a specific key/modifier/ eventType triple. More...
|
| |
| void | processRemoveKeyBind (DtKeyFunctionNameList &functionList, std::string functionName, DtKeyState::KeyType keyType, DtKeyEvent::KeyEventType eventType, DtKeyState::KeyModifier modifiers) |
| |
| void | processClearKeyBind (DtKeyFunctionNameList &functionList, DtKeyState::KeyType keyType, DtKeyEvent::KeyEventType eventType, DtKeyState::KeyModifier modifiers) |
| |
| void | copyMap (const KeyMap &orig) |
| |
| void | clearMap () |
| |
a Key Map contains a map of keys to FunctionMapEntrys, as well as a list of functions to execute when a key map is put into use and a list to execute when a key map is no longer used