Contrib/ExperienceUI/Skins/Windows XP.xpuiskin
author Dan
Mon, 03 Aug 2009 19:54:04 -0400
changeset 6 feec5a7d3f7d
parent 0 d5ce4c64ef88
permissions -rwxr-xr-x
Removed installer script - it's crud.

!define XPUI_CUSTOMSKIN
!insertmacro XPUI_DEFAULT XPUI_TEXT_COLOR FFFFFF
!insertmacro XPUI_DEFAULT XPUI_TEXT_BGCOLOR 4E6FD6
!insertmacro XPUI_DEFAULT XPUI_TEXT_LIGHTCOLOR FFFF00
!insertmacro XPUI_DEFAULT XPUI_HEADERIMAGE "${XPUI_SYSDIR}\Skins\Windows XP\Header.bmp"
!insertmacro XPUI_DEFAULT XPUI_BOTTOMIMAGE ""
!insertmacro XPUI_DEFAULT XPUI_UNBOTTOMIMAGE ""
!insertmacro XPUI_DEFAULT XPUI_BOTTOMIMAGE_BMP "${XPUI_SYSDIR}\Skins\Windows XP\BtmImg.bmp"
!insertmacro XPUI_DEFAULT XPUI_HEADERIMAGE_NORESIZETOFIT ""
!insertmacro XPUI_DEFAULT XPUI_BOTTOMIMAGE_NORESIZETOFIT ""
!insertmacro XPUI_DEFAULT XPUI_UNHEADERIMAGE_NORESIZETOFIT ""
!insertmacro XPUI_DEFAULT XPUI_UNBOTTOMIMAGE_NORESIZETOFIT ""
!insertmacro XPUI_DEFAULT XPUI_ICON "${XPUI_SYSDIR}\Skins\Windows XP\Icon.ico"
!insertmacro XPUI_DEFAULT XPUI_UNICON "${XPUI_SYSDIR}\Skins\Windows XP\UnIcon.ico"
!ifdef XPUI_PAGE_BGIMAGE
  !insertmacro XPUI_DEFAULT XPUI_PAGE_BGIMAGE_BMP    `${XPUI_SYSDIR}\Skins\Windows XP\Page.bmp`
  !insertmacro XPUI_DEFAULT XPUI_LEFTLOGO `${XPUI_SYSDIR}\Skins\Windows XP\lb_page.bmp`
  !insertmacro XPUI_DEFAULT XPUI_UNLEFTLOGO `${XPUI_SYSDIR}\Skins\Windows XP\lb_page.bmp`
!else
  !insertmacro XPUI_DEFAULT XPUI_LEFTLOGO `${XPUI_SYSDIR}\Skins\Windows XP\LeftBranding.bmp`
  !insertmacro XPUI_DEFAULT XPUI_UNLEFTLOGO `${XPUI_SYSDIR}\Skins\Windows XP\LeftBranding.bmp`
!endif
!insertmacro XPUI_DEFAULT XPUI_BRANDINGTEXT_COLOR_FG "${XPUI_TEXT_BGCOLOR}"
!insertmacro XPUI_DEFAULT XPUI_BRANDINGTEXT_COLOR_BG "000080"

!macro XPUI_SET_BG
!ifndef XPUI_SET_BG_INSERTED
!define XPUI_SET_BG_INSERTED
SetOutPath "$PLUGINSDIR"
File "${XPUI_SYSDIR}\Skins\Windows XP\Spotlight.bmp"
File "${XPUI_SYSDIR}\Skins\Windows XP\Key.bmp"
BgImage::SetBg /NOUNLOAD /GRADIENT 78 111 214 78 111 214
BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\Spotlight.bmp" 0 57
BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\Header.bmp" 0 0
BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\BtmImg.bmp" 0 -70
BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\Key.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
!endif
!macroend

!macro XPUI_BGFILES_DELETE
BgImage::Destroy
Delete $PLUGINSDIR\Spotlight.bmp
Delete $PLUGINSDIR\Key.bmp
!macroend