Author: rolf
Date: 2007-06-12 13:32:03 -0400 (Tue, 12 Jun 2007)
New Revision: 79319

Modified:
   trunk/olive/class/agclr/System.Windows.Media/ChangeLog
   trunk/olive/class/agclr/System.Windows.Media/MediaAttribute.cs
   trunk/olive/class/agclr/System.Windows.Media/RadialGradientBrush.cs
   trunk/olive/class/agclr/System.Windows.Media/RectangleGeometry.cs
   trunk/olive/class/agclr/System.Windows.Media/SkewTransform.cs
   trunk/olive/class/agclr/System.Windows.Media/TileBrush.cs
Log:
* RadialGradientBrush.cs, TileBrush.cs, RectangleGeometry.cs,
  MediaAttribute.cs, SkewTransform.cs: Move from
  DependencyProperty.Register to DependencyProperty.Lookup.

Modified: trunk/olive/class/agclr/System.Windows.Media/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/ChangeLog      2007-06-12 
17:29:16 UTC (rev 79318)
+++ trunk/olive/class/agclr/System.Windows.Media/ChangeLog      2007-06-12 
17:32:03 UTC (rev 79319)
@@ -1,3 +1,9 @@
+2007-06-12  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * RadialGradientBrush.cs, TileBrush.cs, RectangleGeometry.cs,
+         MediaAttribute.cs, SkewTransform.cs: Move from
+         DependencyProperty.Register to DependencyProperty.Lookup.
+
 2007-06-05  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * Color.cs: Complete, needs testing (and maybe change to use 4 float

Modified: trunk/olive/class/agclr/System.Windows.Media/MediaAttribute.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/MediaAttribute.cs      
2007-06-12 17:29:16 UTC (rev 79318)
+++ trunk/olive/class/agclr/System.Windows.Media/MediaAttribute.cs      
2007-06-12 17:32:03 UTC (rev 79319)
@@ -25,12 +25,13 @@
 // 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 Mono;
 
 namespace System.Windows.Media {
 
        public class MediaAttribute : DependencyObject {
 
-               public static readonly DependencyProperty ValueProperty = 
DependencyProperty.Register ("Value", typeof (string), typeof (MediaAttribute));
+               public static readonly DependencyProperty ValueProperty = 
DependencyProperty.Lookup (Kind.STRING, "Value", typeof (MediaAttribute));
 
                public MediaAttribute ()
                {

Modified: trunk/olive/class/agclr/System.Windows.Media/RadialGradientBrush.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/RadialGradientBrush.cs 
2007-06-12 17:29:16 UTC (rev 79318)
+++ trunk/olive/class/agclr/System.Windows.Media/RadialGradientBrush.cs 
2007-06-12 17:32:03 UTC (rev 79319)
@@ -25,15 +25,16 @@
 // 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 Mono;
 
 namespace System.Windows.Media {
 
        public class RadialGradientBrush : GradientBrush {
 
-               public static readonly DependencyProperty CenterProperty = 
DependencyProperty.Register ("Center", typeof (Point), typeof 
(RadialGradientBrush));
-               public static readonly DependencyProperty 
GradientOriginProperty = DependencyProperty.Register ("GradientOrigin", typeof 
(Point), typeof (RadialGradientBrush));
-               public static readonly DependencyProperty RadiusXProperty = 
DependencyProperty.Register ("RadiusX", typeof (Point), typeof 
(RadialGradientBrush));
-               public static readonly DependencyProperty RadiusYProperty = 
DependencyProperty.Register ("RadiusY", typeof (Point), typeof 
(RadialGradientBrush));
+               public static readonly DependencyProperty CenterProperty = 
DependencyProperty.Lookup (Kind.POINT, "Center", typeof (RadialGradientBrush));
+               public static readonly DependencyProperty 
GradientOriginProperty = DependencyProperty.Lookup (Kind.POINT, 
"GradientOrigin", typeof (RadialGradientBrush));
+               public static readonly DependencyProperty RadiusXProperty = 
DependencyProperty.Lookup (Kind.POINT, "RadiusX", typeof (RadialGradientBrush));
+               public static readonly DependencyProperty RadiusYProperty = 
DependencyProperty.Lookup (Kind.POINT, "RadiusY", typeof (RadialGradientBrush));
 
 
                public RadialGradientBrush ()

Modified: trunk/olive/class/agclr/System.Windows.Media/RectangleGeometry.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/RectangleGeometry.cs   
2007-06-12 17:29:16 UTC (rev 79318)
+++ trunk/olive/class/agclr/System.Windows.Media/RectangleGeometry.cs   
2007-06-12 17:32:03 UTC (rev 79319)
@@ -25,14 +25,15 @@
 // 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 Mono;
 
 namespace System.Windows.Media {
 
        public class RectangleGeometry : Geometry {
 
-               public static readonly DependencyProperty RadiusXProperty = 
DependencyProperty.Register ("RadiusX", typeof (double), typeof 
(RectangleGeometry));
-               public static readonly DependencyProperty RadiusYProperty = 
DependencyProperty.Register ("RadiusY", typeof (double), typeof 
(RectangleGeometry));
-               public static readonly DependencyProperty RectProperty = 
DependencyProperty.Register ("Rect", typeof (Rect), typeof (RectangleGeometry));
+               public static readonly DependencyProperty RadiusXProperty = 
DependencyProperty.Lookup (Kind.DOUBLE, "RadiusX", typeof (RectangleGeometry));
+               public static readonly DependencyProperty RadiusYProperty = 
DependencyProperty.Lookup (Kind.DOUBLE, "RadiusY", typeof (RectangleGeometry));
+               public static readonly DependencyProperty RectProperty = 
DependencyProperty.Lookup (Kind.RECT, "Rect", typeof (RectangleGeometry));
 
                public RectangleGeometry ()
                {

Modified: trunk/olive/class/agclr/System.Windows.Media/SkewTransform.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/SkewTransform.cs       
2007-06-12 17:29:16 UTC (rev 79318)
+++ trunk/olive/class/agclr/System.Windows.Media/SkewTransform.cs       
2007-06-12 17:32:03 UTC (rev 79319)
@@ -25,15 +25,16 @@
 // 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 Mono;
 
 namespace System.Windows.Media {
 
        public class SkewTransform : Transform {
 
-               public static readonly DependencyProperty AngleXProperty = 
DependencyProperty.Register ("AngleX", typeof (double), typeof (SkewTransform));
-               public static readonly DependencyProperty AngleYProperty = 
DependencyProperty.Register ("AngleY", typeof (double), typeof (SkewTransform));
-               public static readonly DependencyProperty CenterXProperty = 
DependencyProperty.Register ("CenterX", typeof (double), typeof 
(SkewTransform));
-               public static readonly DependencyProperty CenterYProperty = 
DependencyProperty.Register ("CenterY", typeof (double), typeof 
(SkewTransform));
+               public static readonly DependencyProperty AngleXProperty = 
DependencyProperty.Lookup (Kind.DOUBLE, "AngleX", typeof (SkewTransform));
+               public static readonly DependencyProperty AngleYProperty = 
DependencyProperty.Lookup (Kind.DOUBLE, "AngleY", typeof (SkewTransform));
+               public static readonly DependencyProperty CenterXProperty = 
DependencyProperty.Lookup (Kind.DOUBLE, "CenterX", typeof (SkewTransform));
+               public static readonly DependencyProperty CenterYProperty = 
DependencyProperty.Lookup (Kind.DOUBLE, "CenterY", typeof (SkewTransform));
 
 
                public SkewTransform ()

Modified: trunk/olive/class/agclr/System.Windows.Media/TileBrush.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/TileBrush.cs   2007-06-12 
17:29:16 UTC (rev 79318)
+++ trunk/olive/class/agclr/System.Windows.Media/TileBrush.cs   2007-06-12 
17:32:03 UTC (rev 79319)
@@ -25,14 +25,15 @@
 // 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 Mono;
 
 namespace System.Windows.Media {
 
        public class TileBrush : Brush {
 
-               public static readonly DependencyProperty AlignmentXProperty = 
DependencyProperty.Register ("AlignmentX", typeof (double), typeof (TileBrush));
-               public static readonly DependencyProperty AlignmentYProperty = 
DependencyProperty.Register ("AlignmentY", typeof (double), typeof (TileBrush));
-               public static readonly DependencyProperty StretchProperty = 
DependencyProperty.Register ("Stretch", typeof (Stretch), typeof (TileBrush));
+               public static readonly DependencyProperty AlignmentXProperty = 
DependencyProperty.Lookup (Kind.DOUBLE, "AlignmentX", typeof (TileBrush));
+               public static readonly DependencyProperty AlignmentYProperty = 
DependencyProperty.Lookup (Kind.DOUBLE, "AlignmentY", typeof (TileBrush));
+               public static readonly DependencyProperty StretchProperty = 
DependencyProperty.Lookup (Kind.INT32, "Stretch", typeof (TileBrush));
 
 
                public TileBrush ()

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

Reply via email to