-
Notifications
You must be signed in to change notification settings - Fork 117
/
YUVPlayer.rc
462 lines (416 loc) · 28 KB
/
YUVPlayer.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
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
// 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\\YUVPlayer.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\\YUVPlayer.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOGEX 0, 0, 149, 83
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About - YUVPlayer"
FONT 9, "MS Shell Dlg", 0, 0, 0x1
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,124,2,18,18
LTEXT "YUVPlayer,4.2",IDC_STATIC,10,7,56,8,SS_NOPREFIX
LTEXT "Copyleft 2015",IDC_STATIC,10,19,49,8
DEFPUSHBUTTON "确定",IDOK,115,65,29,14,WS_GROUP
LTEXT "迟思堂工作室 李迟编写",IDC_STATIC,10,56,75,8
LTEXT "www.latelee.org",IDC_STATIC_WEB,3,71,54,8
LTEXT "版权所属,源码开放,欢迎研究,如有出错,自行修正",IDC_STATIC,10,35,108,19
END
IDD_YUVPLAYER_DIALOG DIALOGEX 0, 0, 263, 222
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_ACCEPTFILES | WS_EX_APPWINDOW
CAPTION "YUV Player"
MENU IDR_MENU1
FONT 9, "MS Shell Dlg", 0, 0, 0x1
BEGIN
PUSHBUTTON "O",IDC_BUTTON_OPEN,4,205,15,14,BS_BITMAP | BS_FLAT
LTEXT "",IDC_STATIC_FRAMECNT,3,180,30,9
CONTROL "",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,0,189,263,14
PUSHBUTTON "S",IDC_BUTTON_SAVE,22,205,15,14,BS_BITMAP | BS_FLAT
PUSHBUTTON "P",IDC_BUTTON_PLAY,47,205,15,14,BS_BITMAP | BS_FLAT
PUSHBUTTON "S",IDC_BUTTON_STOP,65,205,15,14,BS_BITMAP | BS_FLAT
PUSHBUTTON "P",IDC_BUTTON_PREV,89,205,15,14,BS_BITMAP | BS_FLAT
PUSHBUTTON "N",IDC_BUTTON_NEXT,108,205,15,14,BS_BITMAP | BS_FLAT
PUSHBUTTON "F",IDC_BUTTON_FIRST,132,205,15,14,BS_BITMAP | BS_FLAT
PUSHBUTTON "L",IDC_BUTTON_LAST,151,205,15,14,BS_BITMAP | BS_FLAT
PUSHBUTTON "S",IDC_BUTTON_SET,244,205,15,14,BS_BITMAP | BS_FLAT
CONTROL "",IDC_VIDEO,"Static",SS_BLACKFRAME,0,1,264,177
END
IDD_DIALOG_SETTING DIALOGEX 0, 0, 186, 102
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Setting - YUV Player"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,14,85,48,14
PUSHBUTTON "Apply",IDC_APPLY,124,85,50,14
PUSHBUTTON "Cancel",IDCANCEL,69,85,50,14
LTEXT "W:",IDC_STATIC,10,14,10,8
COMBOBOX IDC_CB_YUV_FMT,11,60,81,43,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
GROUPBOX "YUV Format",IDC_STATIC,6,47,111,32
GROUPBOX "Frame Size",IDC_STATIC,6,1,111,45
LTEXT "H:",IDC_STATIC,52,14,8,8
LTEXT "Preset:",IDC_STATIC,10,30,24,8
COMBOBOX IDC_CB_SIZE,34,28,54,66,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
EDITTEXT IDC_E_WIDTH,21,11,27,14,ES_AUTOHSCROLL
EDITTEXT IDC_E_HEIGHT,62,11,26,14,ES_AUTOHSCROLL
PUSHBUTTON "Add",IDC_BT_ADD,92,11,21,14
PUSHBUTTON "Del",IDC_BT_DEL,92,27,21,14
COMBOBOX IDC_CB_FPS,141,12,36,70,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
GROUPBOX "Playing",IDC_STATIC,121,1,60,45
LTEXT "FPS:",IDC_STATIC,124,14,16,8
CONTROL "Loop Playing",IDC_CK_LOOP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,124,30,56,10
END
IDD_DIALOG_TRANSFORM DIALOGEX 0, 0, 276, 95
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_ACCEPTFILES
CAPTION "Transform - YUV Player"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "Exit",IDOK,223,67,50,14
LTEXT "File",IDC_STATIC,10,21,12,8
EDITTEXT IDC_E_INPUT,24,18,189,14,ES_AUTOHSCROLL
PUSHBUTTON "Open",IDC_B_OPEN,218,18,50,14,BS_FLAT
GROUPBOX "Input",IDC_STATIC,4,3,268,57
EDITTEXT IDC_E_WIDTH,41,38,28,14,ES_AUTOHSCROLL
EDITTEXT IDC_E_HEIGHT,81,39,28,14,ES_AUTOHSCROLL
LTEXT "x",IDC_STATIC,73,40,8,8
COMBOBOX IDC_CB_INFMT,137,39,48,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_CB_OUTFMT,218,39,49,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "resolution",IDC_STATIC,8,40,32,8
LTEXT "IN fmt",IDC_STATIC,115,41,21,8
LTEXT "OUT fmt",IDC_STATIC,189,41,28,8
PUSHBUTTON "Combine",IDC_B_COMBINE,4,67,50,14
PUSHBUTTON "Split",IDC_B_SPLIT,76,67,50,14
PUSHBUTTON "Transform",IDC_B_TRANSFORM,148,67,50,14
LTEXT "",IDC_S_PROMAT,3,84,266,10
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,0,0,0
PRODUCTVERSION 4,0,0,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 "CompanyName", "迟思堂工作室"
VALUE "FileDescription", "YUVPlayer"
VALUE "FileVersion", "4.0.0.0"
VALUE "InternalName", "YUVPlayer.exe"
VALUE "LegalCopyright", "版权所无,翻版不究,仅保留署名权。"
VALUE "OriginalFilename", "YUVPlayer.exe"
VALUE "ProductName", "YUV播放器"
VALUE "ProductVersion", "4.0.0.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x804, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 3
RIGHTMARGIN, 144
TOPMARGIN, 2
BOTTOMMARGIN, 79
END
IDD_YUVPLAYER_DIALOG, DIALOG
BEGIN
TOPMARGIN, 1
BOTTOMMARGIN, 221
END
IDD_DIALOG_SETTING, DIALOG
BEGIN
LEFTMARGIN, 2
RIGHTMARGIN, 184
TOPMARGIN, 1
BOTTOMMARGIN, 98
END
IDD_DIALOG_TRANSFORM, DIALOG
BEGIN
BOTTOMMARGIN, 94
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MENU1 MENU
BEGIN
POPUP "File"
BEGIN
MENUITEM "Open", ID_FILE_OPEN
MENUITEM "Save Frame...", ID_FILE_SAVEFRAME
MENUITEM "Exit", ID_FILE_EXIT
END
POPUP "Playing"
BEGIN
MENUITEM "Play", ID_PLAYING_PLAY
MENUITEM "Stop", ID_PLAYING_STOP
MENUITEM "Setting...", ID_PLAYING_SETTING
END
POPUP "Help"
BEGIN
MENUITEM "Help", ID_HELP_HELP
MENUITEM "Transform", ID_HELP_TRANSFORM
MENUITEM "About", ID_HELP_ABOUT
END
END
IDR_MENU2 MENU
BEGIN
POPUP "xxx"
BEGIN
MENUITEM "Open...", ID_R_OPEN
MENUITEM "Setting...", ID_R_SETTING
MENUITEM "Exit", ID_R_EXIT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//
IDD_DIALOG_SETTING DLGINIT
BEGIN
IDC_CB_YUV_FMT, 0x403, 2, 0
0x0059,
IDC_CB_YUV_FMT, 0x403, 13, 0
0x5559, 0x3456, 0x3032, 0x4928, 0x3234, 0x2930, "\000"
IDC_CB_YUV_FMT, 0x403, 5, 0
0x5659, 0x3231, "\000"
IDC_CB_YUV_FMT, 0x403, 13, 0
0x5559, 0x3456, 0x3232, 0x4928, 0x3234, 0x2932, "\000"
IDC_CB_YUV_FMT, 0x403, 5, 0
0x5659, 0x3631, "\000"
IDC_CB_YUV_FMT, 0x403, 7, 0
0x5559, 0x3456, 0x3434, "\000"
IDC_CB_YUV_FMT, 0x403, 11, 0
0x5559, 0x5659, 0x5928, 0x5955, 0x2932, "\000"
IDC_CB_YUV_FMT, 0x403, 5, 0
0x5659, 0x5559, "\000"
IDC_CB_YUV_FMT, 0x403, 5, 0
0x5955, 0x5956, "\000"
IDC_CB_YUV_FMT, 0x403, 5, 0
0x5956, 0x5955, "\000"
IDC_CB_YUV_FMT, 0x403, 5, 0
0x564e, 0x3231, "\000"
IDC_CB_YUV_FMT, 0x403, 5, 0
0x564e, 0x3132, "\000"
IDC_CB_YUV_FMT, 0x403, 5, 0
0x564e, 0x3631, "\000"
IDC_CB_YUV_FMT, 0x403, 5, 0
0x564e, 0x3136, "\000"
IDC_CB_YUV_FMT, 0x403, 6, 0
0x6772, 0x3262, 0x0034,
IDC_CB_YUV_FMT, 0x403, 6, 0
0x6762, 0x3272, 0x0034,
IDC_CB_FPS, 0x403, 2, 0
0x0031,
IDC_CB_FPS, 0x403, 2, 0
0x0032,
IDC_CB_FPS, 0x403, 2, 0
0x0035,
IDC_CB_FPS, 0x403, 3, 0
0x3031, "\000"
IDC_CB_FPS, 0x403, 3, 0
0x3531, "\000"
IDC_CB_FPS, 0x403, 3, 0
0x3032, "\000"
IDC_CB_FPS, 0x403, 3, 0
0x3532, "\000"
IDC_CB_FPS, 0x403, 3, 0
0x3033, "\000"
IDC_CB_FPS, 0x403, 3, 0
0x3034, "\000"
IDC_CB_FPS, 0x403, 3, 0
0x3035, "\000"
IDC_CB_FPS, 0x403, 3, 0
0x3036, "\000"
IDC_CB_FPS, 0x403, 3, 0
0x3037, "\000"
IDC_CB_FPS, 0x403, 3, 0
0x3038, "\000"
IDC_CB_FPS, 0x403, 3, 0
0x3039, "\000"
IDC_CB_FPS, 0x403, 4, 0
0x3031, 0x0030,
0
END
IDD_DIALOG_TRANSFORM DLGINIT
BEGIN
IDC_CB_INFMT, 0x403, 2, 0
0x0059,
IDC_CB_INFMT, 0x403, 13, 0
0x5559, 0x3456, 0x3032, 0x4928, 0x3234, 0x2930, "\000"
IDC_CB_INFMT, 0x403, 5, 0
0x5659, 0x3231, "\000"
IDC_CB_INFMT, 0x403, 13, 0
0x5559, 0x3456, 0x3232, 0x4928, 0x3234, 0x2932, "\000"
IDC_CB_INFMT, 0x403, 5, 0
0x5659, 0x3631, "\000"
IDC_CB_INFMT, 0x403, 7, 0
0x5559, 0x3456, 0x3434, "\000"
IDC_CB_INFMT, 0x403, 11, 0
0x5559, 0x5659, 0x5928, 0x5955, 0x2932, "\000"
IDC_CB_INFMT, 0x403, 5, 0
0x5659, 0x5559, "\000"
IDC_CB_INFMT, 0x403, 5, 0
0x5955, 0x5956, "\000"
IDC_CB_INFMT, 0x403, 5, 0
0x5956, 0x5955, "\000"
IDC_CB_INFMT, 0x403, 5, 0
0x564e, 0x3231, "\000"
IDC_CB_INFMT, 0x403, 5, 0
0x564e, 0x3132, "\000"
IDC_CB_INFMT, 0x403, 5, 0
0x564e, 0x3631, "\000"
IDC_CB_INFMT, 0x403, 5, 0
0x564e, 0x3136, "\000"
IDC_CB_OUTFMT, 0x403, 2, 0
0x0059,
IDC_CB_OUTFMT, 0x403, 13, 0
0x5559, 0x3456, 0x3032, 0x4928, 0x3234, 0x2930, "\000"
IDC_CB_OUTFMT, 0x403, 5, 0
0x5659, 0x3231, "\000"
IDC_CB_OUTFMT, 0x403, 13, 0
0x5559, 0x3456, 0x3232, 0x4928, 0x3234, 0x2932, "\000"
IDC_CB_OUTFMT, 0x403, 5, 0
0x5659, 0x3631, "\000"
IDC_CB_OUTFMT, 0x403, 7, 0
0x5559, 0x3456, 0x3434, "\000"
IDC_CB_OUTFMT, 0x403, 11, 0
0x5559, 0x5659, 0x5928, 0x5955, 0x2932, "\000"
IDC_CB_OUTFMT, 0x403, 5, 0
0x5659, 0x5559, "\000"
IDC_CB_OUTFMT, 0x403, 5, 0
0x5955, 0x5956, "\000"
IDC_CB_OUTFMT, 0x403, 5, 0
0x5956, 0x5955, "\000"
IDC_CB_OUTFMT, 0x403, 5, 0
0x564e, 0x3231, "\000"
IDC_CB_OUTFMT, 0x403, 5, 0
0x564e, 0x3132, "\000"
IDC_CB_OUTFMT, 0x403, 5, 0
0x564e, 0x3631, "\000"
IDC_CB_OUTFMT, 0x403, 5, 0
0x564e, 0x3136, "\000"
0
END
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_BM_OPEN BITMAP "res\\open.bmp"
IDB_BM_FIRST BITMAP "res\\first.bmp"
IDB_BM_LAST BITMAP "res\\last.bmp"
IDB_BM_PAUSE BITMAP "res\\pause.bmp"
IDB_BM_PLAY BITMAP "res\\play.bmp"
IDB_BM_PREV BITMAP "res\\prev.bmp"
IDB_BM_SAVE BITMAP "res\\save.bmp"
IDB_BM_SETTING BITMAP "res\\setting.bmp"
IDB_BM_STOP BITMAP "res\\stop.bmp"
IDB_BM_NEXT BITMAP "res\\next.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_ABOUTBOX "关于 YUVPlayer(&A)..."
END
#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\YUVPlayer.rc2" // 非 Microsoft Visual C++ 编辑的资源
#include "l.CHS\afxres.rc" // 标准组件
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED