forked from jaden/SnapTimer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.lfm
476 lines (476 loc) · 11.7 KB
/
settings.lfm
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
463
464
465
466
467
468
469
470
471
472
473
474
475
476
object OptionsForm: TOptionsForm
Left = 465
Height = 351
Top = 319
Width = 825
BorderIcons = [biSystemMenu]
BorderStyle = bsDialog
Caption = 'Options'
ClientHeight = 351
ClientWidth = 825
DesignTimePPI = 144
KeyPreview = True
OnCreate = EnableFields
OnKeyPress = FormKeyPress
Position = poScreenCenter
ShowInTaskBar = stNever
LCLVersion = '2.0.10.0'
object BtnOk: TButton
Left = 576
Height = 38
Top = 300
Width = 112
Caption = '&OK'
Default = True
ModalResult = 1
ParentFont = False
TabOrder = 1
end
object BtnCancel: TButton
Left = 696
Height = 38
Top = 300
Width = 112
Caption = '&Cancel'
ModalResult = 2
ParentFont = False
TabOrder = 2
end
object PageControl1: TPageControl
Left = 0
Height = 288
Top = 0
Width = 828
ActivePage = GeneralTab
ParentFont = False
TabIndex = 0
TabOrder = 0
object GeneralTab: TTabSheet
Caption = 'General'
ClientHeight = 250
ClientWidth = 820
ParentFont = False
object CheckAutostart: TCheckBox
Left = 256
Height = 29
Hint = 'Begin counting down when the application starts'
Top = 111
Width = 150
Caption = '&Autostart timer'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 4
end
object CheckMinToTray: TCheckBox
Left = 18
Height = 29
Hint = 'Don''t show the application in the taskbar when minimized'
Top = 159
Width = 158
Caption = '&Minimize to tray'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 2
end
object GroupBox2: TGroupBox
Left = 6
Height = 72
Top = 19
Width = 240
Caption = 'Starting position'
ClientHeight = 42
ClientWidth = 236
ParentFont = False
TabOrder = 0
object PositionCombo: TComboBox
Left = 9
Height = 33
Hint = 'Where to place the application window when it starts'
Top = 3
Width = 216
DropDownCount = 6
ItemHeight = 25
ParentFont = False
ParentShowHint = False
ShowHint = True
Style = csDropDownList
TabOrder = 0
end
end
object CheckClickTime: TCheckBox
Left = 256
Height = 29
Hint = 'Click the timer numerals to start/pause the timer'
Top = 159
Width = 168
Caption = 'Cl&ick time to start'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 5
end
object CheckDblClickTime: TCheckBox
Left = 256
Height = 29
Hint = 'Double-click the timer numerals to reset the timer'
Top = 207
Width = 233
Caption = '&Double-click time to reset'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 6
end
object CheckAutoRestart: TCheckBox
Left = 522
Height = 29
Hint = 'Start the timer again when the time reaches zero'
Top = 111
Width = 239
Caption = 'Automatically &restart timer'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 8
end
object CheckLoopAudio: TCheckBox
Left = 522
Height = 29
Hint = 'Continue playing the audio file until timer is reset'
Top = 159
Width = 170
Caption = '&Loop audio alarm'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 9
end
object CheckAutoSave: TCheckBox
Left = 18
Height = 29
Hint = 'Automatically save settings to the .ini file on exit'
Top = 207
Width = 171
Caption = 'Auto&save settings'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 3
end
object CheckAlwaysOnTop: TCheckBox
Left = 18
Height = 29
Hint = 'Show the window even when it''s deactivated'
Top = 111
Width = 144
Caption = 'Al&ways on top'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
object CheckTicking: TCheckBox
Left = 522
Height = 29
Hint = 'Play a ticking sound when timer is running'
Top = 204
Width = 174
Caption = '&Play ticking sound'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 10
end
object CheckSecondsMode: TCheckBox
Left = 522
Height = 29
Hint = 'Enter seconds instead of minutes'
Top = 62
Width = 204
Caption = '&Enable seconds mode'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 7
end
object CheckHideSeconds: TCheckBox
Left = 256
Height = 29
Hint = 'Begin counting down when the application starts'
Top = 62
Width = 137
Caption = '&Hide seconds'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 11
end
end
object AlarmsTab: TTabSheet
Caption = 'Alarms'
ClientHeight = 166
ClientWidth = 544
ParentFont = False
object GroupBox1: TGroupBox
Left = 6
Height = 216
Top = 15
Width = 801
Caption = 'Notification actions'
ClientHeight = 186
ClientWidth = 797
ParentFont = False
TabOrder = 0
object NotifyRunAppOn: TCheckBox
Left = 8
Height = 17
Top = 138
Width = 84
Caption = '&Run program:'
OnClick = EnableFields
ParentFont = False
TabOrder = 10
end
object NotifyAudioOn: TCheckBox
Left = 8
Height = 17
Top = 94
Width = 88
Caption = '&Play wave file:'
OnClick = EnableFields
ParentFont = False
TabOrder = 6
end
object NotifyTrayMsgOn: TCheckBox
Left = 8
Height = 17
Top = 48
Width = 104
Caption = '&Show tray popup:'
OnClick = EnableFields
ParentFont = False
TabOrder = 3
end
object NotifyMsgOn: TCheckBox
Left = 8
Height = 17
Top = 4
Width = 101
Caption = '&Display message:'
OnClick = EnableFields
ParentFont = False
TabOrder = 0
end
object NotifyTrayMsgTest: TButton
Left = 678
Height = 38
Top = 45
Width = 112
Caption = 'Test'
OnClick = TestTrayMsg
ParentFont = False
TabOrder = 5
end
object NotifyMsgTest: TButton
Left = 678
Height = 38
Top = 2
Width = 112
Caption = 'Test'
OnClick = TestMessage
ParentFont = False
TabOrder = 2
end
object NotifyRunTest: TButton
Left = 678
Height = 38
Top = 135
Width = 112
Caption = 'Test'
OnClick = TestRunApp
ParentFont = False
TabOrder = 13
end
object NotifyAudioTest: TButton
Left = 678
Height = 38
Top = 92
Width = 112
Caption = 'Test'
OnClick = TestAudio
ParentFont = False
TabOrder = 9
end
object NotifyTrayMsg: TEdit
Left = 195
Height = 21
Top = 48
Width = 472
ParentFont = False
TabOrder = 4
end
object NotifyRunBtn: TButton
Left = 558
Height = 38
Top = 135
Width = 112
Caption = 'Browse'
OnClick = GetAppFile
ParentFont = False
TabOrder = 12
end
object NotifyRunApp: TEdit
Left = 195
Height = 21
Top = 138
Width = 348
ParentFont = False
TabOrder = 11
end
object NotifyAudioBtn: TButton
Left = 558
Height = 38
Top = 92
Width = 112
Caption = 'Browse'
OnClick = GetAudioFile
ParentFont = False
TabOrder = 8
end
object NotifyAudio: TEdit
Left = 195
Height = 21
Top = 94
Width = 348
ParentFont = False
TabOrder = 7
end
object NotifyMsg: TEdit
Left = 195
Height = 21
Top = 4
Width = 472
ParentFont = False
TabOrder = 1
end
end
end
object FontsTab: TTabSheet
Caption = 'Font'
ClientHeight = 250
ClientWidth = 820
OnShow = UpdateFonts
ParentFont = False
object TimerFontBox: TGroupBox
Left = 6
Height = 156
Top = 15
Width = 801
Caption = 'Timer font'
ClientHeight = 126
ClientWidth = 797
ParentFont = False
TabOrder = 0
object Label1: TLabel
Left = 9
Height = 25
Top = 9
Width = 35
Caption = 'Size:'
ParentColor = False
ParentFont = False
end
object FontColor: TColorButton
Left = 252
Height = 38
Top = 2
Width = 112
BorderWidth = 2
ButtonColorSize = 16
ButtonColor = clBlack
OnColorChanged = UpdateFontColor
ParentFont = False
end
object BgColor: TColorButton
Left = 543
Height = 38
Top = 2
Width = 112
BorderWidth = 2
ButtonColorSize = 16
ButtonColor = clSilver
OnColorChanged = UpdateFonts
ParentFont = False
end
object LabelTextColor: TLabel
Left = 189
Height = 25
Top = 9
Width = 47
Caption = 'Color:'
ParentColor = False
ParentFont = False
end
object LabelTextColor1: TLabel
Left = 429
Height = 25
Top = 9
Width = 99
Caption = 'Background:'
ParentColor = False
ParentFont = False
end
object FontSize: TSpinEdit
Left = 69
Height = 33
Top = 4
Width = 70
MaxValue = 1000
OnChange = UpdateFontSize
ParentFont = False
TabOrder = 0
end
object FontName: TStaticText
Left = 141
Height = 41
Top = 70
Width = 96
Alignment = taCenter
AutoSize = True
BorderSpacing.InnerBorder = 4
Caption = '00:00:00'
Color = clCaptionText
Font.Height = -24
ParentFont = False
ParentColor = False
TabOrder = 2
end
object FontNameBtn: TButton
Left = 8
Height = 38
Top = 72
Width = 112
Caption = '&Font...'
OnClick = ChooseFont
ParentFont = False
TabOrder = 1
end
end
object BtnDefaults: TButton
Left = 15
Height = 38
Hint = 'Reset font to default settings'
Top = 201
Width = 112
Caption = '&Defaults'
OnClick = SetDefaults
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
end
end
end