aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-06-01 11:59:40 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-06-01 11:59:40 +0200
commitea79505023918d26b679e523fd4c17bead567430 (patch)
treead48f07198fdb0d6653cd364c3d4045c648bd190 /src/GraphicObjects
parentc02ea44eb9010aee1f03fba4342730f338598356 (diff)
split CompilerServices objects in separate files, uid for GO even while not debugging
Diffstat (limited to 'src/GraphicObjects')
-rw-r--r--src/GraphicObjects/GraphicObject.cs4
-rw-r--r--src/GraphicObjects/IBindable.cs1
2 files changed, 1 insertions, 4 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs
index 6175b2d8..75fe4b63 100644
--- a/src/GraphicObjects/GraphicObject.cs
+++ b/src/GraphicObjects/GraphicObject.cs
@@ -22,10 +22,8 @@ namespace Crow
#endregion
- #if DEBUG_LAYOUTING
internal static ulong currentUid = 0;
internal ulong uid = 0;
- #endif
internal int layoutingTries = 0;
@@ -44,10 +42,8 @@ namespace Crow
#region CTOR
public GraphicObject ()
{
- #if DEBUG_LAYOUTING
uid = currentUid;
currentUid++;
- #endif
if (Interface.XmlSerializerInit)
return;
diff --git a/src/GraphicObjects/IBindable.cs b/src/GraphicObjects/IBindable.cs
index 642c1e9e..45ff5864 100644
--- a/src/GraphicObjects/IBindable.cs
+++ b/src/GraphicObjects/IBindable.cs
@@ -26,6 +26,7 @@ namespace Crow
public interface IBindable
{
List<Binding> Bindings { get; }
+ object DataSource { get; set; }
}
}