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 ""
|
||||
Pop $mui.FinishPage.Image
|
||||
!ifndef MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
|
||||
System::Call '*(i, i, i 109, i 193) i.s'
|
||||
Pop $mui.FinishPage.Image.Rect
|
||||
System::Call 'user32::MapDialogRect(i $HWNDPARENT, i $mui.FinishPage.Image.Rect)'
|
||||
System::Call '*(i, i, i, i) i.s'
|
||||
Pop $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)'
|
||||
Pop $mui.FinishPage.Image.Width
|
||||
Pop $mui.FinishPage.Image.Height
|
||||
|
|
|
@ -132,9 +132,9 @@ Welcome page (implemented using nsDialogs)
|
|||
${NSD_CreateBitmap} 0u 0u 109u 193u ""
|
||||
Pop $mui.WelcomePage.Image
|
||||
!ifndef MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
|
||||
System::Call '*(i, i, i 109, i 193) i.s'
|
||||
Pop $mui.WelcomePage.Image.Rect
|
||||
System::Call 'user32::MapDialogRect(i $HWNDPARENT, i $mui.WelcomePage.Image.Rect)'
|
||||
System::Call '*(i, i, i, i) i.s'
|
||||
Pop $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)'
|
||||
Pop $mui.WelcomePage.Image.Width
|
||||
Pop $mui.WelcomePage.Image.Height
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue