aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2008-12-24 00:05:42 +0000
committerJohannes Schickel2008-12-24 00:05:42 +0000
commitff45c8aa65bc38ea6f97584874b53fa8fa862d2a (patch)
treeda58977ca5b564d6d9996a7b67d3a21240d87db1
parent604b8f08b6c52b027972457e52932f7c95eb353b (diff)
downloadscummvm-rg350-ff45c8aa65bc38ea6f97584874b53fa8fa862d2a.tar.gz
scummvm-rg350-ff45c8aa65bc38ea6f97584874b53fa8fa862d2a.tar.bz2
scummvm-rg350-ff45c8aa65bc38ea6f97584874b53fa8fa862d2a.zip
Added FIXME in ThemeEngine::drawSlider.
svn-id: r35515
-rw-r--r--gui/ThemeEngine.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 06f36a50d2..d483e06e82 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -706,6 +706,12 @@ void ThemeEngine::drawSlider(const Common::Rect &r, int width, WidgetStateInfo s
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);
}