mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
6af8107f04
1 changed files with 3 additions and 5 deletions
|
@ -55,7 +55,7 @@ public class KnotLabelPanel extends JPanel {
|
||||||
int fontOffset = ascent / 3; // this looks about right
|
int fontOffset = ascent / 3; // this looks about right
|
||||||
ArrayList<KnotRecord> knots = palette.getKnots();
|
ArrayList<KnotRecord> knots = palette.getKnots();
|
||||||
|
|
||||||
g.setColor(Colors.BORDER);
|
g.setColor(Colors.FOREGROUND);
|
||||||
g.drawLine(5, topBottomMargin - 6, 10, topBottomMargin - ascent + 2);
|
g.drawLine(5, topBottomMargin - 6, 10, topBottomMargin - ascent + 2);
|
||||||
g.drawString("min entropy (0.0)", 20, topBottomMargin - ascent - descent);
|
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.drawLine(5, y, 10, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
g.setColor(Colors.BORDER);
|
|
||||||
g.drawLine(5, height + topBottomMargin + 4, 10, height + topBottomMargin + 8);
|
g.drawLine(5, height + topBottomMargin + 4, 10, height + topBottomMargin + 8);
|
||||||
g.drawString("max entropy (8.0)", 20, topBottomMargin + height + ascent + descent);
|
g.drawString("max entropy (8.0)", 20, topBottomMargin + height + ascent + descent);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getLabel(KnotRecord record) {
|
private String getLabel(KnotRecord record) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue