diff options
author | Alexander Tkachev | 2016-06-22 14:29:02 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-03 12:16:26 +0200 |
commit | 8f2d35b0b89c4b8912df96ec3c403e00c85c5875 (patch) | |
tree | 52aebe7c6afdfbe28c57f231fd6c083e60329962 /gui/ThemeEngine.cpp | |
parent | 3d2730a0ddd1e1e33e6639775727beb954d7bfc0 (diff) | |
download | scummvm-rg350-8f2d35b0b89c4b8912df96ec3c403e00c85c5875.tar.gz scummvm-rg350-8f2d35b0b89c4b8912df96ec3c403e00c85c5875.tar.bz2 scummvm-rg350-8f2d35b0b89c4b8912df96ec3c403e00c85c5875.zip |
GUI: drawRoundedSquareClip()
Diffstat (limited to 'gui/ThemeEngine.cpp')
-rw-r--r-- | gui/ThemeEngine.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 3c6f5956a8..1204f00a68 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -265,8 +265,9 @@ void ThemeItemDrawDataClip::drawSelf(bool draw, bool restore) { if (draw) { Common::List<Graphics::DrawStep>::const_iterator step; - for (step = _data->_steps.begin(); step != _data->_steps.end(); ++step) - _engine->renderer()->drawStep(_area, *step, _dynamicData); + for (step = _data->_steps.begin(); step != _data->_steps.end(); ++step) { + _engine->renderer()->drawStepClip(_area, _clip, *step, _dynamicData); + } } _engine->addDirtyRect(extendedRect); |