diff options
author | Johannes Schickel | 2007-02-04 00:42:10 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-02-04 00:42:10 +0000 |
commit | b2748810863483b6e249a262e6a18a805d1f3aa8 (patch) | |
tree | a5a378ea1d6421f84d73970c5d0689584eb1a232 | |
parent | 9865bc8fa59d8de4e5387d4b85fdfe64f3777703 (diff) | |
download | scummvm-rg350-b2748810863483b6e249a262e6a18a805d1f3aa8.tar.gz scummvm-rg350-b2748810863483b6e249a262e6a18a805d1f3aa8.tar.bz2 scummvm-rg350-b2748810863483b6e249a262e6a18a805d1f3aa8.zip |
- changed the way how gradients are calculated
- bumped theme version
svn-id: r25369
-rw-r--r-- | gui/ThemeModern.cpp | 1 | ||||
-rw-r--r-- | gui/theme.h | 2 | ||||
-rw-r--r-- | gui/themes/classic080.ini | 2 | ||||
-rw-r--r-- | gui/themes/modern.ini | 12 |
4 files changed, 8 insertions, 9 deletions
diff --git a/gui/ThemeModern.cpp b/gui/ThemeModern.cpp index 05d28edeb1..6805604456 100644 --- a/gui/ThemeModern.cpp +++ b/gui/ThemeModern.cpp @@ -1581,7 +1581,6 @@ inline OverlayColor calcGradient(OverlayColor start, OverlayColor end, int pos) } OverlayColor calcGradient(OverlayColor start, OverlayColor end, int pos, int max, uint factor = 1) { - max /= factor; pos *= factor; if (pos >= max) return end; diff --git a/gui/theme.h b/gui/theme.h index b0e8bbef06..136eccd0a2 100644 --- a/gui/theme.h +++ b/gui/theme.h @@ -34,7 +34,7 @@ #include "gui/widget.h" -#define THEME_VERSION 18 +#define THEME_VERSION 19 namespace GUI { diff --git a/gui/themes/classic080.ini b/gui/themes/classic080.ini index ed2440518e..bb1db62979 100644 --- a/gui/themes/classic080.ini +++ b/gui/themes/classic080.ini @@ -1,7 +1,7 @@ # $URL$ # $Id$ [theme] -version=18 +version=19 type=classic name=Classic (ScummVM 0.8.0) diff --git a/gui/themes/modern.ini b/gui/themes/modern.ini index dc01a3eb10..2bc6023a81 100644 --- a/gui/themes/modern.ini +++ b/gui/themes/modern.ini @@ -1,7 +1,7 @@ # $URL$ # $Id$ [theme] -version=18 +version=19 type=modern name=Modern Style @@ -137,18 +137,18 @@ caret_color=0 0 0 [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 |