You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/src/avm2/globals/flash/events/GestureEvent.as
+76-11Lines changed: 76 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -4,36 +4,39 @@
4
4
// It won't be regenerated in the future, so feel free to edit and/or fix
5
5
packageflash.events
6
6
{
7
-
7
+
[API("667")]
8
8
publicclassGestureEventextendsEvent
9
9
{
10
10
publicstaticconstGESTURE_TWO_FINGER_TAP:String="gestureTwoFingerTap";// Defines the value of the type property of a GESTURE_TWO_FINGER_TAP gesture event object.
11
11
12
12
// A value from the GesturePhase class indicating the progress of the touch gesture.
13
-
publicvarphase:String;
13
+
privatevar_phase:String;
14
14
15
15
// The horizontal coordinate at which the event occurred relative to the containing sprite.
16
16
[Ruffle(NativeAccessible)]
17
-
publicvarlocalX:Number;
17
+
privatevar_localX:Number;
18
18
19
19
// The vertical coordinate at which the event occurred relative to the containing sprite.
20
20
[Ruffle(NativeAccessible)]
21
-
publicvarlocalY:Number;
21
+
privatevar_localY:Number;
22
22
23
23
// On Windows or Linux, indicates whether the Ctrl key is active (true) or inactive (false).
24
-
publicvarctrlKey:Boolean;
24
+
privatevar_ctrlKey:Boolean;
25
25
26
26
// Indicates whether the Alt key is active (true) or inactive (false).
27
-
publicvaraltKey:Boolean;
27
+
privatevar_altKey:Boolean;
28
28
29
29
// Indicates whether the Shift key is active (true) or inactive (false).
30
-
publicvar shiftKey:Boolean;
30
+
privatevar_shiftKey:Boolean;
31
+
32
+
// On a Mac OS, the value of the commandKey property is the same value as the ctrlKey property. This property is always false on Windows or Linux.
33
+
privatevar_commandKey:Boolean;
31
34
32
35
// Indicates whether the Control key is activated on Mac and whether the Ctrl key is activated on Windows or Linux.
0 commit comments