Help on BackGround Skin Setting
Can anyone help on BackGround Skin Setting, I am using UMUI for my installer. I would like to add an Image in the background. I have gone through the documentation regarding BackGround Skin Setting, But I am unable to proceed further.
BackGround Skin Setting
UMUI_USE_BG bgskin_name
Use a background skin. It contain two macro named "UMUI_BG" and "UMUI_BG_Destroy".
Default: none
UMUI_USE_CUSTOMBG
Use a custom background skin. don't forget to create two macro named "UMUI_BG" and "UMUI_BG_Destroy".
Default: none
Example of a custom background skin:
!define UMUI_USE_CUSTOMBG
!macro UMUI_BG
SetOutPath "$PLUGINSDIR"
File "${NSISDIR}\Contrib\UltraModernUI\BGSkins\wxp\SpotlightBG.bmp"
File "${NSISDIR}\Contrib\UltraModernUI\BGSkins\wxp\KeyBG.bmp"
File "${NSISDIR}\Contrib\UltraModernUI\BGSkins\wxp\HeaderBG.bmp"
File "${NSISDIR}\Contrib\UltraModernUI\BGSkins\wxp\BtmImgBG.bmp"
BgImage::SetBg /NOUNLOAD /GRADIENT 78 111 214 78 111 214
BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\HeaderBG.bmp" 0 0
BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\SpotlightBG.bmp" 0 57
BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\BtmImgBG.bmp" 0 -70
BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\KeyBG.bmp" -248 -351
CreateFont $1 "Verdana" 30 700
BgImage::AddText /NOUNLOAD "$(^Name)" $1 8 51 155 15 70 -1 -1
BgImage::AddText /NOUNLOAD "$(^Name)" $1 255 255 255 10 65 -1 -1
BgImage::Redraw /NOUNLOAD
!macroend
!macro UMUI_BG_Destroy
BgImage::Destroy
!macroend