1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

OP-1002: Windows Installer: update branding images

This commit is contained in:
Oleg Semyonov 2013-06-22 04:14:23 +02:00
parent ee5d6957c8
commit 1b1bb04305
3 changed files with 21 additions and 3 deletions

View File

@ -98,11 +98,25 @@
!define MUI_ICON "${NSIS_DATA_TREE}\resources\openpilot.ico"
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "${NSIS_DATA_TREE}\resources\header.bmp"
!define MUI_HEADERIMAGE_BITMAP_NOSTRETCH
!define MUI_WELCOMEFINISHPAGE_BITMAP "${NSIS_DATA_TREE}\resources\welcome.bmp"
!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSIS_DATA_TREE}\resources\welcome.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH
!define HEADER_BGCOLOR "0x8C8C8C"
!define HEADER_FGCOLOR "0x343434"
!macro SetHeaderColors un
Function ${un}SetHeaderColors
GetDlgItem $r3 $HWNDPARENT 1034
SetCtlColors $r3 ${HEADER_BGCOLOR} ${HEADER_FGCOLOR}
GetDlgItem $r3 $HWNDPARENT 1037
SetCtlColors $r3 ${HEADER_BGCOLOR} ${HEADER_FGCOLOR}
GetDlgItem $r3 $HWNDPARENT 1038
SetCtlColors $r3 ${HEADER_BGCOLOR} ${HEADER_FGCOLOR}
FunctionEnd
!macroend
!insertmacro SetHeaderColors ""
!insertmacro SetHeaderColors "un."
;--------------------------------
; Language selection dialog settings
@ -122,6 +136,8 @@
;--------------------------------
; Pages
!define MUI_PAGE_CUSTOMFUNCTION_PRE "SetHeaderColors"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "$(LicenseFile)"
!insertmacro MUI_PAGE_COMPONENTS
@ -129,6 +145,8 @@
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!define MUI_PAGE_CUSTOMFUNCTION_PRE "un.SetHeaderColors"
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_COMPONENTS

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB