-
Notifications
You must be signed in to change notification settings - Fork 2
/
MateBook-E-Pen.rc
311 lines (246 loc) · 16.8 KB
/
MateBook-E-Pen.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
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
// 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
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
#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"
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_MAIN ICON "ico\\main.ico"
IDI_COPY ICON "ico\\copy.ico"
IDI_PASTE ICON "ico\\paste.ico"
IDI_SCREENSHOT ICON "ico\\screenshot.ico"
IDI_UNDO ICON "ico\\undo.ico"
IDI_WnE ICON "ico\\W&E.ico"
IDI_COPY_DARK ICON "ico\\copy_dark.ico"
IDI_MAIN_DARK ICON "ico\\main_dark.ico"
IDI_PASTE_DARK ICON "ico\\paste_dark.ico"
IDI_SCREENSHOT_DARK ICON "ico\\screenshot_dark.ico"
IDI_UNDO_DARK ICON "ico\\undo_dark.ico"
IDI_WnE_DARK ICON "ico\\W&E_dark.ico"
IDI_NOTE ICON "ico\\note.ico"
IDI_NOTE_DARK ICON "ico\\note_dark.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,1,1,0
PRODUCTVERSION 2,1,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "080404b0"
BEGIN
VALUE "FileVersion", "2.1.1.0"
VALUE "InternalName", "MateBook-E-Pen.exe"
VALUE "OriginalFilename", "MateBook-E-Pen.exe"
VALUE "ProductName", "MateBook E Pen"
VALUE "ProductVersion", "2.1.1.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x804, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_UPDATE, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 245
TOPMARGIN, 7
BOTTOMMARGIN, 116
END
IDD_UPDATEFAILED, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 96
TOPMARGIN, 7
BOTTOMMARGIN, 53
END
IDD_OPENED, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 118
TOPMARGIN, 7
BOTTOMMARGIN, 60
END
IDD_POPUP, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 336
TOPMARGIN, 7
BOTTOMMARGIN, 172
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_UPDATE DIALOGEX 0, 0, 252, 123
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOPMOST
CAPTION "检查更新"
FONT 10, "宋体", 400, 0, 0x86
BEGIN
DEFPUSHBUTTON "确定",IDOK,131,95,50,14
PUSHBUTTON "取消",IDCANCEL,188,95,50,14
CTEXT "有更新可用,是否前往Github下载更新?",IDC_S2,50,14,152,10
LTEXT "最新版本号:",IDC_S3,14,36,49,10
LTEXT "更新描述:",IDC_S4,14,57,48,9
LTEXT "0.0.0",IDC_VERSIONSHOW,65,36,169,8
LTEXT "无",IDC_INFOSHOW,64,57,163,33
END
IDD_UPDATEFAILED DIALOGEX 0, 0, 103, 60
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_TOPMOST
CAPTION "检查更新"
FONT 10, "宋体", 400, 0, 0x86
BEGIN
DEFPUSHBUTTON "确定",IDOK,25,39,50,14
CTEXT "检查更新失败!",IDC_S1,15,16,74,8
END
IDD_OPENED DIALOGEX 0, 0, 125, 67
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "出错啦!"
FONT 10, "宋体", 400, 0, 0x86
BEGIN
DEFPUSHBUTTON "确定",IDOK,37,43,50,14
CTEXT "MateBook E Pen正在运行!",IDC_S5,14,17,97,14
END
IDD_POPUP DIALOGEX 1800, 1200, 343, 179
STYLE DS_SETFONT | WS_POPUP | WS_SYSMENU
EXSTYLE WS_EX_TOPMOST
FONT 9, "宋体", 400, 0, 0x86
BEGIN
PUSHBUTTON "开始捕获",IDC_START,243,69,64,22
PUSHBUTTON "已捕获列表",IDC_TEST,243,102,64,22,WS_DISABLED
PUSHBUTTON "关闭",IDC_SAVE,243,135,64,22
CTEXT "请捕获控件1和控件2",IDC_S6,29,24,280,33,0,WS_EX_TRANSPARENT
CTEXT "进程名称:",IDC_S7,32,76,37,8,SS_CENTERIMAGE,WS_EX_TRANSPARENT
LTEXT "未获取",IDC_PEN,85,108,143,8,SS_CENTERIMAGE,WS_EX_TRANSPARENT
CTEXT "控件1名称:",IDC_S8,32,108,41,8,SS_CENTERIMAGE,WS_EX_TRANSPARENT
CTEXT "控件2名称:",IDC_S9,32,140,41,8,SS_CENTERIMAGE,WS_EX_TRANSPARENT
LTEXT "未获取",IDC_ERASER,85,140,143,8,SS_CENTERIMAGE,WS_EX_TRANSPARENT
CTEXT "5秒内无操作自动关闭",IDC_S10,259,7,77,8,SS_CENTERIMAGE
CONTROL "不再自动弹出",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,244,162,62,10
LTEXT "未获取",IDC_WINDOW,85,76,143,25,0,WS_EX_TRANSPARENT
LISTBOX IDC_LIST1,29,64,206,99,LBS_SORT | LBS_NOINTEGRALHEIGHT | NOT WS_VISIBLE | WS_VSCROLL | WS_TABSTOP
END
/////////////////////////////////////////////////////////////////////////////
//
// PNG
//
IDB_COPY PNG "ico\\copy.png"
IDB_MAIN PNG "ico\\main.png"
IDB_NOTE PNG "ico\\note.png"
IDB_PASTE PNG "ico\\paste.png"
IDB_SCREENSHOT PNG "ico\\screenshot.png"
IDB_UNDO PNG "ico\\undo.png"
IDB_WnE PNG "ico\\W&E.png"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MENU1 MENU
BEGIN
POPUP "1"
BEGIN
POPUP "粘贴后跳转"
BEGIN
MENUITEM "书写/橡皮", ID_1_32773, CHECKED
MENUITEM "截图模式", ID_1_32774
MENUITEM "批注模式", ID_1_32775
MENUITEM "复制模式", ID_1_32779
MENUITEM "撤销模式", ID_32783
MENUITEM "无", ID_32782
END
MENUITEM "悬浮球开关", FLOAT_SWITCH, CHECKED
MENUITEM "笔/橡皮设置", WnE_SET
MENUITEM "检查更新", UPDATE
MENUITEM "退出", CLOSE
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DLL
//
IDR_DLL1 DLL "PenService.dll"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_APP_TITLE "MateBook E Pen"
IDC_MATEBOOKEPEN "MATEBOOKEPEN"
END
#endif // 中文(简体,中国) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED