mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 18:23:43 +01:00
Input system refactor: Replace 5 callbacks with an interface
This commit is contained in:
1 parent
dc554e27eb
commit
a6ac956884
7 files changed
+71
-72
No files matched your search
+1
-1
@@ -1432,7 +1432,7 @@ void MainScreen::CreateViews() {
|
||||
#if !defined(MOBILE_DEVICE)
|
||||
auto gr = GetI18NCategory(I18NCat::GRAPHICS);
|
||||
ImageID icon(g_Config.bFullScreen ? "I_RESTORE" : "I_FULLSCREEN");
|
||||
fullscreenButton_ = logo->Add(new Button(gr->T("FullScreen", "Full Screen"), icon, new AnchorLayoutParams(48, 48, NONE, 0, 0, NONE, Centering::None)));
|
||||
fullscreenButton_ = logo->Add(new Button("", icon, new AnchorLayoutParams(48, 48, NONE, 0, 0, NONE, Centering::None)));
|
||||
fullscreenButton_->SetIgnoreText(true);
|
||||
fullscreenButton_->OnClick.Add([this](UI::EventParams &e) {
|
||||
if (fullscreenButton_) {
|
||||
|
||||
Reference in new issue
Block a user