mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 08:13:34 +01:00
Android: Process input prompts more clearly.
This way, the processing is generally inline or explicitly a callback. There's also less parsing issues since all the parsing is centralized.
This commit is contained in:
1 parent
efceb031ce
commit
a3e12f4242
9 files changed
+127
-113
No files matched your search
+4
-1
@@ -121,7 +121,10 @@ UI::EventReturn ChatMenu::OnSubmit(UI::EventParams &e) {
|
||||
chatEdit_->SetFocus();
|
||||
sendChat(chat);
|
||||
#elif PPSSPP_PLATFORM(ANDROID)
|
||||
System_SendMessage("inputbox", "Chat:");
|
||||
auto n = GetI18NCategory("Networking");
|
||||
System_InputBoxGetString(n->T("Chat"), "", [](bool result, const std::string &value) {
|
||||
sendChat(value);
|
||||
});
|
||||
#endif
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user