![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
Instance Methods | |
(void) | - resetKeyFunctions |
(void) | - updateKeyDefinition:index: |
(void) | - updateShiftKeyDefinition:index: |
(void) | - displayKeyFunctionList:skip: |
(NSString *) | - keyboardDescription: |
(void) | - displayKeyboardLayoutList:skip: |
(BOOL) | - entryIsIndexCustomEquip: |
(BOOL) | - entryIsDictCustomEquip: |
(BOOL) | - entryIsCustomEquip: |
(NSArray *) | - getCustomEquipArray: |
(NSString *) | - getCustomEquipKeyDefType: |
(NSArray *) | - keyFunctionList |
(NSArray *) | - validateAllKeys |
(NSString *) | - searchArrayForMatch:key:checkKeys: |
(NSUInteger) | - getCustomEquipIndex: |
(BOOL) | - entryIsEqualToDefault: |
(BOOL) | - compareKeyEntries:second: |
(void) | - saveKeySetting: |
(void) | - unsetKeySetting: |
(void) | - deleteKeySetting: |
(void) | - deleteAllKeySettings |
(NSDictionary *) | - loadKeySettings |
(void) | - reloadPage |
Definition at line 46 of file PlayerEntityKeyMapper.m.
- (BOOL) compareKeyEntries: | (NSDictionary *) | first | |
second: | (NSDictionary *) | second |
Extends class PlayerEntity.
Definition at line 1583 of file PlayerEntityKeyMapper.m.
- (void) deleteAllKeySettings |
Extends class PlayerEntity.
Definition at line 1700 of file PlayerEntityKeyMapper.m.
References count, OOEquipmentType::defaultActivateKey, OOEquipmentType::defaultModeKey, deleteAllKeySettings, OOEquipmentType::equipmentTypeWithIdentifier:, and PlayerEntity::initKeyConfigSettings.
Referenced by deleteAllKeySettings, PlayerEntity(KeyMapper)::handleKeyMapperConfirmClearKeys:view:, and resetKeyFunctions.
- (void) deleteKeySetting: | (NSString *) | key |
Extends class PlayerEntity.
Definition at line 1679 of file PlayerEntityKeyMapper.m.
References PlayerEntity::getCustomEquipIndex:, PlayerEntity::getCustomEquipKeyDefType:, and PlayerEntity::initKeyConfigSettings.
Referenced by PlayerEntity(KeyMapper)::keyMapperInputHandler:view:, and saveKeySetting:.
- (void) displayKeyboardLayoutList: | (GuiDisplayGen *) | gui | |
skip: | (NSUInteger) | skip |
Extends class PlayerEntity.
Definition at line 1300 of file PlayerEntityKeyMapper.m.
References OOColor::greenColor, GUI_ROW_KC_FUNCSTART, int(), PlayerEntity::keyboardLayoutList, MAX_ROWS_KC_FUNCTIONS, GuiDisplayGen::setArray:forRow:, GuiDisplayGen::setColor:forRow:, GuiDisplayGen::setKey:forRow:, and GuiDisplayGen::setSelectableRange:.
Referenced by PlayerEntity(KeyMapper)::setGuiToKeyboardLayoutScreen:resetCurrentRow:.
- (void) displayKeyFunctionList: | (GuiDisplayGen *) | gui | |
skip: | (NSUInteger) | skip |
Extends class PlayerEntity.
Definition at line 827 of file PlayerEntityKeyMapper.m.
References CUSTOMEQUIP_KEYACTIVATE, CUSTOMEQUIP_KEYMODE, OOColor::cyanColor, OOEquipmentType::defaultActivateKey, OOEquipmentType::defaultModeKey, OOEquipmentType::equipmentTypeWithIdentifier:, PlayerEntity::getCustomEquipIndex:, PlayerEntity::getCustomEquipKeyDefType:, OOColor::greenColor, GUI_ROW_KC_FUNCSTART, int(), KEY_KC_HEADER, PlayerEntity::keyFunctionList, PlayerEntity::loadKeySettings, MAX_ROWS_KC_FUNCTIONS, nil, OOColor::orangeColor, GuiDisplayGen::setArray:forRow:, GuiDisplayGen::setColor:forRow:, GuiDisplayGen::setKey:forRow:, GuiDisplayGen::setSelectableRange:, and PlayerEntity::validateKey:checkKeys:.
Referenced by PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:.
- (BOOL) entryIsCustomEquip: | (NSString *) | entry |
Extends class PlayerEntity.
Definition at line 327 of file PlayerEntityKeyMapper.m.
Referenced by entryIsDictCustomEquip:, and entryIsIndexCustomEquip:.
- (BOOL) entryIsDictCustomEquip: | (NSDictionary *) | dict |
Extends class PlayerEntity.
Definition at line 322 of file PlayerEntityKeyMapper.m.
References PlayerEntity::entryIsCustomEquip:.
- (BOOL) entryIsEqualToDefault: | (NSString *) | key |
Extends class PlayerEntity.
Definition at line 1566 of file PlayerEntityKeyMapper.m.
References count, kdic_check, and key_list.
- (BOOL) entryIsIndexCustomEquip: | (NSUInteger) | idx |
Extends class PlayerEntity.
Definition at line 316 of file PlayerEntityKeyMapper.m.
References PlayerEntity::entryIsCustomEquip:.
- (NSArray *) getCustomEquipArray: | (NSString *) | key_def |
Extends class PlayerEntity.
Definition at line 335 of file PlayerEntityKeyMapper.m.
References CUSTOMEQUIP_EQUIPKEY, CUSTOMEQUIP_KEYACTIVATE, CUSTOMEQUIP_KEYMODE, and nil.
Referenced by PlayerEntity(KeyMapper)::keyMapperInputHandler:view:.
- (NSUInteger) getCustomEquipIndex: | (NSString *) | key_def |
Extends class PlayerEntity.
Definition at line 362 of file PlayerEntityKeyMapper.m.
References CUSTOMEQUIP_EQUIPKEY, and nil.
Referenced by deleteKeySetting:, displayKeyFunctionList:skip:, PlayerEntity(KeyMapper)::keyMapperInputHandler:view:, saveKeySetting:, searchArrayForMatch:key:checkKeys:, and unsetKeySetting:.
- (NSString *) getCustomEquipKeyDefType: | (NSString *) | key_def |
Extends class PlayerEntity.
Definition at line 386 of file PlayerEntityKeyMapper.m.
References CUSTOMEQUIP_KEYACTIVATE, and CUSTOMEQUIP_KEYMODE.
Referenced by deleteKeySetting:, displayKeyFunctionList:skip:, saveKeySetting:, searchArrayForMatch:key:checkKeys:, and unsetKeySetting:.
- (NSString *) keyboardDescription: | (NSString *) | kbd |
Extends class PlayerEntity.
Definition at line 1234 of file PlayerEntityKeyMapper.m.
References ResourceManager::dictionaryFromFilesNamed:inFolder:mergeMode:cache:.
Referenced by PlayerEntity(KeyMapper)::keyboardLayoutList, and PlayerEntity(KeyMapper)::setGuiToKeyMapperScreen:resetCurrentRow:.
- (NSArray *) keyFunctionList |
Extends class PlayerEntity.
Definition at line 963 of file PlayerEntityKeyMapper.m.
References count, keyFunctionList, PlayerEntity::makeKeyGuiDict:keyDef:, and PlayerEntity::makeKeyGuiDictHeader:.
Referenced by displayKeyFunctionList:skip:, and keyFunctionList.
- (NSDictionary *) loadKeySettings |
Extends class PlayerEntity.
Definition at line 1729 of file PlayerEntityKeyMapper.m.
References loadKeySettings.
Referenced by displayKeyFunctionList:skip:, loadKeySettings, and resetKeyFunctions.
- (void) reloadPage |
Extends class PlayerEntity.
Definition at line 1737 of file PlayerEntityKeyMapper.m.
References MAX_ROWS_KC_FUNCTIONS, reloadPage, and PlayerEntity::setGuiToKeyMapperScreen:.
Referenced by PlayerEntity(KeyMapper)::handleKeyConfigKeys:view:, PlayerEntity(KeyMapper)::keyMapperInputHandler:view:, reloadPage, resetKeyFunctions, and saveKeySetting:.
- (void) resetKeyFunctions |
Extends class PlayerEntity.
Definition at line 67 of file PlayerEntityKeyMapper.m.
References deleteAllKeySettings, loadKeySettings, and reloadPage.
Referenced by PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys.
- (void) saveKeySetting: | (NSString *) | key |
Extends class PlayerEntity.
Definition at line 1597 of file PlayerEntityKeyMapper.m.
References count, PlayerEntity::deleteKeySetting:, PlayerEntity::getCustomEquipIndex:, PlayerEntity::getCustomEquipKeyDefType:, PlayerEntity::initKeyConfigSettings, key_list, and PlayerEntity::reloadPage.
Referenced by PlayerEntity(KeyMapper)::handleKeyConfigKeys:view:.
- (NSString *) searchArrayForMatch: | (NSArray *) | search_list | |
key: | (NSString *) | key | |
checkKeys: | (NSArray *) | check_keys |
Extends class PlayerEntity.
Definition at line 1529 of file PlayerEntityKeyMapper.m.
References PlayerEntity::getCustomEquipIndex:, PlayerEntity::getCustomEquipKeyDefType:, and nil.
Referenced by PlayerEntity(KeyMapper)::validateKey:checkKeys:.
- (void) unsetKeySetting: | (NSString *) | key |
Extends class PlayerEntity.
Definition at line 1656 of file PlayerEntityKeyMapper.m.
References PlayerEntity::getCustomEquipIndex:, PlayerEntity::getCustomEquipKeyDefType:, and PlayerEntity::initKeyConfigSettings.
Referenced by PlayerEntity(KeyMapper)::keyMapperInputHandler:view:.
- (void) updateKeyDefinition: | (NSString *) | keystring | |
index: | (NSUInteger) | index |
Extends class PlayerEntity.
Definition at line 678 of file PlayerEntityKeyMapper.m.
References count, KEY_KC_DEFINITION, key_list, last_shift, nav_keys, PlayerEntity::processKeyCode:, and selected_entry.
Referenced by PlayerEntity(KeyMapper)::handleKeyConfigEntryKeys:view:.
- (void) updateShiftKeyDefinition: | (NSString *) | key | |
index: | (NSUInteger) | index |
Extends class PlayerEntity.
Definition at line 710 of file PlayerEntityKeyMapper.m.
References count, key_list, PlayerEntity::keyCodeDescription:, and PlayerEntity::processKeyCode:.
Referenced by PlayerEntity(KeyMapper)::handleKeyConfigKeys:view:.
- (NSArray *) validateAllKeys |
Extends class PlayerEntity.
Definition at line 1371 of file PlayerEntityKeyMapper.m.
References nil, validateAllKeys, and PlayerEntity::validateKey:checkKeys:.
Referenced by validateAllKeys.