aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.cpp
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-22 14:29:02 +0600
committerEugene Sandulenko2016-07-03 12:16:26 +0200
commit8f2d35b0b89c4b8912df96ec3c403e00c85c5875 (patch)
tree52aebe7c6afdfbe28c57f231fd6c083e60329962 /gui/ThemeEngine.cpp
parent3d2730a0ddd1e1e33e6639775727beb954d7bfc0 (diff)
downloadscummvm-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.cpp5
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);