From f30bf0d4cc96f160b29a89216326030f083ee509 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Sat, 24 Nov 2018 13:09:19 +0100 Subject: [PATCH] debug log view --- Tests/BasicTests.cs | 2 +- Tests/test.style | 4 +- Tests/ui/dbgLog.crow | 2 +- src/GraphicObjects/GraphicObject.cs | 21 +++++-- src/GraphicObjects/ScrollingObject.cs | 2 +- src/debug/DbgLogViewer.cs | 79 +++++++++++++++++++++++---- 6 files changed, 89 insertions(+), 21 deletions(-) diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs index 732edbc3..4f9fd128 100644 --- a/Tests/BasicTests.cs +++ b/Tests/BasicTests.cs @@ -24,7 +24,7 @@ namespace tests //app.AddWidget (@"Interfaces/Divers/colorPicker.crow").DataSource = app; //app.AddWidget ("Interfaces/Divers/perfMeasures.crow").DataSource = app; app.AddWidget ("#Tests.ui.dbgLog.crow").DataSource = app; - + while (true) { #if MEASURE_TIME foreach (PerformanceMeasure m in app.PerfMeasures) diff --git a/Tests/test.style b/Tests/test.style index 434f8042..14acbbdf 100644 --- a/Tests/test.style +++ b/Tests/test.style @@ -33,8 +33,8 @@ labPerfVal{ Width = "50%"; } DbgLogViewer{ - Background = "WhiteSmoke"; + Background = "Onyx"; Font = "mono, 8"; - Foreground = "Jet"; + Foreground = "LightGrey"; Focusable = "true"; } diff --git a/Tests/ui/dbgLog.crow b/Tests/ui/dbgLog.crow index 09cc2eb2..d0735082 100755 --- a/Tests/ui/dbgLog.crow +++ b/Tests/ui/dbgLog.crow @@ -7,7 +7,7 @@