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 /common/debugger.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 'common/debugger.cpp')
-rw-r--r-- | common/debugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/debugger.cpp b/common/debugger.cpp index 8723ad317f..f47fee07f8 100644 --- a/common/debugger.cpp +++ b/common/debugger.cpp @@ -33,7 +33,7 @@ extern void force_keyboard(bool); namespace Common { template <class T> -Debugger<T>::Debugger(NewGui *gui) { +Debugger<T>::Debugger() { _frame_countdown = 0; _dvar_count = 0; _dcmd_count = 0; @@ -41,7 +41,7 @@ Debugger<T>::Debugger(NewGui *gui) { _isAttached = false; _errStr = NULL; _firstTime = true; - _debuggerDialog = new ConsoleDialog(gui, 1.0, 0.67F); + _debuggerDialog = new ConsoleDialog(1.0, 0.67F); _debuggerDialog->setInputCallback(debuggerInputCallback, this); _debuggerDialog->setCompletionCallback(debuggerCompletionCallback, this); } |