aboutsummaryrefslogtreecommitdiff
path: root/gui/themes/scummmodern/scummmodern_gfx.stx
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2012-01-28 23:24:02 +0100
committerWillem Jan Palenstijn2012-02-20 22:17:28 +0100
commit2957321903a964113bf0b0babb89e835828fd00b (patch)
tree72bd3359c06f1829220a27be9db3d3fa1e65249f /gui/themes/scummmodern/scummmodern_gfx.stx
parent6cc5b83bba51a4d048c09dc35c0d4ed78e07f7ad (diff)
downloadscummvm-rg350-2957321903a964113bf0b0babb89e835828fd00b.tar.gz
scummvm-rg350-2957321903a964113bf0b0babb89e835828fd00b.tar.bz2
scummvm-rg350-2957321903a964113bf0b0babb89e835828fd00b.zip
GUI: Rewrite AA rounded square renderer
This fixes bleeding of colours between different regions. It also turns 'bevel' into an option that turns the stroke into a bevel, and implements antialiased gradient-fills.
Diffstat (limited to 'gui/themes/scummmodern/scummmodern_gfx.stx')
-rw-r--r--gui/themes/scummmodern/scummmodern_gfx.stx3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/themes/scummmodern/scummmodern_gfx.stx b/gui/themes/scummmodern/scummmodern_gfx.stx
index af444be340..b420ce0903 100644
--- a/gui/themes/scummmodern/scummmodern_gfx.stx
+++ b/gui/themes/scummmodern/scummmodern_gfx.stx
@@ -398,7 +398,7 @@
<!-- Background of the slider widget -->
<drawdata id = 'widget_slider' cache = 'false'>
<drawstep func = 'roundedsq'
- stroke = '0'
+ stroke = '1'
radius = '5'
fill = 'foreground'
fg_color = 'paleyellow'
@@ -687,6 +687,7 @@
radius = '5'
fg_color = 'paleyellow'
shadow = '0'
+ stroke = '1'
bevel = '1'
bevel_color = 'shadowcolor'
/>