Author: rolf
Date: 2007-06-13 11:58:40 -0400 (Wed, 13 Jun 2007)
New Revision: 79443

Modified:
   trunk/olive/class/agclr/System.Windows.Media/Brush.cs
   trunk/olive/class/agclr/System.Windows.Media/ChangeLog
   trunk/olive/class/agclr/System.Windows.Media/GeometryCollection.cs
   trunk/olive/class/agclr/System.Windows.Media/GradientBrush.cs
   trunk/olive/class/agclr/System.Windows.Media/GradientStop.cs
   trunk/olive/class/agclr/System.Windows.Media/GradientStopCollection.cs
   trunk/olive/class/agclr/System.Windows.Media/ImageBrush.cs
   trunk/olive/class/agclr/System.Windows.Media/LinearGradientBrush.cs
   trunk/olive/class/agclr/System.Windows.Media/MediaAttribute.cs
   trunk/olive/class/agclr/System.Windows.Media/MediaAttributeCollection.cs
   trunk/olive/class/agclr/System.Windows.Media/PathFigureCollection.cs
   trunk/olive/class/agclr/System.Windows.Media/PathSegmentCollection.cs
   trunk/olive/class/agclr/System.Windows.Media/QuadraticBezierSegment.cs
   trunk/olive/class/agclr/System.Windows.Media/SkewTransform.cs
   trunk/olive/class/agclr/System.Windows.Media/TileBrush.cs
   trunk/olive/class/agclr/System.Windows.Media/Transform.cs
   trunk/olive/class/agclr/System.Windows.Media/VideoBrush.cs
   trunk/olive/class/agclr/System.Windows.Media/VisualCollection.cs
Log:
* GradientStopCollection.cs, VisualCollection.cs, Brush.cs,
  PathSegmentCollection.cs, LinearGradientBrush.cs,
  QuadraticBezierSegment.cs, TileBrush.cs, GradientBrush.cs,
  GradientStop.cs, Transform.cs, MediaAttributeCollection.cs,
  ImageBrush.cs, MediaAttribute.cs, SkewTransform.cs,
  GeometryCollection.cs, VideoBrush.cs, PathFigureCollection.cs: Use
  native constructors.

