aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRenderer.h
diff options
context:
space:
mode:
authorVicent Marti2008-08-14 18:43:27 +0000
committerVicent Marti2008-08-14 18:43:27 +0000
commit8eaa982c41a083337aa512f1d303b178d25f6a2a (patch)
treef71ae86498ec1a9b6e71144141443b957a848af0 /graphics/VectorRenderer.h
parent4368e8132f2caefe886bce595731c67ea16855ad (diff)
downloadscummvm-rg350-8eaa982c41a083337aa512f1d303b178d25f6a2a.tar.gz
scummvm-rg350-8eaa982c41a083337aa512f1d303b178d25f6a2a.tar.bz2
scummvm-rg350-8eaa982c41a083337aa512f1d303b178d25f6a2a.zip
Added Classic Theme - WIP (yes, it's working).
Added Builtin theme back. Added Python script to automatically build themes. svn-id: r33868
Diffstat (limited to 'graphics/VectorRenderer.h')
-rw-r--r--graphics/VectorRenderer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/VectorRenderer.h b/graphics/VectorRenderer.h
index 34c9c2c8a5..0407028556 100644
--- a/graphics/VectorRenderer.h
+++ b/graphics/VectorRenderer.h
@@ -405,7 +405,7 @@ public:
void drawCallback_BEVELSQ(const Common::Rect &area, const DrawStep &step) {
uint16 x, y, w, h;
stepGetPositions(step, area, x, y, w, h);
- drawBeveledSquare(x, y, w, h, step.extraData);
+ drawBeveledSquare(x, y, w, h, _bevel);
}
void drawCallback_TAB(const Common::Rect &area, const DrawStep &step) {
@@ -599,7 +599,7 @@ public:
void drawTab(int x, int y, int r, int w, int h);
void drawBeveledSquare(int x, int y, int w, int h, int bevel) {
- drawBevelSquareAlg(x, y, w, h, bevel, _fgColor, _bgColor);
+ drawBevelSquareAlg(x, y, w, h, bevel, _bevelColor, _fgColor, Base::_fillMode != kFillDisabled);
}
void drawString(const Graphics::Font *font, const Common::String &text,
@@ -860,8 +860,9 @@ protected:
virtual void drawSquareAlg(int x, int y, int w, int h, PixelType color, FillMode fill_m);
virtual void drawTriangleVertAlg(int x, int y, int w, int h, bool inverted, PixelType color, FillMode fill_m);
virtual void drawTriangleFast(int x, int y, int size, bool inverted, PixelType color, FillMode fill_m);
- virtual void drawBevelSquareAlg(int x, int y, int w, int h, int bevel, PixelType top_color, PixelType bottom_color);
+ virtual void drawBevelSquareAlg(int x, int y, int w, int h, int bevel, PixelType top_color, PixelType bottom_color, bool fill);
virtual void drawTabAlg(int x, int y, int w, int h, int r, PixelType color, VectorRenderer::FillMode fill_m, int baseLeft = 0, int baseRight = 0);
+ virtual void drawBevelTabAlg(int x, int y, int w, int h, int bevel, PixelType topColor, PixelType bottomColor, int baseLeft = 0, int baseRight = 0);
/**
* SHADOW DRAWING ALGORITHMS