aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorVicent Marti2008-05-10 22:03:45 +0000
committerVicent Marti2008-05-10 22:03:45 +0000
commit82dcbd115a7306dd82020876611877724bb264f5 (patch)
tree1d697763a2b60f3dd372b9bab114f11b5ac62782 /graphics
parentb710756f9df0c19de5f060b8cc86f844179d63c0 (diff)
downloadscummvm-rg350-82dcbd115a7306dd82020876611877724bb264f5.tar.gz
scummvm-rg350-82dcbd115a7306dd82020876611877724bb264f5.tar.bz2
scummvm-rg350-82dcbd115a7306dd82020876611877724bb264f5.zip
- Formating (lol)
- Compilation fix for GCC (inheritance) svn-id: r31991
Diffstat (limited to 'graphics')
-rw-r--r--graphics/VectorRenderer.cpp10
1 files 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;
}