src/options.lfm15.7 KB · fallback
Raw
  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
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
object frmOptions: TfrmOptions
  Left = 623
  Height = 947
  Top = 260
  Width = 733
  BorderStyle = bsDialog
  Caption = 'Options'
  ClientHeight = 947
  ClientWidth = 733
  DesignTimePPI = 128
  OnClose = FormClose
  OnCreate = FormCreate
  Position = poMainFormCenter
  LCLVersion = '3.0.0.3'
  object Button1: TButton
    AnchorSideRight.Side = asrBottom
    AnchorSideBottom.Side = asrBottom
    Left = 549
    Height = 33
    Top = 903
    Width = 164
    Anchors = [akRight, akBottom]
    Caption = 'OK'
    ParentFont = False
    TabOrder = 0
    OnClick = Button1Click
  end
  object OptionsPageControl: TPageControl
    AnchorSideLeft.Control = Owner
    AnchorSideTop.Control = Owner
    AnchorSideRight.Control = Owner
    AnchorSideRight.Side = asrBottom
    AnchorSideBottom.Control = Button1
    Left = 13
    Height = 881
    Top = 13
    Width = 707
    ActivePage = CustomiztaionTabSheet
    Anchors = [akTop, akLeft, akRight, akBottom]
    BorderSpacing.Left = 13
    BorderSpacing.Top = 13
    BorderSpacing.Right = 13
    BorderSpacing.Bottom = 9
    TabIndex = 2
    TabOrder = 1
    object GeneralTabSheet: TTabSheet
      Caption = 'General'
      ClientHeight = 840
      ClientWidth = 701
      object OptionsGroupBox: TGroupBox
        Left = 11
        Height = 757
        Top = 11
        Width = 523
        Caption = 'Options'
        ClientHeight = 732
        ClientWidth = 519
        TabOrder = 0
        object CheckListBox1: TCheckListBox
          Left = 11
          Height = 704
          Top = 11
          Width = 493
          Items.Strings = (
            'Show scopes (uses more CPU)'
            'Play preview when placing notes'
            'Play preview when bumping notes up/down'
            'Display pattern row numbers in hexadecimal notation'
            'Display order row numbers in hexadecimal notation'
            'Display grid on waveform editor'
            'Display tabs vertically'
          )
          ItemHeight = 23
          TabOrder = 0
          TopIndex = -1
          Data = {
            0700000000000000000000
          }
        end
      end
    end
    object KeyboardTabSheet: TTabSheet
      Caption = 'Keyboard'
      ClientHeight = 840
      ClientWidth = 701
      object KeymapGroupBox: TGroupBox
        Left = 21
        Height = 725
        Top = 64
        Width = 523
        Caption = 'Custom key map'
        ClientHeight = 700
        ClientWidth = 519
        Enabled = False
        ParentFont = False
        TabOrder = 0
        object KeyMapStringGrid: TStringGrid
          Left = 11
          Height = 629
          Top = 11
          Width = 491
          AutoFillColumns = True
          ColCount = 2
          Columns = <          
            item
              MinSize = 13
              MaxSize = 267
              Title.Caption = 'Key'
              Width = 244
            end          
            item
              MinSize = 13
              MaxSize = 267
              Title.Caption = 'Note'
              Width = 243
            end>
          DefaultColWidth = 160
          FixedCols = 0
          MouseWheelOption = mwGrid
          Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goEditing, goAutoAddRows, goTabs, goSmoothScroll]
          ParentFont = False
          TabOrder = 0
          OnValidateEntry = KeyMapStringGridValidateEntry
          ColWidths = (
            244
            243
          )
        end
        object Button2: TButton
          Left = 11
          Height = 33
          Top = 651
          Width = 175
          Caption = 'Load'
          ParentFont = False
          TabOrder = 1
          OnClick = Button2Click
        end
        object Button3: TButton
          Left = 192
          Height = 33
          Top = 651
          Width = 168
          Caption = 'Save'
          ParentFont = False
          TabOrder = 2
          OnClick = Button3Click
        end
        object Button4: TButton
          Left = 461
          Height = 33
          Top = 651
          Width = 40
          Caption = '-'
          ParentFont = False
          TabOrder = 3
          OnClick = Button4Click
        end
        object Button5: TButton
          Left = 416
          Height = 33
          Top = 651
          Width = 40
          Caption = '+'
          ParentFont = False
          TabOrder = 4
          OnClick = Button5Click
        end
      end
      object UseCustomKeymapCheckbox: TCheckBox
        Left = 32
        Height = 25
        Top = 21
        Width = 177
        Caption = 'Use custom keymap'
        TabOrder = 1
        OnChange = KeymapCheckboxChange
      end
    end
    object MIDITabSheet: TTabSheet
      Caption = 'MIDI'
      ClientHeight = 840
      ClientWidth = 701
      object MIDIEnabledCheckbox: TCheckBox
        Left = 21
        Height = 25
        Top = 21
        Width = 269
        Caption = 'Enable MIDI keyboard input'
        TabOrder = 0
        OnChange = MIDIEnabledCheckboxChange
      end
      object MIDIDeviceLabel: TLabel
        Left = 21
        Height = 23
        Top = 64
        Width = 119
        Caption = 'Input device:'
        ParentColor = False
      end
      object MIDIDeviceComboBox: TComboBox
        Left = 21
        Height = 33
        Top = 93
        Width = 512
        ItemHeight = 0
        Style = csDropDownList
        TabOrder = 1
        OnChange = MIDIDeviceComboBoxChange
      end
      object MIDIRefreshButton: TButton
        Left = 543
        Height = 33
        Top = 93
        Width = 120
        Caption = 'Refresh'
        TabOrder = 2
        OnClick = MIDIRefreshButtonClick
      end
      object MIDIStatusLabel: TLabel
        Left = 21
        Height = 23
        Top = 140
        Width = 600
        Caption = ''
        ParentColor = False
        WordWrap = True
      end
    end
    object CustomiztaionTabSheet: TTabSheet
      Caption = 'Appearance'
      ClientHeight = 840
      ClientWidth = 701
      object Panel1: TPanel
        Left = 416
        Height = 811
        Top = 11
        Width = 267
        BevelWidth = 3
        ClientHeight = 811
        ClientWidth = 267
        TabOrder = 0
        object SampleTrackerGridPanel: TPanel
          Left = 3
          Height = 805
          Top = 3
          Width = 261
          Align = alClient
          BevelOuter = bvNone
          TabOrder = 0
        end
      end
      object CustomizationGroupBox: TGroupBox
        Left = 11
        Height = 811
        Top = 11
        Width = 396
        Caption = 'Customization'
        ClientHeight = 786
        ClientWidth = 392
        TabOrder = 1
        object Label1: TLabel
          Left = 19
          Height = 23
          Top = 19
          Width = 176
          Caption = 'Pattern editor font size'
          ParentColor = False
          ParentFont = False
        end
        object FontSizeSpinner: TSpinEdit
          Left = 207
          Height = 33
          Top = 12
          Width = 164
          OnChange = FontSizeSpinnerChange
          ParentFont = False
          TabOrder = 0
          Value = 12
        end
        object NoteTextColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 53
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 8342016
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object Label2: TLabel
          Left = 19
          Height = 23
          Top = 53
          Width = 113
          Caption = 'Note text color'
          ParentColor = False
        end
        object InstrumentTextColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 96
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 8355584
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object MiscEffectTextColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 139
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 4145020
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object PitchEffectTextColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 181
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 25186
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object VolumeEffectTextColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 224
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 32550
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object PanningEffectTextColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 267
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 8355584
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object SongEffectTextColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 309
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 127
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object Label3: TLabel
          Left = 19
          Height = 23
          Top = 96
          Width = 162
          Caption = 'Instrument text color'
          ParentColor = False
        end
        object Label4: TLabel
          Left = 19
          Height = 23
          Top = 139
          Width = 162
          Caption = 'Misc. effect text color'
          ParentColor = False
        end
        object Label5: TLabel
          Left = 19
          Height = 23
          Top = 181
          Width = 161
          Caption = 'Pitch effect text color'
          ParentColor = False
        end
        object Label6: TLabel
          Left = 19
          Height = 23
          Top = 224
          Width = 180
          Caption = 'Volume effect text color'
          ParentColor = False
        end
        object Label7: TLabel
          Left = 19
          Height = 23
          Top = 267
          Width = 186
          Caption = 'Panning effect text color'
          ParentColor = False
        end
        object Label8: TLabel
          Left = 19
          Height = 23
          Top = 309
          Width = 162
          Caption = 'Song effect text color'
          ParentColor = False
        end
        object BackgroundColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 395
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 13687777
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object HighlightedColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 437
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 8034729
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object SelectedColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 480
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 10400960
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object FourthRowColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 523
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 12833240
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object SixteenthRowColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 565
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 11912654
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object Label9: TLabel
          Left = 19
          Height = 23
          Top = 395
          Width = 92
          Caption = 'Background'
          ParentColor = False
        end
        object Label10: TLabel
          Left = 19
          Height = 23
          Top = 437
          Width = 89
          Caption = 'Highlighted'
          ParentColor = False
        end
        object Label11: TLabel
          Left = 19
          Height = 23
          Top = 480
          Width = 64
          Caption = 'Selected'
          ParentColor = False
        end
        object Label12: TLabel
          Left = 19
          Height = 23
          Top = 523
          Width = 126
          Caption = 'Every fourth row'
          ParentColor = False
        end
        object Label13: TLabel
          Left = 19
          Height = 23
          Top = 565
          Width = 147
          Caption = 'Every sixteenth row'
          ParentColor = False
        end
        object DotsColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 608
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = clGray
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object DividersColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 651
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 11253692
          OnColorChanged = NoteTextColorButtonColorChanged
        end
        object Label14: TLabel
          Left = 19
          Height = 23
          Top = 608
          Width = 36
          Caption = 'Dots'
          ParentColor = False
        end
        object Label15: TLabel
          Left = 19
          Height = 23
          Top = 651
          Width = 62
          Caption = 'Dividers'
          ParentColor = False
        end
        object Button6: TButton
          Left = 75
          Height = 33
          Top = 736
          Width = 251
          Caption = 'Reset palette to default'
          TabOrder = 1
          OnClick = Button6Click
        end
        object Button7: TButton
          Left = 75
          Height = 33
          Top = 693
          Width = 120
          Caption = 'Load palette'
          TabOrder = 2
          OnClick = Button7Click
        end
        object Button8: TButton
          Left = 205
          Height = 33
          Top = 693
          Width = 120
          Caption = 'Save palette'
          TabOrder = 3
          OnClick = Button8Click
        end
        object Label16: TLabel
          Left = 19
          Height = 23
          Top = 352
          Width = 176
          Caption = 'Jump column text color'
          ParentColor = False
        end
        object JumpColumnTextColorButton: TColorButton
          Left = 207
          Height = 33
          Top = 352
          Width = 164
          BorderWidth = 3
          ButtonColorSize = 21
          ButtonColor = 7471182
          OnColorChanged = NoteTextColorButtonColorChanged
        end
      end
    end
  end
  object SaveDialog1: TSaveDialog
    Left = 501
  end
  object KeymapOpenDialog: TOpenDialog
    InitialDir = './Keymaps'
    Left = 437
  end
  object ColorDialog1: TColorDialog
    Color = clBlack
    CustomColors.Strings = (
      'ColorA=000000'
      'ColorB=000080'
      'ColorC=008000'
      'ColorD=008080'
      'ColorE=800000'
      'ColorF=800080'
      'ColorG=808000'
      'ColorH=808080'
      'ColorI=C0C0C0'
      'ColorJ=0000FF'
      'ColorK=00FF00'
      'ColorL=00FFFF'
      'ColorM=FF0000'
      'ColorN=FF00FF'
      'ColorO=FFFF00'
      'ColorP=FFFFFF'
      'ColorQ=C0DCC0'
      'ColorR=F0CAA6'
      'ColorS=F0FBFF'
      'ColorT=A4A0A0'
    )
    Left = 576
  end
  object SaveDialog2: TSaveDialog
    Left = 640
  end
  object OpenDialog2: TOpenDialog
    Left = 693
  end
end