From: Jean-Philippe Bruyère Date: Thu, 16 Feb 2017 14:13:53 +0000 (+0100) Subject: rename out of crow perif event handler funcs X-Git-Tag: v0.5.1~11 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=a249394a4dd7abb819e8fa333073b9f1e6b5fb1f;p=jp%2Fcrow.git rename out of crow perif event handler funcs --- diff --git a/Tests/CrowWindow.cs b/Tests/CrowWindow.cs index 997ef002..09662b07 100644 --- a/Tests/CrowWindow.cs +++ b/Tests/CrowWindow.cs @@ -221,10 +221,10 @@ namespace Crow this.KeyPress += new EventHandler(OpenTKGameWindow_KeyPress); Keyboard.KeyDown += new EventHandler(Keyboard_KeyDown); Keyboard.KeyUp += new EventHandler(Keyboard_KeyUp); - Mouse.WheelChanged += new EventHandler(Mouse_WheelChanged); - Mouse.ButtonDown += new EventHandler(Mouse_ButtonDown); - Mouse.ButtonUp += new EventHandler(Mouse_ButtonUp); - Mouse.Move += new EventHandler(Mouse_Move); + Mouse.WheelChanged += new EventHandler(GL_Mouse_WheelChanged); + Mouse.ButtonDown += new EventHandler(GL_Mouse_ButtonDown); + Mouse.ButtonUp += new EventHandler(GL_Mouse_ButtonUp); + Mouse.Move += new EventHandler(GL_Mouse_Move); #if DEBUG Console.WriteLine("\n\n*************************************"); @@ -291,7 +291,7 @@ namespace Crow e.EnableBit (i); } } - protected virtual void Mouse_Move(object sender, OpenTK.Input.MouseMoveEventArgs otk_e) + protected virtual void GL_Mouse_Move(object sender, OpenTK.Input.MouseMoveEventArgs otk_e) { if (activeIdx == -2) { focusedIdx = -1; @@ -308,7 +308,7 @@ namespace Crow if (focusedIdx < 0) MouseMove.Raise (sender, otk_e); } - protected virtual void Mouse_ButtonUp(object sender, OpenTK.Input.MouseButtonEventArgs otk_e) + protected virtual void GL_Mouse_ButtonUp(object sender, OpenTK.Input.MouseButtonEventArgs otk_e) { activeIdx = -2; if (focusedIdx >= 0) { @@ -317,7 +317,7 @@ namespace Crow } MouseButtonUp.Raise (sender, otk_e); } - protected virtual void Mouse_ButtonDown(object sender, OpenTK.Input.MouseButtonEventArgs otk_e) + protected virtual void GL_Mouse_ButtonDown(object sender, OpenTK.Input.MouseButtonEventArgs otk_e) { activeIdx = focusedIdx; if (focusedIdx >= 0) { @@ -326,7 +326,7 @@ namespace Crow } MouseButtonDown.Raise (sender, otk_e); } - protected virtual void Mouse_WheelChanged(object sender, OpenTK.Input.MouseWheelEventArgs otk_e) + protected virtual void GL_Mouse_WheelChanged(object sender, OpenTK.Input.MouseWheelEventArgs otk_e) { if (focusedIdx >= 0) { if (ifaceControl [focusedIdx].ProcessMouseWheelChanged (otk_e.DeltaPrecise)) diff --git a/src/GraphicObjects/TemplatedGroup.cs b/src/GraphicObjects/TemplatedGroup.cs index dbc7876c..11ff7df5 100644 --- a/src/GraphicObjects/TemplatedGroup.cs +++ b/src/GraphicObjects/TemplatedGroup.cs @@ -171,7 +171,7 @@ namespace Crow } } - [XmlAttributeAttribute][DefaultValue("SteelBlue")]//DeepJungleGreen + [XmlAttributeAttribute][DefaultValue("SteelBlue")] public virtual Color SelectionBackground { get { return selBackground; } set {