diff options
author | Vicent Marti | 2008-07-13 16:41:44 +0000 |
---|---|---|
committer | Vicent Marti | 2008-07-13 16:41:44 +0000 |
commit | a95c6fc76d58d3225e4f31e45ea9d686c79def84 (patch) | |
tree | 435c4f67e8aef10f90abf7ca1ef8416a35920342 /gui | |
parent | 9a4992cc37252eb7162aafa72c868558d1b328f1 (diff) | |
download | scummvm-rg350-a95c6fc76d58d3225e4f31e45ea9d686c79def84.tar.gz scummvm-rg350-a95c6fc76d58d3225e4f31e45ea9d686c79def84.tar.bz2 scummvm-rg350-a95c6fc76d58d3225e4f31e45ea9d686c79def84.zip |
Bugfix: Strange behaviour in rounded square corners.
svn-id: r33039
Diffstat (limited to 'gui')
-rw-r--r-- | gui/ThemeDefaultXML.cpp | 6 | ||||
-rw-r--r-- | gui/ThemeParser.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gui/ThemeDefaultXML.cpp b/gui/ThemeDefaultXML.cpp index 932c239f37..68c87c6f2c 100644 --- a/gui/ThemeDefaultXML.cpp +++ b/gui/ThemeDefaultXML.cpp @@ -60,13 +60,13 @@ bool ThemeRenderer::loadDefaultXML() { "</drawdata>" "<drawdata id = 'button_idle' cache = false>" - "<text vertical_align = 'center' horizontal_align = 'center' color = '255, 255, 255' />" - "<drawstep func = 'roundedsq' radius = '8' stroke = 0 fill = 'gradient' gradient_start = '206, 121, 99' gradient_end = '173, 40, 8' shadow = 3 />" + "<text vertical_align = 'center' horizontal_align = 'center' color = '128, 128, 128' />" + "<drawstep func = 'roundedsq' radius = '8' stroke = 0 fill = 'foreground' gradient_start = '206, 121, 99' gradient_end = '173, 40, 8' shadow = 3 />" "</drawdata>" "<drawdata id = 'button_hover' cache = false>" "<text vertical_align = 'center' horizontal_align = 'center' color = '255, 255, 255' />" - "<drawstep func = 'roundedsq' radius = '8' fill = 'gradient' gradient_start = '206, 121, 99' gradient_end = '173, 40, 8' shadow = 3 />" + "<drawstep func = 'roundedsq' radius = '8' stroke = '1' fill = 'gradient' gradient_start = '206, 121, 99' gradient_end = '173, 40, 8' shadow = 3 />" "</drawdata>" "<drawdata id = 'checkbox_disabled' cache = false>" diff --git a/gui/ThemeParser.cpp b/gui/ThemeParser.cpp index eec9801b59..398eab010a 100644 --- a/gui/ThemeParser.cpp +++ b/gui/ThemeParser.cpp @@ -103,7 +103,7 @@ Graphics::DrawStep *ThemeParser::defaultDrawStep() { step->fillMode = Graphics::VectorRenderer::kFillDisabled; step->scale = (1 << 16); step->shadow = 0; - step->stroke = 1; + step->stroke = 0; step->radius = 0xFF; return step; |