From 82dcbd115a7306dd82020876611877724bb264f5 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Sat, 10 May 2008 22:03:45 +0000 Subject: - Formating (lol) - Compilation fix for GCC (inheritance) svn-id: r31991 --- graphics/VectorRenderer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/graphics/VectorRenderer.cpp b/graphics/VectorRenderer.cpp index d840b5d35a..1da0125346 100644 --- a/graphics/VectorRenderer.cpp +++ b/graphics/VectorRenderer.cpp @@ -177,17 +177,17 @@ drawSquareAlg(int x, int y, int w, int h, PixelType color, bool fill) { ptr += pitch; } } else { - int sw = _strokeWidth, sp = 0, hp = pitch * (h - 1); + int sw = Base::_strokeWidth, sp = 0, hp = pitch * (h - 1); - while(sw--) { + while (sw--) { Common::set_to(ptr + sp, ptr + w + sp, color); Common::set_to(ptr + hp - sp, ptr + w + hp - sp, color); sp += pitch; } while (h--) { - Common::set_to(ptr, ptr + _strokeWidth, color); - Common::set_to(ptr + w - _strokeWidth, ptr + w, color); + Common::set_to(ptr, ptr + Base::_strokeWidth, color); + Common::set_to(ptr + w - Base::_strokeWidth, ptr + w, color); ptr += pitch; } } @@ -496,7 +496,7 @@ drawRoundedSquareAlg(int x1, int y1, int r, int w, int h, PixelType color, bool ptr_fill += p * r; while (short_h-- >= 0) { - Common::set_to(ptr_fill, ptr_fill + _strokeWidth, color); + Common::set_to(ptr_fill, ptr_fill + Base::_strokeWidth, color); Common::set_to(ptr_fill + w - _strokeWidth + 1, ptr_fill + w + 1, color); ptr_fill += p; } -- cgit v1.2.3