aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/GraphicObject.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-09 13:56:33 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-09 13:56:33 +0200
commit09069c1f3cd033c93fe2a5dbd97134155e35d877 (patch)
tree6a1c42117f111a86c44bf4e98002bc08f63b320d /src/GraphicObjects/GraphicObject.cs
parent04c3deb931dfe039bf0a8f8665f6538f09f5508a (diff)
binding emiting in Instanciator
modifié : src/CompilerServices/CompilerServices.cs remove CurrentInterface property for now from GraphicObject, some parentings are failing modifié : src/GraphicObjects/GraphicObject.cs
Diffstat (limited to 'src/GraphicObjects/GraphicObject.cs')
-rw-r--r--src/GraphicObjects/GraphicObject.cs26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs
index 94e3f5e7..88166fe6 100644
--- a/src/GraphicObjects/GraphicObject.cs
+++ b/src/GraphicObjects/GraphicObject.cs
@@ -666,7 +666,7 @@ namespace Crow
if (Width == Measure.Fit || Height == Measure.Fit)
RegisterForLayouting (LayoutingType.Sizing);
else if (RegisteredLayoutings == LayoutingType.None)
- CurrentInterface.EnqueueForRepaint (this);
+ Interface.CurrentInterface.EnqueueForRepaint (this);
}
/// <summary> query an update of the content, a redraw </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
@@ -674,19 +674,19 @@ namespace Crow
{
bmp = null;
if (RegisteredLayoutings == LayoutingType.None)
- CurrentInterface.EnqueueForRepaint (this);
- }
- public Interface CurrentInterface {
- get {
- ILayoutable tmp = this.Parent;
- while (tmp != null) {
- if (tmp is Interface)
- return tmp as Interface;
- tmp = tmp.Parent;
- }
- return null;
- }
+ Interface.CurrentInterface.EnqueueForRepaint (this);
}
+// public Interface CurrentInterface {
+// get {
+// ILayoutable tmp = this.Parent;
+// while (tmp != null) {
+// if (tmp is Interface)
+// return tmp as Interface;
+// tmp = tmp.Parent;
+// }
+// return null;
+// }
+// }
#region Layouting