Archive: ModernUI macros


ModernUI macros
I noticed the new page system today and got the snapshot
(Sat, 02 Nov. 2002). After looking the examples, I spent some time
updating my scripts but still got warnings. So I looked into the
system.nsh, I found some functions(SetLicenseDialog,
SetComponentsDialog and SetDirectoryDialog) aren't enclosed by the
!ifdef and !endif so they are always included.
I also feel the new MUI_INTERFACE macro is not better than the old one
if I want to change all the resources(icons, UI, font, and etc.).


!ifdef's fixed. Thank you.

I also feel the new MUI_INTERFACE macro is not better than the old one if I want to change all the resources(icons, UI, font, and etc.).
Most users don't want to change all of the resources. In fact, most users want to keep it to the default (see all of those Modern UI is so complicated threads). But, for you, I have added a macro named MUI_INTERFACE_ALLRES that is the same as the old macro:

!macro MUI_INTERFACE_ALLRES UI ICON UNICON CHECKS PROGRESSBAR FONT