From 304974defe592811f5b0a6bafa2bc07e5780ebc9 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 29 Mar 2008 16:42:18 +0000 Subject: [PATCH] added NSD_CreateNumber with ES_NUMBER git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5578 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/nsDialogs/Readme.html | 2 ++ Contrib/nsDialogs/nsDialogs.nsh | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/Contrib/nsDialogs/Readme.html b/Contrib/nsDialogs/Readme.html index 6a18f53c..635f6b9f 100644 --- a/Contrib/nsDialogs/Readme.html +++ b/Contrib/nsDialogs/Readme.html @@ -264,6 +264,7 @@ SectionEnd
  • RadioButton
  • Text
  • Password
  • +
  • Number
  • FileRequest
  • DirRequest
  • ComboBox
  • @@ -597,6 +598,7 @@ SectionEnd
  • ${NSD_CreateRadioButton}
  • ${NSD_CreateText}
  • ${NSD_CreatePassword}
  • +
  • ${NSD_CreateNumber}
  • ${NSD_CreateFileRequest}
  • ${NSD_CreateDirRequest}
  • ${NSD_CreateComboBox}
  • diff --git a/Contrib/nsDialogs/nsDialogs.nsh b/Contrib/nsDialogs/nsDialogs.nsh index ab114891..ac4b35eb 100644 --- a/Contrib/nsDialogs/nsDialogs.nsh +++ b/Contrib/nsDialogs/nsDialogs.nsh @@ -225,6 +225,10 @@ Header file for creating custom installer pages with nsDialogs !define __NSD_Password_STYLE ${DEFAULT_STYLES}|${WS_TABSTOP}|${ES_AUTOHSCROLL}|${ES_PASSWORD} !define __NSD_Password_EXSTYLE ${WS_EX_WINDOWEDGE}|${WS_EX_CLIENTEDGE} +!define __NSD_Number_CLASS EDIT +!define __NSD_Number_STYLE ${DEFAULT_STYLES}|${WS_TABSTOP}|${ES_AUTOHSCROLL}|${ES_NUMBER} +!define __NSD_Number_EXSTYLE ${WS_EX_WINDOWEDGE}|${WS_EX_CLIENTEDGE} + !define __NSD_FileRequest_CLASS EDIT !define __NSD_FileRequest_STYLE ${DEFAULT_STYLES}|${WS_TABSTOP}|${ES_AUTOHSCROLL} !define __NSD_FileRequest_EXSTYLE ${WS_EX_WINDOWEDGE}|${WS_EX_CLIENTEDGE} @@ -264,6 +268,7 @@ Header file for creating custom installer pages with nsDialogs !insertmacro __NSD_DefineControl RadioButton !insertmacro __NSD_DefineControl Text !insertmacro __NSD_DefineControl Password +!insertmacro __NSD_DefineControl Number !insertmacro __NSD_DefineControl FileRequest !insertmacro __NSD_DefineControl DirRequest !insertmacro __NSD_DefineControl ComboBox