From 46214325e9cb0bc1914db95301555d60a536944c Mon Sep 17 00:00:00 2001 From: jp Date: Fri, 1 Apr 2016 11:13:09 +0200 Subject: [PATCH] add IBindable interface to base GraphicObject --- src/GraphicObjects/GraphicObject.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index c526e909..a6ed7807 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -12,14 +12,22 @@ using System.IO; namespace Crow { - public class GraphicObject : IXmlSerializable, ILayoutable, IValueChange, ICloneable + public class GraphicObject : IXmlSerializable, ILayoutable, IValueChange, ICloneable, IBindable { + #region IBindable implementation + List bindings = new List (); + public List Bindings { + get { return bindings; } + } + + #endregion + #if DEBUG_LAYOUTING internal static ulong currentUid = 0; internal ulong uid = 0; #endif - internal List Bindings = new List (); + internal int layoutingTries = 0; Rectangles clipping = new Rectangles(); -- 2.47.3