vcl/win/source/window/salframe.cxx | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit b6e68923e2909ade7b69e55519220b9cf9dfc60b Author: Andras Timar <andras.ti...@collabora.com> Date: Tue Feb 4 12:25:12 2014 -0800 fix some color mismatch in high contract mode on Windows Change-Id: Ifadcddf0c6c0a0e33c80ac47dd64af6b56387d30 diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 817d277..a0ada8b 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -24,6 +24,8 @@ #include <comphelper/processfactory.hxx> #include <unotools/misccfg.hxx> +#include <officecfg/Office/Common.hxx> + #include <string.h> #include <limits.h> @@ -2814,6 +2816,11 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings ) pSVData->maNWFData.mnMenuFormatBorderY = 0; pSVData->maNWFData.maMenuBarHighlightTextColor = Color( COL_TRANSPARENT ); GetSalData()->mbThemeMenuSupport = FALSE; + if (officecfg::Office::Common::Accessibility::AutoDetectSystemHC::get()) + { + aStyleSettings.SetShadowColor( ImplWinColorToSal( GetSysColor( COLOR_ACTIVEBORDER ) ) ); + aStyleSettings.SetWorkspaceColor( ImplWinColorToSal( GetSysColor( COLOR_MENU ) ) ); + } aStyleSettings.SetMenuColor( ImplWinColorToSal( GetSysColor( COLOR_MENU ) ) ); aStyleSettings.SetMenuBarColor( aStyleSettings.GetMenuColor() ); aStyleSettings.SetMenuBarRolloverColor( aStyleSettings.GetHighlightColor() ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits