diff options
author | Alexander Tkachev | 2016-06-29 18:38:08 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-03 12:21:09 +0200 |
commit | f22d11953d355f8b56d504301997eb4643c299bc (patch) | |
tree | aa86cbedce8b769a9b8795d86f63cc8d6f30577d /graphics/VectorRenderer.h | |
parent | 559ca37dafea7fa07f2453ee9221df072c501b22 (diff) | |
download | scummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.tar.gz scummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.tar.bz2 scummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.zip |
GUI: Add drawSquareClip()
Diffstat (limited to 'graphics/VectorRenderer.h')
-rw-r--r-- | graphics/VectorRenderer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h index a84062c358..5afdd546ae 100644 --- a/graphics/VectorRenderer.h +++ b/graphics/VectorRenderer.h @@ -161,6 +161,7 @@ public: * @param h Height of the square */ virtual void drawSquare(int x, int y, int w, int h) = 0; + virtual void drawSquareClip(int x, int y, int w, int h, Common::Rect clipping) = 0; /** * Draws a rounded square starting at (x,y) with the given width and height. @@ -369,7 +370,7 @@ public: void drawCallback_SQUARE(const Common::Rect &area, const DrawStep &step, const Common::Rect &clip) { //TODO uint16 x, y, w, h; stepGetPositions(step, area, x, y, w, h); - drawSquare(x, y, w, h); + drawSquareClip(x, y, w, h, clip); } void drawCallback_LINE(const Common::Rect &area, const DrawStep &step, const Common::Rect &clip) { //TODO |