Skip to content

Commit

Permalink
New icon for InfinityAmp music player
Browse files Browse the repository at this point in the history
  • Loading branch information
Argent77 committed Dec 1, 2024
1 parent 88255d3 commit 96db97a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/org/infinity/gui/InfinityAmpPlus.java
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ private void init() {

KeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventDispatcher(listeners::dispatchKeyEvent);

setIconImage(Icons.ICON_VOLUME_16.getIcon().getImage());
setIconImage(Icons.ICON_MUSIC_16.getIcon().getImage());
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/org/infinity/gui/menu/ToolsMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public ToolsMenu(BrowserMenuBar parent) {
Icons.ICON_CRE_VIEWER_24.getIcon(), -1, this);
add(toolCreatureBrowser);

toolInfinityAmp = BrowserMenuBar.makeMenuItem("InfinityAmp", KeyEvent.VK_I, Icons.ICON_VOLUME_16.getIcon(),
toolInfinityAmp = BrowserMenuBar.makeMenuItem("InfinityAmp", KeyEvent.VK_I, Icons.ICON_MUSIC_16.getIcon(),
-1, this);
add(toolInfinityAmp);

Expand Down
1 change: 1 addition & 0 deletions src/org/infinity/icon/Icons.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public enum Icons {
ICON_LAUNCH_PLUS_24("LaunchRedPlus24.png"),
ICON_MAGNIFY_16("Magnify16.png"),
ICON_MOVIE_16("Movie16.gif"),
ICON_MUSIC_16("Music16.png"),
ICON_NEW_16("New16.gif"),
ICON_OPEN_16("Open16.gif"),
ICON_PASTE_16("Paste16.gif"),
Expand Down
Binary file added src/org/infinity/icon/Music16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 96db97a

Please sign in to comment.