Author: rolf
Date: 2007-06-13 07:10:44 -0400 (Wed, 13 Jun 2007)
New Revision: 79396
Added:
trunk/olive/class/agclr/System.Windows.Media/ColorInterpolationMode.cs
Removed:
trunk/olive/class/agclr/System.Windows.Media/ColorInterpretationMode.cs
Modified:
trunk/olive/class/agclr/System.Windows.Media/ChangeLog
trunk/olive/class/agclr/System.Windows.Media/GradientBrush.cs
trunk/olive/class/agclr/System.Windows.Media/RadialGradientBrush.cs
Log:
* RadialGradientBrush.cs: Fix DependencyProperty.Lookup calls, I got
the parameters mixed up.
* ColorInterpolationMode.cs, GradientBrush.cs,
ColorInterpretationMode.cs: Fix typo (rename
ColorInterpretationMode to ColorInterpolationMode).
Modified: trunk/olive/class/agclr/System.Windows.Media/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/ChangeLog 2007-06-13
10:42:25 UTC (rev 79395)
+++ trunk/olive/class/agclr/System.Windows.Media/ChangeLog 2007-06-13
11:10:44 UTC (rev 79396)
@@ -1,3 +1,11 @@
+2007-06-13 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
+
+ * RadialGradientBrush.cs: Fix DependencyProperty.Lookup calls, I got
+ the parameters mixed up.
+ * ColorInterpolationMode.cs, GradientBrush.cs,
+ ColorInterpretationMode.cs: Fix typo (rename
+ ColorInterpretationMode to ColorInterpolationMode).
+
2007-06-12 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
* RadialGradientBrush.cs, TileBrush.cs, RectangleGeometry.cs,
Copied: trunk/olive/class/agclr/System.Windows.Media/ColorInterpolationMode.cs
(from rev 79395,
trunk/olive/class/agclr/System.Windows.Media/ColorInterpretationMode.cs)
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/ColorInterpretationMode.cs
2007-06-13 10:42:25 UTC (rev 79395)
+++ trunk/olive/class/agclr/System.Windows.Media/ColorInterpolationMode.cs
2007-06-13 11:10:44 UTC (rev 79396)
@@ -0,0 +1,35 @@
+//
+// System.Windows.Media.ColorInterpretationMode enum
+//
+// Authors:
+// Sebastien Pouliot <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// 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 {
+
+ public enum ColorInterpolationMode {
+ SbRgbLinearInterpolation,
+ SRgbLinearInterpolation
+ }
+}
Deleted: trunk/olive/class/agclr/System.Windows.Media/ColorInterpretationMode.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/ColorInterpretationMode.cs
2007-06-13 10:42:25 UTC (rev 79395)
+++ trunk/olive/class/agclr/System.Windows.Media/ColorInterpretationMode.cs
2007-06-13 11:10:44 UTC (rev 79396)
@@ -1,35 +0,0 @@
-//
-// System.Windows.Media.ColorInterpretationMode enum
-//
-// Authors:
-// Sebastien Pouliot <[EMAIL PROTECTED]>
-//
-// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
-//
-// 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 {
-
- public enum ColorInterpretationMode {
- SbRgbLinearInterpolation,
- SRgbLinearInterpolation
- }
-}
Modified: trunk/olive/class/agclr/System.Windows.Media/GradientBrush.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/GradientBrush.cs
2007-06-13 10:42:25 UTC (rev 79395)
+++ trunk/olive/class/agclr/System.Windows.Media/GradientBrush.cs
2007-06-13 11:10:44 UTC (rev 79396)
@@ -31,8 +31,8 @@
public class GradientBrush : Brush {
- public static readonly DependencyProperty
ColorInterpretationModeProperty =
- DependencyProperty.Lookup (Kind.GRADIENTBRUSH,
"ColorInterpretationMode", typeof (ColorInterpretationMode));
+ public static readonly DependencyProperty
ColorInterpolationModeProperty =
+ DependencyProperty.Lookup (Kind.GRADIENTBRUSH,
"ColorInterpolationMode", typeof (ColorInterpolationMode));
public static readonly DependencyProperty GradientStopsProperty
=
DependencyProperty.Lookup (Kind.GRADIENTBRUSH,
"GradientStops", typeof (GradientStopCollection));
public static readonly DependencyProperty MappingModeProperty =
@@ -46,9 +46,9 @@
}
- public ColorInterpretationMode ColorInterpretationMode {
- get { return (ColorInterpretationMode) GetValue
(ColorInterpretationModeProperty); }
- set { SetValue (ColorInterpretationModeProperty,
value); }
+ public ColorInterpolationMode ColorInterpolationMode {
+ get { return (ColorInterpolationMode) GetValue
(ColorInterpolationModeProperty); }
+ set { SetValue (ColorInterpolationModeProperty, value);
}
}
public GradientStopCollection GradientStops {
Modified: trunk/olive/class/agclr/System.Windows.Media/RadialGradientBrush.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Media/RadialGradientBrush.cs
2007-06-13 10:42:25 UTC (rev 79395)
+++ trunk/olive/class/agclr/System.Windows.Media/RadialGradientBrush.cs
2007-06-13 11:10:44 UTC (rev 79396)
@@ -31,10 +31,10 @@
public class RadialGradientBrush : GradientBrush {
- 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 static readonly DependencyProperty CenterProperty =
DependencyProperty.Lookup (Kind.RADIALGRADIENTBRUSH, "Center", typeof (Point));
+ public static readonly DependencyProperty
GradientOriginProperty = DependencyProperty.Lookup (Kind.RADIALGRADIENTBRUSH,
"GradientOrigin", typeof (Point));
+ public static readonly DependencyProperty RadiusXProperty =
DependencyProperty.Lookup (Kind.RADIALGRADIENTBRUSH, "RadiusX", typeof
(double));
+ public static readonly DependencyProperty RadiusYProperty =
DependencyProperty.Lookup (Kind.RADIALGRADIENTBRUSH, "RadiusY", typeof
(double));
public RadialGradientBrush ()
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches