diff options
author | Max Horn | 2002-12-21 11:57:24 +0000 |
---|---|---|
committer | Max Horn | 2002-12-21 11:57:24 +0000 |
commit | 81dce87a5c17054438042d3af320b00fe46da389 (patch) | |
tree | ff839455218c985dc596d096554637cf03042199 /gui/message.h | |
parent | 50f7ffbeb6109eb92461b45678a7514b84ea54a4 (diff) | |
download | scummvm-rg350-81dce87a5c17054438042d3af320b00fe46da389.tar.gz scummvm-rg350-81dce87a5c17054438042d3af320b00fe46da389.tar.bz2 scummvm-rg350-81dce87a5c17054438042d3af320b00fe46da389.zip |
allow for a timed message dialog w/o buttons (still need to add support for multiple buttons with customm labels)
svn-id: r6038
Diffstat (limited to 'gui/message.h')
-rw-r--r-- | gui/message.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gui/message.h b/gui/message.h index 5b5c3ccea7..c415b905be 100644 --- a/gui/message.h +++ b/gui/message.h @@ -29,12 +29,14 @@ class MessageDialog : public Dialog { typedef ScummVM::String String; typedef ScummVM::StringList StringList; public: - MessageDialog(NewGui *gui, const String &message); + MessageDialog(NewGui *gui, const String &message, uint32 timer = 0, bool showButton = true); + + void handleTickle(); protected: - StringList _lines; - - int addLine(const char *line, int size); + uint32 _timer; + + int addLine(StringList &lines, const char *line, int size); }; #endif |