Change maxcarlson-20110104-aPG by maxcarl...@friendly on 2011-01-04 16:39:07 PST
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Support onmouseover/out when dragging on touch devices
Bugs Fixed: LPP-8904 - Support touch and gesture events
Technical Reviewer: ptw
QA Reviewer: hminsky
Details: LzSprite - Only listen for sprite click events on the clickdiv (or its
children). Explicitly listen for global events on the appcontainer, and call
__globalClickDispatcher() to send global events. Remove noop in setSource().
Add globalClickDispatcher() to handle global mouse events. Generate
onmouseover/out when dragging on touch devices. Track the last dive the mouse
went out on, to prevent spurious global over/out events.
LzMouseKernel - Add slot for __lastMouseOut.
Tests: demos/house.lzx?lzr=dhtml now shows over/out for buttons when they're
being clicked. test/lfc/legals/keyboardandmouse.lzx?lzr=dhtml runs as before.
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M WEB-INF/lps/lfc/kernel/dhtml/LzMouseKernel.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/maxcarlson-20110104-aPG.tar