From 01b7d26956fddc58a4471516efc44596a19ccc50 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Fri, 1 Aug 2008 21:51:30 +0000 Subject: Replicating the trunk GUI theme. WIP. svn-id: r33508 --- graphics/VectorRenderer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'graphics/VectorRenderer.h') 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 -- cgit v1.2.3