-
Notifications
You must be signed in to change notification settings - Fork 4
/
BtcSafeTransaction.rc
286 lines (253 loc) · 20 KB
/
BtcSafeTransaction.rc
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#ifndef APSTUDIO_INVOKED
#include "targetver.h"
#endif
#include "afxres.h"
#include "verrsrc.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// 中文(简体,中国) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#ifndef APSTUDIO_INVOKED\r\n"
"#include ""targetver.h""\r\n"
"#endif\r\n"
"#include ""afxres.h""\r\n"
"#include ""verrsrc.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
"LANGUAGE 4, 2\r\n"
"#include ""res\\BtcSafeTransaction.rc2"" // 非 Microsoft Visual C++ 编辑的资源\r\n"
"#include ""l.CHS\\afxres.rc"" // 标准组件\r\n"
"#endif\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON "res\\BtcSafeTransaction.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_BTCSAFETRANSACTION_DIALOG DIALOGEX 0, 0, 419, 279
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "BtcSafeTransaction"
FONT 9, "MS Shell Dlg", 0, 0, 0x1
BEGIN
EDITTEXT IDC_EDIT_PUBKEY_2,66,32,270,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_PUBKEY_3,66,52,270,14,ES_AUTOHSCROLL
PUSHBUTTON "获取担保地址",IDC_BUTTON_GET_P2PSIGN_ADDR,348,7,64,25
EDITTEXT IDC_EDIT_P2PSIG_ADDR_COMMENT,66,92,204,14,ES_AUTOHSCROLL
PUSHBUTTON "修改备注",IDC_BUTTON_EDIT_P2PSIG_ADDR_LABEL,277,91,59,14
EDITTEXT IDC_EDIT_SEND_AMOUNT,66,113,50,14,ES_AUTOHSCROLL
PUSHBUTTON "汇钱给担保地址",IDC_BUTTON_SEND_MONEY_TO_P2PSIG_ADDR,132,111,63,17
EDITTEXT IDC_EDIT_RECV_ADDR,66,134,151,14,ES_AUTOHSCROLL
PUSHBUTTON "选择",IDC_BUTTON_SEL_RECV_ADDR,221,134,25,14
PUSHBUTTON "我要收款",IDC_BUTTON_RECV_FROM_P2PSIG_ADDR,275,132,61,18
EDITTEXT IDC_EDIT_TX_DATA,66,157,270,47,ES_MULTILINE | WS_VSCROLL
PUSHBUTTON "最终确认发款",IDC_BUTTON_SIG_END_AND_SEND,351,157,61,47
PUSHBUTTON "配置",IDC_BUTTON_CONFIG,362,256,50,14
EDITTEXT IDC_EDIT_PUBKEY_1,66,12,270,14,ES_AUTOHSCROLL | ES_READONLY | NOT WS_TABSTOP
EDITTEXT IDC_EDIT_P2PSIG_ADDR,66,73,151,14,ES_AUTOHSCROLL | ES_READONLY | NOT WS_TABSTOP
LTEXT "交易数据",IDC_STATIC,7,157,28,8
LTEXT "你的公钥",IDC_STATIC,7,14,28,8
LTEXT "对方的公钥",IDC_STATIC,7,34,35,8
LTEXT "裁定人公钥(可空)",IDC_STATIC,7,54,55,8
LTEXT "P2P担保地址",IDC_STATIC,7,76,47,8
LTEXT "金额(BTC)",IDC_STATIC,7,114,33,8
LTEXT "余额",IDC_STATIC,251,76,17,11
EDITTEXT IDC_EDIT_P2PSIG_ADDR_BALANCE,272,73,64,14,ES_AUTOHSCROLL | ES_READONLY | ES_NUMBER | NOT WS_TABSTOP
LTEXT "收款地址",IDC_STATIC,7,135,28,8
EDITTEXT IDC_EDIT_LOGTIP,7,216,289,54,ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | WS_HSCROLL | NOT WS_TABSTOP
LTEXT "担保地址备注",IDC_STATIC,7,94,42,8
CONTROL "自动启动",IDC_CHECK_IS_AUTO_START,"Button",BS_AUTOCHECKBOX,374,237,38,14
PUSHBUTTON "修改备注为公钥",IDC_BUTTON_EDIT_P2PSIG_ADDR_LABEL_TEMPL,344,91,68,14
LTEXT "状态::未启动",IDC_STATIC_PORT_STATE,309,240,57,8
CONTROL "我是买家,我要付款",IDC_RADIO_MODE_SEND_1,"Button",BS_AUTORADIOBUTTON,341,34,71,10
CONTROL "我是商家,我要收款",IDC_RADIO_MODE_RECV_1,"Button",BS_AUTORADIOBUTTON,341,61,71,10
CONTROL "我是买家,我要退款",IDC_RADIO_MODE_RECV_2,"Button",BS_AUTORADIOBUTTON,341,47,71,10
CONTROL "我是商家,我要退款",IDC_RADIO_MODE_SEND_2,"Button",BS_AUTORADIOBUTTON,341,74,71,10
PUSHBUTTON "查看",IDC_BUTTON_WEB_VIEW,221,73,23,14,NOT WS_TABSTOP
END
IDD_DIALOG_BOOK DIALOGEX 0, 0, 356, 207
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Book"
FONT 12, "MS Shell Dlg", 700, 0, 0x86
BEGIN
DEFPUSHBUTTON "确定",IDOK,245,186,50,14
PUSHBUTTON "取消",IDCANCEL,299,186,50,14
CONTROL "",IDC_LIST1,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,7,7,342,169
END
IDD_DIALOG_SETTING DIALOGEX 0, 0, 316, 217
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Setting"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
EDITTEXT IDC_EDIT_SET_BIN_DIR,54,11,220,14,ES_AUTOHSCROLL
PUSHBUTTON "选择",IDC_BUTTON_SET_SEL1,278,11,32,14
EDITTEXT IDC_EDIT_SET_DB_DIR,54,30,220,14,ES_AUTOHSCROLL
PUSHBUTTON "选择",IDC_BUTTON_SET_SEL2,278,30,32,14
EDITTEXT IDC_EDIT_SET_IP,54,50,126,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_SET_PORT,245,50,64,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_SET_USER,54,68,98,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_SET_PASS,211,68,98,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_SET_EXEC_PARAM,54,87,255,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_SET_PUBADDR_LABEL,61,161,121,14,ES_AUTOHSCROLL
DEFPUSHBUTTON "确定",IDOK,205,196,50,14
PUSHBUTTON "取消",IDCANCEL,259,196,50,14
LTEXT "默认公钥标签",IDC_STATIC,7,163,49,8
LTEXT "客户端目录",IDC_STATIC,7,13,41,8
LTEXT "额外参数",IDC_STATIC,7,89,33,8
LTEXT "数据库目录",IDC_STATIC,7,32,41,8
LTEXT "登录用户",IDC_STATIC,7,71,33,8
LTEXT "登录密码",IDC_STATIC,170,71,33,8
LTEXT "登录端口",IDC_STATIC,207,52,33,8
LTEXT "登录地址",IDC_STATIC,7,52,33,8
CONTROL "捐助作者0.05%的费用\n(收款方少万分之5)",IDC_CHECK_DONATE,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,209,132,92,24
LTEXT "文件名称",IDC_STATIC,7,108,33,8
COMBOBOX IDC_COMBO_SET_FNAME1,54,105,70,30,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_COMBO_SET_FNAME2,129,105,70,30,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP
CONTROL "qt模式启动",IDC_CHECK_IS_UI_APP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,221,107,69,10
LTEXT "交易手续费",IDC_STATIC,7,140,41,8
EDITTEXT IDC_EDIT_TX_FEE,55,137,86,14,ES_AUTOHSCROLL
END
IDD_DIALOG_INPUT DIALOGEX 0, 0, 256, 57
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 10, "MS Shell Dlg", 700, 0, 0x0
BEGIN
EDITTEXT IDC_EDIT_INPUT_VAL,43,12,206,14,ES_AUTOHSCROLL
DEFPUSHBUTTON "确定",IDOK,146,35,50,14
PUSHBUTTON "取消",IDCANCEL,199,35,50,14
LTEXT "请输入:",IDC_STATIC,7,15,31,8
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,3,1
PRODUCTVERSION 1,0,3,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080404b0"
BEGIN
VALUE "CompanyName", "TODO: xingfeng.org"
VALUE "FileDescription", "BtcSafeTransaction"
VALUE "FileVersion", "1.0.3.1"
VALUE "InternalName", "BtcSafeTransaction.exe"
VALUE "LegalCopyright", "TODO: (C) <xingfeng.org>。COPY RIGHT。"
VALUE "OriginalFilename", "BtcSafeTransaction.exe"
VALUE "ProductName", "TODO: xingfeng.org"
VALUE "ProductVersion", "1.0.3.1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x804, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_BTCSAFETRANSACTION_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 412
VERTGUIDE, 66
VERTGUIDE, 336
TOPMARGIN, 7
BOTTOMMARGIN, 270
HORZGUIDE, 150
HORZGUIDE, 157
HORZGUIDE, 204
HORZGUIDE, 216
END
IDD_DIALOG_BOOK, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 349
TOPMARGIN, 7
BOTTOMMARGIN, 200
END
IDD_DIALOG_SETTING, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 309
TOPMARGIN, 7
BOTTOMMARGIN, 210
END
IDD_DIALOG_INPUT, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 249
TOPMARGIN, 7
BOTTOMMARGIN, 49
END
END
#endif // APSTUDIO_INVOKED
#endif // 中文(简体,中国) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
LANGUAGE 4, 2
#include "res\BtcSafeTransaction.rc2" // 非 Microsoft Visual C++ 编辑的资源
#include "l.CHS\afxres.rc" // 标准组件
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED