[Scummvm-cvs-logs] SF.net SVN: scummvm: [25369] scummvm/trunk/gui

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Feb 4 01:42:11 CET 2007


Revision: 25369
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25369&view=rev
Author:   lordhoto
Date:     2007-02-03 16:42:10 -0800 (Sat, 03 Feb 2007)

Log Message:
-----------
- changed the way how gradients are calculated
- bumped theme version

Modified Paths:
--------------
    scummvm/trunk/gui/ThemeModern.cpp
    scummvm/trunk/gui/theme.h
    scummvm/trunk/gui/themes/classic080.ini
    scummvm/trunk/gui/themes/modern.ini

Modified: scummvm/trunk/gui/ThemeModern.cpp
===================================================================
--- scummvm/trunk/gui/ThemeModern.cpp	2007-02-04 00:17:35 UTC (rev 25368)
+++ scummvm/trunk/gui/ThemeModern.cpp	2007-02-04 00:42:10 UTC (rev 25369)
@@ -1581,7 +1581,6 @@
 }
 
 OverlayColor calcGradient(OverlayColor start, OverlayColor end, int pos, int max, uint factor = 1) {
-	max /= factor;
 	pos *= factor;
 	if (pos >= max)
 		return end;

Modified: scummvm/trunk/gui/theme.h
===================================================================
--- scummvm/trunk/gui/theme.h	2007-02-04 00:17:35 UTC (rev 25368)
+++ scummvm/trunk/gui/theme.h	2007-02-04 00:42:10 UTC (rev 25369)
@@ -34,7 +34,7 @@
 
 #include "gui/widget.h"
 
-#define THEME_VERSION 18
+#define THEME_VERSION 19
 
 namespace GUI {
 

Modified: scummvm/trunk/gui/themes/classic080.ini
===================================================================
--- scummvm/trunk/gui/themes/classic080.ini	2007-02-04 00:17:35 UTC (rev 25368)
+++ scummvm/trunk/gui/themes/classic080.ini	2007-02-04 00:42:10 UTC (rev 25369)
@@ -1,7 +1,7 @@
 # $URL$
 # $Id$
 [theme]
-version=18
+version=19
 type=classic
 name=Classic (ScummVM 0.8.0)
 

Modified: scummvm/trunk/gui/themes/modern.ini
===================================================================
--- scummvm/trunk/gui/themes/modern.ini	2007-02-04 00:17:35 UTC (rev 25368)
+++ scummvm/trunk/gui/themes/modern.ini	2007-02-04 00:42:10 UTC (rev 25369)
@@ -1,7 +1,7 @@
 # $URL$
 # $Id$
 [theme]
-version=18
+version=19
 type=modern
 name=Modern Style
 
@@ -137,18 +137,18 @@
 
 [gradients]
 gradient_dialog_main=1
-gradient_dialog=2
-gradient_dialog_special=2
+gradient_dialog=4
+gradient_dialog_special=4
 
-gradient_widget_small=3
-gradient_widget=3
+gradient_widget_small=9
+gradient_widget=9
 
 gradient_button=1
 
 gradient_slider=1
 gradient_slider_bkgd=1
 
-gradient_tab=2
+gradient_tab=4
 
 gradient_scrollbar=1
 gradient_scrollbar_background=1


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