]> O.S.I.I.S - jp/crow.git/commitdiff
mouse move debug + load all assemblies in bin dir
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 16 Feb 2018 11:45:26 +0000 (12:45 +0100)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 16 Feb 2018 11:45:26 +0000 (12:45 +0100)
src/Interface.cs

index 0393fbc8cd320595fa70f536d9f3f162f6ef899e..b044e132f42f71b83d50ab8343153e2163e6ac63 100644 (file)
@@ -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;
                                        }
                                }