forked from Jiangxiaogang/FontMaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FontMaker.rc
273 lines (237 loc) · 9.31 KB
/
FontMaker.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
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// 中文(中华人民共和国) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
#ifdef _WIN32
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#pragma code_page(936)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.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"
"#pragma code_page(936)\r\n"
"#include ""res\\FontMaker.rc2"" // 非 Microsoft Visual C++ 编辑的资源\r\n"
"#include ""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\\FontMaker.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_MAIN DIALOGEX 0, 0, 347, 253
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "FontMaker"
FONT 9, "宋体", 400, 0, 0x86
BEGIN
COMBOBOX IDC_LIST_FONT_NAME,245,13,95,183,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_EDIT_FONT_SIZE,245,29,35,14,ES_AUTOHSCROLL | ES_NUMBER
CONTROL "",IDC_SPIN5,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,260,29,11,14
LTEXT "字形:",IDC_STATIC,283,32,20,8
COMBOBOX IDC_LIST_FONT_STYLE,306,29,34,51,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
GROUPBOX "字符集",IDC_STATIC,216,51,130,48
CONTROL "标准字库",IDC_BTN_STD,"Button",BS_AUTORADIOBUTTON,221,65,48,10
COMBOBOX IDC_LIST_CHARSET,272,62,68,30,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
CONTROL "用户定义",IDC_BTN_USER,"Button",BS_AUTORADIOBUTTON,221,81,48,10
PUSHBUTTON "编辑码表",IDC_BTN_EDIT,272,79,67,13
EDITTEXT IDC_EDIT_WIDTH,245,113,30,14,ES_AUTOHSCROLL | ES_NUMBER
CONTROL "",IDC_SPIN1,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,267,114,10,14
EDITTEXT IDC_EDIT_HEIGHT,245,130,30,14,ES_AUTOHSCROLL | ES_NUMBER
CONTROL "",IDC_SPIN3,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,266,130,10,14
EDITTEXT IDC_EDIT_HORZ,310,113,30,14,ES_AUTOHSCROLL | ES_NUMBER
CONTROL "",IDC_SPIN2,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,327,114,10,14
EDITTEXT IDC_EDIT_VERT,310,130,30,14,ES_AUTOHSCROLL | ES_NUMBER
CONTROL "",IDC_SPIN4,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,327,131,10,14
CONTROL "水平扫描",IDC_BTN_SCAN1,"Button",BS_AUTORADIOBUTTON | WS_GROUP,222,164,48,10
CONTROL "垂直扫描",IDC_BTN_SCAN2,"Button",BS_AUTORADIOBUTTON,222,176,48,10
CONTROL "高位在前",IDC_BTN_MSB,"Button",BS_AUTORADIOBUTTON | WS_GROUP,288,164,48,10
CONTROL "低位在前",IDC_BTN_LSB,"Button",BS_AUTORADIOBUTTON,288,176,48,10
DEFPUSHBUTTON "保存字库",IDC_BTN_SAVE,216,236,129,14
EDITTEXT IDC_EDIT_INDEX,6,236,201,14,ES_AUTOHSCROLL | ES_READONLY | ES_NUMBER
CONTROL "",IDC_SPIN6,"msctls_updown32",UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,199,235,11,14
GROUPBOX "字体设置",IDC_STATIC,216,1,130,48
LTEXT "字体:",IDC_STATIC,222,15,22,8
LTEXT "字号:",IDC_STATIC,222,32,20,8
GROUPBOX "点阵大小",IDC_STATIC,216,101,64,48
LTEXT "宽度:",IDC_STATIC,222,116,21,8
LTEXT "高度:",IDC_STATIC,222,133,21,8
GROUPBOX "位置偏移",IDC_STATIC,282,101,64,48
LTEXT "水平:",IDC_STATIC,288,116,21,8
LTEXT "垂直:",IDC_STATIC,288,133,21,8
GROUPBOX "扫描方式",IDC_STATIC,216,151,64,40
GROUPBOX "文件格式",IDC_STATIC,282,193,64,40
GROUPBOX "预览",IDC_STATIC,1,1,211,251
CONTROL "",IDC_BITMAP,"Static",SS_BLACKRECT | WS_TABSTOP,6,11,201,217
GROUPBOX "比特顺序",IDC_STATIC,282,151,64,40
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,2,232,210,1
CONTROL "固定宽度",IDC_BTN_FW,"Button",BS_AUTORADIOBUTTON | WS_GROUP,222,206,48,10
CONTROL "可变宽度",IDC_BTN_VW,"Button",BS_AUTORADIOBUTTON,222,218,48,10
GROUPBOX "字符宽度",IDC_STATIC,216,193,64,40
CONTROL "C文件",IDC_BTN_C,"Button",BS_AUTORADIOBUTTON | WS_GROUP,288,206,36,10
CONTROL "BIN文件",IDC_BTN_BIN,"Button",BS_AUTORADIOBUTTON,288,218,44,10
END
IDD_EDIT DIALOGEX 0, 0, 261, 157
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 9, "宋体", 400, 0, 0x0
BEGIN
EDITTEXT IDC_EDIT_TABLE,0,0,261,137,ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN | WS_VSCROLL,WS_EX_ACCEPTFILES
PUSHBUTTON "载入文件",IDC_BTN_LOAD,2,140,50,14
PUSHBUTTON "保存文件",IDC_BTN_SAVE,54,140,50,14
PUSHBUTTON "插入数字",IDC_BTN_NUM,106,140,50,14
PUSHBUTTON "插入字母",IDC_BTN_LETTER,158,140,50,14
PUSHBUTTON "完成",IDOK,210,140,50,14
END
IDD_ABOUT DIALOGEX 0, 0, 196, 133
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 9, "宋体", 400, 0, 0x0
BEGIN
DEFPUSHBUTTON "确定",IDOK,72,116,50,14
CONTROL 132,IDC_STATIC,"Static",SS_BITMAP,0,0,64,67
EDITTEXT IDC_EDIT1,66,0,129,67,ES_MULTILINE | ES_READONLY | ES_WANTRETURN
EDITTEXT IDC_EDIT2,0,69,195,43,ES_MULTILINE | ES_READONLY | ES_WANTRETURN
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,2,0,0
PRODUCTVERSION 1,2,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080403a8"
BEGIN
VALUE "CompanyName", "446252221@qq.com"
VALUE "FileDescription", "点阵字库生成工具"
VALUE "FileVersion", "1.2.0"
VALUE "InternalName", "FontMaker.exe"
VALUE "LegalCopyright", "星沉地动,保留所有权利。"
VALUE "OriginalFilename", "FontMaker.exe"
VALUE "ProductName", "FontMaker"
VALUE "ProductVersion", "1.2.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x804, 936
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_MAIN, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 340
TOPMARGIN, 7
BOTTOMMARGIN, 246
END
IDD_EDIT, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 254
TOPMARGIN, 7
BOTTOMMARGIN, 150
END
IDD_ABOUT, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 189
TOPMARGIN, 7
BOTTOMMARGIN, 126
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//
IDD_MAIN DLGINIT
BEGIN
IDC_LIST_FONT_STYLE, 0x403, 5, 0
0xa3b3, 0xe6b9, "\000"
IDC_LIST_FONT_STYLE, 0x403, 5, 0
0xd6b4, 0xe5cc, "\000"
IDC_LIST_FONT_STYLE, 0x403, 5, 0
0xb1d0, 0xe5cc, "\000"
0
END
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_BITMAP1 BITMAP "res\\logo.bmp"
#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
#pragma code_page(936)
#include "res\FontMaker.rc2" // 非 Microsoft Visual C++ 编辑的资源
#include "afxres.rc" // 标准组件
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED