Author: rolf
Date: 2007-06-19 12:23:20 -0400 (Tue, 19 Jun 2007)
New Revision: 80195

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/animation.cpp
   trunk/moon/src/animation.h
Log:
        * animation.h|cpp: Remove pureness from KeyFrame::InterpolateValue.

2007-06-19  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-06-19 16:19:02 UTC (rev 80194)
+++ trunk/moon/src/ChangeLog    2007-06-19 16:23:20 UTC (rev 80195)
@@ -1,5 +1,9 @@
 2007-06-19  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
 
+       * animation.h|cpp: Remove pureness from KeyFrame::InterpolateValue.
+
+2007-06-19  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
+
        * animation.h|cpp: Add *_key_frame_new.
 
 2007-06-19  Jackson Harper  <[EMAIL PROTECTED]>

Modified: trunk/moon/src/animation.cpp
===================================================================
--- trunk/moon/src/animation.cpp        2007-06-19 16:19:02 UTC (rev 80194)
+++ trunk/moon/src/animation.cpp        2007-06-19 16:23:20 UTC (rev 80195)
@@ -640,6 +640,13 @@
        SetValue (KeyFrame::KeyTimeProperty, Value(keytime));
 }
 
+Value *
+KeyFrame::InterpolateValue (Value *baseValue, double keyFrameProgress)
+{
+       g_warning ("KeyFrame::InterpolateValue has been called. The derived 
class should have overridden it.",
+                  dependency_object_get_name (this));
+}
+
 KeyFrame*
 key_frame_new ()
 {

Modified: trunk/moon/src/animation.h
===================================================================
--- trunk/moon/src/animation.h  2007-06-19 16:19:02 UTC (rev 80194)
+++ trunk/moon/src/animation.h  2007-06-19 16:23:20 UTC (rev 80195)
@@ -254,7 +254,7 @@
 
        static DependencyProperty *KeyTimeProperty;
 
-       virtual Value *InterpolateValue (Value *baseValue, double 
keyFrameProgress) = 0;
+       virtual Value *InterpolateValue (Value *baseValue, double 
keyFrameProgress);
 };
 
 KeyFrame* key_frame_new ();

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

Reply via email to