diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-07-12 08:45:51 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-07-12 08:45:51 +0200 |
| commit | 5c91d515f8e05171ff94323c49831f080a11adec (patch) | |
| tree | 524bdc58416c40c4bf007988dade3b051010771a /Samples/DebugLogAnalyzer/src/DebugInterface.cs | |
| parent | 5c30903a5f07342b1c2741240ff8dd173c1c641f (diff) | |
replace FastEnum with Enums.NET for flags handling, Bubbling event as Flag, requiredLayouting, MAXLAYOUTINGTRY=>30
Diffstat (limited to 'Samples/DebugLogAnalyzer/src/DebugInterface.cs')
| -rw-r--r-- | Samples/DebugLogAnalyzer/src/DebugInterface.cs | 10 |
1 files changed, 6 insertions, 4 deletions
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 +} |