From 7cb23c76a267955790fa58380d65fe55b4a5dcd1 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Sat, 2 Aug 2008 15:15:32 +0000 Subject: Improved looks on the Modern theme in the new GUI. Added support for including externally the default theme in the code. Added Modern theme as a separate XML file in the themes/ dir. Added "makedeftheme.py" script to convert XML themes into include files. svn-id: r33528 --- graphics/VectorRenderer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'graphics') diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h index 60ab8797ef..fa986e2f08 100644 --- a/graphics/VectorRenderer.h +++ b/graphics/VectorRenderer.h @@ -432,7 +432,9 @@ public: virtual void areaConvolution(const Common::Rect &area, const int filter[3][3], int filterDiv, int offset) = 0; virtual void applyConvolutionMatrix(const ConvolutionData id, const Common::Rect &area) { +#ifdef ENABLE_CONVOLUTIONS areaConvolution(area, _convolutionData[id].matrix, _convolutionData[id].divisor, _convolutionData[id].offset); +#endif } protected: -- cgit v1.2.3