UI tweaks. Change to cleaner background image.

This commit is contained in:
Henrik Rydgard committed 2013-08-20 00:49:25 +02:00
1 parent 1559b4404a
commit b186294132
30 files changed
+33968 -33854

No files matched your search

+6 -1
View File
@@ -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);