aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRenderer.h
diff options
context:
space:
mode:
authorVicent Marti2008-08-01 21:51:30 +0000
committerVicent Marti2008-08-01 21:51:30 +0000
commit01b7d26956fddc58a4471516efc44596a19ccc50 (patch)
treeee03874b74d388855e26da9cc5f2368ba14e9d9b /graphics/VectorRenderer.h
parent44d91bfa81d638a75b81a079edaa046ff4778194 (diff)
downloadscummvm-rg350-01b7d26956fddc58a4471516efc44596a19ccc50.tar.gz
scummvm-rg350-01b7d26956fddc58a4471516efc44596a19ccc50.tar.bz2
scummvm-rg350-01b7d26956fddc58a4471516efc44596a19ccc50.zip
Replicating the trunk GUI theme. WIP.
svn-id: r33508
Diffstat (limited to 'graphics/VectorRenderer.h')
-rw-r--r--graphics/VectorRenderer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h
index 8a02d7fc21..60ab8797ef 100644
--- a/graphics/VectorRenderer.h
+++ b/graphics/VectorRenderer.h
@@ -856,6 +856,11 @@ protected:
* @see VectorRenderer::drawRoundedAlg()
*/
virtual void drawRoundedSquareAlg(int x1, int y1, int r, int w, int h, PixelType color, VectorRenderer::FillMode fill_m);
+
+ virtual void drawRoundedSquareShadow(int x, int y, int r, int w, int h, int blur) {
+ Base::drawRoundedSquareShadow(x, y, r, w, h, blur);
+ VectorRenderer::applyConvolutionMatrix(VectorRenderer::kConvolutionHardBlur, Common::Rect(x, y, x + w + blur * 2, y + h + blur * 2));
+ }
};
} // end of namespace Graphics