mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-2389 ImageIconWrapper refactor
This commit is contained in:
@@ -89,8 +89,8 @@ public class VTPlugin extends Plugin {
|
||||
protected Icon createIcon() {
|
||||
MultiIcon icon = new MultiIcon(new EmptyIcon(16, 16));
|
||||
ImageIcon cancelIcon = ResourceManager.loadImage("images/dialog-cancel.png");
|
||||
ScaledImageIconWrapper scaledCancelIcon =
|
||||
new ScaledImageIconWrapper(cancelIcon, 13, 13);
|
||||
ScaledImageIcon scaledCancelIcon =
|
||||
new ScaledImageIcon(cancelIcon, 13, 13);
|
||||
TranslateIcon translatedCancelIcon = new TranslateIcon(scaledCancelIcon, 3, 4);
|
||||
ImageIcon undoIcon = ResourceManager.loadImage("images/undo.png");
|
||||
TranslateIcon translatedUndoIcon = new TranslateIcon(undoIcon, 0, -4);
|
||||
|
||||
Reference in New Issue
Block a user