diff options
author | Scott Percival | 2020-01-05 13:21:15 +0800 |
---|---|---|
committer | Scott Percival | 2020-01-05 13:21:15 +0800 |
commit | 976c57a4b10db959968a6fb287f1073097e14cc4 (patch) | |
tree | 1ce47431964e66b10f0b5a9805350abbed771d9f /engines/director | |
parent | 4b3a5257f5f5e848bc46c479b0b98e78b0f5cc18 (diff) | |
download | scummvm-rg350-976c57a4b10db959968a6fb287f1073097e14cc4.tar.gz scummvm-rg350-976c57a4b10db959968a6fb287f1073097e14cc4.tar.bz2 scummvm-rg350-976c57a4b10db959968a6fb287f1073097e14cc4.zip |
DIRECTOR: Fix rounded rect radius
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/frame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index f50d31e1ba..83a243f716 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -736,7 +736,7 @@ void Frame::renderShape(Graphics::ManagedSurface &surface, uint16 spriteId) { Graphics::drawFilledRect(fillRect, foreColor, Graphics::macDrawPixel, &pd); break; case kRoundedRectangleSprite: - Graphics::drawRoundRect(fillRect, 4, foreColor, true, Graphics::macDrawPixel, &pd); + Graphics::drawRoundRect(fillRect, 12, foreColor, true, Graphics::macDrawPixel, &pd); break; case kOvalSprite: Graphics::drawEllipse(fillRect.left, fillRect.top, fillRect.right, fillRect.bottom, foreColor, true, Graphics::macDrawPixel, &pd); @@ -752,7 +752,7 @@ void Frame::renderShape(Graphics::ManagedSurface &surface, uint16 spriteId) { tmpSurface.fillRect(Common::Rect(shapeRect.width(), shapeRect.height()), (_vm->getCurrentScore()->_currentMouseDownSpriteId == spriteId ? 0 : 0xff)); break; case kOutlinedRoundedRectangleSprite: - Graphics::drawRoundRect(fillRect, 4, foreColor, false, Graphics::macDrawPixel, &pd); + Graphics::drawRoundRect(fillRect, 12, foreColor, false, Graphics::macDrawPixel, &pd); break; case kOutlinedOvalSprite: Graphics::drawEllipse(fillRect.left, fillRect.top, fillRect.right, fillRect.bottom, foreColor, false, Graphics::macDrawPixel, &pd); |