diff options
author | Alexander Tkachev | 2016-06-29 18:38:08 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-03 12:21:09 +0200 |
commit | f22d11953d355f8b56d504301997eb4643c299bc (patch) | |
tree | aa86cbedce8b769a9b8795d86f63cc8d6f30577d /graphics/VectorRendererSpec.h | |
parent | 559ca37dafea7fa07f2453ee9221df072c501b22 (diff) | |
download | scummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.tar.gz scummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.tar.bz2 scummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.zip |
GUI: Add drawSquareClip()
Diffstat (limited to 'graphics/VectorRendererSpec.h')
-rw-r--r-- | graphics/VectorRendererSpec.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/VectorRendererSpec.h b/graphics/VectorRendererSpec.h index 42d906c639..1961e18f81 100644 --- a/graphics/VectorRendererSpec.h +++ b/graphics/VectorRendererSpec.h @@ -52,10 +52,11 @@ public: void drawLine(int x1, int y1, int x2, int y2); //TODO void drawCircle(int x, int y, int r); //TODO - void drawSquare(int x, int y, int w, int h); //TODO + void drawSquare(int x, int y, int w, int h); + void drawSquareClip(int x, int y, int w, int h, Common::Rect clipping); void drawRoundedSquare(int x, int y, int r, int w, int h); 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); //TODO + 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 drawBeveledSquare(int x, int y, int w, int h, int bevel) { //TODO @@ -181,6 +182,9 @@ protected: virtual void drawSquareAlg(int x, int y, int w, int h, PixelType color, FillMode fill_m); + virtual void drawSquareAlgClip(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); @@ -214,6 +218,7 @@ protected: * @param offset Intensity/size of the shadow. */ virtual void drawSquareShadow(int x, int y, int w, int h, int offset); + virtual void drawSquareShadowClip(int x, int y, int w, int h, int offset); virtual void drawRoundedSquareShadow(int x, int y, int r, int w, int h, int offset); virtual void drawRoundedSquareShadowClip(int x, int y, int r, int w, int h, int offset); |