Author: alanmc
Date: 2007-06-25 15:11:40 -0400 (Mon, 25 Jun 2007)
New Revision: 80719

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/runtime.cpp
   trunk/moon/src/runtime.h
Log:
Added the ZIndex property

Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-06-25 19:06:37 UTC (rev 80718)
+++ trunk/moon/src/ChangeLog    2007-06-25 19:11:40 UTC (rev 80719)
@@ -1,3 +1,7 @@
+2007-06-24  Alan McGovern  <[EMAIL PROTECTED]>
+
+       * runtime.(cpp|h): Implemented UIElement.ZIndexPropery
+
 2007-06-24  Larry Ewing  <[EMAIL PROTECTED]>
 
        * runtime.cpp: rework size allocation and make toplevel Canvas

Modified: trunk/moon/src/runtime.cpp
===================================================================
--- trunk/moon/src/runtime.cpp  2007-06-25 19:06:37 UTC (rev 80718)
+++ trunk/moon/src/runtime.cpp  2007-06-25 19:11:40 UTC (rev 80719)
@@ -2365,6 +2365,7 @@
 DependencyProperty* UIElement::IsHitTestVisibleProperty;
 DependencyProperty* UIElement::VisibilityProperty;
 DependencyProperty* UIElement::ResourcesProperty;
+DependencyProperty* UIElement::ZIndexProperty;
 
 
 void
@@ -2380,6 +2381,7 @@
        UIElement::IsHitTestVisibleProperty = DependencyObject::Register 
(Type::UIELEMENT, "IsHitTestVisible", Type::BOOL);
        UIElement::VisibilityProperty = DependencyObject::Register 
(Type::UIELEMENT, "Visibility", new Value ((gint32)VisibilityVisible));
        UIElement::ResourcesProperty = DependencyObject::Register 
(Type::UIELEMENT, "Resources", Type::RESOURCE_COLLECTION);
+       UIElement::ZIndexProperty = DependencyObject::Register 
(Type::UIELEMENT, "ZIndex", new Value(0));
 }
 
 //

Modified: trunk/moon/src/runtime.h
===================================================================
--- trunk/moon/src/runtime.h    2007-06-25 19:06:37 UTC (rev 80718)
+++ trunk/moon/src/runtime.h    2007-06-25 19:11:40 UTC (rev 80719)
@@ -586,6 +586,7 @@
        static DependencyProperty* VisibilityProperty;
        static DependencyProperty* ResourcesProperty;
        static DependencyProperty* TriggersProperty;
+       static DependencyProperty* ZIndexProperty;
 };
 
 Surface *item_get_surface          (UIElement *item);

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

Reply via email to