Reimplement Wii loading glyph for tasks.

This commit is contained in:
J-D-K
2025-06-13 11:23:59 -04:00
parent 5c0333c704
commit 5cab0d505b
10 changed files with 111 additions and 20 deletions

View File

@@ -10,6 +10,9 @@
void ProgressState::update(void)
{
// Base routine.
BaseTask::update();
if (m_task.is_running() && input::button_pressed(HidNpadButton_Plus))
{
ui::PopMessageManager::push_message(ui::PopMessageManager::DEFAULT_MESSAGE_TICKS,
@@ -44,4 +47,7 @@ void ProgressState::render(void)
colors::WHITE,
"%s%%",
m_percentageString.c_str());
// Glyph in the corner.
BaseTask::render_loading_glyph();
}