diff options
author | Alexander Tkachev | 2016-06-29 21:30:45 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-03 12:23:12 +0200 |
commit | e636894b0653f9bf546bdec8768cabbf2606d2e5 (patch) | |
tree | c9f2cfbb6a2ab651885a556d49a3fe84d902e0d3 /graphics/VectorRenderer.h | |
parent | a39a6533c466e8de48eb367ffe78a162b069de54 (diff) | |
download | scummvm-rg350-e636894b0653f9bf546bdec8768cabbf2606d2e5.tar.gz scummvm-rg350-e636894b0653f9bf546bdec8768cabbf2606d2e5.tar.bz2 scummvm-rg350-e636894b0653f9bf546bdec8768cabbf2606d2e5.zip |
GUI: Add fillSurfaceClip()
Diffstat (limited to 'graphics/VectorRenderer.h')
-rw-r--r-- | graphics/VectorRenderer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h index 1ec28d7e51..5f1ff984ef 100644 --- a/graphics/VectorRenderer.h +++ b/graphics/VectorRenderer.h @@ -290,6 +290,7 @@ public: * Defaults to using the active Foreground color for filling. */ virtual void fillSurface() = 0; + virtual void fillSurfaceClip(Common::Rect clipping) = 0; /** * Clears the active surface. @@ -394,8 +395,8 @@ public: drawRoundedSquareClip(x, y, stepGetRadius(step, area), w, h, clip); } - void drawCallback_FILLSURFACE(const Common::Rect &area, const DrawStep &step, const Common::Rect &clip) { //TODO - fillSurface(); + void drawCallback_FILLSURFACE(const Common::Rect &area, const DrawStep &step, const Common::Rect &clip) { + fillSurfaceClip(clip); } void drawCallback_TRIANGLE(const Common::Rect &area, const DrawStep &step, const Common::Rect &clip) { |