-
Notifications
You must be signed in to change notification settings - Fork 1
/
customsettings.nsdinc
68 lines (53 loc) · 2.18 KB
/
customsettings.nsdinc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
; ========================================================
; This file was generated by NSISDialogDesigner 0.9.14.0
; http://coolsoft.altervista.org/nsisdialogdesigner
; ========================================================
; handle variables
Var hCtl_customsettings
Var hCtl_customsettings_GroupBox1
Var hCtl_customsettings_TextBox1
Var hCtl_customsettings_DropList1
Var hCtl_customsettings_GroupBox2
Var hCtl_customsettings_TextBox2
Var hCtl_customsettings_Label1
Var hCtl_customsettings_Label2
; dialog create function
Function fnc_customsettings_Create
; === customsettings (type: Dialog) ===
nsDialogs::Create 1018
Pop $hCtl_customsettings
${If} $hCtl_customsettings == error
Abort
${EndIf}
!insertmacro MUI_HEADER_TEXT "Dialog title..." "Dialog subtitle..."
; === GroupBox1 (type: GroupBox) ===
${NSD_CreateGroupBox} 8u 25u 280u 29u "Compass Launch URL"
Pop $hCtl_customsettings_GroupBox1
; === TextBox1 (type: Text) ===
${NSD_CreateText} 52u 35u 232u 11u ""
Pop $hCtl_customsettings_TextBox1
; === DropList1 (type: DropList) ===
${NSD_CreateDropList} 12u 35u 35u 12u ""
Pop $hCtl_customsettings_DropList1
SetCtlColors $hCtl_customsettings_DropList1 0x000000 0xFFFFFF
${NSD_CB_AddString} $hCtl_customsettings_DropList1 "http://"
${NSD_CB_AddString} $hCtl_customsettings_DropList1 "https://"
${NSD_CB_SelectString} $hCtl_customsettings_DropList1 "http://"
; === GroupBox2 (type: GroupBox) ===
${NSD_CreateGroupBox} 8u 73u 280u 28u "Print Server Name"
Pop $hCtl_customsettings_GroupBox2
; === TextBox2 (type: Text) ===
${NSD_CreateText} 12u 84u 271u 11u ""
Pop $hCtl_customsettings_TextBox2
; === Label1 (type: Label) ===
${NSD_CreateLabel} 8u 5u 280u 19u "Enter the URL from which Compass Pilot will be launched. Either http or https can be chosen depending on how the server is configured."
Pop $hCtl_customsettings_Label1
; === Label2 (type: Label) ===
${NSD_CreateLabel} 12u 61u 275u 10u "Enter the network name of the print server."
Pop $hCtl_customsettings_Label2
FunctionEnd
; dialog show function
Function fnc_customsettings_Show
Call fnc_customsettings_Create
nsDialogs::Show $hCtl_customsettings
FunctionEnd