diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2017-03-21 13:48:50 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2017-03-21 13:48:50 +0100 |
| commit | 280ee7ff8429342575b47eff4ab88872399047d3 (patch) | |
| tree | 8733c3b9be774be6b8f3a667d626d70832c6134e /src/GraphicObjects/Group.cs | |
| parent | 6b96a03d1ac087cbd8c0d7c69699770adf143245 (diff) | |
Simplify z ordering of root objects in GraphicTree
modifié : src/GraphicObjects/Group.cs
modifié : src/GraphicObjects/Window.cs
modifié : src/Interface.cs
Diffstat (limited to 'src/GraphicObjects/Group.cs')
| -rw-r--r-- | src/GraphicObjects/Group.cs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/GraphicObjects/Group.cs b/src/GraphicObjects/Group.cs index d00449cb..d4b5b62e 100644 --- a/src/GraphicObjects/Group.cs +++ b/src/GraphicObjects/Group.cs @@ -102,26 +102,26 @@ namespace Crow ChildrenCleared.Raise (this, new EventArgs ()); } - public void putWidgetOnTop(GraphicObject w) - { - if (Children.Contains(w)) - { - lock (children) { - Children.Remove (w); - Children.Add (w); - } - } - } - public void putWidgetOnBottom(GraphicObject w) - { - if (Children.Contains(w)) - { - lock (children) { - Children.Remove (w); - Children.Insert (0, w); - } - } - } +// public void putWidgetOnTop(GraphicObject w) +// { +// if (Children.Contains(w)) +// { +// lock (children) { +// Children.Remove (w); +// Children.Add (w); +// } +// } +// } +// public void putWidgetOnBottom(GraphicObject w) +// { +// if (Children.Contains(w)) +// { +// lock (children) { +// Children.Remove (w); +// Children.Insert (0, w); +// } +// } +// } #region GraphicObject overrides public override void OnDataSourceChanged (object sender, DataSourceChangeEventArgs e) |