New MUI2 bitmap stretch modes: FitControl, NoStretchNoCrop[NoAlign] and AspectFitHeight. *_NOSTRETCH is now deprecated.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6524 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
481d383c76
commit
efbdf196f2
9 changed files with 273 additions and 76 deletions
|
@ -5,6 +5,21 @@ Deprecated code - display warnings
|
|||
|
||||
*/
|
||||
|
||||
|
||||
!macro MUI_LEGACY_MAP_NOSTRETCH NAME R
|
||||
!if "${R}" != ""
|
||||
!ifdef ${NAME}NOSTRETCH
|
||||
!define /IfNDef ${NAME}STRETCH NoStretchNoCropNoAlign
|
||||
!endif
|
||||
!else
|
||||
!insertmacro ${__MACRO__} ${NAME}BITMAP_ 1
|
||||
!insertmacro ${__MACRO__} ${NAME}BITMAP_RTL_ 1
|
||||
!insertmacro ${__MACRO__} ${NAME}UNBITMAP_ 1
|
||||
!insertmacro ${__MACRO__} ${NAME}UNBITMAP_RTL_ 1
|
||||
!endif
|
||||
!macroend
|
||||
|
||||
|
||||
;--------------------------------
|
||||
;InstallOptions
|
||||
|
||||
|
@ -66,7 +81,6 @@ Deprecated code - display warnings
|
|||
|
||||
!macro MUI_RESERVEFILE_INSTALLOPTIONS
|
||||
|
||||
!define MUI_DOLLAR "$"
|
||||
!error "MUI_RESERVEFILE_INSTALLOPTIONS is no longer supported as InstallOptions is no longer used by MUI2. Instead, use ReserveFile '${MUI_DOLLAR}{NSISDIR}\Plugins\InstallOptions.dll'. It is also recommended to upgrade to nsDialogs."
|
||||
!error `MUI_RESERVEFILE_INSTALLOPTIONS is no longer supported as InstallOptions is no longer used by MUI2. Instead, use "ReserveFile /plugin InstallOptions.dll". It is also recommended to upgrade to nsDialogs.`
|
||||
|
||||
!macroend
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue