Progress bar for file loading.

This commit is contained in:
sorgelig
2019-12-08 05:33:31 +08:00
parent 5373f3d978
commit 312873d0cf
3 changed files with 52 additions and 6 deletions

View File

@@ -4847,11 +4847,11 @@ void ErrorMessage(const char *message, unsigned char code)
OsdEnable(0); // do not disable KEYBOARD
}
void InfoMessage(const char *message, int timeout)
void InfoMessage(const char *message, int timeout, const char *title)
{
if (menustate != MENU_INFO)
{
OsdSetTitle("Message", 0);
OsdSetTitle(title, 0);
OsdEnable(0); // do not disable keyboard
}
@@ -4859,6 +4859,14 @@ void InfoMessage(const char *message, int timeout)
menu_timer = GetTimer(timeout);
menustate = MENU_INFO;
HandleUI();
OsdUpdate();
}
void MenuHide()
{
menustate = MENU_NONE1;
HandleUI();
}
void Info(const char *message, int timeout, int width, int height, int frame)