Rename Highlight

master
D4VID 7 months ago
parent 159a0ad609
commit b4a8ea7b24

@ -29,7 +29,7 @@ namespace CriticalPathAnalyzer.Client.Tool {
}
public static void Clear() {
PathHighLighter.RemoveHighLighting();
PathHighlighter.RemoveHighlighting();
Outliner.RemoveOutline(_startPegAddress);
Outliner.RemoveOutline(_endPegAddress);
_startPegAddress = PegAddress.Empty;
@ -92,8 +92,8 @@ namespace CriticalPathAnalyzer.Client.Tool {
return;
}
PathHighLighter.RemoveHighLighting();
PathHighLighter.HighlightWires(_response.LoopingClusters);
PathHighlighter.RemoveHighlighting();
PathHighlighter.HighlightWires(_response.LoopingClusters);
}
private static void CalculateCriticalPath() {
@ -121,8 +121,8 @@ namespace CriticalPathAnalyzer.Client.Tool {
_logger.Info($"Critical path length is: {_response.CriticalPathLength}");
PathHighLighter.RemoveHighLighting();
PathHighLighter.HighlightWires(_response.Clusters);
PathHighlighter.RemoveHighlighting();
PathHighlighter.HighlightWires(_response.Clusters);
}
}
}

@ -7,7 +7,7 @@ using LogicWorld.Interfaces;
using LogicWorld.Outlines;
namespace CriticalPathAnalyzer.Client.Tool {
public class PathHighLighter {
public class PathHighlighter {
private static readonly OutlineData Color = new OutlineData(new Color24(0xff0000));
private static readonly OutlineData NextColor = new OutlineData(new Color24(0xff00ff));
private static readonly OutlineData PerimeterColor = new OutlineData(new Color24(0xffff00));
@ -88,7 +88,7 @@ namespace CriticalPathAnalyzer.Client.Tool {
}
}
public static void RemoveHighLighting() {
public static void RemoveHighlighting() {
if (_clusters == null) {
return;
}
Loading…
Cancel
Save