Change 20100309-ptw-P by [email protected] on 2010-03-09 10:30:51 EST
    in /Users/ptw/OpenLaszlo/trunk-2
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Update <animatorgroup>, <animator> documentation

Bugs Fixed: LPP-5521 animatorgroup reference page problems
     LPP-2224 Changing animator motion between 'easein' and 'easeout' creates a 
hybrid motion

Technical Reviewer: max (pending)
QA Reviewer: amuntz (pending)

Release Notes:

    In 5.0 the <animator> API has been changed.  The attribute `start`
    is deprecated.  Use the attribute `started` instead.  The
    attribute `isactive` is deprecated because it was intended to be
    private.  The methods `doStart` and `stop` are deprecated, use
    `setAttribute('started', true)` and `setAttribute('started',
    false)` instead.  The method `pause` is deprecated, use
    `setAttribute('paused', ...) instead.  The previously deprecated
    methods `setTo`, `setMotion`, `setTarget` and `setDuration` have
    been removed; you must set the corresponding attribute.

Overview:

    Cleaned up the animator interface to be more in line with other
    API's.  When we declare an event for an attribute because that
    attribute has a setter, we do not document the event -- every
    attribute implicitly has a corresponding event, so it would be
    superfluous to document these.  We only document events that are
    'standalone' events, those that are not associated with an
    attribute, in the case of animators these are `onstart`,
    `onrepeat` and `onstop` (note that the start and repeat events do
    _not_ correspond to the attributes of the same name).

Details:
    While I was in there I fixed two bugs:  I made it so that setting
    `started` will have the same effect as setting `start`, since it
    stores the state for `start` and I fixed LPP-2224 by resetting the
    deltas to initial values when the motion is changed.

Tests:
    ant doc, inspection of docs, smoketest

Files:
M       WEB-INF/lps/lfc/controllers/LzAnimatorGroup.lzs
M       WEB-INF/lps/lfc/controllers/LaszloAnimation.lzs

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100309-ptw-P.tar

_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to