aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRenderer.cpp
diff options
context:
space:
mode:
authorSven Hesse2008-05-17 16:45:28 +0000
committerSven Hesse2008-05-17 16:45:28 +0000
commit4d439fe4fc19030b5b5a8b5f80b073e5644cab09 (patch)
tree2017c7488de011fe1a08bb5ce04f7add3f665e1f /graphics/VectorRenderer.cpp
parentb999366ae911172b9a8ab8a0e8955b73b055cce2 (diff)
downloadscummvm-rg350-4d439fe4fc19030b5b5a8b5f80b073e5644cab09.tar.gz
scummvm-rg350-4d439fe4fc19030b5b5a8b5f80b073e5644cab09.tar.bz2
scummvm-rg350-4d439fe4fc19030b5b5a8b5f80b073e5644cab09.zip
Fixing compilation
svn-id: r32154
Diffstat (limited to 'graphics/VectorRenderer.cpp')
-rw-r--r--graphics/VectorRenderer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/VectorRenderer.cpp b/graphics/VectorRenderer.cpp
index ad2ef2b250..47f46e3bcf 100644
--- a/graphics/VectorRenderer.cpp
+++ b/graphics/VectorRenderer.cpp
@@ -615,7 +615,7 @@ drawRoundedSquareAlg(int x1, int y1, int r, int w, int h, PixelType color, FillM
template<typename PixelType, typename PixelFormat>
void VectorRendererAA<PixelType, PixelFormat>::
-drawRoundedSquareAlg(int x1, int y1, int r, int w, int h, PixelType color, FillMode fill_m) {
+drawRoundedSquareAlg(int x1, int y1, int r, int w, int h, PixelType color, VectorRenderer::FillMode fill_m) {
int x, y;
int p = Base::surfacePitch(), px, py;
int sw = 0, sp = 0, hp = h * p;
@@ -632,7 +632,7 @@ drawRoundedSquareAlg(int x1, int y1, int r, int w, int h, PixelType color, FillM
int short_h = h - 2 * r;
- if (fill_m == kNoFill) {
+ if (fill_m == VectorRenderer::kNoFill) {
while (sw++ < Base::_strokeWidth) {
Common::set_to(ptr_fill + sp + r, ptr_fill + w + 1 + sp - r, color);
Common::set_to(ptr_fill + hp - sp + r, ptr_fill + w + hp + 1 - sp - r, color);
@@ -684,7 +684,7 @@ drawRoundedSquareAlg(int x1, int y1, int r, int w, int h, PixelType color, FillM
template<typename PixelType, typename PixelFormat>
void VectorRendererAA<PixelType, PixelFormat>::
-drawCircleAlg(int x1, int y1, int r, PixelType color, FillMode fill_m) {
+drawCircleAlg(int x1, int y1, int r, PixelType color, VectorRenderer::FillMode fill_m) {
int x, y, sw = 0;
int p = Base::surfacePitch(), px, py;
@@ -694,7 +694,7 @@ drawCircleAlg(int x1, int y1, int r, PixelType color, FillMode fill_m) {
PixelType *ptr = (PixelType *)Base::_activeSurface->getBasePtr(x1, y1);
- if (fill_m == kNoFill) {
+ if (fill_m == VectorRenderer::kNoFill) {
while (sw++ < Base::_strokeWidth) {
x = r - (sw - 1); y = 0; T = 0;
px = p * x; py = 0;
@@ -732,4 +732,4 @@ drawCircleAlg(int x1, int y1, int r, PixelType color, FillMode fill_m) {
}
}
-} // end of namespace Graphics \ No newline at end of file
+} // end of namespace Graphics