From 2d7eef223ea16f0b7d87446e41a426cb953fc47c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 1 Nov 2003 22:20:14 +0000 Subject: renamed 'timer' to duration; minimal doxygen comments svn-id: r11040 --- gui/message.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gui/message.h') 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(); -- cgit v1.2.3