get image control size directly
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5490 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
858ddb4141
commit
47edc59c1c
2 changed files with 6 additions and 6 deletions
|
@ -270,9 +270,9 @@ Finish page (implemented using nsDialogs)
|
||||||
${NSD_CreateBitmap} 0u 0u 109u 193u ""
|
${NSD_CreateBitmap} 0u 0u 109u 193u ""
|
||||||
Pop $mui.FinishPage.Image
|
Pop $mui.FinishPage.Image
|
||||||
!ifndef MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
|
!ifndef MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
|
||||||
System::Call '*(i, i, i 109, i 193) i.s'
|
System::Call '*(i, i, i, i) i.s'
|
||||||
Pop $mui.FinishPage.Image.Rect
|
Pop $mui.FinishPage.Image.Rect
|
||||||
System::Call 'user32::MapDialogRect(i $HWNDPARENT, i $mui.FinishPage.Image.Rect)'
|
System::Call 'user32::GetClientRect(i $mui.FinishPage.Image, i $mui.FinishPage.Image.Rect)'
|
||||||
System::Call '*$mui.FinishPage.Image.Rect(i, i, i, i) i (, , .s, .s)'
|
System::Call '*$mui.FinishPage.Image.Rect(i, i, i, i) i (, , .s, .s)'
|
||||||
Pop $mui.FinishPage.Image.Width
|
Pop $mui.FinishPage.Image.Width
|
||||||
Pop $mui.FinishPage.Image.Height
|
Pop $mui.FinishPage.Image.Height
|
||||||
|
|
|
@ -132,9 +132,9 @@ Welcome page (implemented using nsDialogs)
|
||||||
${NSD_CreateBitmap} 0u 0u 109u 193u ""
|
${NSD_CreateBitmap} 0u 0u 109u 193u ""
|
||||||
Pop $mui.WelcomePage.Image
|
Pop $mui.WelcomePage.Image
|
||||||
!ifndef MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
|
!ifndef MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
|
||||||
System::Call '*(i, i, i 109, i 193) i.s'
|
System::Call '*(i, i, i, i) i.s'
|
||||||
Pop $mui.WelcomePage.Image.Rect
|
Pop $mui.WelcomePage.Image.Rect
|
||||||
System::Call 'user32::MapDialogRect(i $HWNDPARENT, i $mui.WelcomePage.Image.Rect)'
|
System::Call 'user32::GetClientRect(i $mui.WelcomePage.Image, i $mui.WelcomePage.Image.Rect)'
|
||||||
System::Call '*$mui.WelcomePage.Image.Rect(i, i, i, i) i (, , .s, .s)'
|
System::Call '*$mui.WelcomePage.Image.Rect(i, i, i, i) i (, , .s, .s)'
|
||||||
Pop $mui.WelcomePage.Image.Width
|
Pop $mui.WelcomePage.Image.Width
|
||||||
Pop $mui.WelcomePage.Image.Height
|
Pop $mui.WelcomePage.Image.Height
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue