Kaydet (Commit) f4dc53cb authored tarafından Noel Grandin's avatar Noel Grandin

Use vcl::Font

Change-Id: Ic1b66c43697e342bebdf8b5cd6f0bb419f4a4fa7
üst b5297255
......@@ -2586,7 +2586,7 @@ inline Color ImplWinColorToSal( COLORREF nColor )
return Color( GetRValue( nColor ), GetGValue( nColor ), GetBValue( nColor ) );
}
static void ImplSalUpdateStyleFontW( HDC hDC, const LOGFONTW& rLogFont, Font& rFont )
static void ImplSalUpdateStyleFontW( HDC hDC, const LOGFONTW& rLogFont, vcl::Font& rFont )
{
ImplSalLogFontToFontW( hDC, rLogFont, rFont );
......@@ -2761,12 +2761,12 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings )
aStyleSettings.SetHighContrastMode( false );
// Query Fonts
Font aMenuFont = aStyleSettings.GetMenuFont();
Font aTitleFont = aStyleSettings.GetTitleFont();
Font aFloatTitleFont = aStyleSettings.GetFloatTitleFont();
Font aHelpFont = aStyleSettings.GetHelpFont();
Font aAppFont = aStyleSettings.GetAppFont();
Font aIconFont = aStyleSettings.GetIconFont();
vcl::Font aMenuFont = aStyleSettings.GetMenuFont();
vcl::Font aTitleFont = aStyleSettings.GetTitleFont();
vcl::Font aFloatTitleFont = aStyleSettings.GetFloatTitleFont();
vcl::Font aHelpFont = aStyleSettings.GetHelpFont();
vcl::Font aAppFont = aStyleSettings.GetAppFont();
vcl::Font aIconFont = aStyleSettings.GetIconFont();
HDC hDC = GetDC( 0 );
NONCLIENTMETRICSW aNonClientMetrics;
aNonClientMetrics.cbSize = sizeof( aNonClientMetrics );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment