mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-18 17:00:30 +02:00
Implement iOS "bookmark" support, to preserve permissions to recent files from iCloud
This commit is contained in:
1 parent
d6ca0378b6
commit
14ef83f06a
7 files changed
+173
-10
No files matched your search
+2
-2
@@ -1455,11 +1455,11 @@ void MainScreen::CreateViews() {
|
||||
auto gr = GetI18NCategory(I18NCat::GRAPHICS);
|
||||
Button *fullscreenButton = logo->Add(new Button("", ImageID(), new AnchorLayoutParams(48, 48, NONE, 0, 0, NONE, Centering::None)));
|
||||
fullscreenButton->SetIgnoreText(true);
|
||||
fullscreenButton->OnClick.Add([this](UI::EventParams &e) {
|
||||
fullscreenButton->OnClick.Add([](UI::EventParams &e) {
|
||||
g_Config.bFullScreen = !g_Config.bFullScreen;
|
||||
System_ApplyFullscreenState();
|
||||
});
|
||||
fullscreenButton->SetImageIDFunc([this]() {
|
||||
fullscreenButton->SetImageIDFunc([]() {
|
||||
return g_Config.bFullScreen ? ImageID("I_RESTORE") : ImageID("I_FULLSCREEN");
|
||||
});
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user