From: jp Date: Fri, 1 Apr 2016 09:13:09 +0000 (+0200) Subject: add IBindable interface to base GraphicObject X-Git-Tag: v0.4~71^2~3 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=46214325e9cb0bc1914db95301555d60a536944c;p=jp%2Fcrow.git add IBindable interface to base GraphicObject --- 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();