diff options
Diffstat (limited to 'graphics/VectorRendererSpec.h')
-rw-r--r-- | graphics/VectorRendererSpec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/VectorRendererSpec.h b/graphics/VectorRendererSpec.h index b0a0624aee..fe64f9774d 100644 --- a/graphics/VectorRendererSpec.h +++ b/graphics/VectorRendererSpec.h @@ -185,6 +185,9 @@ protected: */ inline PixelType calcGradient(uint32 pos, uint32 max); + void precalcGradient(int h); + void gradientFill(PixelType *first, int width, int x, int y); + /** * Fills several pixels in a row with a given color and the specified alpha blending. * @@ -210,6 +213,9 @@ protected: int _gradientBytes[3]; /**< Color bytes of the active gradient, used to speed up calculation */ + Common::Array<PixelType> _gradCache; + Common::Array<int> _gradIndexes; + PixelType _bevelColor; PixelType _bitmapAlphaColor; }; |