aboutsummaryrefslogtreecommitdiff
path: root/gui/message.h
diff options
context:
space:
mode:
authorMax Horn2003-11-01 22:20:14 +0000
committerMax Horn2003-11-01 22:20:14 +0000
commit2d7eef223ea16f0b7d87446e41a426cb953fc47c (patch)
tree0deee2d7a0e3d5f5f3cdc698bcaa690c2dde180b /gui/message.h
parentc62e33b10aacd874cdcd025978095078edb86cc6 (diff)
downloadscummvm-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.h8
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();