aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogAnalyzer/src
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/DebugLogAnalyzer/src')
-rw-r--r--Samples/DebugLogAnalyzer/src/DebugInterface.cs10
-rw-r--r--Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs2
2 files changed, 7 insertions, 5 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
+}
diff --git a/Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs b/Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs
index a1bb8156..3ba9faaa 100644
--- a/Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs
+++ b/Samples/DebugLogAnalyzer/src/DebugInterfaceWidget.cs
@@ -375,7 +375,7 @@ namespace Crow
}
protected override void UpdateCache(Context ctx)
{
- if (initialized && bmp != null) {
+ if (initialized && bmp != null) {
paintCache (ctx, Slot + Parent.ClientRectangle.Position);
delResetDirtyState ();
}