-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMAIN.dfm
327 lines (327 loc) · 7.51 KB
/
MAIN.dfm
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
object frmTetris: TfrmTetris
Left = 397
Top = 712
Width = 911
Height = 695
HorzScrollBar.Visible = False
VertScrollBar.Visible = False
BorderIcons = [biSystemMenu, biMinimize]
Caption = 'Tetris'
Color = clNavy
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
KeyPreview = True
Menu = MainMenu
OldCreateOrder = False
WindowState = wsMaximized
OnClose = FormClose
OnCreate = FormCreate
OnKeyDown = FormKeyDown
OnResize = FormResize
PixelsPerInch = 96
TextHeight = 13
object BackIMG: TImage
Left = 0
Top = 0
Width = 105
Height = 105
end
object panelScore: TPanel
Left = 8
Top = 16
Width = 145
Height = 337
BevelInner = bvRaised
TabOrder = 0
object Label1: TLabel
Left = 8
Top = 16
Width = 39
Height = 16
Caption = 'Score:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label2: TLabel
Left = 8
Top = 72
Width = 77
Height = 16
Caption = 'Timer Delay:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object Label4: TLabel
Left = 8
Top = 128
Width = 35
Height = 16
Caption = 'Lines:'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
end
object pnNB: TPanel
Left = 5
Top = 200
Width = 135
Height = 129
TabOrder = 0
object Label3: TLabel
Left = 51
Top = 8
Width = 31
Height = 16
Caption = 'Next'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object NB: TFastIMG
Left = 12
Top = 32
Width = 112
Height = 89
AutoSize = False
end
end
object panelscr1: TPanel
Left = 8
Top = 32
Width = 129
Height = 25
Color = clBtnText
TabOrder = 1
object lblSCR: TLabel
Left = 8
Top = 4
Width = 8
Height = 16
Caption = '0'
Color = clBlack
Font.Charset = DEFAULT_CHARSET
Font.Color = clLime
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
end
object panelscr2: TPanel
Left = 8
Top = 88
Width = 129
Height = 25
Color = clBtnText
TabOrder = 2
object lbllevel: TLabel
Left = 8
Top = 4
Width = 8
Height = 16
Caption = '0'
Color = clBlack
Font.Charset = DEFAULT_CHARSET
Font.Color = clLime
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
end
object panelscr3: TPanel
Left = 8
Top = 144
Width = 129
Height = 25
Color = clBtnText
TabOrder = 3
object lbllines: TLabel
Left = 8
Top = 4
Width = 8
Height = 16
Caption = '0'
Color = clBlack
Font.Charset = DEFAULT_CHARSET
Font.Color = clLime
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
end
end
object panelPlayArea: TPanel
Left = 256
Top = 16
Width = 104
Height = 104
AutoSize = True
BevelInner = bvRaised
TabOrder = 1
object PlayArea: TFastIMG
Left = 2
Top = 2
Width = 100
Height = 100
AutoSize = True
end
end
object GameClock: TTimer
Enabled = False
Interval = 140
OnTimer = GameClockTimer
Left = 200
Top = 16
end
object MainMenu: TMainMenu
Left = 160
Top = 16
object mnuGame: TMenuItem
Caption = '&Game'
object mnuNewGame: TMenuItem
Caption = '&New'
ShortCut = 113
OnClick = mnuNewGameClick
end
object mnuPause: TMenuItem
Caption = '&Pause'
ShortCut = 114
OnClick = mnuPauseClick
end
object mnuScores: TMenuItem
Caption = '&High Scores...'
OnClick = mnuScoresClick
end
object N1: TMenuItem
Caption = '-'
end
object mnuExit: TMenuItem
Caption = 'E&xit'
OnClick = mnuExitClick
end
end
object Skill1: TMenuItem
Caption = '&Skill'
Hint = 'mnuSkill'
object mnuStartingLevels: TMenuItem
Caption = 'Starting &Levels'
end
object mnuStartingRows: TMenuItem
Caption = 'Starting &Rows'
object N01: TMenuItem
Caption = '&0'
GroupIndex = 1
RadioItem = True
OnClick = N01Click
end
object N11: TMenuItem
Tag = 1
Caption = '&1'
GroupIndex = 1
RadioItem = True
OnClick = N01Click
end
object N21: TMenuItem
Tag = 2
Caption = '&2'
GroupIndex = 1
RadioItem = True
OnClick = N01Click
end
object N31: TMenuItem
Tag = 3
Caption = '&3'
GroupIndex = 1
RadioItem = True
OnClick = N01Click
end
object N41: TMenuItem
Tag = 4
Caption = '&4'
GroupIndex = 1
RadioItem = True
OnClick = N01Click
end
object N51: TMenuItem
Tag = 5
Caption = '&5'
GroupIndex = 1
RadioItem = True
OnClick = N01Click
end
object N61: TMenuItem
Tag = 6
Caption = '&6'
GroupIndex = 1
RadioItem = True
OnClick = N01Click
end
object N71: TMenuItem
Tag = 7
Caption = '&7'
GroupIndex = 1
RadioItem = True
OnClick = N01Click
end
object N81: TMenuItem
Tag = 8
Caption = '&8'
GroupIndex = 1
RadioItem = True
OnClick = N01Click
end
object N91: TMenuItem
Tag = 9
Caption = '&9'
GroupIndex = 1
RadioItem = True
OnClick = N01Click
end
end
end
object mnuOptions: TMenuItem
Caption = '&Options'
object mnuSFX: TMenuItem
Caption = 'Special Effects'
OnClick = mnuSFXClick
end
object mnuNB: TMenuItem
Caption = 'Block Preview'
OnClick = mnuNBClick
end
object mnuCS: TMenuItem
Caption = 'Choose &dataset...'
OnClick = mnuCSClick
end
end
object mnuHelp: TMenuItem
Caption = '&Help'
object mnuAbout: TMenuItem
Caption = '&About...'
OnClick = mnuAboutClick
end
end
end
end