Ghidra is a software reverse engineering (SRE) framework
GP-5103 fixed entropy legend labels to be visible in all themes
ghidragon9bf8e7218294
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/overview/entropy/KnotLabelPanel.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/overview/entropy/KnotLabelPanel.javaindex 5dfc7a1c14..429b138700 100644--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/overview/entropy/KnotLabelPanel.java+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/overview/entropy/KnotLabelPanel.java@@ -4,9 +4,9 @@* Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at- *+ ** http://www.apache.org/licenses/LICENSE-2.0- *+ ** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.@@ -55,7 +55,7 @@ public class KnotLabelPanel extends JPanel {int fontOffset = ascent / 3; // this looks about rightArrayList<KnotRecord> knots = palette.getKnots();- g.setColor(Colors.BORDER);+ g.setColor(Colors.FOREGROUND);g.drawLine(5, topBottomMargin - 6, 10, topBottomMargin - ascent + 2);g.drawString("min entropy (0.0)", 20, topBottomMargin - ascent - descent);@@ -70,10 +70,8 @@ public class KnotLabelPanel extends JPanel {g.drawLine(5, y, 10, y);}- g.setColor(Colors.BORDER);g.drawLine(5, height + topBottomMargin + 4, 10, height + topBottomMargin + 8);g.drawString("max entropy (8.0)", 20, topBottomMargin + height + ascent + descent);-}private String getLabel(KnotRecord record) {