On Oct 6, 2011, at 4:03 AM, Elena-Gina CRACIUN wrote: > I've spent some days now trying to add support for multitouch on Avogadro. > I've guide myself using the model you have constructed for drawtool (the > mouse and key events), but without success. In the last version I add in > drawtool.h :
The mouse events are sent from GLWidget to the tools -- so you can add the events to the Tool classes, but they'll never get them because GLWidget isn't forwarding them. Here's an example which implements the double-click event: http://review.source.kitware.com/#patch,sidebyside,2552, So you'd need to add the various touch events to glwidget.h and glwidget.cpp to send to the different tools first. Hope that helps, -Geoff ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Avogadro-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/avogadro-devel
