Author: alanmc
Date: 2007-06-14 12:04:21 -0400 (Thu, 14 Jun 2007)
New Revision: 79560

Added:
   trunk/olive/class/agclr/System.Windows.Media.Animation/BeginStoryBoard.cs
   trunk/olive/class/agclr/System.Windows.Media.Animation/ColorAnimation.cs
   trunk/olive/class/agclr/System.Windows.Media.Animation/DoubleAnimation.cs
   trunk/olive/class/agclr/System.Windows.Media.Animation/PointAnimation.cs
   trunk/olive/class/agclr/System.Windows/EventTrigger.cs
Modified:
   trunk/olive/class/agclr/ChangeLog
   trunk/olive/class/agclr/agclr.dll.sources
Log:
implemented classes in animation

Modified: trunk/olive/class/agclr/ChangeLog
===================================================================
--- trunk/olive/class/agclr/ChangeLog   2007-06-14 15:58:13 UTC (rev 79559)
+++ trunk/olive/class/agclr/ChangeLog   2007-06-14 16:04:21 UTC (rev 79560)
@@ -1,3 +1,11 @@
+2007-06-14  Alan McGovern <[EMAIL PROTECTED]> 
+
+       * Implemented   ColorAnimation,
+                       DoubleAnimation, 
+                       PointAnimation,
+                       BeginStoryBoard,
+                       EventTrigger
+
 2007-06-14  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
        * Internal.cs: Constructor fixes, part 3.

Added: trunk/olive/class/agclr/System.Windows/EventTrigger.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows/EventTrigger.cs      2007-06-14 
15:58:13 UTC (rev 79559)
+++ trunk/olive/class/agclr/System.Windows/EventTrigger.cs      2007-06-14 
16:04:21 UTC (rev 79560)
@@ -0,0 +1,64 @@
+//
+// EventTrigger.cs
+//
+// Author:
+//   Alan McGovern ([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 OTEVENTTRIGGERHER 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.
+//
+namespace System.Windows 
+{
+       public sealed class EventTrigger : DependancyObject 
+       {
+               public static readonly DependancyProperty ActionsProperty = 
+                          DependencyProperty.Lookup (Kind.EVENTTRIGGER, 
"ACTIONS", typeof (TriggerActionCollection));
+
+               public static readonly DependancyProperty RoutedEventProperty = 
+                          DependencyProperty.Lookup (Kind.EVENTTRIGGER, 
"ROUTEDEVENT", typeof (string));
+
+
+               public EventTrigger(): base 
(Mono.NativeMethods.eventtrigger_new ())
+               {
+               }
+
+               internal EventTrigger (IntPtr raw) : base (raw)
+               {
+               }
+
+
+               public TriggerActionCollection Actions {
+                       get { return (TriggerActionCollection) 
GetValue(ActionsProperty); }
+                       set { SetValue(ActionsProperty, value);
+               }
+
+               public string RoutedEvent {
+                       get { return (string) GetValue(RoutedEventProperty); }
+                       set { SetValue(RoutedEventProperty, value);
+               }
+
+
+               protected internal override Kind()
+               {
+                       return Kind.EVENTTRIGGER;
+               }
+       }
+}

Added: trunk/olive/class/agclr/System.Windows.Media.Animation/BeginStoryBoard.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media.Animation/BeginStoryBoard.cs   
2007-06-14 15:58:13 UTC (rev 79559)
+++ trunk/olive/class/agclr/System.Windows.Media.Animation/BeginStoryBoard.cs   
2007-06-14 16:04:21 UTC (rev 79560)
@@ -0,0 +1,56 @@
+//
+// BeginStoryBoard.cs
+//
+// Author:
+//   Alan McGovern ([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.
+//
+namespace System.Windows.Media.Animation 
+{
+       public sealed class BeginStoryBoard : DependancyObject 
+       {
+               public static readonly DependancyProperty StoryBoardProperty = 
+                          DependencyProperty.Lookup (Kind.BEGINSTORYBOARD, 
"STORYBOARD", typeof (StoryBoard));
+
+
+               public BeginStoryBoard(): base 
(Mono.NativeMethods.beginstoryboard_new ())
+               {
+               }
+
+               internal BeginStoryBoard (IntPtr raw) : base (raw)
+               {
+               }
+
+
+               public Nullable<StoryBoard> By {
+                       get { return (StoryBoard) GetValue(ByProperty); }
+                       set { SetValue(ByProperty, value);
+               }
+
+
+               protected internal override Kind()
+               {
+                       return Kind.BEGINSTORYBOARD;
+               }
+       }
+}

Added: trunk/olive/class/agclr/System.Windows.Media.Animation/ColorAnimation.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media.Animation/ColorAnimation.cs    
2007-06-14 15:58:13 UTC (rev 79559)
+++ trunk/olive/class/agclr/System.Windows.Media.Animation/ColorAnimation.cs    
2007-06-14 16:04:21 UTC (rev 79560)
@@ -0,0 +1,69 @@
+//
+// ColorAnimation.cs
+//
+// Author:
+//   Alan McGovern ([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.
+//
+namespace System.Windows.Media.Animation 
+{
+       public class ColorAnimation : Animation 
+       {
+               public static readonly DependancyProperty ByProperty = 
+                          DependencyProperty.Lookup (Kind.COLORANIMATION, 
"BY", typeof (double));
+               public static readonly DependancyProperty FromProperty;
+                          DependencyProperty.Lookup (Kind.COLORANIMATION, 
"FROM", typeof (double));
+               public static readonly DependancyProperty ToProperty;
+                          DependencyProperty.Lookup (Kind.COLORANIMATION, 
"TO", typeof (double));
+
+
+               public ColorAnimation(): base 
(Mono.NativeMethods.coloranimation_new ())
+               {
+               }
+
+               internal ColorAnimation (IntPtr raw) : base (raw)
+               {
+               }
+
+
+               public Nullable<double> By {
+                       get { return (double) GetValue(ByProperty); }
+                       set { SetValue(ByProperty, value);
+               }
+
+               public Nullable<double> From {
+                       get { return (double) GetValue (FromProperty); }
+                       set { SetValue (FromProperty, value); }
+               }
+
+               public Nullable<double> To {
+                       get { return (double) GetValue (ToProperty); }
+                       set { SetValue (ToProperty, value); }
+               }
+
+               protected internal override Kind()
+               {
+                       return Kind.COLORANIMATION;
+               }
+       }
+}

Added: trunk/olive/class/agclr/System.Windows.Media.Animation/DoubleAnimation.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media.Animation/DoubleAnimation.cs   
2007-06-14 15:58:13 UTC (rev 79559)
+++ trunk/olive/class/agclr/System.Windows.Media.Animation/DoubleAnimation.cs   
2007-06-14 16:04:21 UTC (rev 79560)
@@ -0,0 +1,69 @@
+//
+// DoubleAnimation.cs
+//
+// Author:
+//   Alan McGovern ([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.
+//
+namespace System.Windows.Media.Animation 
+{
+       public class DoubleAnimation : Animation 
+       {
+               public static readonly DependancyProperty ByProperty = 
+                          DependencyProperty.Lookup (Kind.DOUBLEANIMATION, 
"BY", typeof (double));
+               public static readonly DependancyProperty FromProperty;
+                          DependencyProperty.Lookup (Kind.DOUBLEANIMATION, 
"FROM", typeof (double));
+               public static readonly DependancyProperty ToProperty;
+                          DependencyProperty.Lookup (Kind.DOUBLEANIMATION, 
"TO", typeof (double));
+
+
+               public DoubleAnimation(): base 
(Mono.NativeMethods.doubleanimation_new ())
+               {
+               }
+
+               internal DoubleAnimation (IntPtr raw) : base (raw)
+               {
+               }
+
+
+               public Nullable<double> By {
+                       get { return (double) GetValus(ByProperty); }
+                       set { SetValue(ByProperty, value);
+               }
+
+               public Nullable<double> From {
+                       get { return (double) GetValue (FromProperty); }
+                       set { SetValue (FromProperty, value); }
+               }
+
+               public Nullable<double> To {
+                       get { return (double) GetValue (ToProperty); }
+                       set { SetValue (ToProperty, value); }
+               }
+
+               protected internal override Kind()
+               {
+                       return Kind.DOUBLEANIMATION;
+               }
+       }
+}

Added: trunk/olive/class/agclr/System.Windows.Media.Animation/PointAnimation.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media.Animation/PointAnimation.cs    
2007-06-14 15:58:13 UTC (rev 79559)
+++ trunk/olive/class/agclr/System.Windows.Media.Animation/PointAnimation.cs    
2007-06-14 16:04:21 UTC (rev 79560)
@@ -0,0 +1,69 @@
+//
+// PointAnimation.cs
+//
+// Author:
+//   Alan McGovern ([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.
+//
+namespace System.Windows.Media.Animation 
+{
+       public class PointAnimation : Animation 
+       {
+               public static readonly DependancyProperty ByProperty = 
+                          DependencyProperty.Lookup (Kind.POINTANIMATION, 
"BY", typeof (double));
+               public static readonly DependancyProperty FromProperty;
+                          DependencyProperty.Lookup (Kind.POINTANIMATION, 
"FROM", typeof (double));
+               public static readonly DependancyProperty ToProperty;
+                          DependencyProperty.Lookup (Kind.POINTANIMATION, 
"TO", typeof (double));
+
+
+               public PointAnimation(): base 
(Mono.NativeMethods.pointanimation_new ())
+               {
+               }
+
+               internal PointAnimation (IntPtr raw) : base (raw)
+               {
+               }
+
+
+               public Nullable<double> By {
+                       get { return (double) GetValue(ByProperty); }
+                       set { SetValue(ByProperty, value);
+               }
+
+               public Nullable<double> From {
+                       get { return (double) GetValue (FromProperty); }
+                       set { SetValue (FromProperty, value); }
+               }
+
+               public Nullable<double> To {
+                       get { return (double) GetValue (ToProperty); }
+                       set { SetValue (ToProperty, value); }
+               }
+
+               protected internal override Kind()
+               {
+                       return Kind.POINTANIMATION;
+               }
+       }
+}

Modified: trunk/olive/class/agclr/agclr.dll.sources
===================================================================
--- trunk/olive/class/agclr/agclr.dll.sources   2007-06-14 15:58:13 UTC (rev 
79559)
+++ trunk/olive/class/agclr/agclr.dll.sources   2007-06-14 16:04:21 UTC (rev 
79560)
@@ -12,6 +12,7 @@
 System.Windows/ErrorEventArgs.cs
 System.Windows/ErrorEventHandler.cs
 System.Windows/ErrorType.cs
+System.Windows/EventTrigger.cs
 System.Windows/FrameworkElement.cs
 System.Windows/Point.cs
 System.Windows/ResourceCollection.cs
@@ -85,8 +86,12 @@
 System.Windows.Media/VideoBrush.cs
 System.Windows.Media/VisualCollection.cs
 System.Windows.Media/Visual.cs
+System.Windows.Media.Animation/BeginStoryBoard.cs
+System.Windows.Media.Animation/ColorAnimation.cs
+System.Windows.Media.Animation/DoubleAnimation.cs
 System.Windows.Media.Animation/FillBehavior.cs
 System.Windows.Media.Animation/ParallelTimeline.cs
+System.Windows.Media.Animation/PointAnimations.cs
 System.Windows.Media.Animation/RepeatBehavior.cs
 System.Windows.Media.Animation/Storyboard.cs
 System.Windows.Media.Animation/Timeline.cs

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

Reply via email to