mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-1981 externalized icons for XTRA modules. Added loadIcon method in
ResourceManager. Created api for integrating Options with Theming. Fixed issue with system property mappings. Created dynamic icons for the close and drop-down menu item icons.
This commit is contained in:
parent
0971c0088c
commit
d466dbf06b
32 changed files with 637 additions and 260 deletions
|
@ -15,8 +15,7 @@
|
|||
*/
|
||||
package docking;
|
||||
|
||||
import java.awt.Dimension;
|
||||
import java.awt.FlowLayout;
|
||||
import java.awt.*;
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
|
||||
|
@ -24,17 +23,17 @@ import javax.swing.*;
|
|||
|
||||
import docking.action.*;
|
||||
import docking.menu.*;
|
||||
import generic.theme.GColor;
|
||||
import ghidra.util.exception.AssertException;
|
||||
import ghidra.util.task.SwingUpdateManager;
|
||||
import resources.ResourceManager;
|
||||
|
||||
/**
|
||||
* Manages to toolbar for the dockable components.
|
||||
*/
|
||||
class DockableToolBarManager {
|
||||
private static final ImageIcon CLOSE_ICON = ResourceManager.loadImage("images/close16.gif");
|
||||
private static final ImageIcon MENU_ICON = ResourceManager.loadImage("images/menu16.gif");
|
||||
|
||||
private static final Color BUTTON_COLOR = new GColor("color.fg.button");
|
||||
private static final Icon CLOSE_ICON = new CloseIcon(16, 4, BUTTON_COLOR);
|
||||
private static final Icon MENU_ICON = new DropDownMenuIcon(16, 4, 4, BUTTON_COLOR);
|
||||
private GenericHeader dockableHeader;
|
||||
private ToolBarManager toolBarManager;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue