aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti2008-06-29 19:59:16 +0000
committerVicent Marti2008-06-29 19:59:16 +0000
commite44505cda44d091d43eeea4bc05a7eb1919ec63a (patch)
treee408874c61c3d2f57c5cf025c6b18d4ae4d8b210
parentf1173f52a24de56fd7ad91e5806917db8c11ee63 (diff)
downloadscummvm-rg350-e44505cda44d091d43eeea4bc05a7eb1919ec63a.tar.gz
scummvm-rg350-e44505cda44d091d43eeea4bc05a7eb1919ec63a.tar.bz2
scummvm-rg350-e44505cda44d091d43eeea4bc05a7eb1919ec63a.zip
Rendering pipeline. WIP.
svn-id: r32845
-rw-r--r--gui/InterfaceManager.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/gui/InterfaceManager.h b/gui/InterfaceManager.h
index 07fa0ea24e..0a0c62c9f8 100644
--- a/gui/InterfaceManager.h
+++ b/gui/InterfaceManager.h
@@ -175,7 +175,11 @@ public:
~InterfaceManager() {
freeRenderer();
freeScreen();
+ unloadTheme();
delete _parser;
+
+ while (!_dialogStack.empty())
+ delete _dialogStack.pop();
}
void setGraphicsMode(Graphics_Mode mode);
@@ -269,6 +273,10 @@ protected:
return _dialogStack.top();
}
+ void openDialog(Dialog *dlg) {
+ _dialogStack.push(dlg);
+ }
+
bool needThemeReload() {
return (_themeOk == false || _needThemeLoad == true);
}
@@ -293,7 +301,6 @@ protected:
GUI::ThemeParser *_parser;
Graphics::Surface *_screen;
- Graphics::Surface *_screenCache;
int _bytesPerPixel;
Graphics_Mode _graphicsMode;