mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Store: Implement progress bar for homebrew installs
This commit is contained in:
1 parent
bd388fc094
commit
c2850ff65a
45 files changed
+72
-51
No files matched your search
+4
-4
@@ -311,15 +311,15 @@ void ProductView::CreateViews() {
|
||||
} else {
|
||||
installButton_ = nullptr;
|
||||
speedView_ = nullptr;
|
||||
Add(new TextView(st->T("Already Installed")));
|
||||
launchButton_ = new Button(st->T("Launch Game"));
|
||||
launchButton_->OnClick.Handle(this, &ProductView::OnLaunchClick);
|
||||
Add(launchButton_);
|
||||
uninstallButton_ = new Button(st->T("Uninstall"));
|
||||
Add(uninstallButton_)->OnClick.Add([=](UI::EventParams &e) {
|
||||
g_GameManager.UninstallGameOnThread(entry_.file);
|
||||
return UI::EVENT_DONE;
|
||||
});
|
||||
launchButton_ = new Button(st->T("Launch Game"));
|
||||
launchButton_->OnClick.Handle(this, &ProductView::OnLaunchClick);
|
||||
Add(launchButton_);
|
||||
Add(new TextView(st->T("Installed")));
|
||||
}
|
||||
|
||||
cancelButton_ = Add(new Button(di->T("Cancel")));
|
||||
|
||||
Reference in new issue
Block a user