aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-11-04 08:56:28 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-11-05 09:16:31 +0100
commit3b6b63a38796fc2d14cfebeb9b10ca159c2cbccf (patch)
tree889991e0818a95b859e8602bd639f756d2e8aa42 /src/Interface.cs
parent398b399174b0863ca8aee792cd6b42dd3dd27bb3 (diff)
remove old ResolveBinding call, remove IBindable, DataSourceChanged event
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index 1659c0ea..941b96f9 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -312,10 +312,10 @@ namespace Crow
if (_focusedWidget == value)
return;
if (_focusedWidget != null)
- _focusedWidget.onUnfocused (this, null);
+ _focusedWidget.HasFocus = false;
_focusedWidget = value;
if (_focusedWidget != null)
- _focusedWidget.onFocused (this, null);
+ _focusedWidget.HasFocus = true;
}
}
#endregion
@@ -499,7 +499,6 @@ namespace Crow
public void DeleteWidget(GraphicObject g)
{
g.Visible = false;//trick to ensure clip is added to refresh zone
- g.ClearBinding();
GraphicTree.Remove (g);
}
public void PutOnTop(GraphicObject g)
@@ -520,7 +519,6 @@ namespace Crow
//to ObjectToRedraw list, and without parent, it fails
GraphicObject g = GraphicTree [i];
g.Visible = false;
- g.ClearBinding ();
GraphicTree.RemoveAt (0);
}
#if DEBUG_LAYOUTING