Skip to content

Ghidra is a software reverse engineering (SRE) framework

BitFields - tweaked colors for improved contrast

ghidra1398c5791f7d2
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditBitfield.png b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditBitfield.png
index 99d68e5a92..0c8b69985b 100644
Binary files a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditBitfield.png and b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditBitfield.png differ
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditor.png b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditor.png
index d9e6996cf0..5b5902d897 100644
Binary files a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditor.png and b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditor.png differ
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditorAligned.png b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditorAligned.png
index dbf2be9ed9..8c44523204 100644
Binary files a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditorAligned.png and b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditorAligned.png differ
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditorWithFlexArray.png b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditorWithFlexArray.png
index 95a78a830e..8bed9e4d6e 100644
Binary files a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditorWithFlexArray.png and b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/images/StructureEditorWithFlexArray.png differ
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/BitFieldPlacementComponent.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/BitFieldPlacementComponent.java
index 06cde6be5c..0e7e9c0873 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/BitFieldPlacementComponent.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/BitFieldPlacementComponent.java
@@ -50,9 +50,9 @@ public class BitFieldPlacementComponent extends JPanel {
private static final Color UNDEFINED_BIT_COLOR = new Color(0xf8f8f8);
private static final Color ACTIVE_BITFIELD_BITS_COLOR = Color.green;
private static final Color CONFLICT_BITS_COLOR = Color.yellow;
- private static final Color BITFIELD_COMPONENT_COLOR = new Color(0xcfcfff);
- private static final Color NON_BITFIELD_COMPONENT_COLOR = new Color(0xb8b8ff);
- private static final Color INTERIOR_LINE_COLOR = new Color(0xcfcfcf);
+ private static final Color BITFIELD_COMPONENT_COLOR = new Color(0xbfbfff);
+ private static final Color NON_BITFIELD_COMPONENT_COLOR = new Color(0xa4a4ff);
+ private static final Color INTERIOR_LINE_COLOR = new Color(0xd4d4d4);
private int bitWidth = 10;
private int byteWidth = getByteWidth(bitWidth);