[Scummvm-cvs-logs] SF.net SVN: scummvm:[35743] scummvm/trunk/gui
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Mon Jan 5 20:54:10 CET 2009
Revision: 35743
http://scummvm.svn.sourceforge.net/scummvm/?rev=35743&view=rev
Author: fingolfin
Date: 2009-01-05 19:54:10 +0000 (Mon, 05 Jan 2009)
Log Message:
-----------
Tweak gui/ThemeData.* to not produce errors on certain system like Haiku (at least I hope this will work :)
Modified Paths:
--------------
scummvm/trunk/gui/ThemeData.cpp
scummvm/trunk/gui/ThemeData.h
Modified: scummvm/trunk/gui/ThemeData.cpp
===================================================================
--- scummvm/trunk/gui/ThemeData.cpp 2009-01-05 17:05:50 UTC (rev 35742)
+++ scummvm/trunk/gui/ThemeData.cpp 2009-01-05 19:54:10 UTC (rev 35743)
@@ -133,4 +133,13 @@
_engine->addDirtyRect(_area);
}
+WidgetDrawData::~WidgetDrawData() {
+ _steps.clear();
+
+ if (_surfaceCache) {
+ _surfaceCache->free();
+ delete _surfaceCache;
+ }
}
+
+}
Modified: scummvm/trunk/gui/ThemeData.h
===================================================================
--- scummvm/trunk/gui/ThemeData.h 2009-01-05 17:05:50 UTC (rev 35742)
+++ scummvm/trunk/gui/ThemeData.h 2009-01-05 19:54:10 UTC (rev 35743)
@@ -58,14 +58,7 @@
/** Texture where the cached widget is stored. */
Graphics::Surface *_surfaceCache;
- ~WidgetDrawData() {
- _steps.clear();
-
- if (_surfaceCache) {
- _surfaceCache->free();
- delete _surfaceCache;
- }
- }
+ ~WidgetDrawData();
};
class ThemeItem {
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