[Scummvm-cvs-logs] scummvm master -> d0c655f1fac3f559e0edb11246466304df1dd7f1

wjp wjp at usecode.org
Mon Feb 20 22:39:58 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d0c655f1fa GUI: Fix mingw-w64 build errors


Commit: d0c655f1fac3f559e0edb11246466304df1dd7f1
    https://github.com/scummvm/scummvm/commit/d0c655f1fac3f559e0edb11246466304df1dd7f1
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2012-02-20T13:38:35-08:00

Commit Message:
GUI: Fix mingw-w64 build errors

Changed paths:
    graphics/VectorRendererSpec.cpp



diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp
index cd012f5..7817725 100644
--- a/graphics/VectorRendererSpec.cpp
+++ b/graphics/VectorRendererSpec.cpp
@@ -1837,12 +1837,12 @@ drawTabAlg(int x1, int y1, int w, int h, int r, PixelType color, VectorRenderer:
 				color1 = Base::calcGradient(real_radius - x, long_h);
 				color2 = Base::calcGradient(real_radius - y, long_h);
 
-				gradientFill(ptr_tl - x - py + 1, w - 2 * r + 2 * x - 1, x1 + r - x - y + 1, real_radius - y);
+				Base::gradientFill(ptr_tl - x - py + 1, w - 2 * r + 2 * x - 1, x1 + r - x - y + 1, real_radius - y);
 
 				// Only fill each horizontal line once (or we destroy
 				// the gradient effect at the edges)
 				if (T < oldT || y == 1)
-					gradientFill(ptr_tl - y - px + 1, w - 2 * r + 2 * y - 1, x1 + r - y - x + 1, real_radius - x);
+					Base::gradientFill(ptr_tl - y - px + 1, w - 2 * r + 2 * y - 1, x1 + r - y - x + 1, real_radius - x);
 
 				WU_DRAWCIRCLE_XCOLOR_TOP(ptr_tr, ptr_tl, x, y, px, py, a1, Base::blendPixelPtr);
 			} else {
@@ -1857,7 +1857,7 @@ drawTabAlg(int x1, int y1, int w, int h, int r, PixelType color, VectorRenderer:
 		ptr_fill += pitch * r;
 		while (short_h--) {
 			if (fill_m == Base::kFillGradient) {
-				gradientFill(ptr_fill, w + 1, x1, real_radius++);
+				Base::gradientFill(ptr_fill, w + 1, x1, real_radius++);
 			} else {
 				colorFill<PixelType>(ptr_fill, ptr_fill + w + 1, color);
 			}
@@ -1979,19 +1979,19 @@ drawRoundedSquareAlg(int x1, int y1, int r, int w, int h, PixelType color, Vecto
 				color3 = Base::calcGradient(h - r + x, h);
 				color4 = Base::calcGradient(h - r + y, h);
 
-				gradientFill(ptr_tl - x - py + 1, w - 2 * r + 2 * x - 1, x1 + r - x - y + 1, r - y);
+				Base::gradientFill(ptr_tl - x - py + 1, w - 2 * r + 2 * x - 1, x1 + r - x - y + 1, r - y);
 
 				// Only fill each horizontal line once (or we destroy
 				// the gradient effect at the edges)
 				if (T < oldT || y == 1)
-					gradientFill(ptr_tl - y - px + 1, w - 2 * r + 2 * y - 1, x1 + r - y - x + 1, r - x);
+					Base::gradientFill(ptr_tl - y - px + 1, w - 2 * r + 2 * y - 1, x1 + r - y - x + 1, r - x);
 
-				gradientFill(ptr_bl - x + py + 1, w - 2 * r + 2 * x - 1, x1 + r - x - y + 1, h - r + y);
+				Base::gradientFill(ptr_bl - x + py + 1, w - 2 * r + 2 * x - 1, x1 + r - x - y + 1, h - r + y);
 
 				// Only fill each horizontal line once (or we destroy
 				// the gradient effect at the edges)
 				if (T < oldT || y == 1)
-					gradientFill(ptr_bl - y + px + 1, w - 2 * r + 2 * y - 1, x1 + r - y - x + 1, h - r + x);
+					Base::gradientFill(ptr_bl - y + px + 1, w - 2 * r + 2 * y - 1, x1 + r - y - x + 1, h - r + x);
 
 				// This shape is used for dialog backgrounds.
 				// If we're drawing on top of an empty overlay background,
@@ -2006,7 +2006,7 @@ drawRoundedSquareAlg(int x1, int y1, int r, int w, int h, PixelType color, Vecto
 
 			ptr_fill += pitch * r;
 			while (short_h-- >= 0) {
-				gradientFill(ptr_fill, w + 1, x1, r++);
+				Base::gradientFill(ptr_fill, w + 1, x1, r++);
 				ptr_fill += pitch;
 			}
 






More information about the Scummvm-git-logs mailing list