[Scummvm-cvs-logs] SF.net SVN: scummvm:[33201] scummvm/branches/gsoc2008-gui/gui
Tanoku at users.sourceforge.net
Tanoku at users.sourceforge.net
Tue Jul 22 15:33:33 CEST 2008
Revision: 33201
http://scummvm.svn.sourceforge.net/scummvm/?rev=33201&view=rev
Author: Tanoku
Date: 2008-07-22 13:33:32 +0000 (Tue, 22 Jul 2008)
Log Message:
-----------
Cleanup.
Modified Paths:
--------------
scummvm/branches/gsoc2008-gui/gui/ThemeRenderer.cpp
scummvm/branches/gsoc2008-gui/gui/ThemeRenderer.h
Modified: scummvm/branches/gsoc2008-gui/gui/ThemeRenderer.cpp
===================================================================
--- scummvm/branches/gsoc2008-gui/gui/ThemeRenderer.cpp 2008-07-22 13:32:18 UTC (rev 33200)
+++ scummvm/branches/gsoc2008-gui/gui/ThemeRenderer.cpp 2008-07-22 13:33:32 UTC (rev 33201)
@@ -303,6 +303,7 @@
DrawQueue q;
q.type = type;
q.area = r;
+ q.area.clip(_screen->w, _screen->h);
q.dynData = dynamic;
if (_buffering) {
@@ -323,6 +324,7 @@
DrawQueueText q;
q.type = type;
q.area = r;
+ q.area.clip(_screen->w, _screen->h);
q.text = text;
q.colorId = colorId;
q.align = align;
Modified: scummvm/branches/gsoc2008-gui/gui/ThemeRenderer.h
===================================================================
--- scummvm/branches/gsoc2008-gui/gui/ThemeRenderer.h 2008-07-22 13:32:18 UTC (rev 33200)
+++ scummvm/branches/gsoc2008-gui/gui/ThemeRenderer.h 2008-07-22 13:33:32 UTC (rev 33201)
@@ -429,9 +429,6 @@
* Handles all the dirty squares in the list, merges and optimizes
* them when possible and draws them to the screen.
* Called from updateScreen()
- *
- * TODO: This function is partly implemented, but currently not used.
- * Currently the whole frame is drawn to the screen.
*/
void renderDirtyScreen();
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