mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Partial game-info-screen rework
This commit is contained in:
1 parent
a660932faa
commit
1ae76e871b
10 files changed
+147
-109
No files matched your search
+6
-1
@@ -539,7 +539,12 @@ void CreditsScreen::CreateDialogViews(UI::ViewGroup *root) {
|
||||
int rightYOffset = 0;
|
||||
if (!System_GetPropertyBool(SYSPROP_APP_GOLD)) {
|
||||
ScreenManager *sm = screenManager();
|
||||
left->Add(new Choice(mm->T("Buy PPSSPP Gold")))->OnClick.Add([sm](UI::EventParams) {
|
||||
Choice *gold = new Choice(mm->T("Buy PPSSPP Gold"));
|
||||
gold->SetIcon(ImageID("I_ICON_GOLD"), 0.5f);
|
||||
gold->SetImageScale(0.6f); // for the left-icon in case of vertical.
|
||||
gold->SetShine(true);
|
||||
|
||||
left->Add(gold)->OnClick.Add([sm](UI::EventParams) {
|
||||
LaunchBuyGold(sm);
|
||||
});
|
||||
rightYOffset = 74;
|
||||
|
||||
Reference in new issue
Block a user