BACKENDS: Fix OSD implementation in ModularBackend.
svn-id: r54828
This commit is contained in:
parent
d451084fb4
commit
e361b84d3b
2 changed files with 3 additions and 7 deletions
|
@ -264,12 +264,7 @@ AudioCDManager *ModularBackend::getAudioCDManager() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModularBackend::displayMessageOnOSD(const char *msg) {
|
void ModularBackend::displayMessageOnOSD(const char *msg) {
|
||||||
#ifdef USE_OSD
|
|
||||||
_graphicsManager->displayMessageOnOSD(msg);
|
_graphicsManager->displayMessageOnOSD(msg);
|
||||||
#else
|
|
||||||
GUI::TimedMessageDialog dialog(msg, 1500);
|
|
||||||
dialog.runModal();
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Common::SaveFileManager *ModularBackend::getSavefileManager() {
|
Common::SaveFileManager *ModularBackend::getSavefileManager() {
|
||||||
|
|
|
@ -987,8 +987,9 @@ public:
|
||||||
*
|
*
|
||||||
* Currently, only pure ASCII messages can be expected to show correctly.
|
* Currently, only pure ASCII messages can be expected to show correctly.
|
||||||
*
|
*
|
||||||
* @note There is a default implementation which uses a TimedMessageDialog
|
* @note There is a default implementation in BaseBackend which uses a
|
||||||
* to display the message. Hence implementing this is optional.
|
* TimedMessageDialog to display the message. Hence implementing
|
||||||
|
* this is optional.
|
||||||
*
|
*
|
||||||
* @param msg the message to display on screen
|
* @param msg the message to display on screen
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue