aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRendererSpec.h
diff options
context:
space:
mode:
authorJohannes Schickel2008-10-29 19:48:15 +0000
committerJohannes Schickel2008-10-29 19:48:15 +0000
commit98b0c4b33cd2a994be2f0756ac5ab1421b223269 (patch)
treeedc2261e62e237a4f9b8e9077d650053d7f248f6 /graphics/VectorRendererSpec.h
parent08f1e004151ab25f098b1a1de3fda90e00457164 (diff)
downloadscummvm-rg350-98b0c4b33cd2a994be2f0756ac5ab1421b223269.tar.gz
scummvm-rg350-98b0c4b33cd2a994be2f0756ac5ab1421b223269.tar.bz2
scummvm-rg350-98b0c4b33cd2a994be2f0756ac5ab1421b223269.zip
Committed my patch from -devel, which reintroduces DISABLE_FANCY_THEMES to strip functionallity in theme renderer uneeded by small devices.
svn-id: r34864
Diffstat (limited to 'graphics/VectorRendererSpec.h')
-rw-r--r--graphics/VectorRendererSpec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/VectorRendererSpec.h b/graphics/VectorRendererSpec.h
index ce78c8a557..c0d3b3e00f 100644
--- a/graphics/VectorRendererSpec.h
+++ b/graphics/VectorRendererSpec.h
@@ -225,7 +225,9 @@ protected:
*/
inline void colorFill(PixelType *first, PixelType *last, PixelType color);
+#ifndef DISABLE_FANCY_THEMES
void areaConvolution(const Common::Rect &area, const int filter[3][3], int filterDiv, int offset);
+#endif
PixelType _fgColor; /**< Foreground color currently being used to draw on the renderer */
PixelType _bgColor; /**< Background color currently being used to draw on the renderer */
@@ -238,6 +240,7 @@ protected:
};
+#ifndef DISABLE_FANCY_THEMES
/**
* VectorRendererAA: Anti-Aliased Vector Renderer Class
*
@@ -291,6 +294,7 @@ protected:
// Common::Rect(x, y, x + w + blur * 2, y + h + blur * 2));
}
};
+#endif
}
#endif