mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
updating satellite icon again. Can't seem to please anyone.
This commit is contained in:
parent
5fb459cbba
commit
649a3639e5
4 changed files with 2 additions and 27 deletions
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 14 KiB |
|
@ -15,8 +15,6 @@
|
|||
*/
|
||||
package ghidra.graph.visualization;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
import javax.swing.Icon;
|
||||
|
||||
import resources.Icons;
|
||||
|
@ -29,35 +27,11 @@ final class DefaultDisplayGraphIcons {
|
|||
private DefaultDisplayGraphIcons() {
|
||||
}
|
||||
|
||||
public static final Icon SATELLITE_VIEW_ICON = new SatelliteIcon();
|
||||
public static final Icon SATELLITE_VIEW_ICON = Icons.get("images/project-open.png");
|
||||
public static final Icon VIEW_MAGNIFIER_ICON = Icons.get("images/magnifier.png");
|
||||
public static final Icon PROGRAM_GRAPH_ICON = Icons.get("images/redspheregraph.png");
|
||||
public static final Icon LAYOUT_ALGORITHM_ICON = Icons.get("images/katomic.png");
|
||||
public static final Icon LASSO_ICON = Icons.get("images/Lasso.png");
|
||||
public static final Icon FILTER_ICON = Icons.CONFIGURE_FILTER_ICON;
|
||||
|
||||
private static class SatelliteIcon implements Icon {
|
||||
|
||||
@Override
|
||||
public void paintIcon(Component c, Graphics g, int x, int y) {
|
||||
g.setColor(Color.WHITE);
|
||||
g.fillRect(x, y, 16, 16);
|
||||
g.setColor(Color.LIGHT_GRAY);
|
||||
g.fillRect(x + 8, y + 8, 7, 7);
|
||||
g.setColor(Color.DARK_GRAY);
|
||||
g.drawRect(x, y, 16, 16);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getIconWidth() {
|
||||
return 16;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getIconHeight() {
|
||||
return 16;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 742 B |
Loading…
Add table
Add a link
Reference in a new issue