Old 21st January 2008, 12:22   #1
ameer
Junior Member
 
ameer's Avatar
 
Join Date: Jul 2007
Location: India
Posts: 30
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:estroy
!macroend
ameer is offline   Reply With Quote
Old 24th January 2008, 02:13   #2
lovespy108
Member
 
Join Date: Sep 2007
Posts: 63
Do you want to broadcast pics prepared in advance?
lovespy108 is offline   Reply With Quote
Old 24th January 2008, 11:48   #3
ameer
Junior Member
 
ameer's Avatar
 
Join Date: Jul 2007
Location: India
Posts: 30
do we have any document help on this background skin setting..?
ameer is offline   Reply With Quote
Old 28th January 2008, 07:09   #4
ameer
Junior Member
 
ameer's Avatar
 
Join Date: Jul 2007
Location: India
Posts: 30
This issue is calrified by UltraModernUI beta2 pre-release.this can be closed.
ameer is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump