Author: rolf
Date: 2007-06-20 12:19:36 -0400 (Wed, 20 Jun 2007)
New Revision: 80332
Added:
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscreteColorKeyFrame.cs
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscreteDoubleKeyFrame.cs
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscretePointKeyFrame.cs
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearColorKeyFrame.cs
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearDoubleKeyFrame.cs
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearPointKeyFrame.cs
trunk/olive/class/agclr/System.Windows.Media.Animation/SplineColorKeyFrame.cs
trunk/olive/class/agclr/System.Windows.Media.Animation/SplinePointKeyFrame.cs
Modified:
trunk/olive/class/agclr/System.Windows.Media.Animation/ChangeLog
Log:
* SplineColorKeyFrame.cs, DiscreteColorKeyFrame.cs,
SplinePointKeyFrame.cs, LinearDoubleKeyFrame.cs,
DiscretePointKeyFrame.cs, DiscreteDoubleKeyFrame.cs,
LinearColorKeyFrame.cs, LinearPointKeyFrame.cs: Implemented.
Modified: trunk/olive/class/agclr/System.Windows.Media.Animation/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media.Animation/ChangeLog
2007-06-20 16:13:59 UTC (rev 80331)
+++ trunk/olive/class/agclr/System.Windows.Media.Animation/ChangeLog
2007-06-20 16:19:36 UTC (rev 80332)
@@ -1,3 +1,10 @@
+2007-06-20 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
+
+ * SplineColorKeyFrame.cs, DiscreteColorKeyFrame.cs,
+ SplinePointKeyFrame.cs, LinearDoubleKeyFrame.cs,
+ DiscretePointKeyFrame.cs, DiscreteDoubleKeyFrame.cs,
+ LinearColorKeyFrame.cs, LinearPointKeyFrame.cs: Implemented.
+
2007-06-19 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
* TimelineMarkerCollection.cs, ColorAnimationUsingKeyFrames.cs,
Added:
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscreteColorKeyFrame.cs
===================================================================
---
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscreteColorKeyFrame.cs
2007-06-20 16:13:59 UTC (rev 80331)
+++
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscreteColorKeyFrame.cs
2007-06-20 16:19:36 UTC (rev 80332)
@@ -0,0 +1,51 @@
+// Author:
+// Rolf Bjarne Kvinge ([EMAIL PROTECTED])
+//
+// Copyright 2007 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Input;
+using System.Runtime.InteropServices;
+using Mono;
+
+namespace System.Windows.Media.Animation
+{
+ public sealed class DiscreteColorKeyFrame : ColorKeyFrame
+ {
+ public DiscreteColorKeyFrame() : base
(NativeMethods.discrete_color_key_frame_new ())
+ {
+ NativeMethods.base_ref (native);
+ }
+
+ internal DiscreteColorKeyFrame (IntPtr raw) : base (raw)
+ {
+ }
+
+ internal protected override Kind GetKind ()
+ {
+ return Kind.DISCRETECOLORKEYFRAME;
+ }
+ }
+}
Added:
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscreteDoubleKeyFrame.cs
===================================================================
---
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscreteDoubleKeyFrame.cs
2007-06-20 16:13:59 UTC (rev 80331)
+++
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscreteDoubleKeyFrame.cs
2007-06-20 16:19:36 UTC (rev 80332)
@@ -0,0 +1,51 @@
+// Author:
+// Rolf Bjarne Kvinge ([EMAIL PROTECTED])
+//
+// Copyright 2007 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Input;
+using System.Runtime.InteropServices;
+using Mono;
+
+namespace System.Windows.Media.Animation
+{
+ public sealed class DiscreteDoubleKeyFrame : DoubleKeyFrame
+ {
+ public DiscreteDoubleKeyFrame() : base
(NativeMethods.discrete_double_key_frame_new ())
+ {
+ NativeMethods.base_ref (native);
+ }
+
+ internal DiscreteDoubleKeyFrame (IntPtr raw) : base (raw)
+ {
+ }
+
+ internal protected override Kind GetKind ()
+ {
+ return Kind.DISCRETEDOUBLEKEYFRAME;
+ }
+ }
+}
Added:
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscretePointKeyFrame.cs
===================================================================
---
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscretePointKeyFrame.cs
2007-06-20 16:13:59 UTC (rev 80331)
+++
trunk/olive/class/agclr/System.Windows.Media.Animation/DiscretePointKeyFrame.cs
2007-06-20 16:19:36 UTC (rev 80332)
@@ -0,0 +1,51 @@
+// Author:
+// Rolf Bjarne Kvinge ([EMAIL PROTECTED])
+//
+// Copyright 2007 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Input;
+using System.Runtime.InteropServices;
+using Mono;
+
+namespace System.Windows.Media.Animation
+{
+ public sealed class DiscretePointKeyFrame : PointKeyFrame
+ {
+ public DiscretePointKeyFrame() : base
(NativeMethods.discrete_point_key_frame_new ())
+ {
+ NativeMethods.base_ref (native);
+ }
+
+ internal DiscretePointKeyFrame (IntPtr raw) : base (raw)
+ {
+ }
+
+ internal protected override Kind GetKind ()
+ {
+ return Kind.DISCRETEPOINTKEYFRAME;
+ }
+ }
+}
Added:
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearColorKeyFrame.cs
===================================================================
---
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearColorKeyFrame.cs
2007-06-20 16:13:59 UTC (rev 80331)
+++
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearColorKeyFrame.cs
2007-06-20 16:19:36 UTC (rev 80332)
@@ -0,0 +1,51 @@
+// Author:
+// Rolf Bjarne Kvinge ([EMAIL PROTECTED])
+//
+// Copyright 2007 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Input;
+using System.Runtime.InteropServices;
+using Mono;
+
+namespace System.Windows.Media.Animation
+{
+ public sealed class LinearColorKeyFrame : ColorKeyFrame
+ {
+ public LinearColorKeyFrame() : base
(NativeMethods.linear_color_key_frame_new ())
+ {
+ NativeMethods.base_ref (native);
+ }
+
+ internal LinearColorKeyFrame (IntPtr raw) : base (raw)
+ {
+ }
+
+ internal protected override Kind GetKind ()
+ {
+ return Kind.LINEARCOLORKEYFRAME;
+ }
+ }
+}
Added:
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearDoubleKeyFrame.cs
===================================================================
---
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearDoubleKeyFrame.cs
2007-06-20 16:13:59 UTC (rev 80331)
+++
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearDoubleKeyFrame.cs
2007-06-20 16:19:36 UTC (rev 80332)
@@ -0,0 +1,51 @@
+// Author:
+// Rolf Bjarne Kvinge ([EMAIL PROTECTED])
+//
+// Copyright 2007 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Input;
+using System.Runtime.InteropServices;
+using Mono;
+
+namespace System.Windows.Media.Animation
+{
+ public sealed class LinearDoubleKeyFrame : DoubleKeyFrame
+ {
+ public LinearDoubleKeyFrame() : base
(NativeMethods.linear_double_key_frame_new ())
+ {
+ NativeMethods.base_ref (native);
+ }
+
+ internal LinearDoubleKeyFrame (IntPtr raw) : base (raw)
+ {
+ }
+
+ internal protected override Kind GetKind ()
+ {
+ return Kind.LINEARDOUBLEKEYFRAME;
+ }
+ }
+}
Added:
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearPointKeyFrame.cs
===================================================================
---
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearPointKeyFrame.cs
2007-06-20 16:13:59 UTC (rev 80331)
+++
trunk/olive/class/agclr/System.Windows.Media.Animation/LinearPointKeyFrame.cs
2007-06-20 16:19:36 UTC (rev 80332)
@@ -0,0 +1,51 @@
+// Author:
+// Rolf Bjarne Kvinge ([EMAIL PROTECTED])
+//
+// Copyright 2007 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Input;
+using System.Runtime.InteropServices;
+using Mono;
+
+namespace System.Windows.Media.Animation
+{
+ public sealed class LinearPointKeyFrame : PointKeyFrame
+ {
+ public LinearPointKeyFrame() : base
(NativeMethods.linear_point_key_frame_new ())
+ {
+ NativeMethods.base_ref (native);
+ }
+
+ internal LinearPointKeyFrame (IntPtr raw) : base (raw)
+ {
+ }
+
+ internal protected override Kind GetKind ()
+ {
+ return Kind.LINEARPOINTKEYFRAME;
+ }
+ }
+}
Added:
trunk/olive/class/agclr/System.Windows.Media.Animation/SplineColorKeyFrame.cs
===================================================================
---
trunk/olive/class/agclr/System.Windows.Media.Animation/SplineColorKeyFrame.cs
2007-06-20 16:13:59 UTC (rev 80331)
+++
trunk/olive/class/agclr/System.Windows.Media.Animation/SplineColorKeyFrame.cs
2007-06-20 16:19:36 UTC (rev 80332)
@@ -0,0 +1,64 @@
+// Author:
+// Miguel de Icaza ([EMAIL PROTECTED])
+//
+// Copyright 2007 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Input;
+using System.Runtime.InteropServices;
+using Mono;
+
+namespace System.Windows.Media.Animation
+{
+ public sealed class SplineColorKeyFrame : ColorKeyFrame
+ {
+
+ public static readonly DependencyProperty KeySplineProperty =
+ DependencyProperty.Lookup (Kind.SPLINECOLORKEYFRAME,
"KeySpline", typeof (KeySpline));
+
+ public SplineColorKeyFrame () : base
(NativeMethods.spline_color_key_frame_new ())
+ {
+ NativeMethods.base_ref (native);
+ }
+
+ internal SplineColorKeyFrame (IntPtr raw) : base (raw)
+ {
+ }
+
+ public KeySpline KeySpline {
+ get {
+ return (KeySpline) GetValue (KeySplineProperty);
+ }
+ set {
+ SetValue (KeySplineProperty, value);
+ }
+ }
+
+ internal protected override Kind GetKind ()
+ {
+ return Kind.SPLINECOLORKEYFRAME;
+ }
+ }
+}
Added:
trunk/olive/class/agclr/System.Windows.Media.Animation/SplinePointKeyFrame.cs
===================================================================
---
trunk/olive/class/agclr/System.Windows.Media.Animation/SplinePointKeyFrame.cs
2007-06-20 16:13:59 UTC (rev 80331)
+++
trunk/olive/class/agclr/System.Windows.Media.Animation/SplinePointKeyFrame.cs
2007-06-20 16:19:36 UTC (rev 80332)
@@ -0,0 +1,64 @@
+// Author:
+// Miguel de Icaza ([EMAIL PROTECTED])
+//
+// Copyright 2007 Novell, Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+using System.Windows;
+using System.Windows.Media;
+using System.Windows.Input;
+using System.Runtime.InteropServices;
+using Mono;
+
+namespace System.Windows.Media.Animation
+{
+ public sealed class SplinePointKeyFrame : PointKeyFrame
+ {
+
+ public static readonly DependencyProperty KeySplineProperty =
+ DependencyProperty.Lookup (Kind.SPLINECOLORKEYFRAME,
"KeySpline", typeof (KeySpline));
+
+ public SplinePointKeyFrame () : base
(NativeMethods.spline_color_key_frame_new ())
+ {
+ NativeMethods.base_ref (native);
+ }
+
+ internal SplinePointKeyFrame (IntPtr raw) : base (raw)
+ {
+ }
+
+ public KeySpline KeySpline {
+ get {
+ return (KeySpline) GetValue (KeySplineProperty);
+ }
+ set {
+ SetValue (KeySplineProperty, value);
+ }
+ }
+
+ internal protected override Kind GetKind ()
+ {
+ return Kind.SPLINECOLORKEYFRAME;
+ }
+ }
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches