Author: spouliot
Date: 2007-06-05 19:56:04 -0400 (Tue, 05 Jun 2007)
New Revision: 78692
Modified:
trunk/moon/plugin/ChangeLog
trunk/moon/plugin/moon-plugin.cpp
Log:
2007-06-05 Sebastien Pouliot <[EMAIL PROTECTED]>
* moon-plugin.cpp: Fix API change for Rectangle.
Modified: trunk/moon/plugin/ChangeLog
===================================================================
--- trunk/moon/plugin/ChangeLog 2007-06-05 23:48:46 UTC (rev 78691)
+++ trunk/moon/plugin/ChangeLog 2007-06-05 23:56:04 UTC (rev 78692)
@@ -1,3 +1,7 @@
+2007-06-05 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * moon-plugin.cpp: Fix API change for Rectangle.
+
2007-06-05 Everaldo Canuto <[EMAIL PROTECTED]>
* moon-plugin-glue.cpp: Splited in plugin-glue.cpp and plugin-entry.cpp.
Modified: trunk/moon/plugin/moon-plugin.cpp
===================================================================
--- trunk/moon/plugin/moon-plugin.cpp 2007-06-05 23:48:46 UTC (rev 78691)
+++ trunk/moon/plugin/moon-plugin.cpp 2007-06-05 23:56:04 UTC (rev 78692)
@@ -29,7 +29,9 @@
Rectangle *r;
- r = rectangle_new (50, 50, 100, 100);
+ r = rectangle_new (100, 100);
+ r->SetValue (Canvas::LeftProperty, Value (50.0));
+ r->SetValue (Canvas::TopProperty, Value (50.0));
Color c = Color (1.0, 0.0, 0.5, 0.5);
shape_set_stroke (r, new SolidColorBrush (c));
cairo_matrix_init_rotate (&trans, 0.4);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches