-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGameOfLife.dfm
122 lines (122 loc) · 2.46 KB
/
GameOfLife.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
object MainForm: TMainForm
Left = 0
Top = 0
Width = 810
Height = 491
AutoScroll = True
Caption = 'Conway'#39's Game of Life'
Color = clBtnFace
Constraints.MinHeight = 480
Constraints.MinWidth = 640
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
OnResize = FormResize
DesignSize = (
794
453)
PixelsPerInch = 96
TextHeight = 13
object MainGrid: TDrawGrid
AlignWithMargins = True
Left = 0
Top = 0
Width = 794
Height = 387
Anchors = [akLeft, akTop, akRight, akBottom]
BiDiMode = bdLeftToRight
DefaultColWidth = 20
DefaultRowHeight = 20
DefaultDrawing = False
DoubleBuffered = False
FixedCols = 0
FixedRows = 0
ParentBiDiMode = False
ParentDoubleBuffered = False
TabOrder = 0
OnDrawCell = MainGridDrawCell
OnSelectCell = MainGridSelectCell
end
object StatusBar1: TStatusBar
Left = 0
Top = 424
Width = 794
Height = 29
Panels = <>
SimplePanel = True
ExplicitWidth = 785
end
object ButtonPanel: TPanel
Left = 0
Top = 387
Width = 794
Height = 41
Anchors = [akLeft, akRight, akBottom]
TabOrder = 2
ExplicitWidth = 785
object PeriodLabel: TLabel
Left = 368
Top = 12
Width = 54
Height = 13
Caption = 'Period (ms)'
end
object StartButton: TButton
Left = 8
Top = 6
Width = 75
Height = 25
Caption = 'Start'
TabOrder = 0
OnClick = StartButtonClick
end
object PauseButton: TButton
Left = 89
Top = 6
Width = 75
Height = 25
Caption = 'Pause'
TabOrder = 1
OnClick = PauseButtonClick
end
object TimeDurationSpinEdit: TSpinEdit
Left = 436
Top = 8
Width = 121
Height = 22
MaxValue = 3000
MinValue = 1
TabOrder = 2
Value = 100
end
object RandomiseButton: TButton
Left = 170
Top = 6
Width = 75
Height = 25
Caption = 'Randomise'
TabOrder = 3
OnClick = RandomiseButtonClick
end
object ClearButton: TButton
Left = 251
Top = 6
Width = 75
Height = 25
Caption = 'Clear'
TabOrder = 4
OnClick = ClearButtonClick
end
end
object PeriodTimer: TTimer
Enabled = False
Interval = 500
OnTimer = PeriodTimerTimer
Left = 632
Top = 48
end
end