ALL: Synced with ScummVM - rev: 33a47d23b8
This commit is contained in:
parent
acd114234f
commit
d5304e2568
261 changed files with 79849 additions and 60443 deletions
|
@ -33,7 +33,7 @@
|
|||
|
||||
namespace Common {
|
||||
|
||||
Keymap::Keymap(KeymapType type, const String &id, const String &description) :
|
||||
Keymap::Keymap(KeymapType type, const String &id, const U32String &description) :
|
||||
_type(type),
|
||||
_id(id),
|
||||
_description(description),
|
||||
|
@ -44,6 +44,17 @@ Keymap::Keymap(KeymapType type, const String &id, const String &description) :
|
|||
|
||||
}
|
||||
|
||||
Keymap::Keymap(KeymapType type, const String &id, const String &description) :
|
||||
_type(type),
|
||||
_id(id),
|
||||
_description(U32String(description)),
|
||||
_enabled(true),
|
||||
_configDomain(nullptr),
|
||||
_hardwareInputSet(nullptr),
|
||||
_backendDefaultBindings(nullptr) {
|
||||
|
||||
}
|
||||
|
||||
Keymap::~Keymap() {
|
||||
for (ActionArray::iterator it = _actions.begin(); it != _actions.end(); ++it)
|
||||
delete *it;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue