Progress bar for file loading.
This commit is contained in:
12
menu.cpp
12
menu.cpp
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user