diff options
author | Max Horn | 2003-11-01 22:20:14 +0000 |
---|---|---|
committer | Max Horn | 2003-11-01 22:20:14 +0000 |
commit | 2d7eef223ea16f0b7d87446e41a426cb953fc47c (patch) | |
tree | 0deee2d7a0e3d5f5f3cdc698bcaa690c2dde180b /gui/message.h | |
parent | c62e33b10aacd874cdcd025978095078edb86cc6 (diff) | |
download | scummvm-rg350-2d7eef223ea16f0b7d87446e41a426cb953fc47c.tar.gz scummvm-rg350-2d7eef223ea16f0b7d87446e41a426cb953fc47c.tar.bz2 scummvm-rg350-2d7eef223ea16f0b7d87446e41a426cb953fc47c.zip |
renamed 'timer' to duration; minimal doxygen comments
svn-id: r11040
Diffstat (limited to 'gui/message.h')
-rw-r--r-- | gui/message.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gui/message.h b/gui/message.h index 42879b84eb..32b94573d2 100644 --- a/gui/message.h +++ b/gui/message.h @@ -28,6 +28,9 @@ namespace Common { class StringList; } +/** + * Simple message dialog ("alert box"): presents a text message in a dialog with up to two buttons. + */ class MessageDialog : public Dialog { typedef Common::String String; typedef Common::StringList StringList; @@ -40,9 +43,12 @@ protected: int addLine(Common::StringList &lines, const char *line, int size); }; +/** + * Timed message dialog: displays a message to the user for brief time period. + */ class TimedMessageDialog : public MessageDialog { public: - TimedMessageDialog(NewGui *gui, const Common::String &message, uint32 timer); + TimedMessageDialog(NewGui *gui, const Common::String &message, uint32 duration); void handleTickle(); |