aboutsummaryrefslogtreecommitdiff
path: root/gui/message.h
diff options
context:
space:
mode:
authorMax Horn2003-11-02 02:18:16 +0000
committerMax Horn2003-11-02 02:18:16 +0000
commitb27a871f870df854a6db0f4530d4596483927bb1 (patch)
treef6c75300cd5dcd22b67044256e36a01f985a054d /gui/message.h
parentf2c4bbbdbfb06b5296eb3fcdcb7235292e6ac039 (diff)
downloadscummvm-rg350-b27a871f870df854a6db0f4530d4596483927bb1.tar.gz
scummvm-rg350-b27a871f870df854a6db0f4530d4596483927bb1.tar.bz2
scummvm-rg350-b27a871f870df854a6db0f4530d4596483927bb1.zip
turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
Diffstat (limited to 'gui/message.h')
-rw-r--r--gui/message.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/message.h b/gui/message.h
index 32b94573d2..d2e018ecb8 100644
--- a/gui/message.h
+++ b/gui/message.h
@@ -35,7 +35,7 @@ class MessageDialog : public Dialog {
typedef Common::String String;
typedef Common::StringList StringList;
public:
- MessageDialog(NewGui *gui, const Common::String &message, const char *defaultButton = "OK", const char *altButton = 0);
+ MessageDialog(const Common::String &message, const char *defaultButton = "OK", const char *altButton = 0);
void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);
@@ -48,7 +48,7 @@ protected:
*/
class TimedMessageDialog : public MessageDialog {
public:
- TimedMessageDialog(NewGui *gui, const Common::String &message, uint32 duration);
+ TimedMessageDialog(const Common::String &message, uint32 duration);
void handleTickle();