Divan Burger : user32, wine.inf: Enable title bar gradients and match colours with win2k.
Alexandre Julliard
julliard at winehq.org
Wed Nov 28 08:01:48 CST 2007
Module: wine
Branch: master
Commit: 1aff3528cf0a7760758274766c1d4021b7ffa0c1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1aff3528cf0a7760758274766c1d4021b7ffa0c1
Author: Divan Burger <divan.burger at gmail.com>
Date: Thu Nov 22 07:13:08 2007 +0200
user32, wine.inf: Enable title bar gradients and match colours with win2k.
---
dlls/user32/sysparams.c | 8 ++++----
tools/wine.inf | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c
index d5acd0b..dba5dd6 100644
--- a/dlls/user32/sysparams.c
+++ b/dlls/user32/sysparams.c
@@ -88,8 +88,8 @@ enum spi_index
static const char * const DefSysColors[] =
{
"Scrollbar", "212 208 200", /* COLOR_SCROLLBAR */
- "Background", "58 110 165", /* COLOR_BACKGROUND */
- "ActiveTitle", "0 0 128", /* COLOR_ACTIVECAPTION */
+ "Background", "58 110 165", /* COLOR_BACKGROUND */
+ "ActiveTitle", "10 36 106", /* COLOR_ACTIVECAPTION */
"InactiveTitle", "128 128 128", /* COLOR_INACTIVECAPTION */
"Menu", "212 208 200", /* COLOR_MENU */
"Window", "255 255 255", /* COLOR_WINDOW */
@@ -114,8 +114,8 @@ static const char * const DefSysColors[] =
"InfoWindow", "255 255 225", /* COLOR_INFOBK */
"ButtonAlternateFace", "180 180 180", /* COLOR_ALTERNATEBTNFACE */
"HotTrackingColor", "0 0 255", /* COLOR_HOTLIGHT */
- "GradientActiveTitle", "16 132 208", /* COLOR_GRADIENTACTIVECAPTION */
- "GradientInactiveTitle", "181 181 181", /* COLOR_GRADIENTINACTIVECAPTION */
+ "GradientActiveTitle", "166 202 240", /* COLOR_GRADIENTACTIVECAPTION */
+ "GradientInactiveTitle", "192 192 192", /* COLOR_GRADIENTINACTIVECAPTION */
"MenuHilight", "0 0 0", /* COLOR_MENUHILIGHT */
"MenuBar", "212 208 200" /* COLOR_MENUBAR */
};
diff --git a/tools/wine.inf b/tools/wine.inf
index e4afa30..d4b2bed 100644
--- a/tools/wine.inf
+++ b/tools/wine.inf
@@ -206,7 +206,7 @@ HKCU,Software\Wine\Debug,"RelayFromExclude",2,"winex11.drv;user32;gdi32;advapi32
HKCU,%Desktop%,"FontSmoothing",2,"0"
HKCU,%Desktop%,"DragFullWindows",2,"0"
HKCU,%Desktop%,"SmoothScroll",3,00,00,00,00
-HKCU,%Desktop%,"UserPreferencemask",3,00,00,00,00
+HKCU,%Desktop%,"UserPreferencemask",3,10,00,00,00
HKCU,%Desktop%,"LowPowerActive",,"0"
[Metrics]
More information about the wine-cvs
mailing list