Are there facilities for responding to trackpad/touchscreen gestures? Our users would love to be able to pinch to zoom in, etc., in our graphs. I see discussion of this quite a few years ago, but nothing lately, and don’t see any explicit support at the Component level.
There is virtual void mouseMagnify (const MouseEvent& event, float scaleFactor);
for pinch to zoom.
2 Likes
Depends on the platform. I believe mouseMagnify only works on Mac/Windows. If you want native gestures on iOS, I recently hacked my fork of JUCE to do this:
1 Like
Thanks. Mac/Windows is all I need. Don’t know how I missed that one.