Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

void OSystem::displayMessageOnOSD ( const char *  msg  )  [virtual]

Display a message in an 'on screen display'. That is, display it in a fashion where it is visible on or near the screen (e.g. in a transparent rectangle over the regular screen content; or in a message box beneath it; etc.).

There is a default implementation which uses a TimedMessageDialog to display the message. Hence implementing this is optional.
msg the message to display on screen

Definition at line 86 of file system.cpp.

      // Display the message for 1.5 seconds
      GUI::TimedMessageDialog dialog(msg, 1500);

Generated by  Doxygen 1.6.0   Back to index