aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorVicent Marti2008-08-02 15:15:32 +0000
committerVicent Marti2008-08-02 15:15:32 +0000
commit7cb23c76a267955790fa58380d65fe55b4a5dcd1 (patch)
treea3b361607237c8a4424191bdd142d135bedd34fd /graphics
parent01b7d26956fddc58a4471516efc44596a19ccc50 (diff)
downloadscummvm-rg350-7cb23c76a267955790fa58380d65fe55b4a5dcd1.tar.gz
scummvm-rg350-7cb23c76a267955790fa58380d65fe55b4a5dcd1.tar.bz2
scummvm-rg350-7cb23c76a267955790fa58380d65fe55b4a5dcd1.zip
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
Diffstat (limited to 'graphics')
-rw-r--r--graphics/VectorRenderer.h2
1 files changed, 2 insertions, 0 deletions
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: