Skip to content

Add Gestures support for Magnification/Pan/Rotate/Scroll#2950

Merged
cwensley merged 1 commit into
picoe:developfrom
cwensley:curtis/gestures
Jun 17, 2026
Merged

Add Gestures support for Magnification/Pan/Rotate/Scroll#2950
cwensley merged 1 commit into
picoe:developfrom
cwensley:curtis/gestures

Conversation

@cwensley

@cwensley cwensley commented May 19, 2026

Copy link
Copy Markdown
Member

Adds a cross-platform gesture API for controls via Control.Gestures, with support for magnification, rotation, pan, and scroll gestures.

  • Added Gesture as the shared base type with Enabled, Activated, attached Control, and simultaneous-recognition controls.

  • Added concrete gesture types:

    • MagnificationGesture for pinch/zoom deltas.
    • RotationGesture for rotation deltas in degrees.
    • PanGesture for translation/velocity, including configurable mouse buttons.
    • ScrollGesture for multidimensional scroll deltas/velocity, with configurable WheelScrollAmount.
  • Implemented gesture backends for Mac, WPF, WinForms, and GTK.

  • Added platform registration so Platform.Supports() works for gesture types.

  • Added attach/remove/clear gesture plumbing to control handlers.

  • Added a Gestures test section demonstrating pinch, rotate, pan, scroll, simultaneous gesture recognition, pan mouse button selection, and wheel scroll amount adjustment.

@cwensley cwensley added this to the 2.12.0 milestone May 19, 2026
@cwensley cwensley force-pushed the curtis/gestures branch 3 times, most recently from fdf4d7c to 1550e44 Compare June 2, 2026 23:52
@cwensley cwensley changed the title Add Control.Gestures and Magnification/PanGesture Add Control.Gestures and Magnification/Pan/Rotate/ScrollGesture Jun 3, 2026
@cwensley cwensley changed the title Add Control.Gestures and Magnification/Pan/Rotate/ScrollGesture Add Gestures support for Magnification/Pan/Rotate/Scroll Jun 17, 2026
@cwensley cwensley merged commit 9b84bd4 into picoe:develop Jun 17, 2026
3 checks passed
@cwensley cwensley deleted the curtis/gestures branch June 17, 2026 17:08
@cwensley cwensley mentioned this pull request Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant