[Scummvm-cvs-logs] SF.net SVN: scummvm:[35515] scummvm/trunk/gui/ThemeEngine.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Wed Dec 24 01:05:42 CET 2008


Revision: 35515
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35515&view=rev
Author:   lordhoto
Date:     2008-12-24 00:05:42 +0000 (Wed, 24 Dec 2008)

Log Message:
-----------
Added FIXME in ThemeEngine::drawSlider.

Modified Paths:
--------------
    scummvm/trunk/gui/ThemeEngine.cpp

Modified: scummvm/trunk/gui/ThemeEngine.cpp
===================================================================
--- scummvm/trunk/gui/ThemeEngine.cpp	2008-12-23 23:47:16 UTC (rev 35514)
+++ scummvm/trunk/gui/ThemeEngine.cpp	2008-12-24 00:05:42 UTC (rev 35515)
@@ -706,6 +706,12 @@
 
 	drawWidgetBackground(r, 0, kWidgetBackgroundSlider, kStateEnabled);
 
+	// TODO/FIXME: This seems to prevent displaying of
+	// slider widgets in low ranges. When disabling it
+	// the slider is shown, but it creates gfx glitches
+	// in modern theme. Modern theme uses "roundedsq"
+	// as drawing function, thus the real bug should be
+	// in VectorRenderer::drawRoundedSquare.
 	if (width > r.width() * 5 / 100)
 		queueDD(dd, r2);
 }


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