mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Add UMD icon for disc switching on pause screen. Add Play icon to continue button
This commit is contained in:
1 parent
0d309a5db1
commit
f2356c5532
2 files changed
+15
-10
No files matched your search
+5
-4
@@ -523,23 +523,24 @@ void GamePauseScreen::CreateViews() {
|
||||
|
||||
rightColumnItems->SetSpacing(0.0f);
|
||||
if (getUMDReplacePermit()) {
|
||||
rightColumnItems->Add(new Choice(pa->T("Switch UMD")))->OnClick.Add([=](UI::EventParams &) {
|
||||
rightColumnItems->Add(new Choice(pa->T("Switch UMD"), ImageID("I_UMD")))->OnClick.Add([=](UI::EventParams &) {
|
||||
screenManager()->push(new UmdReplaceScreen());
|
||||
});
|
||||
}
|
||||
Choice *continueChoice = rightColumnItems->Add(new Choice(pa->T("Continue")));
|
||||
|
||||
Choice *continueChoice = rightColumnItems->Add(new Choice(pa->T("Continue"), ImageID("I_PLAY")));
|
||||
root_->SetDefaultFocusView(continueChoice);
|
||||
continueChoice->OnClick.Handle<UIScreen>(this, &UIScreen::OnBack);
|
||||
|
||||
rightColumnItems->Add(new Spacer(20.0));
|
||||
|
||||
if (g_paramSFO.IsValid() && g_Config.HasGameConfig(g_paramSFO.GetDiscID())) {
|
||||
rightColumnItems->Add(new Choice(pa->T("Game Settings")))->OnClick.Handle(this, &GamePauseScreen::OnGameSettings);
|
||||
rightColumnItems->Add(new Choice(pa->T("Game Settings"), ImageID("I_GEAR")))->OnClick.Handle(this, &GamePauseScreen::OnGameSettings);
|
||||
Choice *delGameConfig = rightColumnItems->Add(new Choice(pa->T("Delete Game Config")));
|
||||
delGameConfig->OnClick.Handle(this, &GamePauseScreen::OnDeleteConfig);
|
||||
delGameConfig->SetEnabled(!bootPending_);
|
||||
} else if (PSP_CoreParameter().fileType != IdentifiedFileType::PPSSPP_GE_DUMP) {
|
||||
rightColumnItems->Add(new Choice(pa->T("Settings")))->OnClick.Handle(this, &GamePauseScreen::OnGameSettings);
|
||||
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")));
|
||||
createGameConfig->OnClick.Handle(this, &GamePauseScreen::OnCreateConfig);
|
||||
createGameConfig->SetEnabled(!bootPending_);
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
inkscape:pagecheckerboard="true"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="px"
|
||||
inkscape:zoom="16.000001"
|
||||
inkscape:cx="88.062495"
|
||||
inkscape:cy="536.09372"
|
||||
inkscape:zoom="4.0000003"
|
||||
inkscape:cx="12.999999"
|
||||
inkscape:cy="535.62497"
|
||||
inkscape:window-width="3840"
|
||||
inkscape:window-height="2071"
|
||||
inkscape:window-x="-9"
|
||||
@@ -4293,12 +4293,16 @@
|
||||
sodipodi:nodetypes="ssssssssssssssscscssscscsssssssssssssss"
|
||||
id="path113" /></g><path
|
||||
id="I_HOMEBREW_STORE"
|
||||
style="color:#000000;baseline-shift:baseline;display:inline;overflow:visible;visibility:visible;vector-effect:none;fill:#ffffff;stroke:none;stroke-width:0.469874;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate;stop-color:#000000"
|
||||
d="m 20.760665,143.03559 c -0.967683,0 -1.755448,0.78827 -1.755448,1.75596 0,0.43966 -0.0044,0.20079 0.0098,0.85525 l 0.401008,-0.008 c -0.0142,-0.65446 -0.0098,-0.4053 -0.0098,-0.8475 0,-0.79603 0.574952,-1.33842 1.370975,-1.33842 0.796027,0 1.33842,0.54239 1.33842,1.33842 0,0.35291 0.01321,0.39753 0.0078,0.80254 l 0.401009,0.004 c 0.0055,-0.41175 -0.0078,-0.46127 -0.0078,-0.80667 0,-0.96769 -0.788281,-1.75596 -1.755965,-1.75596 z m -5.035867,1.64848 -0.33073,9.86761 h 10.611755 l -0.413412,-9.86761 h -2.678389 v 0.6847 h 2.042769 l 0.413411,8.56382 h -9.307958 l 0.330729,-8.56382 h 2.188497 v -0.6847 z m 4.34392,1.06453 -0.455786,2.41019 1.077453,1.37407 1.508952,-0.8847 0.455269,-2.41018 z m 0.303857,0.44493 1.837097,0.34727 -0.35295,1.86604 -1.071769,0.62838 -0.765328,-0.97565 z m -3.247863,1.56012 -0.488859,2.5864 2.409672,0.45579 1.374076,-1.07797 -0.884701,-1.50844 z m 0.303341,0.44545 1.865519,0.35243 0.628385,1.07177 -0.975134,0.76584 -1.866036,-0.35295 z m 4.821927,0.5271 -1.374076,1.07745 0.8847,1.50843 2.410189,0.45579 0.488859,-2.58641 z m 0.0987,0.40669 1.866036,0.35243 -0.347266,1.83762 -1.865519,-0.35295 -0.628902,-1.07177 z m -1.74408,0.85628 -1.508434,0.88418 -0.455786,2.41071 2.586405,0.48886 0.455786,-2.41019 z m -0.09405,0.49712 0.765328,0.97566 -0.35295,1.86603 -1.837097,-0.34726 0.35295,-1.86604 z"
|
||||
style="color:#000000;baseline-shift:baseline;display:inline;overflow:visible;visibility:visible;vector-effect:none;fill:#ffffff;stroke:none;stroke-width:0.439341;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate;stop-color:#000000"
|
||||
d="m 20.756719,143.40974 c -0.904801,0 -1.641376,0.73705 -1.641376,1.64186 0,0.41109 -0.0041,0.18774 0.0092,0.79967 l 0.37495,-0.007 c -0.01328,-0.61193 -0.0092,-0.37896 -0.0092,-0.79243 0,-0.7443 0.53759,-1.25144 1.281887,-1.25144 0.7443,0 1.251448,0.50714 1.251448,1.25144 0,0.32998 0.01235,0.3717 0.0073,0.75039 l 0.374951,0.004 c 0.0051,-0.38499 -0.0073,-0.43129 -0.0073,-0.75425 0,-0.90481 -0.737058,-1.64185 -1.641861,-1.64185 z m -4.70863,1.54136 -0.309238,9.2264 h 9.922189 l -0.386547,-9.2264 h -2.504344 v 0.64021 h 1.910027 l 0.386547,8.00733 h -8.703115 l 0.309237,-8.00733 h 2.046286 v -0.64021 z m 4.061647,0.99536 -0.426169,2.25357 1.007439,1.28478 1.410899,-0.82721 0.425685,-2.25356 z m 0.284112,0.41602 1.71772,0.3247 -0.330015,1.74478 -1.002124,0.58755 -0.715596,-0.91225 z m -3.036813,1.45874 -0.457092,2.41833 2.253088,0.42617 1.284787,-1.00792 -0.827212,-1.41042 z m 0.28363,0.4165 1.744295,0.32953 0.587552,1.00212 -0.911769,0.71608 -1.744779,-0.33002 z m 4.508592,0.49285 -1.284787,1.00744 0.827211,1.41041 2.253572,0.42617 0.457092,-2.41834 z m 0.09229,0.38026 1.744779,0.32953 -0.3247,1.71821 -1.744296,-0.33001 -0.588035,-1.00213 z m -1.630747,0.80064 -1.410414,0.82673 -0.426169,2.25405 2.418337,0.4571 0.426169,-2.25358 z m -0.08794,0.46482 0.715596,0.91226 -0.330015,1.74477 -1.71772,-0.32469 0.330015,-1.74479 z"
|
||||
sodipodi:nodetypes="csccsssccsccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" /><g
|
||||
id="g120"
|
||||
style="stroke-width:1.79263;stroke-dasharray:none"
|
||||
transform="matrix(0.20889172,0.03949575,-0.03949575,0.20889172,18.228855,116.18149)" /></g><path
|
||||
transform="matrix(0.20889172,0.03949575,-0.03949575,0.20889172,18.228855,116.18149)" /><path
|
||||
id="I_UMD"
|
||||
style="baseline-shift:baseline;display:inline;overflow:visible;vector-effect:none;fill:#ffffff;stroke-width:0.0354112;enable-background:accumulate;stop-color:#000000"
|
||||
d="m 33.372119,144.28627 c -2.906381,0 -5.270995,2.31457 -5.270995,5.1697 0,1.44884 0.0098,2.54868 0.03772,3.90519 0.02372,1.15093 3.801735,1.26504 5.233272,1.26504 1.436927,0 5.226873,-0.21508 5.227588,-1.30534 9.7e-4,-1.48159 0.04393,-2.42135 0.04393,-3.86489 0,-2.85513 -2.365133,-5.1697 -5.271512,-5.1697 z m 0,0.42478 c 2.681351,0 4.846215,2.1241 4.846215,4.74492 0,2.62084 -2.164864,4.74545 -4.846215,4.74545 -2.681354,0 -4.846215,-2.12461 -4.846215,-4.74545 0,-2.62082 2.164861,-4.74492 4.846215,-4.74492 z m 0.02739,2.57813 c -1.145494,5e-5 -2.074007,0.9288 -2.073775,2.07429 4.9e-5,1.14529 0.92848,2.07373 2.073775,2.07378 1.145294,-5e-5 2.073725,-0.92849 2.073774,-2.07378 2.32e-4,-1.14549 -0.928281,-2.07424 -2.073774,-2.07429 z"
|
||||
sodipodi:nodetypes="sscssssscssscccccc" /></g><path
|
||||
id="I_GEAR"
|
||||
style="fill:#ececec;fill-opacity:1;stroke-width:0.019487"
|
||||
class="st0"
|
||||
|
||||
|
Before Width: | Height: | Size: 212 KiB After Width: | Height: | Size: 213 KiB |
Reference in new issue
Block a user