Even easier paging system, no more Abort and Quit from custom pages creator functions, NSIS does it all!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1636 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
35b45db225
commit
297e981d32
17 changed files with 123 additions and 335 deletions
|
@ -1355,7 +1355,7 @@ int CEXEBuild::write_output(void)
|
|||
|
||||
page *p=(page *) build_pages.get();
|
||||
for (int i=0; i<build_header.common.num_pages; i++, p++) {
|
||||
if (i) p->back=2; // 2 - enabled, 1 - disabled, 0 - invisible
|
||||
if (i) p->back=SW_SHOWNA|2; // 2 - enabled, SW_SHOWNA - visible, 0 - invisible (or'ed)
|
||||
else p->back=0;
|
||||
|
||||
p->next=LANG_BTN_NEXT;
|
||||
|
@ -1367,7 +1367,7 @@ int CEXEBuild::write_output(void)
|
|||
p->next=LANG_BTN_LICENSE;
|
||||
#endif
|
||||
if (p->id==NSIS_PAGE_INSTFILES || p->id==NSIS_PAGE_COMPLETED)
|
||||
p->back=1;
|
||||
p->back&=~2;
|
||||
}
|
||||
(--p)->next=LANG_BTN_CLOSE;
|
||||
if (p->id==NSIS_PAGE_COMPLETED) (--p)->next=LANG_BTN_CLOSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue