Author: jackson
Date: 2007-06-06 18:37:45 -0400 (Wed, 06 Jun 2007)
New Revision: 78790
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/runtime.h
trunk/moon/src/shape.cpp
Log:
* animation.cpp|h:
* runtime.h: Staring to add triggers
* shape.cpp: Use brush as our property kind
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2007-06-06 22:05:09 UTC (rev 78789)
+++ trunk/moon/src/ChangeLog 2007-06-06 22:37:45 UTC (rev 78790)
@@ -1,3 +1,9 @@
+2007-06-06 Jackson Harper <[EMAIL PROTECTED]>
+
+ * animation.cpp|h:
+ * runtime.h: Staring to add triggers
+ * shape.cpp: Use brush as our property kind
+
2007-06-06 Sebastien Pouliot <[EMAIL PROTECTED]>
* runtime.h: Add new types and SweepDirection enum.
Modified: trunk/moon/src/runtime.h
===================================================================
--- trunk/moon/src/runtime.h 2007-06-06 22:05:09 UTC (rev 78789)
+++ trunk/moon/src/runtime.h 2007-06-06 22:37:45 UTC (rev 78790)
@@ -198,7 +198,9 @@
LINESEGMENT,
POLYBEZIERSEGMENT,
POLYQUADRATICBEZIERSEGMENT,
- QUADRATICBEZIERSEGMENT
+ QUADRATICBEZIERSEGMENT,
+ TRIGGERACTION,
+ BEGINSTORYBOARD,
};
Kind k;
@@ -490,6 +492,18 @@
SweepDirectionClockwise
};
+
+class TriggerAction : public DependencyObject {
+
+ public:
+ TriggerAction ()
+ {
+ SetObjectType (Value::TRIGGERACTION);
+ }
+};
+
+
+
//
// Item class
//
Modified: trunk/moon/src/shape.cpp
===================================================================
--- trunk/moon/src/shape.cpp 2007-06-06 22:05:09 UTC (rev 78789)
+++ trunk/moon/src/shape.cpp 2007-06-06 22:37:45 UTC (rev 78790)
@@ -624,9 +624,9 @@
shape_init ()
{
/* Shape fields */
- Shape::FillProperty = DependencyObject::Register (Value::SHAPE, "Fill",
Value::DEPENDENCY_OBJECT);
+ Shape::FillProperty = DependencyObject::Register (Value::SHAPE, "Fill",
Value::BRUSH);
Shape::StretchProperty = DependencyObject::Register (Value::SHAPE,
"Stretch", new Value (StretchFill));
- Shape::StrokeProperty = DependencyObject::Register (Value::SHAPE,
"Stroke", Value::DEPENDENCY_OBJECT);
+ Shape::StrokeProperty = DependencyObject::Register (Value::SHAPE,
"Stroke", Value::BRUSH);
Shape::StrokeDashArrayProperty = DependencyObject::Register
(Value::SHAPE, "StrokeDashArray", new Value ());
Shape::StrokeDashCapProperty = DependencyObject::Register
(Value::SHAPE, "StrokeDashCap", new Value (PenLineCapFlat));
Shape::StrokeDashOffsetProperty = DependencyObject::Register
(Value::SHAPE, "StrokeDashOffset", new Value (0.0));
@@ -655,5 +655,5 @@
Polyline::PointsProperty = DependencyObject::Register (Value::POLYLINE,
"Points", new Value ());
/* Path fields */
- Path::DataProperty = DependencyObject::Register (Value::PATH, "Data",
Value::DEPENDENCY_OBJECT);
+ Path::DataProperty = DependencyObject::Register (Value::PATH, "Data",
Value::GEOMETRY);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches