aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRendererSpec.h
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-29 21:07:12 +0600
committerEugene Sandulenko2016-07-03 12:22:10 +0200
commit80412a4139d19024a9ef941004380e6bbb8d4da9 (patch)
tree6450b90d4c7902747f01ecda4d1abb42a9b03661 /graphics/VectorRendererSpec.h
parentee00156d5450b01508894013dc446ef3d928d781 (diff)
downloadscummvm-rg350-80412a4139d19024a9ef941004380e6bbb8d4da9.tar.gz
scummvm-rg350-80412a4139d19024a9ef941004380e6bbb8d4da9.tar.bz2
scummvm-rg350-80412a4139d19024a9ef941004380e6bbb8d4da9.zip
GUI: Add drawTabClip()
Diffstat (limited to 'graphics/VectorRendererSpec.h')
-rw-r--r--graphics/VectorRendererSpec.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/graphics/VectorRendererSpec.h b/graphics/VectorRendererSpec.h
index b69ab87bdd..7b2c2730df 100644
--- a/graphics/VectorRendererSpec.h
+++ b/graphics/VectorRendererSpec.h
@@ -60,7 +60,8 @@ public:
void drawRoundedSquareClip(int x, int y, int r, int w, int h, int cx, int cy, int cw, int ch);
void drawTriangle(int x, int y, int base, int height, TriangleOrientation orient);
void drawTriangleClip(int x, int y, int base, int height, TriangleOrientation orient, Common::Rect clipping);
- void drawTab(int x, int y, int r, int w, int h); //TODO
+ void drawTab(int x, int y, int r, int w, int h);
+ void drawTabClip(int x, int y, int r, int w, int h, Common::Rect clipping);
void drawBeveledSquare(int x, int y, int w, int h, int bevel) {
drawBevelSquareAlg(x, y, w, h, bevel, _bevelColor, _fgColor, Base::_fillMode != kFillDisabled);
}
@@ -223,12 +224,22 @@ protected:
PixelType color, VectorRenderer::FillMode fill_m,
int baseLeft = 0, int baseRight = 0);
+ virtual void drawTabAlgClip(int x, int y, int w, int h, int r,
+ PixelType color, VectorRenderer::FillMode fill_m,
+ int baseLeft = 0, int baseRight = 0);
+
virtual void drawTabShadow(int x, int y, int w, int h, int r);
+ virtual void drawTabShadowClip(int x, int y, int w, int h, int r);
+
virtual void drawBevelTabAlg(int x, int y, int w, int h,
int bevel, PixelType topColor, PixelType bottomColor,
int baseLeft = 0, int baseRight = 0);
+ virtual void drawBevelTabAlgClip(int x, int y, int w, int h,
+ int bevel, PixelType topColor, PixelType bottomColor,
+ int baseLeft = 0, int baseRight = 0);
+
/**
* SHADOW DRAWING ALGORITHMS
*