forked from awahlig/two-finger-scroll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Unit1.dfm
427 lines (427 loc) · 11.1 KB
/
Unit1.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
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
object Form1: TForm1
Left = 0
Top = 0
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsDialog
Caption = 'Settings - TwoFingerScroll'
ClientHeight = 343
ClientWidth = 320
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnClose = FormClose
PixelsPerInch = 96
TextHeight = 13
object ok: TButton
Left = 157
Top = 311
Width = 75
Height = 25
Caption = 'OK'
Default = True
ModalResult = 1
TabOrder = 0
OnClick = okClick
end
object cancel: TButton
Left = 238
Top = 311
Width = 75
Height = 25
Cancel = True
Caption = 'Cancel'
ModalResult = 2
TabOrder = 1
OnClick = cancelClick
end
object pages: TPageControl
Left = 8
Top = 8
Width = 305
Height = 297
ActivePage = tapTab
TabOrder = 2
object generalTab: TTabSheet
Caption = 'General'
ImageIndex = 2
ExplicitLeft = 0
ExplicitTop = 0
ExplicitWidth = 0
ExplicitHeight = 0
object GroupBox4: TGroupBox
Left = 3
Top = 3
Width = 291
Height = 254
Caption = 'Settings'
TabOrder = 0
object startWithWindows: TCheckBox
Left = 16
Top = 24
Width = 113
Height = 17
Caption = 'Start with Windows'
TabOrder = 0
end
end
end
object scrollTab: TTabSheet
Caption = 'Scrolling'
ExplicitLeft = 0
ExplicitTop = 0
ExplicitWidth = 0
ExplicitHeight = 0
object GroupBox1: TGroupBox
Left = 3
Top = 3
Width = 182
Height = 150
Caption = 'Scroll type'
TabOrder = 0
object scrollCircular: TRadioButton
Left = 16
Top = 115
Width = 97
Height = 17
Caption = 'Circular (future)'
Enabled = False
TabOrder = 0
OnClick = scrollLinearClick
end
object scrollLinearEdge: TCheckBox
Left = 32
Top = 85
Width = 129
Height = 17
Caption = 'Keep scrolling on edges'
Enabled = False
TabOrder = 1
end
object scrollLinear: TRadioButton
Left = 16
Top = 55
Width = 49
Height = 17
Caption = 'Linear'
Checked = True
TabOrder = 2
TabStop = True
OnClick = scrollLinearClick
end
object scrollOff: TRadioButton
Left = 16
Top = 24
Width = 33
Height = 17
Caption = 'Off'
TabOrder = 3
OnClick = scrollLinearClick
end
end
object GroupBox2: TGroupBox
Left = 3
Top = 159
Width = 291
Height = 98
Caption = 'Settings'
TabOrder = 1
object scrollSpeedLabel: TLabel
Left = 16
Top = 26
Width = 30
Height = 13
Caption = 'Speed'
end
object scrollAcc: TTrackBar
Left = 152
Top = 47
Width = 125
Height = 34
Enabled = False
Max = 120
Min = 30
Frequency = 10
Position = 40
TabOrder = 0
end
object scrollAccEnabled: TCheckBox
Left = 152
Top = 24
Width = 81
Height = 17
Caption = 'Acceleration'
TabOrder = 1
OnClick = scrollAccEnabledClick
end
object scrollSpeed: TTrackBar
Left = 16
Top = 47
Width = 124
Height = 34
Max = 200
Min = 10
Frequency = 21
Position = 10
TabOrder = 2
end
end
object GroupBox3: TGroupBox
Left = 191
Top = 3
Width = 103
Height = 150
Caption = 'Scroll mode'
TabOrder = 2
object Label1: TLabel
Left = 15
Top = 116
Width = 33
Height = 13
Cursor = crHandPoint
Caption = 'Help...'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
OnClick = Label1Click
end
object scrollCompatible: TRadioButton
Left = 16
Top = 24
Width = 73
Height = 17
Caption = 'Compatible'
Checked = True
TabOrder = 0
TabStop = True
end
object scrollSmooth: TRadioButton
Left = 16
Top = 55
Width = 57
Height = 17
Caption = 'Smooth'
TabOrder = 1
end
object scrollSmart: TRadioButton
Left = 16
Top = 85
Width = 49
Height = 17
Caption = 'Smart'
TabOrder = 2
end
end
end
object tapTab: TTabSheet
Caption = 'Tapping'
ImageIndex = 1
object GroupBox5: TGroupBox
Left = 3
Top = 3
Width = 291
Height = 254
Caption = 'Settings'
TabOrder = 0
object tapMaxDistanceLabel: TLabel
Left = 16
Top = 144
Width = 165
Height = 13
Caption = 'Maximal finger movement distance'
end
object Label2: TLabel
Left = 16
Top = 24
Width = 83
Height = 13
Caption = 'One + one finger'
end
object Label3: TLabel
Left = 152
Top = 83
Width = 64
Height = 13
Caption = 'Three fingers'
end
object Label4: TLabel
Left = 152
Top = 24
Width = 56
Height = 13
Caption = 'Two fingers'
end
object Label5: TLabel
Left = 16
Top = 83
Width = 83
Height = 13
Caption = 'Two + one finger'
end
object tapMaxDistance: TTrackBar
Left = 16
Top = 163
Width = 257
Height = 38
Max = 100
Min = 5
Frequency = 5
Position = 5
TabOrder = 0
end
object tapOneOne: TComboBox
Left = 16
Top = 43
Width = 121
Height = 19
Style = csOwnerDrawFixed
ItemHeight = 13
ItemIndex = 0
TabOrder = 1
Text = 'Disabled'
Items.Strings = (
'Disabled'
'Left button'
'Middle button'
'Right button'
'Button 4'
'Button 5')
end
object tapThree: TComboBox
Left = 152
Top = 102
Width = 121
Height = 19
Style = csOwnerDrawFixed
ItemHeight = 13
ItemIndex = 0
TabOrder = 2
Text = 'Disabled'
Items.Strings = (
'Disabled'
'Left button'
'Middle button'
'Right button'
'Button 4'
'Button 5')
end
object tapTwo: TComboBox
Left = 152
Top = 43
Width = 121
Height = 19
Style = csOwnerDrawFixed
ItemHeight = 13
ItemIndex = 0
TabOrder = 3
Text = 'Disabled'
Items.Strings = (
'Disabled'
'Left button'
'Middle button'
'Right button'
'Button 4'
'Button 5')
end
object tapTwoOne: TComboBox
Left = 16
Top = 102
Width = 121
Height = 19
Style = csOwnerDrawFixed
ItemHeight = 13
ItemIndex = 0
TabOrder = 4
Text = 'Disabled'
Items.Strings = (
'Disabled'
'Left button'
'Middle button'
'Right button'
'Button 4'
'Button 5')
end
end
end
end
object defaults: TButton
Left = 8
Top = 311
Width = 75
Height = 25
Caption = 'Defaults'
TabOrder = 3
OnClick = defaultsClick
end
object TrayIcon1: TTrayIcon
Icon.Data = {
0000010001002020100001000400E80200001600000028000000200000004000
0000010004000000000080020000000000000000000000000000000000000000
00008080800080C0FF0000608000FFFFFF00002020004080C000FFC0C000FF00
FF00FF80A000406060000000A00081808000FFFFFF00FFFF4000818080000000
0000000000000000000000000000000000000000000111000000000000000000
0000000042600110000000000000000066002266042660110000000000000002
2660422660426601100000000000000422660422660426601100000000000000
4226604226604266011000000000026604226604226604266011000000000426
6042266022266042660110000000004266042222022222022660110000000004
2660222220222222226601100000000042660222220222222226601100000000
0422202222202222222266011000000000422202222222222222266011000000
0004222022222222222222660110000000004222222222222222222660110000
0000042222222222222222226601000000000042222222222222222226010000
0000000222222222222222222607000001111115222226222222222260010000
1111111152222662222222440030000010000000000222266442440063300000
0426666666222222266600222630000004222222222222224400222222600000
0444444444444444004222222000000000000000000000000004222000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000FFFF
FFFFFFF03FFFF3001FFFE0000FFFC00007FFC00003FF800001FF000000FF0000
007F8000003FC000001FE000000FF0000007F8000003FC000001FE000000FF00
0000FF800000FFC00000F8000000F0000000F0000000F0000000F0000000F000
0001F8000C07FFFFFE1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
PopupMenu = PopupMenu1
Visible = True
OnDblClick = Settings1Click
Left = 80
Top = 312
end
object PopupMenu1: TPopupMenu
Left = 104
Top = 312
object Settings1: TMenuItem
Caption = 'Settings'
Default = True
OnClick = Settings1Click
end
object globalActive: TMenuItem
AutoCheck = True
Caption = 'Active'
Checked = True
end
object N1: TMenuItem
Caption = '-'
end
object About1: TMenuItem
Caption = 'About'
OnClick = About1Click
end
object Exit1: TMenuItem
Caption = 'Exit'
OnClick = Exit1Click
end
end
object reactivateTimer: TTimer
Enabled = False
Interval = 500
OnTimer = reactivateTimerTimer
Left = 128
Top = 312
end
end