added MUI_FINISHPAGE_LINK_COLOR
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2801 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5abd45c61e
commit
4c24a93e6a
2 changed files with 30 additions and 15 deletions
|
@ -353,6 +353,8 @@ parameters.</p>
|
|||
</div>
|
||||
<p class="text"><span class="bold">MUI_BGCOLOR </span><span class="parameter">(color: 0xBBGGRR hexadecimal)</span><br />
|
||||
Background color for the header, Welcome page and Finish page.<br /><i>Default: 0xFFFFFF</i></p>
|
||||
<p class="text"><span class="bold">MUI_FINISHPAGE_LINK_COLOR </span><span class="parameter">(color: 0xBBGGRR hexadecimal)</span><br />
|
||||
Text color for the link on the Finish page.<br /><i>Default: 0x800000</i></p>
|
||||
<p class="text"><span class="bold">MUI_RTL_UI</span><br />
|
||||
Right-to-left interface.</p>
|
||||
<p class="subheader">5. Define custom functions (optional)</p>
|
||||
|
|
|
@ -99,6 +99,11 @@ Var MUI_TEMP2
|
|||
!ifndef MUI_FINISHPAGE_NOAUTOCLOSE
|
||||
AutoCloseWindow true
|
||||
!endif
|
||||
!ifdef MUI_FINISHPAGE_LINK
|
||||
!ifndef MUI_FINISHPAGE_LINK_COLOR
|
||||
!define MUI_FINISHPAGE_LINK_COLOR "0x800000"
|
||||
!endif
|
||||
!endif
|
||||
!endif
|
||||
|
||||
XPStyle On
|
||||
|
@ -650,6 +655,10 @@ Var MUI_TEMP2
|
|||
!verbose 3
|
||||
!endif
|
||||
|
||||
!ifndef MUI_INSTFILESPAGE
|
||||
!define MUI_INSTFILESPAGE
|
||||
!endif
|
||||
|
||||
Page instfiles mui.InstFilesPre mui.InstFilesShow mui.InstFilesLeave
|
||||
|
||||
!ifndef MUI_MANUALVERBOSE
|
||||
|
@ -708,6 +717,10 @@ Var MUI_TEMP2
|
|||
!define MUI_UNINSTALLER
|
||||
!endif
|
||||
|
||||
!ifndef MUI_UNINSTFILESPAGE
|
||||
!define MUI_UNINSTFILESPAGE
|
||||
!endif
|
||||
|
||||
UninstPage instfiles un.mui.InstFilesPre un.mui.InstFilesShow un.mui.InstFilesLeave
|
||||
|
||||
!ifndef MUI_MANUALVERBOSE
|
||||
|
@ -890,7 +903,9 @@ Var MUI_TEMP2
|
|||
!insertmacro MUI_FUNCTIONS_STARTMENUPAGE mui.StartmenuPre mui.StartmenuLeave
|
||||
!endif
|
||||
|
||||
!ifdef MUI_INSTFILESPAGE
|
||||
!insertmacro MUI_FUNCTIONS_INSTFILESPAGE mui.InstFilesPre mui.InstFilesShow mui.InstFilesLeave
|
||||
!endif
|
||||
|
||||
!ifdef MUI_FINISHPAGE
|
||||
!insertmacro MUI_FUNCTIONS_FINISHPAGE mui.FinishPre mui.FinishLeave
|
||||
|
@ -1238,7 +1253,7 @@ Var MUI_TEMP2
|
|||
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field ${MUI_FINISHPAGE_CURFIELD_NO}" "Top" "175"
|
||||
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field ${MUI_FINISHPAGE_CURFIELD_NO}" "Bottom" "185"
|
||||
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field ${MUI_FINISHPAGE_CURFIELD_NO}" "State" "${MUI_FINISHPAGE_LINK_LOCATION}"
|
||||
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field ${MUI_FINISHPAGE_CURFIELD_NO}" "TxtColor" "0x800000"
|
||||
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field ${MUI_FINISHPAGE_CURFIELD_NO}" "TxtColor" "${MUI_FINISHPAGE_LINK_COLOR}"
|
||||
|
||||
!endif
|
||||
|
||||
|
@ -1403,10 +1418,6 @@ Var MUI_TEMP2
|
|||
|
||||
mui.finish_done:
|
||||
|
||||
!ifdef MUI_CUSTOMFUNCTION_FINISH
|
||||
Call "${MUI_CUSTOMFUNCTION_FINISH}"
|
||||
!endif
|
||||
|
||||
FunctionEnd
|
||||
|
||||
Function "${LEAVE}"
|
||||
|
@ -1486,7 +1497,9 @@ Var MUI_TEMP2
|
|||
!insertmacro MUI_UNFUNCTION_CONFIRMPAGE un.mui.ConfirmPre un.mui.ConfirmShow un.mui.ConfirmLeave
|
||||
!endif
|
||||
|
||||
!ifdef MUI_UNINSTFILESPAGE
|
||||
!insertmacro MUI_UNFUNCTION_INSTFILESPAGE un.mui.InstFilesPre un.mui.InstFilesShow un.mui.InstFilesLeave
|
||||
!endif
|
||||
|
||||
!macroend
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue