From ff45c8aa65bc38ea6f97584874b53fa8fa862d2a Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 24 Dec 2008 00:05:42 +0000 Subject: Added FIXME in ThemeEngine::drawSlider. svn-id: r35515 --- gui/ThemeEngine.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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); } -- cgit v1.2.3