From a1f5924a5945311775e6142c2780d54945201737 Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 10 Feb 2003 14:02:13 +0000 Subject: [PATCH] RTL git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2141 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/Readme.html | 2 ++ Contrib/Modern UI/System.nsh | 6 +++++- TODO.txt | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html index 591b45d8..0ea99483 100644 --- a/Contrib/Modern UI/Readme.html +++ b/Contrib/Modern UI/Readme.html @@ -248,6 +248,8 @@ follow these steps:

Bitmap for the Welcome and Finish page.

MUI_BGCOLOR (0xFFFFFF)
Background color for the header, Welcome page and Finish page, hexadecimal. (0xBBGGRR)

+

MUI_RTL_UI (not defined)
+ Right-to-left interface.

6. Define custom functions (optional)

If you want add your own code to functions inserted by the Modern UI, such as the .onGUIInit function and the Page function, create your diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index bc753693..55c00b59 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -107,7 +107,11 @@ XPStyle On - ChangeUI all "${MUI_UI}" + !ifndef MUI_RTL_UI + ChangeUI all "${MUI_UI}" + !else + ChangeUI /RTL all "${MUI_UI}" + !endif Icon "${MUI_ICON}" !ifdef MUI_UNINSTALLER diff --git a/TODO.txt b/TODO.txt index 8070fb5d..d6990b83 100644 --- a/TODO.txt +++ b/TODO.txt @@ -46,6 +46,8 @@ OTHER PLUGINS NSIS +* ChangeUI RTL support + * LZMA compression * multiple directory pages