Modified: trunk/olive/class/agclr/System.Windows.Media/Brush.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/Brush.cs       2007-06-13 
15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/Brush.cs       2007-06-13 
15:58:40 UTC (rev 79443)
@@ -42,6 +42,7 @@
                
                public Brush ()
                {
+                       native = NativeMethods.brush_new ();
                }
 
                public double Opacity {

Modified: trunk/olive/class/agclr/System.Windows.Media/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/ChangeLog      2007-06-13 
15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/ChangeLog      2007-06-13 
15:58:40 UTC (rev 79443)
@@ -1,5 +1,15 @@
 2007-06-13  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
+       * GradientStopCollection.cs, VisualCollection.cs, Brush.cs,
+         PathSegmentCollection.cs, LinearGradientBrush.cs,
+         QuadraticBezierSegment.cs, TileBrush.cs, GradientBrush.cs,
+         GradientStop.cs, Transform.cs, MediaAttributeCollection.cs,
+         ImageBrush.cs, MediaAttribute.cs, SkewTransform.cs,
+         GeometryCollection.cs, VideoBrush.cs, PathFigureCollection.cs: Use
+         native constructors.
+
+2007-06-13  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
        * Visual.cs: Implement GetKind.
 
 2007-06-13  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 

Modified: trunk/olive/class/agclr/System.Windows.Media/GeometryCollection.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/GeometryCollection.cs  
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/GeometryCollection.cs  
2007-06-13 15:58:40 UTC (rev 79443)
@@ -36,6 +36,11 @@
                {
                }
                
+               public GeometryCollection ()
+               {
+                       native = NativeMethods.geometry_collection_new ();
+               }
+               
                protected internal override Kind GetKind ()
                {
                        return Kind.GEOMETRY_COLLECTION;

Modified: trunk/olive/class/agclr/System.Windows.Media/GradientBrush.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/GradientBrush.cs       
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/GradientBrush.cs       
2007-06-13 15:58:40 UTC (rev 79443)
@@ -43,6 +43,7 @@
 
                public GradientBrush ()
                {
+                       native = NativeMethods.gradient_brush_new ();
                }
 
 

Modified: trunk/olive/class/agclr/System.Windows.Media/GradientStop.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/GradientStop.cs        
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/GradientStop.cs        
2007-06-13 15:58:40 UTC (rev 79443)
@@ -38,6 +38,7 @@
 
                public GradientStop ()
                {
+                       native = NativeMethods.gradient_stop_new ();
                }
 
 

Modified: trunk/olive/class/agclr/System.Windows.Media/GradientStopCollection.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/GradientStopCollection.cs      
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/GradientStopCollection.cs      
2007-06-13 15:58:40 UTC (rev 79443)
@@ -32,6 +32,11 @@
 namespace System.Windows.Media {
 
        public class GradientStopCollection : Collection<GradientStop> {
+               public GradientStopCollection ()
+               {
+                       native = NativeMethods.gradient_stop_collection_new ();
+               }
+               
                protected internal override Kind GetKind ()
                {
                        return Kind.GRADIENTSTOP_COLLECTION;

Modified: trunk/olive/class/agclr/System.Windows.Media/ImageBrush.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/ImageBrush.cs  2007-06-13 
15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/ImageBrush.cs  2007-06-13 
15:58:40 UTC (rev 79443)
@@ -39,6 +39,7 @@
 
                public ImageBrush ()
                {
+                       native = NativeMethods.image_brush_new ();
                }
 
 

Modified: trunk/olive/class/agclr/System.Windows.Media/LinearGradientBrush.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/LinearGradientBrush.cs 
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/LinearGradientBrush.cs 
2007-06-13 15:58:40 UTC (rev 79443)
@@ -38,6 +38,7 @@
 
                public LinearGradientBrush ()
                {
+                       native = NativeMethods.linear_gradient_brush_new ();
                }
 
 

Modified: trunk/olive/class/agclr/System.Windows.Media/MediaAttribute.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/MediaAttribute.cs      
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/MediaAttribute.cs      
2007-06-13 15:58:40 UTC (rev 79443)
@@ -35,6 +35,7 @@
 
                public MediaAttribute ()
                {
+                       native = NativeMethods.media_attribute_new ();
                }
 
                public string Value {

Modified: 
trunk/olive/class/agclr/System.Windows.Media/MediaAttributeCollection.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/MediaAttributeCollection.cs    
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/MediaAttributeCollection.cs    
2007-06-13 15:58:40 UTC (rev 79443)
@@ -32,7 +32,11 @@
 namespace System.Windows.Media {
 
        public class MediaAttributeCollection : Collection<MediaAttribute> {
-
+               public MediaAttributeCollection ()
+               {
+                       native = NativeMethods.media_attribute_collection_new 
();
+               }
+               
                [MonoTODO]
                public DependencyObject GetItemByName (string AttributeName)
                {

Modified: trunk/olive/class/agclr/System.Windows.Media/PathFigureCollection.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/PathFigureCollection.cs        
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/PathFigureCollection.cs        
2007-06-13 15:58:40 UTC (rev 79443)
@@ -32,6 +32,10 @@
 namespace System.Windows.Media {
 
        public class PathFigureCollection : Collection<PathFigure> {
+               public PathFigureCollection ()
+               {
+                       native = NativeMethods.path_figure_collection_new ();
+               }
                
                protected internal override Kind GetKind ()
                {

Modified: trunk/olive/class/agclr/System.Windows.Media/PathSegmentCollection.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/PathSegmentCollection.cs       
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/PathSegmentCollection.cs       
2007-06-13 15:58:40 UTC (rev 79443)
@@ -32,6 +32,10 @@
 namespace System.Windows.Media {
 
        public class PathSegmentCollection : Collection<PathSegment> {
+               public PathSegmentCollection ()
+               {
+                       native = NativeMethods.path_segment_collection_new ();
+               }
                
                protected internal override Kind GetKind ()
                {

Modified: trunk/olive/class/agclr/System.Windows.Media/QuadraticBezierSegment.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/QuadraticBezierSegment.cs      
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/QuadraticBezierSegment.cs      
2007-06-13 15:58:40 UTC (rev 79443)
@@ -37,6 +37,7 @@
 
                public QuadraticBezierSegment ()
                {
+                       native = NativeMethods.quadratic_bezier_segment_new ();
                }
 
                public Point Point1 {

Modified: trunk/olive/class/agclr/System.Windows.Media/SkewTransform.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/SkewTransform.cs       
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/SkewTransform.cs       
2007-06-13 15:58:40 UTC (rev 79443)
@@ -39,6 +39,7 @@
 
                public SkewTransform ()
                {
+                       native = NativeMethods.skew_transform_new ();
                }
 
 

Modified: trunk/olive/class/agclr/System.Windows.Media/TileBrush.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/TileBrush.cs   2007-06-13 
15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/TileBrush.cs   2007-06-13 
15:58:40 UTC (rev 79443)
@@ -38,6 +38,7 @@
 
                public TileBrush ()
                {
+                       native = NativeMethods.tile_brush_new ();
                }
 
 

Modified: trunk/olive/class/agclr/System.Windows.Media/Transform.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/Transform.cs   2007-06-13 
15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/Transform.cs   2007-06-13 
15:58:40 UTC (rev 79443)
@@ -31,6 +31,7 @@
                
                public Transform ()
                {
+                       native = NativeMethods.transform_new ();
                }
 
                protected internal override Kind GetKind ()

Modified: trunk/olive/class/agclr/System.Windows.Media/VideoBrush.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/VideoBrush.cs  2007-06-13 
15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/VideoBrush.cs  2007-06-13 
15:58:40 UTC (rev 79443)
@@ -35,6 +35,7 @@
 
                public VideoBrush ()
                {
+                       native = NativeMethods.video_brush_new ();
                }
 
                public string SourceName {

Modified: trunk/olive/class/agclr/System.Windows.Media/VisualCollection.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/VisualCollection.cs    
2007-06-13 15:57:59 UTC (rev 79442)
+++ trunk/olive/class/agclr/System.Windows.Media/VisualCollection.cs    
2007-06-13 15:58:40 UTC (rev 79443)
@@ -38,6 +38,7 @@
                
                public VisualCollection ()
                {
+                       native = NativeMethods.visual_collection_new ();
                }
                
                protected internal override Kind GetKind ()

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

Reply via email to