From 5c91d515f8e05171ff94323c49831f080a11adec Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Mon, 12 Jul 2021 08:45:51 +0200 Subject: replace FastEnum with Enums.NET for flags handling, Bubbling event as Flag, requiredLayouting, MAXLAYOUTINGTRY=>30 --- Samples/DebugLogAnalyzer/src/DebugInterface.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Samples/DebugLogAnalyzer/src/DebugInterface.cs') diff --git a/Samples/DebugLogAnalyzer/src/DebugInterface.cs b/Samples/DebugLogAnalyzer/src/DebugInterface.cs index a9cd51f1..a15b63aa 100644 --- a/Samples/DebugLogAnalyzer/src/DebugInterface.cs +++ b/Samples/DebugLogAnalyzer/src/DebugInterface.cs @@ -70,8 +70,10 @@ namespace Crow Thread.Sleep(1000); } - if (IsDirty) - delRegisterForRepaint(); + if (IsDirty) { + delRegisterForRepaint(); + //Console.WriteLine ("[DbgIFace]RegisterForRepaint"); + } Thread.Sleep (UPDATE_INTERVAL); } @@ -131,8 +133,8 @@ namespace Crow } public override void ForceMousePosition() { - Point p = (Point)delGetScreenCoordinate(); + Point p = Point.Parse(delGetScreenCoordinate().ToString()); Glfw.Glfw3.SetCursorPosition (WindowHandle, p.X + MousePosition.X, p.Y + MousePosition.Y); } } -} \ No newline at end of file +} -- cgit v1.3.1-4-g156e