diff options
author | Ruslan Kabatsayev <b7.10110111@gmail.com> | 2012-07-17 18:18:35 +0400 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-25 13:17:09 +0100 |
commit | 94932d121390c8a0e8d7cac7997a14ad49bb8676 (patch) | |
tree | 89d076205c5fb42c75c9eeb561b1374004eee730 /vcl | |
parent | 75acbd4b47b877ca140e2f802620e3830eda8839 (diff) |
Make default dark shadow non-black
Change-Id: If517926b12633a96ad8088e007cfcd6d84e5c919
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/settings.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx index 9684e38511b8..aa6064f2e10d 100644 --- a/vcl/source/app/settings.cxx +++ b/vcl/source/app/settings.cxx @@ -474,8 +474,10 @@ void StyleSettings::Set3DColors( const Color& rColor ) { mpData->maLightColor = rColor; mpData->maShadowColor = rColor; + mpData->maDarkShadowColor=rColor; mpData->maLightColor.IncreaseLuminance( 64 ); mpData->maShadowColor.DecreaseLuminance( 64 ); + mpData->maDarkShadowColor.DecreaseLuminance( 100 ); sal_uLong nRed = mpData->maLightColor.GetRed(); sal_uLong nGreen = mpData->maLightColor.GetGreen(); sal_uLong nBlue = mpData->maLightColor.GetBlue(); diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index c9b1c30ff9ea..2f2158a99510 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -3805,6 +3805,7 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings ) std::fprintf( stderr, "MenuBarTextColor = %x (%d)\n", (int)aStyleSet.GetMenuBarTextColor().GetColor(), aStyleSet.GetMenuBarTextColor().GetLuminance() ); std::fprintf( stderr, "LightColor = %x (%d)\n", (int)aStyleSet.GetLightColor().GetColor(), aStyleSet.GetLightColor().GetLuminance() ); std::fprintf( stderr, "ShadowColor = %x (%d)\n", (int)aStyleSet.GetShadowColor().GetColor(), aStyleSet.GetShadowColor().GetLuminance() ); + std::fprintf( stderr, "DarkShadowColor = %x (%d)\n", (int)aStyleSet.GetDarkShadowColor().GetColor(), aStyleSet.GetDarkShadowColor().GetLuminance() ); #endif // Awful hack for menu separators in the Sonar and similar themes. |