forked from jaden/SnapTimer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.lfm
436 lines (436 loc) · 10.6 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
object OptionsForm: TOptionsForm
Left = 1278
Height = 234
Top = 734
Width = 550
BorderIcons = [biSystemMenu]
BorderStyle = bsDialog
Caption = 'Options'
ClientHeight = 234
ClientWidth = 550
KeyPreview = True
OnCreate = EnableFields
OnKeyPress = FormKeyPress
Position = poScreenCenter
ShowInTaskBar = stNever
LCLVersion = '0.9.30'
object BtnOk: TButton
Left = 384
Height = 25
Top = 200
Width = 75
Caption = '&OK'
Default = True
ModalResult = 1
ParentFont = False
TabOrder = 1
end
object BtnCancel: TButton
Left = 464
Height = 25
Top = 200
Width = 75
Caption = '&Cancel'
ModalResult = 2
ParentFont = False
TabOrder = 2
end
object PageControl1: TPageControl
Left = 0
Height = 192
Top = 0
Width = 552
ActivePage = FontsTab
TabIndex = 2
TabOrder = 0
object GeneralTab: TTabSheet
Caption = 'General'
ClientHeight = 164
ClientWidth = 544
object CheckAutostart: TCheckBox
Left = 164
Height = 19
Hint = 'Begin counting down when the application starts'
Top = 74
Width = 100
Caption = '&Autostart timer'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 4
end
object CheckMinToTray: TCheckBox
Left = 12
Height = 19
Hint = 'Don''t show the application in the taskbar when minimized'
Top = 106
Width = 106
Caption = '&Minimize to tray'
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 2
end
object GroupBox2: TGroupBox
Left = 4
Height = 48
Top = 10
Width = 160
Caption = 'Starting position'
ClientHeight = 30
ClientWidth = 156
TabOrder = 0
object PositionCombo: TComboBox
Left = 6
Height = 23
Hint = 'Where to place the application window when it starts'
Top = 2
Width = 144
DropDownCount = 6
ItemHeight = 15
ParentShowHint = False
ShowHint = True
Style = csDropDownList
TabOrder = 0
end
end
object CheckClickTime: TCheckBox
Left = 164
Height = 19
Hint = 'Click the timer numerals to start/pause the timer'
Top = 106
Width = 113
Caption = 'Cl&ick time to start'
ParentShowHint = False
ShowHint = True
TabOrder = 5
end
object CheckDblClickTime: TCheckBox
Left = 164
Height = 19
Hint = 'Double-click the timer numerals to reset the timer'
Top = 138
Width = 156
Caption = '&Double-click time to reset'
ParentShowHint = False
ShowHint = True
TabOrder = 6
end
object CheckAutoRestart: TCheckBox
Left = 348
Height = 19
Hint = 'Start the timer again when the time reaches zero'
Top = 74
Width = 161
Caption = 'Automatically &restart timer'
ParentShowHint = False
ShowHint = True
TabOrder = 8
end
object CheckLoopAudio: TCheckBox
Left = 348
Height = 19
Hint = 'Continue playing the audio file until timer is reset'
Top = 106
Width = 113
Caption = '&Loop audio alarm'
ParentShowHint = False
ShowHint = True
TabOrder = 9
end
object CheckAutoSave: TCheckBox
Left = 12
Height = 19
Hint = 'Automatically save settings to the .ini file on exit'
Top = 138
Width = 113
Caption = 'Auto&save settings'
ParentShowHint = False
ShowHint = True
TabOrder = 3
end
object CheckAlwaysOnTop: TCheckBox
Left = 12
Height = 19
Hint = 'Show the window even when it''s deactivated'
Top = 74
Width = 95
Caption = 'Al&ways on top'
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
object CheckTicking: TCheckBox
Left = 348
Height = 19
Hint = 'Play a ticking sound when timer is running'
Top = 136
Width = 117
Caption = '&Play ticking sound'
ParentShowHint = False
ShowHint = True
TabOrder = 10
end
object CheckSecondsMode: TCheckBox
Left = 348
Height = 19
Hint = 'Enter seconds instead of minutes'
Top = 39
Width = 135
Caption = '&Enable seconds mode'
ParentShowHint = False
ShowHint = True
TabOrder = 7
end
end
object AlarmsTab: TTabSheet
Caption = 'Alarms'
ClientHeight = 166
ClientWidth = 544
object GroupBox1: TGroupBox
Left = 4
Height = 144
Top = 10
Width = 534
Caption = 'Notification actions'
ClientHeight = 126
ClientWidth = 530
TabOrder = 0
object NotifyRunAppOn: TCheckBox
Left = 5
Height = 17
Top = 92
Width = 84
Caption = '&Run program:'
OnClick = EnableFields
ParentFont = False
TabOrder = 10
end
object NotifyAudioOn: TCheckBox
Left = 5
Height = 17
Top = 63
Width = 88
Caption = '&Play wave file:'
OnClick = EnableFields
ParentFont = False
TabOrder = 6
end
object NotifyTrayMsgOn: TCheckBox
Left = 5
Height = 17
Top = 32
Width = 104
Caption = '&Show tray popup:'
OnClick = EnableFields
ParentFont = False
TabOrder = 3
end
object NotifyMsgOn: TCheckBox
Left = 5
Height = 17
Top = 3
Width = 101
Caption = '&Display message:'
OnClick = EnableFields
ParentFont = False
TabOrder = 0
end
object NotifyTrayMsgTest: TButton
Left = 452
Height = 25
Top = 30
Width = 75
Caption = 'Test'
OnClick = TestTrayMsg
ParentFont = False
TabOrder = 5
end
object NotifyMsgTest: TButton
Left = 452
Height = 25
Top = 1
Width = 75
Caption = 'Test'
OnClick = TestMessage
ParentFont = False
TabOrder = 2
end
object NotifyRunTest: TButton
Left = 452
Height = 25
Top = 90
Width = 75
Caption = 'Test'
OnClick = TestRunApp
ParentFont = False
TabOrder = 13
end
object NotifyAudioTest: TButton
Left = 452
Height = 25
Top = 61
Width = 75
Caption = 'Test'
OnClick = TestAudio
ParentFont = False
TabOrder = 9
end
object NotifyTrayMsg: TEdit
Left = 130
Height = 21
Top = 32
Width = 315
TabOrder = 4
end
object NotifyRunBtn: TButton
Left = 372
Height = 25
Top = 90
Width = 75
Caption = 'Browse'
OnClick = GetAppFile
ParentFont = False
TabOrder = 12
end
object NotifyRunApp: TEdit
Left = 130
Height = 21
Top = 92
Width = 232
TabOrder = 11
end
object NotifyAudioBtn: TButton
Left = 372
Height = 25
Top = 61
Width = 75
Caption = 'Browse'
OnClick = GetAudioFile
ParentFont = False
TabOrder = 8
end
object NotifyAudio: TEdit
Left = 130
Height = 21
Top = 63
Width = 232
TabOrder = 7
end
object NotifyMsg: TEdit
Left = 130
Height = 21
Top = 3
Width = 315
TabOrder = 1
end
end
end
object FontsTab: TTabSheet
Caption = 'Font'
ClientHeight = 164
ClientWidth = 544
OnShow = UpdateFonts
object TimerFontBox: TGroupBox
Left = 4
Height = 104
Top = 10
Width = 534
Caption = 'Timer font'
ClientHeight = 86
ClientWidth = 530
TabOrder = 0
object Label1: TLabel
Left = 6
Height = 16
Top = 6
Width = 24
Caption = 'Size:'
ParentColor = False
end
object FontColor: TColorButton
Left = 168
Height = 25
Top = 1
Width = 75
BorderWidth = 2
ButtonColorSize = 16
ButtonColor = clBlack
OnColorChanged = UpdateFontColor
end
object BgColor: TColorButton
Left = 362
Height = 25
Top = 1
Width = 75
BorderWidth = 2
ButtonColorSize = 16
ButtonColor = clSilver
OnColorChanged = UpdateFonts
end
object LabelTextColor: TLabel
Left = 126
Height = 16
Top = 6
Width = 33
Caption = 'Color:'
ParentColor = False
end
object LabelTextColor1: TLabel
Left = 286
Height = 16
Top = 6
Width = 68
Caption = 'Background:'
ParentColor = False
end
object FontSize: TSpinEdit
Left = 46
Height = 23
Top = 3
Width = 47
MaxValue = 1000
OnChange = UpdateFontSize
TabOrder = 0
end
object FontName: TStaticText
Left = 94
Height = 28
Top = 47
Width = 66
Alignment = taCenter
AutoSize = True
BorderSpacing.InnerBorder = 3
Caption = '00:00:00'
Color = clCaptionText
Font.Height = -16
ParentFont = False
ParentColor = False
TabOrder = 2
end
object FontNameBtn: TButton
Left = 5
Height = 25
Top = 48
Width = 75
Caption = '&Font...'
OnClick = ChooseFont
TabOrder = 1
end
end
object BtnDefaults: TButton
Left = 10
Height = 25
Hint = 'Reset font to default settings'
Top = 134
Width = 75
Caption = '&Defaults'
OnClick = SetDefaults
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
end
end
end