aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRendererSpec.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2012-02-20 21:53:17 +0100
committerWillem Jan Palenstijn2012-02-20 22:17:33 +0100
commit66d3def0e5aa62b1dafe9927682acf3ebc537b6a (patch)
tree9dfa09682345d58a563e6ba54eecabdcd09487a2 /graphics/VectorRendererSpec.h
parent19cb2dc7e719ded9b773417627f5475e49baf98a (diff)
downloadscummvm-rg350-66d3def0e5aa62b1dafe9927682acf3ebc537b6a.tar.gz
scummvm-rg350-66d3def0e5aa62b1dafe9927682acf3ebc537b6a.tar.bz2
scummvm-rg350-66d3def0e5aa62b1dafe9927682acf3ebc537b6a.zip
GUI: Implement AAed tabs
The stroke effect isn't properly implemented yet since it isn't used in the modern theme. There are slight bleeding colours around the corners of the tab_background when its corners overlap with the corners of the underlying dialog. These are hard to avoid because the underlying dialog destroys the background that we should be blending these corners with.
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 d8fc82a6f1..4ed80cb55f 100644
--- a/graphics/VectorRendererSpec.h
+++ b/graphics/VectorRendererSpec.h
@@ -297,6 +297,10 @@ protected:
// VectorRenderer::applyConvolutionMatrix(VectorRenderer::kConvolutionHardBlur,
// Common::Rect(x, y, x + w + blur * 2, y + h + blur * 2));
}
+
+ 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);
};
#endif