Author: toshok
Date: 2007-06-07 00:49:50 -0400 (Thu, 07 Jun 2007)
New Revision: 78818

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/animation.cpp
   trunk/moon/src/animation.h
Log:
        * animation.cpp, animation.h: add timeline_set_autoreverse.

2007-06-06  Chris Toshok  <[EMAIL PROTECTED]>



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-06-07 04:42:18 UTC (rev 78817)
+++ trunk/moon/src/ChangeLog    2007-06-07 04:49:50 UTC (rev 78818)
@@ -1,5 +1,9 @@
 2007-06-06  Chris Toshok  <[EMAIL PROTECTED]>
 
+       * animation.cpp, animation.h: add timeline_set_autoreverse.
+
+2007-06-06  Chris Toshok  <[EMAIL PROTECTED]>
+
        * animation.h: add prototype for timeline_set_repeat_behavior.
        
        * animation.cpp (animation_init): register the RepeatBehavior

Modified: trunk/moon/src/animation.cpp
===================================================================
--- trunk/moon/src/animation.cpp        2007-06-07 04:42:18 UTC (rev 78817)
+++ trunk/moon/src/animation.cpp        2007-06-07 04:49:50 UTC (rev 78818)
@@ -325,6 +325,12 @@
 
 
 void
+timeline_set_autoreverse (Timeline *timeline, bool autoreverse)
+{
+       timeline->SetValue (Timeline::AutoReverseProperty, Value(autoreverse));
+}
+
+void
 timeline_set_duration (Timeline *timeline, guint64 duration)
 {
        timeline->SetValue (Timeline::DurationProperty, Value(duration));

Modified: trunk/moon/src/animation.h
===================================================================
--- trunk/moon/src/animation.h  2007-06-07 04:42:18 UTC (rev 78817)
+++ trunk/moon/src/animation.h  2007-06-07 04:49:50 UTC (rev 78818)
@@ -193,6 +193,7 @@
        virtual Clock* AllocateClock () { return new Clock (this); }
 };
 
+void timeline_set_autoreverse (Timeline *timeline, bool autoreverse);
 void timeline_set_duration (Timeline *timeline, guint64 duration);
 void timeline_set_repeat_behavior (Timeline *timeline, RepeatBehavior 
behavior);
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to