From b27a871f870df854a6db0f4530d4596483927bb1 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 2 Nov 2003 02:18:16 +0000 Subject: 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 --- gui/message.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/message.h') 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(); -- cgit v1.2.3