GP-3094 - Theming - Converted most colors to palette colors

This commit is contained in:
dragonmacher 2023-04-14 16:49:39 -04:00
parent 318d5e01f0
commit 4f1d3c8053
72 changed files with 1149 additions and 983 deletions

View file

@ -37,8 +37,8 @@ import docking.widgets.EventTrigger;
import docking.widgets.fieldpanel.FieldPanel;
import docking.widgets.label.GDLabel;
import docking.widgets.table.threaded.ThreadedTableModel;
import generic.theme.GColor;
import generic.theme.GIcon;
import generic.theme.GThemeDefaults.Colors;
import ghidra.app.plugin.core.functioncompare.FunctionComparisonPanel;
import ghidra.app.services.GoToService;
import ghidra.app.util.viewer.listingpanel.ListingCodeComparisonPanel;
@ -80,8 +80,6 @@ public class VTFunctionAssociationProvider extends ComponentProviderAdapter
new GIcon("icon.version.tracking.action.function.filter.not.accepted");
private static final String SHOW_COMPARE_ACTION_GROUP = "A9_ShowCompare"; // "A9_" forces to right of other dual view actions in toolbar.
private static final Color FG_ERROR = new GColor("color.fg.error");
private GhidraTable sourceFunctionsTable;
private GhidraTable destinationFunctionsTable;
private VTFunctionAssociationTableModel sourceFunctionsModel;
@ -361,7 +359,7 @@ public class VTFunctionAssociationProvider extends ComponentProviderAdapter
JPanel statusPanel = new JPanel(new BorderLayout());
statusLabel = new GDLabel(NO_ERROR_MESSAGE);
statusLabel.setHorizontalAlignment(SwingConstants.CENTER);
statusLabel.setForeground(FG_ERROR);
statusLabel.setForeground(Colors.ERROR);
statusLabel.addComponentListener(new ComponentAdapter() {
@Override
public void componentResized(ComponentEvent e) {