GP-1981 - Theming - Base Module

This commit is contained in:
dragonmacher 2022-09-28 19:09:05 -04:00 committed by ghidragon
parent dd31ff47a2
commit 0971c0088c
228 changed files with 1848 additions and 1694 deletions

View file

@ -18,11 +18,11 @@ package functioncalls.graph.layout;
import javax.swing.Icon;
import functioncalls.graph.*;
import generic.theme.GIcon;
import ghidra.graph.viewer.layout.AbstractLayoutProvider;
import ghidra.graph.viewer.layout.VisualGraphLayout;
import ghidra.util.exception.CancelledException;
import ghidra.util.task.TaskMonitor;
import resources.ResourceManager;
/**
* A layout provider for the {@link BowTieLayout}
@ -32,7 +32,7 @@ public class BowTieLayoutProvider
public static final String NAME = "Bow Tie Layout";
private static final Icon DEFAULT_ICON = ResourceManager.loadImage("images/color_swatch.png");
private static final Icon DEFAULT_ICON = new GIcon("icon.fcg.layout.bow.tie");
@Override
public VisualGraphLayout<FcgVertex, FcgEdge> getLayout(FunctionCallGraph graph,

View file

@ -146,9 +146,6 @@ public class FunctionCallGraphPlugin extends ProgramPlugin implements OptionsCha
}
};
// TODO create icon from scratch: bow-tie
// ImageIcon icon = ResourceManager.loadImage("images/applications-development.png");
// showProviderAction.setToolBarData(new ToolBarData(icon, "View"));
tool.addAction(showProviderAction);
}