diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-16 00:56:51 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-16 00:56:51 +0100 |
| commit | cf6379f7da9bf68750c5791d43cd26f2cdfa49e9 (patch) | |
| tree | bbb17446935e6055efaf752c68eee322eee38d10 /src/GraphicObjects/TabView.cs | |
| parent | cdded3a2d75280dbcb016ad83992b9b3b65b4e6b (diff) | |
code clean
Diffstat (limited to 'src/GraphicObjects/TabView.cs')
| -rw-r--r-- | src/GraphicObjects/TabView.cs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/GraphicObjects/TabView.cs b/src/GraphicObjects/TabView.cs index 15731b2f..3e90d35c 100644 --- a/src/GraphicObjects/TabView.cs +++ b/src/GraphicObjects/TabView.cs @@ -79,7 +79,6 @@ namespace Crow (Children [selectedTab] as TabItem).IsSelected = true; NotifyValueChanged ("SelectedTab", selectedTab); - Debug.WriteLine ("selected tab: " + (selectedTab + 1).ToString ()); registerForGraphicUpdate (); } } @@ -175,15 +174,12 @@ namespace Crow #region Mouse handling public override void checkHoverWidget (MouseMoveEventArgs e) { - Debug.WriteLine ("TabView check Hover"); - if (HostContainer.hoverWidget != this) { HostContainer.hoverWidget = this; onMouseEnter (this, e); } if (((Children[SelectedTab] as TabItem).Content.Parent as GraphicObject).MouseIsIn(e.Position)) { - Debug.WriteLine ("Mouse is in selected tab: {0}", selectedTab + 1); Children[SelectedTab].checkHoverWidget (e); return; } @@ -191,19 +187,12 @@ namespace Crow TabItem ti = Children [i] as TabItem; if (ti.TabTitle.MouseIsIn(e.Position)) { - Debug.WriteLine ("Mouse is in tab title: {0}", i + 1); Children[i].checkHoverWidget (e); return; } } } #endregion - - void TabTitleLayoutChanged (object sender, LayoutingEventArgs e) - { - - } - void Ti_MouseDown (object sender, OpenTK.Input.MouseButtonEventArgs e) { SelectedTab = Children.IndexOf (sender as GraphicObject); |