[Scummvm-cvs-logs] SF.net SVN: scummvm: [32845] scummvm/branches/gsoc2008-gui/gui/ InterfaceManager.h

tanoku at users.sourceforge.net tanoku at users.sourceforge.net
Sun Jun 29 21:59:16 CEST 2008


Revision: 32845
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32845&view=rev
Author:   tanoku
Date:     2008-06-29 12:59:16 -0700 (Sun, 29 Jun 2008)

Log Message:
-----------
Rendering pipeline. WIP.

Modified Paths:
--------------
    scummvm/branches/gsoc2008-gui/gui/InterfaceManager.h

Modified: scummvm/branches/gsoc2008-gui/gui/InterfaceManager.h
===================================================================
--- scummvm/branches/gsoc2008-gui/gui/InterfaceManager.h	2008-06-29 16:58:27 UTC (rev 32844)
+++ scummvm/branches/gsoc2008-gui/gui/InterfaceManager.h	2008-06-29 19:59:16 UTC (rev 32845)
@@ -175,7 +175,11 @@
 	~InterfaceManager() {
 		freeRenderer();
 		freeScreen();
+		unloadTheme();
 		delete _parser;
+
+		while (!_dialogStack.empty())
+			delete _dialogStack.pop();
 	}
 
 	void setGraphicsMode(Graphics_Mode mode);
@@ -269,6 +273,10 @@
 		return _dialogStack.top();
 	}
 
+	void openDialog(Dialog *dlg) {
+		_dialogStack.push(dlg);
+	}
+
 	bool needThemeReload() {
 		return (_themeOk == false || _needThemeLoad == true);
 	}
@@ -293,7 +301,6 @@
 	GUI::ThemeParser *_parser;
 
 	Graphics::Surface *_screen;
-	Graphics::Surface *_screenCache;
 
 	int _bytesPerPixel;
 	Graphics_Mode _graphicsMode;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list