mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
More UI work (#21035)
* Improve a couple of on-screen buttons (menu, fastforward) * Fix the new continue button, oops * Add some missing translations * Split a translation string to make portrait look better * More GameScreen redesign * Don't accidentally go into game-specific mode * Fix layout issue with popupscreens, fix context menu positioning * One more icon
This commit is contained in:
1 parent
b71ee0ba89
commit
3116eba395
66 files changed
+400
-200
No files matched your search
+3
-1
@@ -570,7 +570,7 @@ void GamePauseScreen::CreateViews() {
|
||||
delGameConfig->SetEnabled(!bootPending_);
|
||||
} else if (PSP_CoreParameter().fileType != IdentifiedFileType::PPSSPP_GE_DUMP) {
|
||||
rightColumnItems->Add(new Choice(pa->T("Settings"), ImageID("I_GEAR")))->OnClick.Handle(this, &GamePauseScreen::OnGameSettings);
|
||||
Choice *createGameConfig = rightColumnItems->Add(new Choice(pa->T("Create Game Config")));
|
||||
Choice *createGameConfig = rightColumnItems->Add(new Choice(pa->T("Create Game Config"), ImageID("I_GEAR_STAR")));
|
||||
createGameConfig->OnClick.Handle(this, &GamePauseScreen::OnCreateConfig);
|
||||
createGameConfig->SetEnabled(!bootPending_);
|
||||
}
|
||||
@@ -616,6 +616,8 @@ void GamePauseScreen::CreateViews() {
|
||||
exitRow->Add(exit);
|
||||
exit->ReplaceLayoutParams(new UI::LinearLayoutParams(1.0f, Gravity::G_VCENTER));
|
||||
Choice *continueChoice = new Choice(pa->T("Continue"), ImageID("I_PLAY"));
|
||||
continueChoice->OnClick.Handle<UIScreen>(this, &UIScreen::OnBack);
|
||||
root_->SetDefaultFocusView(continueChoice);
|
||||
exitRow->Add(continueChoice);
|
||||
continueChoice->ReplaceLayoutParams(new UI::LinearLayoutParams(1.0f, Gravity::G_VCENTER));
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user