-
Notifications
You must be signed in to change notification settings - Fork 8
/
namecoin-dialog.nsdinc
40 lines (31 loc) · 1.07 KB
/
namecoin-dialog.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
Var NamecoinDialog
Var NamecoinDialog_Status
Var NamecoinDialog_Core
Var NamecoinDialog_ConsensusJ
Var NamecoinDialog_Electrum
Var NamecoinDialog_Manual
Function NamecoinDialog_CreateSkeleton
# Dialog
nsDialogs::Create 1018
Pop $NamecoinDialog
${If} $NamecoinDialog == error
Abort
${EndIf}
!insertmacro MUI_HEADER_TEXT "Namecoin Node" "ncdns for Windows requires a Namecoin node to operate."
# Status Label
${NSD_CreateLabel} 10u 0u -10u 15u "NAMECOIN_NODE_STATUS"
Pop $NamecoinDialog_Status
# Namecoin Core RadioButton
${NSD_CreateRadioButton} 10u 22.5u -10u 15u "NAMECOIN_NODE_CORE"
Pop $NamecoinDialog_Core
${NSD_AddStyle} $NamecoinDialog_Core ${WS_GROUP}
# ConsensusJ RadioButton
${NSD_CreateRadioButton} 10u 37.5u -10u 15u "NAMECOIN_NODE_CONSENSUSJ"
Pop $NamecoinDialog_ConsensusJ
# Electrum-NMC RadioButton
${NSD_CreateRadioButton} 10u 52.5u -10u 15u "NAMECOIN_NODE_ELECTRUM"
Pop $NamecoinDialog_Electrum
# Manual RadioButton
${NSD_CreateRadioButton} 10u 67.5u -10u 15u "NAMECOIN_NODE_NO"
Pop $NamecoinDialog_Manual
FunctionEnd