mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-05 15:37:51 +00:00
UI: Use the new "PopupTextInputChoice" for nicknames where available (windows)
This commit is contained in:
parent
06f058de54
commit
27b4403cae
@ -392,7 +392,9 @@ void GameSettingsScreen::CreateViews() {
|
||||
systemSettings->Add(new PopupMultiChoice(&g_Config.iPSPModel, s->T("PSP Model"), models, 0, ARRAY_SIZE(models), s, screenManager()));
|
||||
// TODO: Come up with a way to display a keyboard for mobile users,
|
||||
// so until then, this is Windows/Desktop only.
|
||||
#if defined(_WIN32) || defined(USING_QT_UI)
|
||||
#if defined(_WIN32) // TODO: Add all platforms where KEY_CHAR support is added
|
||||
systemSettings->Add(new PopupTextInputChoice(&g_Config.sNickName, s->T("Change Nickname"), "", screenManager()));
|
||||
#elif defined(USING_QT_UI)
|
||||
systemSettings->Add(new Choice(s->T("Change Nickname")))->OnClick.Handle(this, &GameSettingsScreen::OnChangeNickname);
|
||||
#endif
|
||||
#if defined(_WIN32) || (defined(USING_QT_UI) && !defined(MOBILE_DEVICE))
|
||||
|
2
native
2
native
@ -1 +1 @@
|
||||
Subproject commit 49e8414fec1e371c30d901916a2c014cd5316d1a
|
||||
Subproject commit 76cb31cdd5e0ef7b65819943c9f667810600fe6f
|
Loading…
Reference in New Issue
Block a user