From: <ha...@us...> - 2009-12-02 19:55:39
|
Revision: 11843 http://jmol.svn.sourceforge.net/jmol/?rev=11843&view=rev Author: hansonr Date: 2009-12-02 19:55:31 +0000 (Wed, 02 Dec 2009) Log Message: ----------- version=11.9.10_dev # new feature: double-click-drag translates model # new feature: multitouch gesture antiparallel strokes: rotate at point # new feature: multitouch gesture spread/pinch: zoom in/out at point # new feature: app command parameter [-M or --multitouch] "sparshui" or "sparshui-simulated" # applet jmolSetCallback("multiTouchSparshUI", "true") # applet jmolSetCallback("multiTouchSparshUI-simulated", "true") # with those variables set, Jmol will load the multitouch package and start # an integrated SparshUI server (if none is already started). In addition, # with the -simulated flag, Jmol simulates multitouch using CTRL-LEFT drag (twice) # This incorporation of SparshUI also demonstrates the on-the-fly loading # of a client gesture into the SparshUI system using an extension of the # SparshUI protocol that allows delivery of a class name rather than a SparshUI # gesture ordinal. # # code: ActionManagerMT - for multitouch # code: preliminary org.jmol.multitouch package # code: preliminary com.sparshui package (I've been assured this is LGPL # despite the GPL license in the direcory) # Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/ActionManager.java Modified: trunk/Jmol/src/org/jmol/viewer/ActionManager.java =================================================================== --- trunk/Jmol/src/org/jmol/viewer/ActionManager.java 2009-12-02 19:47:56 UTC (rev 11842) +++ trunk/Jmol/src/org/jmol/viewer/ActionManager.java 2009-12-02 19:55:31 UTC (rev 11843) @@ -583,6 +583,7 @@ int deltaY = y - dragged.y; setCurrent(time, x, y, mods); dragged.setCurrent(); + exitMeasurementMode(); int action = Binding.getMouseAction(pressedCount, mods); dragGesture.add(action, x, y, time); checkAction(action, x, y, deltaX, deltaY, time, 1); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |