From 6f3fdd66500d76c46447dfd8ecdb30431336b04d Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 27 Jan 2003 15:05:50 +0000 Subject: [PATCH] BrandingText now automatically resizes for all languages in the MUI git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2082 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/System.nsh | 8 ++++++++ Contrib/UIs/modern.exe | Bin 6144 -> 6144 bytes Contrib/UIs/modern2.exe | Bin 6144 -> 6144 bytes Contrib/UIs/modern3.exe | Bin 6144 -> 6144 bytes Source/exehead/Ui.c | 5 +++++ Source/exehead/exec.c | 9 ++++++++- Source/exehead/fileform.h | 5 +++-- Source/script.cpp | 7 +++++++ Source/tokens.cpp | 1 + Source/tokens.h | 1 + 10 files changed, 33 insertions(+), 3 deletions(-) diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index a2f17a0b..2f52fb5e 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -335,6 +335,14 @@ GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1039 SetStaticBkColor ${MUI_TEMP1} "${MUI_BGCOLOR}" + GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1028 + SetStaticBkColor ${MUI_TEMP1} -1 + GetWindowText ${MUI_TEMP2} ${MUI_TEMP1} + #ShowWindow ${MUI_TEMP1} ${SW_HIDE} + GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1256 + SetStaticBkColor ${MUI_TEMP1} -1 + SendMessage ${MUI_TEMP1} ${WM_SETTEXT} ${NSIS_MAX_STRLEN} "STR:${MUI_TEMP2}" + Pop ${MUI_TEMP2} Pop ${MUI_TEMP1} diff --git a/Contrib/UIs/modern.exe b/Contrib/UIs/modern.exe index 77171652c2a70780f8449f72ef5f169af48c2827..d14387e1326a238156fc00807b5e5c8dca382822 100644 GIT binary patch delta 111 zcmZoLXfW7d!>`N2!~h2;+!z=v7~xz71`h^?1xVZln=|>dnK}8uLf(w`CQsxy+{`D; k$jBAI%CLvQiIIch#pH(q!jpMKI9NeE77%Zr~f0A!*PrvLx| delta 100 zcmZoLXfW7d!>{{>-N;r~m*U@)6Jg diff --git a/Contrib/UIs/modern2.exe b/Contrib/UIs/modern2.exe index 7c5c650e81db2d59304c15c44ac29d5f4625382f..be3d52cc57b0d3d0dc796233f052b34c8bd0eb88 100644 GIT binary patch delta 129 zcmZoLXfW82!pJm%b8;b*_vDR?^BE^>4rF@Gqszj?00$@B7#J)V;amm=4+e$>NZbXR zGx@WbIr+ds-i-GqPvke;%qPsq$Q8iKu!q5kk%QsIIk}L@d-6uc`HTgd1DRg)=ssa&fP)oo3=9@X{0Hs~3=8103=9pM xGx@WbIeEcC-i-GqPvke;%qPsqI9XqWl{JBZgMnr8LjmE|z(I!_1A_%4oXc>)oq=Hig3FMw zIg?+TnUfDJ)}xnEX&cc=8!x4ptD41;pF@M)(Ue E0Ap1f8vp