[Scummvm-cvs-logs] CVS: scummvm/gui ThemeNew.cpp,1.8,1.9
Johannes Schickel
lordhoto at users.sourceforge.net
Sat Jan 28 15:57:03 CET 2006
Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18305
Modified Files:
ThemeNew.cpp
Log Message:
Changed calcGradient again, should look nicer now.
Index: ThemeNew.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/ThemeNew.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- ThemeNew.cpp 28 Jan 2006 23:11:52 -0000 1.8
+++ ThemeNew.cpp 28 Jan 2006 23:56:12 -0000 1.9
@@ -585,6 +585,7 @@
OverlayColor calcGradient(OverlayColor start, OverlayColor end, int pos, int max, uint factor = 1) {
max /= factor;
+ pos *= factor;
if (pos > max) {
pos = max;
}
More information about the Scummvm-git-logs
mailing list