summaryrefslogtreecommitdiff
path: root/app/lib/demos/dmmouse.xtr
blob: 295db3653eb515671f5d977c2860fa3b7629758d (plain)
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
VERSION 1
DEMOINIT
ORIG 12.000 0.000 0.000
PARAMETER display description-fontsize 18
REDRAW
RESET
MOUSE 1 1.5 1.5
MESSAGE
In the drawing area of the main window you can see an hollow upwards arrow which represents the mouse cursor.  In this demo the mouse will move about to show you the actions of different commands.

The hollow arrow represents the mouse cursor without a mouse button being pressed.
END
STEP
MOUSE 1 34.560 28.000
CLEAR
MESSAGE
When the left mouse button would be pressed, the mouse cursor appears to flash and the hollow arrow is replaced by a solid left-pointing red arrow while the button is pressed.

Note: these color changes occur only during the demo to simulate mouse button presses.
END
STEP
MOUSE 2 34.560 28.000
#RESET
MESSAGE
_________________________________________

Moving the mouse while a mouse button is pressed is called 'dragging'.
END
STEP
MOUSE 3 36.160 4.000
#RESET
MESSAGE
_________________________________________

When the left mouse button is released, the mouse cursor flashes and the hollow up black arrow is restored.
END
STEP
MOUSE 4 36.160 4.000
RESET
MESSAGE
_________________________________________

Dragging with the right button is simulated by a blue right-facing solid cursor.
END
STEP
MOUSE 5 36.160 4.000
MOUSE 6 3.680 4.800
#RESET
MESSAGE
__________________________________________

Release Right Click
END
STEP
MOUSE 7 3.680 4.800
RESET
MESSAGE
=========================================
END
STEP
CLEAR
MESSAGE
Sometimes the Shift key is held down while using the mouse 

This is indicated by an outlined arrow with the letter S near the arrow.
END
STEP
KEYSTATE 2
MOUSE 1 7.520 26.080
RESET
MESSAGE
__________________________________________

The left mouse button is held down with the Shift and dragged for a Left-Shift-Drag.  

END
STEP
KEYSTATE 2
MOUSE 2 7.520 26.080
KEYSTATE 2
MOUSE 3 7.520 4.800
KEYSTATE 2
MOUSE 4 7.520 4.800
STEP
CLEAR
MESSAGE
___________________________________________

Sometimes the Control key is held down while using the mouse. 

This is indicated with an upward filled arrow head with the letter C near the arrow 

END
STEP
KEYSTATE 4
MOUSE 1 7.520 26.080
RESET
MESSAGE
__________________________________________

If while the Control is held the Left mouse button is held down it is a Ctrl-Move and a Ctrl-Left-Drag.  

This is indicated by an an left-facing open-headed arrow with the letter C near it.

END
STEP
KEYSTATE 4
MOUSE 2 7.520 26.080
KEYSTATE 4
MOUSE 3 3.680 4.800
KEYSTATE 4
MOUSE 4 3.680 4.800 
RESET
MESSAGE
___________________________________________

You can also use the Control key with the Right mouse button. 

This is indicated with a right-facing filled arrow with an open arrow head and the letter C near the arrow 

END
STEP
KEYSTATE 4
MOUSE 5 3.680 4.080
KEYSTATE 4
MOUSE 6 26.520 26.080
KEYSTATE 4
MOUSE 7 26.520 26.080
RESET
MESSAGE
=========================================
END
STEP
CLEAR