Debian Codegraph @

examples/audio/audio_player/formmain.lfm

raw
1 object MainForm: TMainForm
2 Left = 459
3 Height = 508
4 Top = 166
5 Width = 865
6 Caption = 'Audio Player | Castle Game Engine'
7 ClientHeight = 508
8 ClientWidth = 865
9 DesignTimePPI = 120
10 OnCreate = FormCreate
11 LCLVersion = '2.0.10.0'
12 object ButtonOpen: TButton
13 AnchorSideTop.Control = LabelCaption
14 AnchorSideTop.Side = asrBottom
15 Left = 10
16 Height = 39
17 Top = 42
18 Width = 150
19 AutoSize = True
20 BorderSpacing.Top = 9
21 Caption = 'Open Sound File'
22 OnClick = ButtonOpenClick
23 ParentFont = False
24 TabOrder = 0
25 end
26 object LabelSoundInfo: TLabel
27 AnchorSideTop.Control = ButtonOpen
28 AnchorSideTop.Side = asrBottom
29 Left = 10
30 Height = 69
31 Top = 90
32 Width = 189
33 BorderSpacing.Top = 9
34 Caption = 'Sound File:'#10'None'#10'Duration: Not Available'
35 ParentColor = False
36 ParentFont = False
37 end
38 object ButtonPlay: TButton
39 AnchorSideTop.Control = LabelSoundInfo
40 AnchorSideTop.Side = asrBottom
41 Left = 10
42 Height = 39
43 Top = 168
44 Width = 50
45 AutoSize = True
46 BorderSpacing.Top = 9
47 Caption = 'Play'
48 OnClick = ButtonPlayClick
49 ParentFont = False
50 TabOrder = 2
51 end
52 object ButtonStop: TButton
53 AnchorSideLeft.Control = ButtonPlay
54 AnchorSideLeft.Side = asrBottom
55 AnchorSideTop.Control = LabelSoundInfo
56 AnchorSideTop.Side = asrBottom
57 Left = 69
58 Height = 39
59 Top = 168
60 Width = 54
61 AutoSize = True
62 BorderSpacing.Left = 9
63 BorderSpacing.Top = 9
64 Caption = 'Stop'
65 OnClick = ButtonStopClick
66 ParentFont = False
67 TabOrder = 3
68 end
69 object TrackOffset: TTrackBar
70 AnchorSideLeft.Control = LabelOffset
71 AnchorSideTop.Control = LabelOffset1
72 AnchorSideTop.Side = asrBottom
73 AnchorSideRight.Side = asrBottom
74 Left = 10
75 Height = 55
76 Top = 280
77 Width = 852
78 OnChange = TrackOffsetChange
79 Position = 0
80 ShowSelRange = False
81 TickStyle = tsNone
82 Anchors = [akTop, akLeft, akRight]
83 BorderSpacing.Top = 9
84 ParentFont = False
85 TabOrder = 4
86 end
87 object ButtonSoundEngineInformation: TButton
88 AnchorSideLeft.Control = ButtonOpen
89 AnchorSideLeft.Side = asrBottom
90 AnchorSideTop.Control = ButtonOpen
91 Left = 169
92 Height = 39
93 Top = 42
94 Width = 226
95 AutoSize = True
96 BorderSpacing.Left = 9
97 Caption = 'Sound Engine Information'
98 OnClick = ButtonSoundEngineInformationClick
99 ParentFont = False
100 TabOrder = 1
101 end
102 object LabelCaption: TLabel
103 Left = 10
104 Height = 23
105 Top = 10
106 Width = 274
107 Caption = 'Castle Game Engine Audio Player'
108 Font.Style = [fsBold]
109 ParentColor = False
110 ParentFont = False
111 end
112 object LabelOffset: TLabel
113 AnchorSideTop.Control = ButtonPlay
114 AnchorSideTop.Side = asrBottom
115 Left = 10
116 Height = 23
117 Top = 216
118 Width = 320
119 BorderSpacing.Top = 9
120 Caption = 'Offset within played sound: Not Playing'
121 ParentColor = False
122 ParentFont = False
123 end
124 object LabelVolume: TLabel
125 AnchorSideTop.Control = TrackOffset
126 AnchorSideTop.Side = asrBottom
127 Left = 10
128 Height = 23
129 Top = 344
130 Width = 68
131 BorderSpacing.Top = 9
132 Caption = 'Volume:'
133 ParentColor = False
134 ParentFont = False
135 end
136 object TrackVolume: TTrackBar
137 AnchorSideLeft.Control = LabelVolume
138 AnchorSideTop.Control = LabelVolume
139 AnchorSideTop.Side = asrBottom
140 AnchorSideRight.Side = asrBottom
141 Left = 10
142 Height = 55
143 Top = 376
144 Width = 848
145 Max = 1000
146 OnChange = TrackVolumeChange
147 Position = 500
148 ShowSelRange = False
149 TickStyle = tsNone
150 Anchors = [akTop, akLeft, akRight]
151 BorderSpacing.Top = 9
152 ParentFont = False
153 TabOrder = 5
154 end
155 object CheckBoxLoop: TCheckBox
156 AnchorSideTop.Control = TrackVolume
157 AnchorSideTop.Side = asrBottom
158 Left = 10
159 Height = 27
160 Top = 432
161 Width = 66
162 BorderSpacing.Top = 1
163 Caption = 'Loop'
164 OnChange = CheckBoxLoopChange
165 ParentFont = False
166 TabOrder = 6
167 end
168 object LabelOffset1: TLabel
169 AnchorSideTop.Control = LabelOffset
170 AnchorSideTop.Side = asrBottom
171 Left = 10
172 Height = 23
173 Top = 248
174 Width = 680
175 BorderSpacing.Top = 9
176 Caption = '(You can drag this slider, even during playback, to control position within the sound.)'
177 Font.Style = [fsItalic]
178 ParentColor = False
179 ParentFont = False
180 end
181 object OpenDialogSound: TCastleOpenDialog
182 Title = 'Open Existing Sound File'
183 FilterIndex = 0
184 Left = 324
185 Top = 69
186 end
187 object Timer1: TTimer
188 Interval = 1
189 OnTimer = Timer1Timer
190 Left = 417
191 Top = 82
192 end
193 end