-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathgaps_unit.lfm
More file actions
762 lines (762 loc) · 18.4 KB
/
gaps_unit.lfm
File metadata and controls
762 lines (762 loc) · 18.4 KB
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
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
object gaps_form: Tgaps_form
Left = 40
Height = 424
Top = 220
Width = 660
BorderIcons = [biSystemMenu]
BorderStyle = bsSizeToolWin
Caption = ' feed droppers - isolation gaps - stickers'
ClientHeight = 424
ClientWidth = 660
Color = 15852503
DesignTimePPI = 120
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Arial'
Font.Style = [fsBold]
OnCreate = FormCreate
OnHide = FormHide
OnShow = FormShow
LCLVersion = '3.4.0.0'
object Label3: TLabel
Left = 246
Height = 18
Top = 186
Width = 120
Alignment = taRightJustify
AutoSize = False
Caption = '(max 12 characters)'
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Arial'
ParentFont = False
end
object help_shape: TShape
Left = 592
Height = 31
Top = 3
Width = 66
Pen.Color = clWhite
end
object Label1: TLabel
Left = 360
Height = 20
Top = 34
Width = 165
Alignment = taRightJustify
AutoSize = False
Caption = 'slide locator along :'
Font.Color = clBlue
Font.Height = -15
Font.Name = 'Arial'
Font.Style = [fsBold]
Layout = tlCenter
ParentFont = False
end
object Label2: TLabel
Left = 170
Height = 20
Top = 160
Width = 29
Alignment = taRightJustify
AutoSize = False
Caption = 'ID :'
Layout = tlCenter
end
object replace_fill_colour_label: TLabel
Left = 180
Height = 16
Top = 276
Width = 112
Alignment = taRightJustify
AutoSize = False
Caption = 'gap colour :'
end
object Label6: TLabel
Left = 192
Height = 68
Top = 80
Width = 184
AutoSize = False
Caption = 'Use the mouse action to slide the blue locator to the required position on the selected rail.'
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Arial'
ParentFont = False
WordWrap = True
end
object radio_shape: TShape
Left = 646
Height = 11
Top = 150
Width = 11
Brush.Color = clBlue
Pen.Color = clBlue
Shape = stSquare
Visible = False
end
object Label5: TLabel
Left = 34
Height = 22
Top = 4
Width = 205
AutoSize = False
Caption = 'construction symbols'
Font.Color = clBlack
Font.Height = -18
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
end
object Label4: TLabel
Left = 180
Height = 16
Top = 244
Width = 112
Alignment = taRightJustify
AutoSize = False
Caption = 'dropper colour :'
end
object Label7: TLabel
Left = 184
Height = 16
Top = 308
Width = 112
Alignment = taRightJustify
AutoSize = False
Caption = 'sticker colour :'
end
object Label8: TLabel
Left = 436
Height = 18
Top = 212
Width = 69
Alignment = taRightJustify
AutoSize = False
Caption = 'symbol :'
Font.Color = clBlack
Font.Height = -15
Font.Name = 'Arial'
Font.Style = [fsBold]
Layout = tlCenter
ParentFont = False
end
object Label9: TLabel
Left = 474
Height = 22
Top = 240
Width = 20
Alignment = taCenter
AutoSize = False
Caption = '>'
Font.Color = clBlack
Font.Height = -20
Font.Name = 'Arial'
Font.Style = [fsBold]
Layout = tlCenter
ParentFont = False
end
object Label10: TLabel
Left = 474
Height = 22
Top = 271
Width = 20
Alignment = taCenter
AutoSize = False
Caption = '|'
Font.Color = clBlack
Font.Height = -20
Font.Name = 'Arial'
Font.Style = [fsBold]
Layout = tlCenter
ParentFont = False
end
object Label11: TLabel
Left = 474
Height = 22
Top = 304
Width = 20
Alignment = taCenter
AutoSize = False
Caption = '#'
Font.Color = clBlack
Font.Height = -20
Font.Name = 'Arial'
Font.Style = [fsBold]
Layout = tlCenter
ParentFont = False
end
object hide_panel: TPanel
Left = 590
Height = 26
Top = 398
Width = 70
Alignment = taLeftJustify
Caption = ' hide'
ClientHeight = 26
ClientWidth = 70
Color = clYellow
Font.Color = clBlack
Font.Height = -15
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 12
OnClick = hide_buttonClick
object hide_button: TButton
Left = 50
Height = 16
Top = 6
Width = 16
Cancel = True
Caption = ' '
TabOrder = 0
OnClick = hide_buttonClick
end
end
object help_button: TButton
Left = 595
Height = 25
Top = 6
Width = 60
Caption = '? help'
TabOrder = 3
OnClick = help_buttonClick
end
object blue_corner_panel: TPanel
Left = 0
Height = 50
Top = 0
Width = 20
BevelOuter = bvNone
ClientHeight = 50
ClientWidth = 20
Color = clBlue
Font.Color = clBlack
Font.Height = -17
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 13
object size_updown: TUpDown
Tag = 4
Left = 2
Height = 24
Hint = ' shrink or enlarge this dialog window '
Top = 3
Width = 16
Max = 10
Min = 1
OnClick = size_updownClick
ParentShowHint = False
Position = 4
ShowHint = True
TabOrder = 0
end
object colour_panel: TPanel
Left = 2
Height = 16
Top = 30
Width = 15
ClientHeight = 16
ClientWidth = 15
ParentBackground = False
TabOrder = 1
OnClick = colour_panelClick
object colour_patch: TImage
Left = 1
Height = 14
Top = 1
Width = 13
Align = alClient
AutoSize = True
OnClick = colour_panelClick
Picture.Data = {
07544269746D6170B6040000424DB60400000000000036000000280000001800
0000100000000100180000000000800400008412000084120000000000000000
0000008080008080008080008080008080008080008080008080FF00FFFF00FF
FF00FFFF00FFFF00FFFF00FFFF00FFFF00FF00FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000808000808000808000808000808000808000808000
8080FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF00FF0000FF00
00FF0000FF0000FF0000FF0000FF0000FF000080800080800080800080800080
80008080008080008080FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
00FF00FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF00008080008080
008080008080008080008080008080008080FF00FFFF00FFFF00FFFF00FFFF00
FFFF00FFFF00FFFF00FF00FF0000FF0000FF0000FF0000FF0000FF0000FF0000
FF00008080008080008080008080008080008080008080008080FF00FFFF00FF
FF00FFFF00FFFF00FFFF00FFFF00FFFF00FF00FF0000FF0000FF0000FF0000FF
0000FF0000FF0000FF0000808000808000808000808000808000808000808000
8080FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF00FF0000FF00
00FF0000FF0000FF0000FF0000FF0000FF000080800080800080800080800080
80008080008080008080FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF
00FF00FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF00008080008080
008080008080008080008080008080008080FF00FFFF00FFFF00FFFF00FFFF00
FFFF00FFFF00FFFF00FF00FF0000FF0000FF0000FF0000FF0000FF0000FF0000
FF000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF00FFFF00FFFF
00FFFF00FFFF00FFFF00FFFF00FFFF00FFFFFF0000FF0000FF0000FF0000FF00
00FF0000FF0000FF00000000FF0000FF0000FF0000FF0000FF0000FF0000FF00
00FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFFFF0000FF0000
FF0000FF0000FF0000FF0000FF0000FF00000000FF0000FF0000FF0000FF0000
FF0000FF0000FF0000FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
FFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF00000000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF00FFFF00FFFF00FFFF00FFFF00FF
FF00FFFF00FFFF00FFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
00000000FF0000FF0000FF0000FF0000FF0000FF0000FF0000FF00FFFF00FFFF
00FFFF00FFFF00FFFF00FFFF00FFFF00FFFFFF0000FF0000FF0000FF0000FF00
00FF0000FF0000FF00000000FF0000FF0000FF0000FF0000FF0000FF0000FF00
00FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFFFF0000FF0000
FF0000FF0000FF0000FF0000FF0000FF00000000FF0000FF0000FF0000FF0000
FF0000FF0000FF0000FF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00
FFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF00000000FF0000FF
0000FF0000FF0000FF0000FF0000FF0000FF00FFFF00FFFF00FFFF00FFFF00FF
FF00FFFF00FFFF00FFFFFF0000FF0000FF0000FF0000FF0000FF0000FF0000FF
0000
}
Stretch = True
end
end
end
object symbol_on_check_rail_checkbox: TCheckBox
Left = 186
Height = 20
Top = 208
Width = 225
Caption = 'symbol is on adjacent check rail'
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 6
end
object add_symbol_button: TButton
Left = 460
Height = 32
Top = 344
Width = 189
Caption = 'add symbol at locator'
Font.Color = clBlack
Font.Height = -15
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 7
OnClick = add_symbol_buttonClick
end
object delete_symbol_button: TButton
Left = 300
Height = 23
Hint = ' delete the selected symbol '
Top = 394
Width = 110
Caption = 'delete symbol'
Enabled = False
ParentShowHint = False
ShowHint = True
TabOrder = 10
OnClick = delete_symbol_buttonClick
end
object modify_symbol_button: TButton
Left = 180
Height = 23
Hint = ' modify the selected symbol to these settings '
Top = 394
Width = 114
Caption = 'modify symbol'
Enabled = False
ParentShowHint = False
ShowHint = True
TabOrder = 9
OnClick = modify_symbol_buttonClick
end
object delete_all_symbols_button: TButton
Left = 428
Height = 23
Hint = ' delete all symbols from this template '
Top = 394
Width = 140
Caption = 'delete all symbols'
ParentShowHint = False
ShowHint = True
TabOrder = 11
OnClick = delete_all_symbols_buttonClick
end
object symbol_id_edit: TEdit
Left = 202
Height = 30
Top = 156
Width = 164
AutoSize = False
AutoSelect = False
Font.Color = clBlue
Font.Height = -20
Font.Name = 'Courier New'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 5
Text = 'DN01'
OnClick = symbol_id_editClick
OnExit = symbol_id_editExit
end
object gap_colour_panel: TPanel
Left = 300
Height = 26
Top = 270
Width = 110
Alignment = taLeftJustify
BevelOuter = bvNone
ClientHeight = 26
ClientWidth = 110
Color = clRed
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentBackground = False
ParentColor = False
ParentFont = False
ParentShowHint = False
TabOrder = 4
object gap_colour_button: TButton
Left = 28
Height = 20
Top = 3
Width = 77
Caption = 'change ...'
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
OnClick = gap_colour_buttonClick
end
end
object symbols_retain_on_mint_checkbox: TCheckBox
Left = 434
Height = 20
Hint = ' retain symbols when minting a new template '
Top = 6
Width = 141
Caption = 'retain on new mint'
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
object symbols_retain_on_make_checkbox: TCheckBox
Left = 256
Height = 20
Hint = ' retain symbols when using the tools > make --- functions '
Top = 6
Width = 151
Caption = 'retain on tools:make'
ParentShowHint = False
ShowHint = True
TabOrder = 2
end
object symbols_visible_listbox: TListBox
Left = 0
Height = 342
Top = 80
Width = 164
Color = 15263976
Font.Color = clBlue
Font.Height = -17
Font.Name = 'Courier New'
Font.Style = [fsBold]
IntegralHeight = True
ItemHeight = 20
ParentFont = False
Style = lbOwnerDrawFixed
TabOrder = 8
OnClick = symbols_visible_listboxClick
OnDrawItem = symbols_visible_listboxDrawItem
OnExit = symbols_visible_listboxExit
end
object size_groupbox: TGroupBox
Left = 172
Height = 44
Top = 336
Width = 262
Caption = ' symbol size : '
ClientHeight = 23
ClientWidth = 258
Color = 16774376
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 14
object small_radio: TRadioButton
Left = 8
Height = 20
Top = 20
Width = 52
Caption = 'small'
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
end
object medium_radio: TRadioButton
Left = 68
Height = 20
Top = 20
Width = 67
Caption = 'medium'
Checked = True
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 1
TabStop = True
end
object large_radio: TRadioButton
Left = 144
Height = 20
Top = 20
Width = 50
Caption = 'large'
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 2
end
object giant_radio: TRadioButton
Left = 202
Height = 20
Top = 20
Width = 49
Caption = 'giant'
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 3
end
end
object sticker_radio: TRadioButton
Left = 504
Height = 22
Hint = ' add a sticker '
Top = 304
Width = 73
Caption = ' sticker'
Font.Color = clBlack
Font.Height = -15
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 15
end
object gap_radio: TRadioButton
Left = 504
Height = 22
Hint = ' add an isolation gap symbol '
Top = 272
Width = 51
Caption = ' gap'
Font.Color = clBlack
Font.Height = -15
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 16
end
object dropper_radio: TRadioButton
Left = 504
Height = 22
Hint = ' add a feed dropper symbol '
Top = 240
Width = 82
Caption = ' dropper'
Checked = True
Font.Color = clBlack
Font.Height = -15
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 17
TabStop = True
end
object dropper_colour_panel: TPanel
Left = 300
Height = 26
Top = 238
Width = 110
Alignment = taLeftJustify
BevelOuter = bvNone
ClientHeight = 26
ClientWidth = 110
Color = 16711808
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentBackground = False
ParentColor = False
ParentFont = False
ParentShowHint = False
TabOrder = 18
object dropper_colour_button: TButton
Left = 28
Height = 20
Top = 3
Width = 77
Caption = 'change ...'
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
OnClick = dropper_colour_buttonClick
end
end
object sticker_colour_panel: TPanel
Left = 300
Height = 26
Top = 302
Width = 110
Alignment = taLeftJustify
BevelOuter = bvNone
ClientHeight = 26
ClientWidth = 110
Color = clYellow
Font.Color = clBlack
Font.Height = -13
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentBackground = False
ParentColor = False
ParentFont = False
ParentShowHint = False
TabOrder = 19
object sticker_colour_button: TButton
Left = 28
Height = 20
Top = 3
Width = 77
Caption = 'change ...'
Font.Color = clBlack
Font.Height = -12
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
OnClick = sticker_colour_buttonClick
end
end
object show_hide_button: TButton
Left = 54
Height = 28
Top = 38
Width = 242
Caption = 'show / hide symbols on trackpad'
TabOrder = 20
OnClick = show_hide_buttonClick
end
object rail_panel: TPanel
Left = 384
Height = 110
Top = 56
Width = 260
BevelOuter = bvNone
ClientHeight = 110
ClientWidth = 260
ParentBackground = False
TabOrder = 21
object rail_4_radio: TRadioButton
Left = 8
Height = 20
Top = 4
Width = 214
Caption = '4. turnout-road stock rail'
Font.Color = clBlack
Font.Height = -14
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
OnClick = rail_4_radioClick
end
object rail_3_radio: TRadioButton
Left = 8
Height = 20
Top = 32
Width = 238
Caption = '3. main-road crossing rail'
Font.Color = clBlack
Font.Height = -14
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 1
OnClick = rail_3_radioClick
end
object rail_2_radio: TRadioButton
Left = 8
Height = 20
Top = 60
Width = 237
Caption = '2. turnout-road crossing rail'
Font.Color = clBlack
Font.Height = -14
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 2
OnClick = rail_2_radioClick
end
object rail_1_radio: TRadioButton
Left = 8
Height = 20
Top = 88
Width = 215
Caption = '1. main-road stock rail'
Checked = True
Font.Color = clBlack
Font.Height = -14
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 3
TabStop = True
OnClick = rail_1_radioClick
end
end
object slide_button: TButton
Left = 540
Height = 32
Top = 172
Width = 113
Caption = 'slide locator'
Font.Color = clBlack
Font.Height = -15
Font.Name = 'Arial'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
OnClick = slide_buttonClick
end
end