|
|
|
@ -14,8 +14,7 @@ namespace Avalonia.Input |
|
|
|
private readonly PointerPointProperties _properties; |
|
|
|
private readonly Lazy<IReadOnlyList<RawPointerPoint>?>? _previousPoints; |
|
|
|
|
|
|
|
[Unstable] |
|
|
|
[Obsolete("This constructor might be removed in 12.0. For unit testing, consider using IHeadlessWindow mouse methods.")] |
|
|
|
[Unstable("This constructor might be removed in 12.0. For unit testing, consider using IHeadlessWindow mouse methods.")] |
|
|
|
public PointerEventArgs(RoutedEvent routedEvent, |
|
|
|
object? source, |
|
|
|
IPointer pointer, |
|
|
|
@ -129,8 +128,7 @@ namespace Avalonia.Input |
|
|
|
|
|
|
|
public class PointerPressedEventArgs : PointerEventArgs |
|
|
|
{ |
|
|
|
[Unstable] |
|
|
|
[Obsolete("This constructor might be removed in 12.0. For unit testing, consider using IHeadlessWindow mouse methods.")] |
|
|
|
[Unstable("This constructor might be removed in 12.0. For unit testing, consider using IHeadlessWindow mouse methods.")] |
|
|
|
public PointerPressedEventArgs( |
|
|
|
object source, |
|
|
|
IPointer pointer, |
|
|
|
@ -150,8 +148,7 @@ namespace Avalonia.Input |
|
|
|
|
|
|
|
public class PointerReleasedEventArgs : PointerEventArgs |
|
|
|
{ |
|
|
|
[Unstable] |
|
|
|
[Obsolete("This constructor might be removed in 12.0. For unit testing, consider using IHeadlessWindow mouse methods.")] |
|
|
|
[Unstable("This constructor might be removed in 12.0. For unit testing, consider using IHeadlessWindow mouse methods.")] |
|
|
|
public PointerReleasedEventArgs( |
|
|
|
object source, IPointer pointer, |
|
|
|
Visual rootVisual, Point rootVisualPosition, ulong timestamp, |
|
|
|
@ -173,8 +170,7 @@ namespace Avalonia.Input |
|
|
|
{ |
|
|
|
public IPointer Pointer { get; } |
|
|
|
|
|
|
|
[Unstable] |
|
|
|
[Obsolete("This constructor might be removed in 12.0. If you need to remove capture, use stable methods on the IPointer instance.,")] |
|
|
|
[Unstable("This constructor might be removed in 12.0. If you need to remove capture, use stable methods on the IPointer instance.,")] |
|
|
|
public PointerCaptureLostEventArgs(object source, IPointer pointer) : base(InputElement.PointerCaptureLostEvent) |
|
|
|
{ |
|
|
|
Pointer = pointer; |
|
|
|
|