diff options
author | Eugene Sandulenko | 2015-12-19 22:19:48 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-27 15:40:56 +0100 |
commit | 3adda8284f6232f0a2728d325890135c8b0fa9ac (patch) | |
tree | 2ee6fcf4bfa81625bcb2921b27556deffffe236c /engines/wage/design.cpp | |
parent | 08ffaf8055778f8b58bd630d30b782ba40dbb3a2 (diff) | |
download | scummvm-rg350-3adda8284f6232f0a2728d325890135c8b0fa9ac.tar.gz scummvm-rg350-3adda8284f6232f0a2728d325890135c8b0fa9ac.tar.bz2 scummvm-rg350-3adda8284f6232f0a2728d325890135c8b0fa9ac.zip |
WAGE: Fix to roundrect rendering
Diffstat (limited to 'engines/wage/design.cpp')
-rw-r--r-- | engines/wage/design.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index cf06b02086..42dca86b11 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -180,19 +180,11 @@ void Design::drawRoundRect(Graphics::Surface *surface, Common::ReadStream &in, b } Common::Rect inner(x1 + borderThickness, y1 + borderThickness, x2 - borderThickness, y2 - borderThickness); - drawFilledRoundRect(outer, arc, kColorBlack, drawPixel, &pd); + drawFilledRoundRect(outer, arc/2, kColorBlack, drawPixel, &pd); pd.fillType = fillType; - drawFilledRoundRect(inner, arc, kColorBlack, drawPixel, &pd); -/* - Common::Rect inn(50, 50, 400, 400); - pd.fillType = 8; - pd.x0 = 50; - pd.y0 = 50; - drawFilledRect(inn, kColorBlack, drawPixel, &pd); - drawFilledRoundRect(inn, arc, kColorGray, drawPixel, &pd); -*/ + drawFilledRoundRect(inner, arc/2, kColorBlack, drawPixel, &pd); } void Design::drawPolygon(Graphics::Surface *surface, Common::ReadStream &in, bool mask, |