mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
UI tweaks. Change to cleaner background image.
This commit is contained in:
1 parent
1559b4404a
commit
b186294132
30 files changed
+33968
-33854
No files matched your search
@@ -213,7 +213,7 @@ void KeyMappingNewKeyDialog::CreatePopupContents(UI::ViewGroup *parent) {
|
||||
|
||||
std::string pspButtonName = KeyMap::GetPspButtonName(this->pspBtn_);
|
||||
|
||||
parent->Add(new TextView(std::string(keyI18N->T("Map a new key for ")) + pspButtonName));
|
||||
parent->Add(new TextView(std::string(keyI18N->T("Map a new key for ")) + pspButtonName, new LinearLayoutParams(Margins(10,0))));
|
||||
}
|
||||
|
||||
void KeyMappingNewKeyDialog::key(const KeyInput &key) {
|
||||
@@ -221,6 +221,11 @@ void KeyMappingNewKeyDialog::key(const KeyInput &key) {
|
||||
if (key.keyCode == NKCODE_EXT_MOUSEBUTTON_1) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (key.keyCode == NKCODE_ESCAPE) {
|
||||
screenManager()->finishDialog(this, DR_CANCEL);
|
||||
return;
|
||||
}
|
||||
|
||||
KeyDef kdf(key.deviceId, key.keyCode);
|
||||
screenManager()->finishDialog(this, DR_OK);
|
||||
|
||||
Reference in new issue
Block a user