mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-1981 Refactored Gui to use ThemeManager
This commit is contained in:
parent
a92a27e9f1
commit
edfb5a0877
78 changed files with 1902 additions and 1230 deletions
|
@ -21,7 +21,7 @@ import java.nio.file.Path;
|
|||
import java.nio.file.Paths;
|
||||
import java.util.*;
|
||||
|
||||
import generic.theme.Gui;
|
||||
import generic.theme.ApplicationThemeManager;
|
||||
import ghidra.framework.Application;
|
||||
import ghidra.framework.ApplicationConfiguration;
|
||||
import help.validator.*;
|
||||
|
@ -69,7 +69,7 @@ public class GHelpBuilder {
|
|||
ApplicationConfiguration config = new ApplicationConfiguration() {
|
||||
@Override
|
||||
protected void initializeApplication() {
|
||||
Gui.initialize();
|
||||
ApplicationThemeManager.initialize();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -25,7 +25,7 @@ import java.nio.file.Paths;
|
|||
|
||||
import org.junit.Test;
|
||||
|
||||
import generic.theme.Gui;
|
||||
import generic.theme.ApplicationThemeManager;
|
||||
import ghidra.GhidraTestApplicationLayout;
|
||||
import ghidra.framework.ApplicationConfiguration;
|
||||
import utility.application.ApplicationLayout;
|
||||
|
@ -101,7 +101,7 @@ public class HelpBuildUtilsTest extends AbstractHelpTest {
|
|||
|
||||
@Test
|
||||
public void testLocateReferences_Icons() throws URISyntaxException {
|
||||
Gui.initialize();
|
||||
ApplicationThemeManager.initialize();
|
||||
Path sourceFile = Paths.get(HTML_FILE_PATH);
|
||||
String reference = "Icons.REFRESH_ICON"; // see Icons class
|
||||
ImageLocation location = HelpBuildUtils.locateImageReference(sourceFile, reference);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue