-
Notifications
You must be signed in to change notification settings - Fork 0
/
GameTetris.rc
132 lines (102 loc) · 6.14 KB
/
GameTetris.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
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
#ifndef APSTUDIO_INVOKED
#include "targetver.h"
#endif
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
#undef APSTUDIO_READONLY_SYMBOLS
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
IDI_GAMETETRIS ICON "GameTetris.ico"
IDI_SMALL ICON "small.ico"
IDC_GAMETETRIS MENU
BEGIN
POPUP "游戏"
BEGIN
MENUITEM "暂停(空格)", IDM_STOP
MENUITEM "继续(空格)", IDM_CONTINUE
MENUITEM "显示状态信息(F5)", IDM_DEBUG_ON
MENUITEM "关闭状态信息(F6)", IDM_DEBUG_OFF
MENUITEM "退出", IDM_EXIT
END
POPUP "控制"
BEGIN
MENUITEM "加速(F1)", IDM_ADDSPEED
MENUITEM "减速(F2)", IDM_SUBSPEED
MENUITEM "变形(回车)", IDM_TETRISFIRE
END
POPUP "帮助"
BEGIN
MENUITEM "说明", IDM_README
MENUITEM "关于", IDM_ABOUT
END
END
IDC_GAMETETRIS ACCELERATORS
BEGIN
"?", IDM_ABOUT, ASCII, ALT
"/", IDM_ABOUT, ASCII, ALT
END
IDD_READMEBOX DIALOGEX 0, 0, 180, 165
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "操作说明"
FONT 9, "MS Shell Dlg", 0, 0, 0x1
BEGIN
DEFPUSHBUTTON "确定",IDOK,65,146,50,14
LTEXT "操作说明:",IDC_STATIC,65,6,36,8
LTEXT "向下移动 :下方向键",IDC_STATIC,30,28,80,8
LTEXT "向左移动 :左方向键",IDC_STATIC,30,38,80,8
LTEXT "向右移动 :右方向键",IDC_STATIC,30,48,80,8
LTEXT "加速移动 :F1键",IDC_STATIC,30,58,80,8
LTEXT "减速移动 :F2键",IDC_STATIC,30,68,80,8
LTEXT "方块变换 :回车键",IDC_STATIC,30,78,80,8
LTEXT "暂停/继续 :空格键",IDC_STATIC,30,88,80,8
LTEXT "显示信息 :F5键",IDC_STATIC,30,98,80,8
LTEXT "关闭信息 :F6键",IDC_STATIC,30,108,80,8
LTEXT "游戏说明:",IDC_STATIC,65,118,36,8
LTEXT "俄罗斯方块游戏",IDC_STATIC,14,128,155,13
END
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 163
TOPMARGIN, 7
BOTTOMMARGIN, 75
END
IDD_READMEBOX, DIALOG
BEGIN
BOTTOMMARGIN, 160
END
END
#endif
#ifdef APSTUDIO_INVOKED
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
STRINGTABLE
BEGIN
IDS_APP_TITLE "俄罗斯方块"
IDC_GAMETETRIS "俄罗斯方块"
END
#endif