From 582948e8d254d9553b96d31102566fb59e0798de Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Fri, 16 Feb 2018 12:45:26 +0100 Subject: [PATCH] mouse move debug + load all assemblies in bin dir --- src/Interface.cs | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/Interface.cs b/src/Interface.cs index 0393fbc8..b044e132 100644 --- a/src/Interface.cs +++ b/src/Interface.cs @@ -76,13 +76,13 @@ namespace Crow Directory.CreateDirectory (CrowConfigRoot); //ensure all assemblies are loaded, because IML could contains classes not instanciated in source -// foreach (string af in Directory.GetFiles (AppDomain.CurrentDomain.BaseDirectory, "*.dll")){ -// try { -// Assembly.LoadFrom (af); -// } catch (Exception ex) { -// Console.WriteLine ("{0} not loaded as assembly.", af); -// } -// } + foreach (string af in Directory.GetFiles (AppDomain.CurrentDomain.BaseDirectory, "*.dll")){ + try { + Assembly.LoadFrom (af); + } catch (Exception ex) { + Console.WriteLine ("{0} not loaded as assembly.", af); + } + } loadCursors (); findAvailableTemplates (); @@ -830,6 +830,7 @@ namespace Crow } GraphicTree [i].checkHoverWidget (e); + HoverWidget.onMouseMove (this, e); return true; } } @@ -839,6 +840,7 @@ namespace Crow if (HoverWidget.MouseIsIn (e.Position)) { HoverWidget.checkHoverWidget (e); + HoverWidget.onMouseMove (this, e); return true; } else { HoverWidget.onMouseLeave (HoverWidget, e); @@ -847,6 +849,7 @@ namespace Crow HoverWidget = HoverWidget.LogicalParent as GraphicObject; if (HoverWidget.MouseIsIn (e.Position)) { HoverWidget.checkHoverWidget (e); + HoverWidget.onMouseMove (this, e); return true; } else HoverWidget.onMouseLeave (HoverWidget, e); @@ -862,6 +865,7 @@ namespace Crow g.checkHoverWidget (e); if (g is Window) PutOnTop (g); + HoverWidget.onMouseMove (this, e); return true; } } -- 2.47.3