plugins: Use shared clue arrow and reset images
These images are used throughout multiple plugins, thus are moved to a new utility directory.
This commit is contained in:
@@ -158,7 +158,7 @@ public class ClueScrollPlugin extends Plugin
|
||||
synchronized (ImageIO.class)
|
||||
{
|
||||
CLUE_SCROLL_IMAGE = ImageIO.read(ClueScrollPlugin.class.getResourceAsStream("clue_scroll.png"));
|
||||
MAP_ARROW = ImageIO.read(ClueScrollPlugin.class.getResourceAsStream("clue_arrow.png"));
|
||||
MAP_ARROW = ImageIO.read(ClueScrollPlugin.class.getResourceAsStream("/util/clue_arrow.png"));
|
||||
EMOTE_IMAGE = ImageIO.read(ClueScrollPlugin.class.getResourceAsStream("emote.png"));
|
||||
SPADE_IMAGE = ImageIO.read(ClueScrollPlugin.class.getResourceAsStream("spade.png"));
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ class DeathWorldMapPoint extends WorldMapPoint
|
||||
{
|
||||
synchronized (ImageIO.class)
|
||||
{
|
||||
MAP_ARROW = ImageIO.read(DeathWorldMapPoint.class.getResourceAsStream("clue_arrow.png"));
|
||||
MAP_ARROW = ImageIO.read(DeathWorldMapPoint.class.getResourceAsStream("/util/clue_arrow.png"));
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
|
||||
@@ -71,7 +71,7 @@ class KourendLibraryPanel extends PluginPanel
|
||||
{
|
||||
synchronized (ImageIO.class)
|
||||
{
|
||||
BufferedImage resetIcon = ImageIO.read(KourendLibraryPanel.class.getResourceAsStream("reset.png"));
|
||||
BufferedImage resetIcon = ImageIO.read(KourendLibraryPanel.class.getResourceAsStream("/util/reset.png"));
|
||||
RESET_ICON = new ImageIcon(resetIcon);
|
||||
RESET_CLICK_ICON = new ImageIcon(ImageUtil.alphaOffset(resetIcon, -100));
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ public class AlchemyRoomTimer extends Timer
|
||||
{
|
||||
synchronized (ImageIO.class)
|
||||
{
|
||||
image = ImageIO.read(AlchemyRoomTimer.class.getResourceAsStream("reset.png"));
|
||||
image = ImageIO.read(AlchemyRoomTimer.class.getResourceAsStream("/util/reset.png"));
|
||||
}
|
||||
}
|
||||
catch (IOException ex)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 368 B |
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 368 B After Width: | Height: | Size: 368 B |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Reference in New Issue
Block a user