From cab7d8fce9700c2dcf85b9cd81d7eedbe15de064 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Mon, 10 Mar 2003 21:29:22 +0000 Subject: [PATCH] 'MS Shell Dlg' font for header title and language selection dialog git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2271 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/Changelog.txt | 1 + Contrib/Modern UI/Readme.html | 3 ++- Contrib/Modern UI/System.nsh | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Contrib/Modern UI/Changelog.txt b/Contrib/Modern UI/Changelog.txt index 6ef64780..9bf57ea6 100644 --- a/Contrib/Modern UI/Changelog.txt +++ b/Contrib/Modern UI/Changelog.txt @@ -14,6 +14,7 @@ NSIS Modern User Interface - VERSION HISTORY * Support for custom pages before the finish page * Renamed Start Menu page defines * 'Do not create shortcuts' checkbox can be removed +* 'MS Shell Dlg' font for header title * RTL support * Documentation updates * Minor fixes diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html index c827346f..81f2dadb 100644 --- a/Contrib/Modern UI/Readme.html +++ b/Contrib/Modern UI/Readme.html @@ -259,7 +259,7 @@ follow these steps:

MUI_FONT, MUI_FONTSIZE (MS Shell Dlg, 8)
The font for the normal texts.

MUI_FONT_HEADER, MUI_FONTSIZE_HEADER, MUI_FONTSTYLE_HEADER - (MS Sans Serif, 8, 700)
+ (MS Shell Dlg, 8, 700)
The font for the title in the header. Fontstyle: [weight] [/ITALIC] [/UNDERLINE] [/STRIKE]

MUI_FONT_TITLE, MUI_FONTSIZE_TITLE, MUI_FONTSTYLE_TITLE (Verdana, 12, 700)
@@ -586,6 +586,7 @@ FunctionEnd

  • Support for custom pages before the finish page
  • Renamed Start Menu page defines
  • 'Do not create shortcuts' checkbox can be removed
  • +
  • 'MS Shell Dlg' font for header title
  • RTL support
  • Documentation updates
  • Minor fixes
  • diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index f075aa3a..97248013 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -69,7 +69,7 @@ !endif !ifndef MUI_FONT_HEADER - !define MUI_FONT_HEADER "MS Sans Serif" + !define MUI_FONT_HEADER "MS Shell Dlg" !endif !ifndef MUI_FONTSIZE_HEADER @@ -466,7 +466,7 @@ Pop ${MUI_TEMP1} !endif - LangDLL::LangDialog "${MUI_TEXT_LANGDLL_WINDOWTITLE}" "${MUI_TEXT_LANGDLL_INFO}" AF ${MUI_LANGDLL_PUSHLIST} "" 8 "${MUI_FONT}" + LangDLL::LangDialog "${MUI_TEXT_LANGDLL_WINDOWTITLE}" "${MUI_TEXT_LANGDLL_INFO}" A ${MUI_LANGDLL_PUSHLIST} "" Pop $LANGUAGE StrCmp $LANGUAGE "cancel" 0 +2