settings: syntax, removed old ones

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2832 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2003-09-04 21:48:32 +00:00
parent c1748ab468
commit 3d7820f5dc

View file

@ -206,9 +206,9 @@ will also help you to learn more about the Modern UI.</p>
<p class="text">To configure a page, you can define the page settings before inserting a page macro.</p> <p class="text">To configure a page, you can define the page settings before inserting a page macro.</p>
<p class="sub2header">General Page Settings</p> <p class="sub2header">General Page Settings</p>
<div class="margin"> <div class="margin">
<p class="text"><span class="bold">MUI_PAGE_HEADER_TEXT </span><br /> <p class="text"><span class="bold">MUI_PAGE_HEADER_TEXT </span><span class="parameter">text </span><br />
Custom text to display on the header of the page.</p> Custom text to display on the header of the page.</p>
<p class="text"><span class="bold">MUI_PAGE_HEADER_SUBTEXT </span><br /> <p class="text"><span class="bold">MUI_PAGE_HEADER_SUBTEXT </span><span class="parameter">text </span><br />
Custom subtext to display on the header of the page.</p> Custom subtext to display on the header of the page.</p>
</div> </div>
<p class="sub2header">Welcome Page Settings</p> <p class="sub2header">Welcome Page Settings</p>
@ -439,15 +439,7 @@ will also help you to learn more about the Modern UI.</p>
<span class="bold">MUI_FONTSIZE_TITLE </span><span class="parameter">font_size</span><br /> <span class="bold">MUI_FONTSIZE_TITLE </span><span class="parameter">font_size</span><br />
<span class="bold">MUI_FONTSTYLE_TITLE </span><span class="parameter">weight [/ITALIC] [/UNDERLINE] [/STRIKE]</span><br /> <span class="bold">MUI_FONTSTYLE_TITLE </span><span class="parameter">weight [/ITALIC] [/UNDERLINE] [/STRIKE]</span><br />
The font for the title on the Welcome and Finish page.</p> The font for the title on the Welcome and Finish page.</p>
</div> <p class="text"><span class="bold">Note: </span>Page texts can be changed using page settings.</p>
<p class="sub2header">Customize other texts</p>
<div class="margin">
<p class="text">To customize button texts, use the following defines.</p>
<p class="text">
<span class="bold">MUI_BUTTONTEXT_BACK </span><span class="parameter">text</span><br />
<span class="bold">MUI_BUTTONTEXT_NEXT </span><span class="parameter">text</span><br />
<span class="bold">MUI_BUTTONTEXT_CANCEL </span><span class="parameter">text</span>
</p>
</div> </div>
<p class="sub2header">Language selection dialog</p> <p class="sub2header">Language selection dialog</p>
<div class="margin"> <div class="margin">
@ -646,7 +638,7 @@ ReserveFile "${NSISDIR}\Contrib\Icons\modern-header.bmp" ;Your header bitmap
<p class="text">If you want add your own code to functions <p class="text">If you want add your own code to functions
inserted by the Modern UI, such as the .onGUIInit function and the Page functions, inserted by the Modern UI, such as the .onGUIInit function and the Page functions,
create your own function and let the Modern UI functions call them. Use the defines create your own function and let the Modern UI functions call them. Use the defines
to define the name of your functions. Add the defines before the MUI_LANGUAGE macros.</p> to define the name of your functions.</p>
<p class="text">Example:</p> <p class="text">Example:</p>
<pre class="text"> <pre class="text">
!define MUI_CUSTOMFUNCTION_GUIINIT myGuiInit !define MUI_CUSTOMFUNCTION_GUIINIT myGuiInit
@ -657,16 +649,17 @@ FunctionEnd
</pre> </pre>
<p class="sub2header">General Custom Functions</p> <p class="sub2header">General Custom Functions</p>
<div class="margin"> <div class="margin">
<p class="text">MUI_CUSTOMFUNCTION_GUIINIT<br /> <p class="text">These defines should be set before inserting a the language macros.</p>
MUI_CUSTOMFUNCTION_UNGUIINIT<br /> <p class="text"><span class="bold">MUI_CUSTOMFUNCTION_GUIINIT </span><span class="parameter">function </span><br />
MUI_CUSTOMFUNCTION_ABORT</p> <span class="bold">MUI_CUSTOMFUNCTION_UNGUIINIT </span><span class="parameter">function </span><br />
<span class="bold">MUI_CUSTOMFUNCTION_ABORT </span><span class="parameter">function </span></p>
</div> </div>
<p class="sub2header">Page Custom Functions</p> <p class="sub2header">Page Custom Functions</p>
<div class="margin"> <div class="margin">
<p class="text">These defines should be set before inserting a page macro.</p> <p class="text">These defines should be set before inserting a page macro.</p>
<p class="text">MUI_PAGE_CUSTOMFUNCTION_PRE<br /> <p class="text"><span class="bold">MUI_PAGE_CUSTOMFUNCTION_PRE </span><span class="parameter">function </span><br />
MUI_PAGE_CUSTOMFUNCTION_SHOW<br /> <span class="bold">MUI_PAGE_CUSTOMFUNCTION_SHOW </span><span class="parameter">function </span><br />
MUI_PAGE_CUSTOMFUNCTION_LEAVE</p> <span class="bold">MUI_PAGE_CUSTOMFUNCTION_LEAVE </span><span class="parameter">function </span></p>
<p class="text"><span class="bold">Notes:</span></p> <p class="text"><span class="bold">Notes:</span></p>
<ul> <ul>
<li>The StartMenu page does not have a Show function</li> <li>The StartMenu page does not have a Show function</li>