mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Progress bar: Fix the indeterminate state
This commit is contained in:
1 parent
d2c3a7c978
commit
ff75eced70
3 files changed
+31
-13
No files matched your search
@@ -824,6 +824,10 @@ void SystemInfoScreen::CreateTabs() {
|
||||
g_OSD.SetProgressBar("testprogress", "Test Progress", 1, 100, 100);
|
||||
return UI::EVENT_DONE;
|
||||
});
|
||||
internals->Add(new Choice(si->T("N/A%")))->OnClick.Add([&](UI::EventParams &) {
|
||||
g_OSD.SetProgressBar("testprogress", "Test Progress", 0, 0, 0);
|
||||
return UI::EVENT_DONE;
|
||||
});
|
||||
internals->Add(new Choice(si->T("Clear")))->OnClick.Add([&](UI::EventParams &) {
|
||||
g_OSD.RemoveProgressBar("testprogress", 0.25f);
|
||||
return UI::EVENT_DONE;
|
||||
|
||||
Reference in new issue
Block a user