mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Add convenient UI on the pause screen for changing/locking the screen orientation
This commit is contained in:
1 parent
9035485abf
commit
ed25b5e991
21 files changed
+247
-87
No files matched your search
@@ -125,7 +125,7 @@ void TouchControlVisibilityScreen::CreateContentViews(UI::ViewGroup *parent) {
|
||||
} else {
|
||||
truncate_cpy(translated, sizeof(translated), mc->T(toggle.key));
|
||||
}
|
||||
choice = new Choice(std::string(translated) + " (" + std::string(mc->T("tap to customize")) + ")", "", false, new LinearLayoutParams(1.0f));
|
||||
choice = new Choice(std::string(translated) + " (" + std::string(mc->T("tap to customize")) + ")", "", new LinearLayoutParams(1.0f));
|
||||
choice->OnClick.Add(toggle.handle);
|
||||
} else if (toggle.img.isValid()) {
|
||||
choice = new CheckBoxChoice(toggle.img, checkbox, new LinearLayoutParams(1.0f));
|
||||
|
||||
Reference in new issue
Block a user