Contrib/ExperienceUI/Skins/Windows XP.xpuiskin
changeset 0 d5ce4c64ef88
equal deleted inserted replaced
-1:000000000000 0:d5ce4c64ef88
       
     1 !define XPUI_CUSTOMSKIN
       
     2 !insertmacro XPUI_DEFAULT XPUI_TEXT_COLOR FFFFFF
       
     3 !insertmacro XPUI_DEFAULT XPUI_TEXT_BGCOLOR 4E6FD6
       
     4 !insertmacro XPUI_DEFAULT XPUI_TEXT_LIGHTCOLOR FFFF00
       
     5 !insertmacro XPUI_DEFAULT XPUI_HEADERIMAGE "${XPUI_SYSDIR}\Skins\Windows XP\Header.bmp"
       
     6 !insertmacro XPUI_DEFAULT XPUI_BOTTOMIMAGE ""
       
     7 !insertmacro XPUI_DEFAULT XPUI_UNBOTTOMIMAGE ""
       
     8 !insertmacro XPUI_DEFAULT XPUI_BOTTOMIMAGE_BMP "${XPUI_SYSDIR}\Skins\Windows XP\BtmImg.bmp"
       
     9 !insertmacro XPUI_DEFAULT XPUI_HEADERIMAGE_NORESIZETOFIT ""
       
    10 !insertmacro XPUI_DEFAULT XPUI_BOTTOMIMAGE_NORESIZETOFIT ""
       
    11 !insertmacro XPUI_DEFAULT XPUI_UNHEADERIMAGE_NORESIZETOFIT ""
       
    12 !insertmacro XPUI_DEFAULT XPUI_UNBOTTOMIMAGE_NORESIZETOFIT ""
       
    13 !insertmacro XPUI_DEFAULT XPUI_ICON "${XPUI_SYSDIR}\Skins\Windows XP\Icon.ico"
       
    14 !insertmacro XPUI_DEFAULT XPUI_UNICON "${XPUI_SYSDIR}\Skins\Windows XP\UnIcon.ico"
       
    15 !ifdef XPUI_PAGE_BGIMAGE
       
    16   !insertmacro XPUI_DEFAULT XPUI_PAGE_BGIMAGE_BMP    `${XPUI_SYSDIR}\Skins\Windows XP\Page.bmp`
       
    17   !insertmacro XPUI_DEFAULT XPUI_LEFTLOGO `${XPUI_SYSDIR}\Skins\Windows XP\lb_page.bmp`
       
    18   !insertmacro XPUI_DEFAULT XPUI_UNLEFTLOGO `${XPUI_SYSDIR}\Skins\Windows XP\lb_page.bmp`
       
    19 !else
       
    20   !insertmacro XPUI_DEFAULT XPUI_LEFTLOGO `${XPUI_SYSDIR}\Skins\Windows XP\LeftBranding.bmp`
       
    21   !insertmacro XPUI_DEFAULT XPUI_UNLEFTLOGO `${XPUI_SYSDIR}\Skins\Windows XP\LeftBranding.bmp`
       
    22 !endif
       
    23 !insertmacro XPUI_DEFAULT XPUI_BRANDINGTEXT_COLOR_FG "${XPUI_TEXT_BGCOLOR}"
       
    24 !insertmacro XPUI_DEFAULT XPUI_BRANDINGTEXT_COLOR_BG "000080"
       
    25 
       
    26 !macro XPUI_SET_BG
       
    27 !ifndef XPUI_SET_BG_INSERTED
       
    28 !define XPUI_SET_BG_INSERTED
       
    29 SetOutPath "$PLUGINSDIR"
       
    30 File "${XPUI_SYSDIR}\Skins\Windows XP\Spotlight.bmp"
       
    31 File "${XPUI_SYSDIR}\Skins\Windows XP\Key.bmp"
       
    32 BgImage::SetBg /NOUNLOAD /GRADIENT 78 111 214 78 111 214
       
    33 BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\Spotlight.bmp" 0 57
       
    34 BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\Header.bmp" 0 0
       
    35 BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\BtmImg.bmp" 0 -70
       
    36 BgImage::AddImage /NOUNLOAD "$PLUGINSDIR\Key.bmp" -248 -351
       
    37 CreateFont $1 "Verdana" 30 700
       
    38 BgImage::AddText /NOUNLOAD "$(^Name)" $1 8 51 155 15 70 -1 -1
       
    39 BgImage::AddText /NOUNLOAD "$(^Name)" $1 255 255 255 10 65 -1 -1
       
    40 BgImage::Redraw  /NOUNLOAD
       
    41 !endif
       
    42 !macroend
       
    43 
       
    44 !macro XPUI_BGFILES_DELETE
       
    45 BgImage::Destroy
       
    46 Delete $PLUGINSDIR\Spotlight.bmp
       
    47 Delete $PLUGINSDIR\Key.bmp
       
    48 !macroend