aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRenderer.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-29 22:24:26 +0600
committerEugene Sandulenko2016-07-03 12:23:41 +0200
commit916c86e68941cb1a752566ac9c0346263970b366 (patch)
treecd63070d505d814a79ebac9fb872528d5d948bd1 /graphics/VectorRenderer.h
parente636894b0653f9bf546bdec8768cabbf2606d2e5 (diff)
downloadscummvm-rg350-916c86e68941cb1a752566ac9c0346263970b366.tar.gz
scummvm-rg350-916c86e68941cb1a752566ac9c0346263970b366.tar.bz2
scummvm-rg350-916c86e68941cb1a752566ac9c0346263970b366.zip
GUI: Add blitAlphaBitmapClip()
Diffstat (limited to 'graphics/VectorRenderer.h')
-rw-r--r--graphics/VectorRenderer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h
index 5f1ff984ef..78133b0e04 100644
--- a/graphics/VectorRenderer.h
+++ b/graphics/VectorRenderer.h
@@ -417,10 +417,10 @@ public:
drawTabClip(x, y, stepGetRadius(step, area), w, h, clip);
}
- void drawCallback_BITMAP(const Common::Rect &area, const DrawStep &step, const Common::Rect &clip) { //TODO
+ void drawCallback_BITMAP(const Common::Rect &area, const DrawStep &step, const Common::Rect &clip) {
uint16 x, y, w, h;
stepGetPositions(step, area, x, y, w, h);
- blitAlphaBitmap(step.blitSrc, Common::Rect(x, y, x + w, y + h));
+ blitAlphaBitmapClip(step.blitSrc, Common::Rect(x, y, x + w, y + h), clip);
}
void drawCallback_CROSS(const Common::Rect &area, const DrawStep &step, const Common::Rect &clip) {
@@ -482,6 +482,7 @@ public:
virtual void blitSubSurface(const Graphics::Surface *source, const Common::Rect &r) = 0;
virtual void blitAlphaBitmap(const Graphics::Surface *source, const Common::Rect &r) = 0;
+ virtual void blitAlphaBitmapClip(const Graphics::Surface *source, const Common::Rect &r, const Common::Rect &clipping) = 0;
/**
* Draws a string into the screen. Wrapper for the Graphics::Font string drawing