Skip to content

Commit

Permalink
chore: remove GestureRecognizer from Uno.UWP pt 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed Nov 19, 2024
1 parent fa9142e commit 3389d6a
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 379 deletions.
6 changes: 6 additions & 0 deletions src/Uno.UI/UI/Input/PointerPointProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ internal PointerPointProperties(global::Windows.UI.Input.PointerPointProperties

public bool IsInRange { get; internal set; }

/// <summary>
/// This is necessary for InteractionTracker, which behaves differently on mouse, touch and trackpad inputs.
/// </summary>
internal bool IsTouchPad { get; set; }

public bool IsLeftButtonPressed { get; internal set; }

public bool IsMiddleButtonPressed { get; internal set; }
Expand Down Expand Up @@ -150,6 +155,7 @@ public override string ToString()
// Pen
if (IsBarrelButtonPressed) builder.Append("barrel ");
if (IsEraser) builder.Append("eraser ");
if (IsTouchPad) builder.Append("touchpad ");

// Misc
builder.Append('(');
Expand Down
101 changes: 0 additions & 101 deletions src/Uno.UWP/UI/Input/PointerPoint.cs

This file was deleted.

168 changes: 0 additions & 168 deletions src/Uno.UWP/UI/Input/PointerPointProperties.cs

This file was deleted.

52 changes: 0 additions & 52 deletions src/Uno.UWP/UI/Input/PointerPointPropertiesExtensions.cs

This file was deleted.

Loading

0 comments on commit 3389d6a

Please sign in to comment.