[Laszlo-dev] For Review: Change 20070718-maxcarlson-s Summary: More efficient mouse handling

Max Carlson max at openlaszlo.org
Wed Jul 18 21:26:21 PDT 2007


Change 20070718-maxcarlson-s by maxcarlson at plastik on 2007-07-18  
20:15:16 PDT
     in /Users/maxcarlson/openlaszlo/legals-checkin
     for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: More efficient mouse handling

New Features:

Bugs Fixed: LPP-4329 - More efficient mouse handling

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: LzSprite.as - Return an object with both mouse coordinates.

LzSprite.js - Cache CSSDimension values for x, y, width and height  
and use them when seeing clipping size.  Return an object with both  
mouse coordinates.

LzGlobalMouse.lzs - Update _movecounter for each onmousemove event.

LaszloView.lzs - getMouse() returns cached value until next  
onmousemove.  Passing null returns the raw x, y object.


Tests: All apps run as before.

Files:
M      WEB-INF/lps/lfc/kernel/swf/LzSprite.as
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/services/LzGlobalMouse.lzs
M      WEB-INF/lps/lfc/views/LaszloView.lzs

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070718- 
maxcarlson-s.tar


More information about the Laszlo-dev mailing list