FLTK logo

Re: [fltk.coredev] Gesture progress for 1.4?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: Gesture progress for 1.4? Albrecht Schlosser Oct 11, 2021  
 
On 10/11/21 8:14 PM Albrecht Schlosser wrote:
On 10/11/21 4:28 AM Rob McDonald wrote:
The pinch zoom also gave deltas ...

I'll go back and set up a test program to look into this.  I needed some sign flips to make zoom work right on my machine -- but I'm feeding it into an OpenGL zoom parameter that may be counter intuitive.

Well, I wrote a small demo program (test/gestures.cxx). We can certainly improve it, but it works as expected (by me) on macOS with my latest changes in my private fork:

https://github.com/Albrecht-S/fltk/commits/MacOS_Gestures

You can either use CMake or fltk-config to build the demo program (Makefiles not updated).

Changes: positive angles in FL_ROTATE_GESTURE are now clockwise.

FL_ZOOM_GESTURE is in this test version not compatible with the 1.3 version. This is intentional and will be fixed in a later version.

Have fun! Feedback would be appreciated.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/5beef4b2-124c-25df-5cc9-aa7a25763aea%40online.de.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.