[Scummvm-cvs-logs] SF.net SVN: scummvm: [31991] scummvm/branches/gsoc2008-gui/graphics/ VectorRenderer.cpp
Tanoku at users.sourceforge.net
Tanoku at users.sourceforge.net
Sun May 11 00:03:45 CEST 2008
Revision: 31991
http://scummvm.svn.sourceforge.net/scummvm/?rev=31991&view=rev
Author: Tanoku
Date: 2008-05-10 15:03:45 -0700 (Sat, 10 May 2008)
Log Message:
-----------
- Formating (lol)
- Compilation fix for GCC (inheritance)
Modified Paths:
--------------
scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp
Modified: scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp
===================================================================
--- scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp 2008-05-10 21:58:05 UTC (rev 31990)
+++ scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp 2008-05-10 22:03:45 UTC (rev 31991)
@@ -177,17 +177,17 @@
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 @@
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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list