Author: dmeyer
Date: Wed May  3 10:52:41 2006
New Revision: 1532

Modified:
   trunk/canvas/src/animation.py

Log:
add (not working) scale animator

Modified: trunk/canvas/src/animation.py
==============================================================================
--- trunk/canvas/src/animation.py       (original)
+++ trunk/canvas/src/animation.py       Wed May  3 10:52:41 2006
@@ -253,6 +253,11 @@
         return ret_value
 
 
+class ScaleAnimator(SizeAnimator):
+
+    def _apply_state(self, state):
+        print "SIZE", state
+        self._object().scale(*state)
 
 
 class PositionAnimator(Animator):
@@ -380,6 +385,7 @@
 
 
 register_animator_method("size", SizeAnimator)
+register_animator_method("scale", ScaleAnimator)
 register_animator_method("move", PositionAnimator)
 register_animator_method("color", ColorAnimator)
 register_animator_method("opacity", OpacityAnimator)


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to