diff options
author | Max Horn | 2003-11-02 02:18:16 +0000 |
---|---|---|
committer | Max Horn | 2003-11-02 02:18:16 +0000 |
commit | b27a871f870df854a6db0f4530d4596483927bb1 (patch) | |
tree | f6c75300cd5dcd22b67044256e36a01f985a054d /gui/about.cpp | |
parent | f2c4bbbdbfb06b5296eb3fcdcb7235292e6ac039 (diff) | |
download | scummvm-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/about.cpp')
-rw-r--r-- | gui/about.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/about.cpp b/gui/about.cpp index e94a6b9598..5ef2188c4c 100644 --- a/gui/about.cpp +++ b/gui/about.cpp @@ -24,8 +24,8 @@ #include "base/engine.h" #include "common/str.h" -AboutDialog::AboutDialog(NewGui *gui) - : Dialog(gui, 10, 20, 300, 124) { +AboutDialog::AboutDialog() + : Dialog(10, 20, 300, 124) { addButton((_w - kButtonWidth)/2, 100, "OK", kCloseCmd, '\r'); // Close dialog - FIXME Common::String version("ScummVM "); |