Hi Wim, I wanted to implement the touch events for WGLWidget yesterday, but couldn't figure out how to do it based on your hints. Could you provide some more detailed instructions?
Rgds Richard > Date: Thu, 14 Jul 2011 13:12:27 +0200 > From: Wim Dumon <w...@emweb.be> > Subject: Re: [Wt-interest] Mouse Handlers on Android Firefox > To: witty-interest@lists.sourceforge.net > Message-ID: > <CAJ2=PVT01O-QQ6yH71jUOm_kgk274pS09w_xjUZ=5damlcf...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hey Richard, > > For that to work, WGLWidget must be extended to support touch events. > Wt already supports touch events, but WGLWidget is not aware of them. > See WInteractWidget::touch[Started|Ended|Moved]() > > The approach should be: > - single finger -> do what mouse drag does now > - two fingers -> do what mouse wheel does now > > If you're inclined to implement this yourself, you'll need to modify > src/js/WGLWidget.js and src/Wt/WGLWidget.C. Otherwise, file a feature > request in redmine and assign it to me :-) > > Best regads, > Wim. > > > 2011/7/5 Richard Ulrich <ri...@paraeasy.ch>: > > Hi Guys, > > > > this question is not specifically about wt, but more about Firefox on > > Android. > > I have a wt app with a WebGL widget. Firefox on Android loads it and > > displays the initial scene. But I couldn't figure out how to rotate, > > zoom and pan the WebGl scene. Any zooming and panning was applied to the > > whole page. > > I read somewhere that on the iPhone you have to use two fingers to > > scroll a scroll-area withing another scroll-area. > > > > Rgds > > Richard
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest