# HG changeset patch # User StephaneLenclud # Date 1366207052 -7200 # Node ID f43bab5fc81ebced77136a3cf8610ca2853f02fd # Parent 06369ace500d3544c8f351f602d301f6cc75a877 Now displaying sensor node background in green if FrontView enabled. diff -r 06369ace500d -r f43bab5fc81e GUI/MainForm.cs --- a/GUI/MainForm.cs Sun Apr 14 22:38:41 2013 +0200 +++ b/GUI/MainForm.cs Wed Apr 17 15:57:32 2013 +0200 @@ -492,7 +492,15 @@ if (plotMenuItem.Checked && sensorNode != null && sensorPlotColors.TryGetValue(sensorNode.Sensor, out color)) e.TextColor = color; + + //If displayed in FrontView draw background in green + if (sensorNode != null && settings.GetValue(new Identifier(sensorNode.Sensor.Identifier, "FrontView").ToString(), false)) + { + SolidBrush greenBrush = new SolidBrush(Color.FromName("mediumspringgreen")); + e.BackgroundBrush = greenBrush; + } } else { + e.TextColor = Color.DarkGray; } }