summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmselect.xtr
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/demos/dmselect.xtr')
-rw-r--r--app/lib/demos/dmselect.xtr412
1 files changed, 412 insertions, 0 deletions
diff --git a/app/lib/demos/dmselect.xtr b/app/lib/demos/dmselect.xtr
new file mode 100644
index 0000000..99fecc3
--- /dev/null
+++ b/app/lib/demos/dmselect.xtr
@@ -0,0 +1,412 @@
+VERSION 2
+DEMOINIT
+ORIG 8.000 0.000 0.000
+PARAMETER pref dragtimeout 2000
+STRAIGHT 1 DEMO 1
+ T 2 7.466667 2.666667 270.000000
+ T 3 8.000000 2.666667 90.000000
+ END
+CURVE 2 DEMO 1 7.466667 7.916667 5.250000
+ T 1 7.466667 2.666667 90.000000
+ T 8 7.471737 13.166664 90.055338
+ END
+TURNOUT 3 DEMO 1 8.000000 2.666667 0.000000 "Peco-55 Medium Right SL-E395F"
+ T 1 8.000000 2.666667 270.000000
+ T 4 13.405000 2.666667 90.000000
+ T 5 13.370000 2.144667 99.686000
+ P "Normal" 1 2
+ P "Reverse" 1 3 4
+ S 0 0 0.000000 0.000000 0.353000 0.000000
+ S 0 0 0.353000 0.000000 5.405000 0.000000
+ C 0 0 23.136000 0.351000 -23.136000 0.004000 9.700000
+ S 0 0 4.251000 -0.331000 5.370000 -0.522000
+ END
+STRAIGHT 4 DEMO 1
+ T 9 22.720000 2.666667 90.000000
+ T 3 13.405000 2.666667 270.000000
+ END
+STRAIGHT 5 DEMO 1
+ T 3 13.370000 2.144667 279.686000
+ T 7 17.844750 1.380909 99.686000
+ END
+STRAIGHT 6 DEMO 1
+ E 32.964238 1.166667 90.000000
+ T 7 20.373333 1.166667 270.000000
+ END
+CURVE 7 DEMO 1 20.373333 16.195525 15.028859
+ T 6 20.373333 1.166667 90.000000
+ T 5 17.844750 1.380909 279.686000
+ END
+STRAIGHT 8 DEMO 1
+ T 2 7.471737 13.166664 270.055338
+ T 10 8.533996 13.165638 90.055338
+ END
+CURVE 9 DEMO 1 22.720000 7.909299 5.242633
+ T 11 22.720000 13.151932 270.000000
+ T 4 22.720000 2.666667 270.000000
+ END
+TURNOUT 10 DEMO 1 8.533996 13.165638 0.055338 "Peco-55 Medium Left SL-E396F"
+ T 8 8.533996 13.165638 270.055338
+ T 11 13.938993 13.160418 90.055338
+ T 12 13.904497 13.682451 80.369338
+ P "Normal" 1 2
+ P "Reverse" 1 3 4
+ S 0 0 0.000000 0.000000 0.353000 0.000000
+ S 0 0 0.353000 0.000000 5.405000 0.000000
+ C 0 0 -23.136000 0.351000 23.136000 170.297000 9.700000
+ S 0 0 4.251000 0.331000 5.370000 0.522000
+ END
+STRAIGHT 11 DEMO 1
+ T 9 22.720000 13.151932 90.055357
+ T 10 13.938993 13.160416 270.055357
+ END
+STRAIGHT 12 DEMO 1
+ T 10 13.904497 13.682451 260.369338
+ T 13 15.746779 13.995064 80.369338
+ END
+TURNOUT 13 DEMO 1 15.746779 13.995064 350.369338 "Peco-55 Medium Right SL-E395F"
+ T 12 15.746779 13.995064 260.369338
+ T 14 21.075605 14.899301 80.369338
+ T 15 21.128427 14.378802 90.055338
+ P "Normal" 1 2
+ P "Reverse" 1 3 4
+ S 0 0 0.000000 0.000000 0.353000 0.000000
+ S 0 0 0.353000 0.000000 5.405000 0.000000
+ C 0 0 23.136000 0.351000 -23.136000 0.004000 9.700000
+ S 0 0 4.251000 -0.331000 5.370000 -0.522000
+ END
+STRAIGHT 14 DEMO 1
+ T 17 26.016207 15.737661 80.369338
+ T 13 21.075605 14.899301 260.369338
+ END
+STRAIGHT 15 DEMO 1
+ T 13 21.128427 14.378802 270.055338
+ E 35.757013 14.364673 90.055338
+ END
+STRAIGHT 16 DEMO 1
+ T 17 27.626441 15.872527 270.055338
+ E 35.735615 15.864695 90.055338
+ END
+CURVE 17 DEMO 1 27.617198 6.302742 9.569789
+ T 14 26.016207 15.737661 260.369338
+ T 16 27.626441 15.872527 90.055338
+ END
+STRUCTURE 18 N 1 29.120000 8.853333 0.000000 "Walthers 933-3212 Red Wing Milling Co"
+ L 0 0 4.500000 0.000000 4.500000 0.375000
+ L 0 0 6.625000 0.375000 4.500000 0.375000
+ L 0 0 6.625000 4.875000 2.062500 4.875000
+ L 0 0 2.062500 4.875000 2.062500 4.500000
+ L 0 0 2.062500 4.437500 0.000000 4.437500
+ L 0 0 0.375000 0.750000 3.250000 0.750000
+ L 0 0 3.250000 0.750000 3.250000 1.625000
+ L 0 0 3.250000 1.625000 0.375000 1.625000
+ L 0 0 0.375000 1.625000 0.375000 0.750000
+ L 0 0 3.062500 1.437500 2.625000 1.437500
+ L 0 0 2.625000 1.437500 2.625000 1.062500
+ L 0 0 2.625000 1.062500 3.062500 1.062500
+ L 0 0 3.062500 1.062500 3.062500 1.437500
+ L 0 0 4.500000 0.000000 4.500000 -0.687500
+ L 0 0 4.500000 -0.687500 2.000000 -0.687500
+ L 0 0 2.000000 -0.687500 2.000000 0.375000
+ L 0 0 2.000000 0.375000 0.000000 0.375000
+ L 0 0 4.500000 0.375000 2.000000 0.375000
+ L 0 0 2.000000 0.000000 0.000000 0.000000
+ L 0 0 2.250000 0.375000 2.250000 -0.062500
+ L 0 0 2.250000 -0.062500 4.062500 -0.062500
+ L 0 0 4.062500 -0.062500 4.062500 0.375000
+ A 0 0 0.139754 3.187500 0.125000 0.000000 360.000000
+ A 0 0 0.139754 3.812500 0.125000 0.000000 360.000000
+ A 0 0 0.139754 2.625000 0.125000 0.000000 360.000000
+ A 0 0 0.062500 3.812500 0.125000 0.000000 360.000000
+ A 0 0 0.062500 3.187500 0.125000 0.000000 360.000000
+ A 0 0 0.000000 2.625000 0.125000 0.000000 360.000000
+ A 0 0 0.062500 2.625000 0.125000 0.000000 360.000000
+ L 0 0 6.625000 4.875000 6.625000 0.375000
+ L 0 0 2.062500 4.437500 6.625000 4.437500
+ L 0 4 2.937500 -0.062500 2.937500 -0.562500
+ L 0 4 1.312500 0.375000 1.312500 -0.062500
+ L 0 0 0.000000 4.437500 0.000000 4.437500
+ L 0 0 0.000000 4.437500 0.000000 0.000000
+ END
+DRAW 19 0.347235 -1.465099 356.869391
+ L 0 0 23.293333 3.226667 25.933333 4.400000
+ L 0 0 25.933333 4.400000 25.880000 4.746667
+ L 0 0 23.300000 3.226667 23.020000 3.466667
+ L 0 0 23.453333 1.973333 23.533333 2.346667
+ L 0 0 23.506667 2.346667 26.440000 3.440000
+ L 0 0 26.413333 3.440000 26.680000 3.146667
+ END
+DRAW 20 0.000000 0.000000 0.000000
+ L 255 0 24.026667 2.186667 24.666667 1.653333
+ L 255 0 24.666667 1.653333 25.573333 1.973333
+ L 255 0 25.573333 1.973333 26.693333 1.760000
+ L 255 0 26.693333 1.760000 27.706667 2.026667
+ L 255 0 27.706667 2.026667 28.720000 1.920000
+ L 255 0 28.720000 1.920000 29.573333 1.920000
+ L 255 0 29.573333 1.920000 29.946667 2.346667
+ L 255 0 29.946667 2.346667 30.160000 3.840000
+ L 255 0 30.160000 3.840000 29.626667 4.266667
+ L 255 0 29.626667 4.266667 28.400000 3.946667
+ L 255 0 28.400000 3.946667 28.133333 3.040000
+ L 255 0 28.133333 3.040000 27.120000 2.613333
+ L 255 0 27.120000 2.613333 26.320000 2.826667
+ L 255 0 26.320000 2.826667 25.413333 2.826667
+ L 255 0 23.653333 3.253333 23.066667 4.320000
+ L 255 0 23.066667 4.320000 22.266667 4.960000
+ L 255 0 22.266667 4.960000 20.720000 5.173333
+ L 255 0 20.720000 5.173333 19.706667 5.226667
+ L 255 0 19.706667 5.226667 18.746667 5.333333
+ L 255 0 18.746667 5.333333 18.266667 5.653333
+ L 255 0 18.266667 5.653333 17.893333 6.080000
+ L 255 0 17.893333 6.080000 18.320000 5.813333
+ L 255 0 18.320000 5.813333 19.280000 5.440000
+ L 255 0 19.280000 5.440000 20.506667 5.653333
+ L 255 0 20.506667 5.653333 22.480000 5.386667
+ L 255 0 22.480000 5.386667 23.813333 5.066667
+ L 255 0 23.813333 5.066667 24.293333 4.533333
+ L 255 0 24.293333 4.533333 24.613333 3.786667
+ END
+REDRAW
+RESET
+MESSAGE
+The <Select> command is used to select tracks.
+
+Selected tracks can be moved or rotated during the <Select> command.
+
+Selected tracks can also be deleted, hidden, listed and exported.
+END
+BIGPAUSE
+MESSAGE
+_________________________________________
+
+A single Left-Click selects tracks.
+END
+STEP
+MOUSE 2 18.347 2.773
+MOUSE 4 18.347 2.773
+MOUSE 2 27.733 6.613
+MOUSE 4 27.733 6.613
+MOUSE 2 30.720 9.920
+MOUSE 4 30.720 9.920
+MOUSE 2 12.373 13.013
+MOUSE 4 12.373 13.013
+BIGPAUSE
+MESSAGE
+_________________________________________
+
+Selecting a selected track de-selects it.
+END
+STEP
+MOUSE 2 27.840 8.213
+MOUSE 4 27.840 8.213
+MESSAGE
+=========================================
+END
+STEP
+CLEAR
+MESSAGE
+Shift-Left-Click on a track will select all unselected tracks connected to the track. Selection stops at a previously selected track.
+END
+STEP
+KEYSTATE 2
+MOUSE 2 27.627 14.400
+KEYSTATE 2
+MOUSE 4 27.627 14.400
+MESSAGE
+_________________________________________
+
+Be careful with this because its easy to select all tracks this way.
+END
+STEP
+KEYSTATE 2
+MOUSE 2 19.840 2.560
+KEYSTATE 2
+MOUSE 4 19.840 2.560
+MESSAGE
+_________________________________________
+
+The <esc> key will deselect all objects.
+END
+STEP
+MOUSE 6920 19.840 2.560
+RESET
+MESSAGE
+=========================================
+END
+STEP
+CLEAR
+MESSAGE
+Left-Drag is used to select all objects within an area.
+END
+STEP
+RESET
+MOUSE 2 12.907 14.293
+MOUSE 3 37.480 -1.600
+MOUSE 4 37.480 -1.600
+MESSAGE
+_________________________________________
+
+And Right-Drag de-selects all tracks within an area.
+END
+STEP
+MOUSE 5 12.480 2.453
+MOUSE 7 37.707 0.107
+MESSAGE
+=========================================
+END
+STEP
+CLEAR
+MESSAGE
+Shift-Left-Drag is used to move selected tracks.
+
+When you move selected tracks that are connected to unselected tracks, the tracks will be disconnected. These points are marked by a Red cross on the layout.
+END
+STEP
+KEYSTATE 2
+MOUSE 2 14.827 8.960
+KEYSTATE 2
+MOUSE 3 21.653 8.640
+KEYSTATE 2
+MOUSE 4 21.653 8.640
+MESSAGE
+=========================================
+END
+STEP
+CLEAR
+MESSAGE
+Drawing the tracks while moving can be very time-consuming. We had just used the "Normal" method of drawing tracks.
+
+The Command Options dialog (from the Options menu) contains a Radio button group which you can use to pick the drawing method.
+
+You can also popup the Command Options Menu by pressing Shift-Right-Click which includes options for setting the drawing method. These options are also available for the Move and Rotate Command Options Menu.
+END
+STEP
+PARAMETER misc cmdCmdopt
+MESSAGE
+_________________________________________
+
+The next method is "Simple" draws. Here tracks are drawn using one line, no End-Points are drawn, lines are not drawn and structures are drawn using a box outline.
+
+Note: you can move the Command Options dialog if it obscures the main window.
+END
+STEP
+PARAMETER cmdopt move-quick 1
+BIGPAUSE
+KEYSTATE 2
+MOUSE 2 24.533 2.027
+KEYSTATE 2
+MOUSE 3 20.267 2.453
+KEYSTATE 2
+MOUSE 4 20.267 2.453
+MESSAGE
+_________________________________________
+
+The next method is to just draw the End-Points of the selected tracks.
+
+Unconnected End-Points are indicated by Red crosses, and connected End-Points are indicated by Red lines.
+END
+STEP
+PARAMETER cmdopt move-quick 2
+BIGPAUSE
+KEYSTATE 2
+MOUSE 2 17.493 0.427
+KEYSTATE 2
+MOUSE 3 17.493 3.427
+KEYSTATE 2
+MOUSE 4 15.787 1.600
+MESSAGE
+_________________________________________
+
+Now we will go back to using the Normal method again.
+END
+STEP
+PARAMETER cmdopt move-quick 0
+BIGPAUSE
+PARAMETER cmdopt ok
+MESSAGE
+=========================================
+END
+STEP
+CLEAR
+MESSAGE
+Shift-Right-Drag rotates the selected tracks about the pivot point (which is where you started the drag)
+END
+STEP
+KEYSTATE 2
+MOUSE 5 25.280 9.387
+PAUSE 200
+KEYSTATE 2
+MOUSE 6 24.960 9.387
+PAUSE 200
+KEYSTATE 2
+MOUSE 6 24.960 9.813
+PAUSE 200
+KEYSTATE 2
+MOUSE 6 25.067 10.240
+KEYSTATE 2
+MOUSE 6 25.173 10.453
+KEYSTATE 2
+MOUSE 6 25.280 10.773
+KEYSTATE 2
+MOUSE 6 25.387 11.093
+KEYSTATE 2
+MOUSE 6 25.493 11.520
+KEYSTATE 2
+MOUSE 6 25.813 11.947
+KEYSTATE 2
+MOUSE 6 26.133 12.480
+KEYSTATE 2
+MOUSE 6 26.453 12.800
+KEYSTATE 2
+MOUSE 6 26.987 12.907
+KEYSTATE 2
+MOUSE 6 27.627 13.227
+KEYSTATE 2
+MOUSE 6 28.053 13.227
+KEYSTATE 2
+MOUSE 6 28.267 13.227
+KEYSTATE 2
+MOUSE 6 28.480 13.227
+KEYSTATE 2
+MOUSE 6 28.267 13.227
+KEYSTATE 2
+MOUSE 6 28.373 13.227
+KEYSTATE 2
+MOUSE 7 28.373 13.227
+MESSAGE
+=========================================
+END
+STEP
+CLEAR
+MESSAGE
+Next we select the <Join Tracks> command. You can use Shift-Left-Click to move an End-Point of a selected track to join with an unselected track.
+
+Note: because of differing display resolutions the next mouse click may not be positioned correctly in this demo and the Move-To-Join operation may not be demonstrated.
+END
+STEP
+COMMAND Join
+BIGPAUSE
+#MOUSE 5 14.40 12.37
+#MOUSE 7 14.40 12.37
+#MOUSE 5 14.40 14.61
+#MOUSE 7 14.40 14.61
+#MOUSE 5 13.90 14.287
+#MOUSE 7 13.90 14.287
+#MOUSE 5 14.21 13.95
+#MOUSE 7 14.21 13.95
+KEYSTATE 2
+MOUSE 2 13.077 10.857
+#MOUSE 2 16.39 14.51
+KEYSTATE 2
+MOUSE 4 13.077 10.857
+#MOUSE 4 16.39 14.51
+BIGPAUSE
+KEYSTATE 2
+MOUSE 2 13.333 2.773
+KEYSTATE 2
+MOUSE 4 13.333 2.773
+MESSAGE
+=========================================
+END
+STEP
+CLEAR