mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Update Menu Icons
This commit is contained in:
@@ -209,7 +209,7 @@ public class FSkin {
|
|||||||
textures.put(f6.path(), textures.get(f3.path()));
|
textures.put(f6.path(), textures.get(f3.path()));
|
||||||
}
|
}
|
||||||
if (f7.exists()){
|
if (f7.exists()){
|
||||||
Texture t = new Texture(f7, false);
|
Texture t = new Texture(f7, true);
|
||||||
//t.setFilter(Texture.TextureFilter.MipMapLinearLinear, Texture.TextureFilter.Linear);
|
//t.setFilter(Texture.TextureFilter.MipMapLinearLinear, Texture.TextureFilter.Linear);
|
||||||
textures.put(f7.path(), t);
|
textures.put(f7.path(), t);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -193,6 +193,15 @@ public enum FSkinImage implements FImage {
|
|||||||
QUEST_BIG_SWORD (FSkinProp.ICO_QUEST_BIG_SWORD, SourceFile.ICONS),
|
QUEST_BIG_SWORD (FSkinProp.ICO_QUEST_BIG_SWORD, SourceFile.ICONS),
|
||||||
QUEST_BIG_BAG (FSkinProp.ICO_QUEST_BIG_BAG, SourceFile.ICONS),
|
QUEST_BIG_BAG (FSkinProp.ICO_QUEST_BIG_BAG, SourceFile.ICONS),
|
||||||
|
|
||||||
|
//menu icon
|
||||||
|
MENU_GALAXY (FSkinProp.ICO_MENU_GALAXY, SourceFile.ICONS),
|
||||||
|
MENU_STATS (FSkinProp.ICO_MENU_STATS, SourceFile.ICONS),
|
||||||
|
MENU_PUZZLE (FSkinProp.ICO_MENU_PUZZLE, SourceFile.ICONS),
|
||||||
|
MENU_GAUNTLET (FSkinProp.ICO_MENU_GAUNTLET, SourceFile.ICONS),
|
||||||
|
MENU_SEALED (FSkinProp.ICO_MENU_SEALED, SourceFile.ICONS),
|
||||||
|
MENU_DRAFT (FSkinProp.ICO_MENU_DRAFT, SourceFile.ICONS),
|
||||||
|
MENU_CONSTRUCTED (FSkinProp.ICO_MENU_CONSTRUCTED, SourceFile.ICONS),
|
||||||
|
|
||||||
//Interface icons
|
//Interface icons
|
||||||
QUESTION (FSkinProp.ICO_QUESTION, SourceFile.ICONS),
|
QUESTION (FSkinProp.ICO_QUESTION, SourceFile.ICONS),
|
||||||
INFORMATION (FSkinProp.ICO_INFORMATION, SourceFile.ICONS),
|
INFORMATION (FSkinProp.ICO_INFORMATION, SourceFile.ICONS),
|
||||||
|
|||||||
@@ -20,11 +20,11 @@ import forge.util.Localizer;
|
|||||||
|
|
||||||
public class LoadGameMenu extends FPopupMenu {
|
public class LoadGameMenu extends FPopupMenu {
|
||||||
public enum LoadGameScreen {
|
public enum LoadGameScreen {
|
||||||
BoosterDraft("lblBoosterDraft", FSkinImage.HAND, LoadDraftScreen.class),
|
BoosterDraft("lblBoosterDraft", FSkinImage.MENU_DRAFT, LoadDraftScreen.class),
|
||||||
SealedDeck("lblSealedDeck", FSkinImage.PACK, LoadSealedScreen.class),
|
SealedDeck("lblSealedDeck", FSkinImage.MENU_SEALED, LoadSealedScreen.class),
|
||||||
QuestMode("lblQuestMode", FSkinImage.QUEST_ZEP, LoadQuestScreen.class),
|
QuestMode("lblQuestMode", FSkinImage.QUEST_ZEP, LoadQuestScreen.class),
|
||||||
PlanarConquest("lblPlanarConquest", FSkinImage.MULTIVERSE, LoadConquestScreen.class),
|
PlanarConquest("lblPlanarConquest", FSkinImage.MENU_GALAXY, LoadConquestScreen.class),
|
||||||
Gauntlet("lblGauntlet", FSkinImage.ALPHASTRIKE, LoadGauntletScreen.class);
|
Gauntlet("lblGauntlet", FSkinImage.MENU_GAUNTLET, LoadGauntletScreen.class);
|
||||||
|
|
||||||
private final FMenuItem item;
|
private final FMenuItem item;
|
||||||
private final Class<? extends FScreen> screenClass;
|
private final Class<? extends FScreen> screenClass;
|
||||||
|
|||||||
@@ -24,13 +24,13 @@ public class NewGameMenu extends FPopupMenu {
|
|||||||
final static Localizer localizer = Localizer.getInstance();
|
final static Localizer localizer = Localizer.getInstance();
|
||||||
|
|
||||||
public enum NewGameScreen {
|
public enum NewGameScreen {
|
||||||
Constructed(localizer.getMessage("lblConstructed"), FSkinImage.DECKLIST, ConstructedScreen.class),
|
Constructed(localizer.getMessage("lblConstructed"), FSkinImage.MENU_CONSTRUCTED, ConstructedScreen.class),
|
||||||
BoosterDraft(localizer.getMessage("lblBoosterDraft"), FSkinImage.HAND, NewDraftScreen.class),
|
BoosterDraft(localizer.getMessage("lblBoosterDraft"), FSkinImage.MENU_DRAFT, NewDraftScreen.class),
|
||||||
SealedDeck(localizer.getMessage("lblSealedDeck"), FSkinImage.PACK, NewSealedScreen.class),
|
SealedDeck(localizer.getMessage("lblSealedDeck"), FSkinImage.MENU_SEALED, NewSealedScreen.class),
|
||||||
QuestMode(localizer.getMessage("lblQuestMode"), FSkinImage.QUEST_ZEP, NewQuestScreen.class),
|
QuestMode(localizer.getMessage("lblQuestMode"), FSkinImage.QUEST_ZEP, NewQuestScreen.class),
|
||||||
PuzzleMode(localizer.getMessage("lblPuzzleMode"), FSkinImage.QUEST_BOOK, PuzzleScreen.class),
|
PuzzleMode(localizer.getMessage("lblPuzzleMode"), FSkinImage.MENU_PUZZLE, PuzzleScreen.class),
|
||||||
PlanarConquest(localizer.getMessage("lblPlanarConquest"), FSkinImage.MULTIVERSE, NewConquestScreen.class),
|
PlanarConquest(localizer.getMessage("lblPlanarConquest"), FSkinImage.MENU_GALAXY, NewConquestScreen.class),
|
||||||
Gauntlet(localizer.getMessage("lblGauntlet"), FSkinImage.ALPHASTRIKE, NewGauntletScreen.class);
|
Gauntlet(localizer.getMessage("lblGauntlet"), FSkinImage.MENU_GAUNTLET, NewGauntletScreen.class);
|
||||||
|
|
||||||
private final FMenuItem item;
|
private final FMenuItem item;
|
||||||
private final Class<? extends FScreen> screenClass;
|
private final Class<? extends FScreen> screenClass;
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ public class ConquestMenu extends FPopupMenu {
|
|||||||
setCurrentScreen(collectionScreen);
|
setCurrentScreen(collectionScreen);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
private static final FMenuItem statsItem = new FMenuItem(Localizer.getInstance().getMessage("lblStatistics"), FSkinImage.HDMULTI, new FEventHandler() {
|
private static final FMenuItem statsItem = new FMenuItem(Localizer.getInstance().getMessage("lblStatistics"), FSkinImage.MENU_STATS, new FEventHandler() {
|
||||||
@Override
|
@Override
|
||||||
public void handleEvent(FEvent e) {
|
public void handleEvent(FEvent e) {
|
||||||
setCurrentScreen(statsScreen);
|
setCurrentScreen(statsScreen);
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ public class QuestMenu extends FPopupMenu implements IVQuestStats {
|
|||||||
setCurrentScreen(bazaarScreen);
|
setCurrentScreen(bazaarScreen);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
private static final FMenuItem statsItem = new FMenuItem(Localizer.getInstance().getMessage("lblStatistics"), FSkinImage.HDMULTI, new FEventHandler() {
|
private static final FMenuItem statsItem = new FMenuItem(Localizer.getInstance().getMessage("lblStatistics"), FSkinImage.MENU_STATS, new FEventHandler() {
|
||||||
@Override
|
@Override
|
||||||
public void handleEvent(FEvent e) {
|
public void handleEvent(FEvent e) {
|
||||||
setCurrentScreen(statsScreen);
|
setCurrentScreen(statsScreen);
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.4 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 534 KiB After Width: | Height: | Size: 533 KiB |
@@ -230,6 +230,15 @@ public enum FSkinProp {
|
|||||||
ICO_QUEST_BIG_SWORD (new int[] {320, 1360, 160, 160}, PropType.ICON),
|
ICO_QUEST_BIG_SWORD (new int[] {320, 1360, 160, 160}, PropType.ICON),
|
||||||
ICO_QUEST_BIG_BAG (new int[] {480, 1360, 160, 160}, PropType.ICON),
|
ICO_QUEST_BIG_BAG (new int[] {480, 1360, 160, 160}, PropType.ICON),
|
||||||
|
|
||||||
|
//menu icon
|
||||||
|
ICO_MENU_GALAXY (new int[] {0, 1520, 80, 80}, PropType.ICON),
|
||||||
|
ICO_MENU_STATS (new int[] {80, 1520, 80, 80}, PropType.ICON),
|
||||||
|
ICO_MENU_PUZZLE (new int[] {160, 1520, 80, 80}, PropType.ICON),
|
||||||
|
ICO_MENU_GAUNTLET (new int[] {240, 1520, 80, 80}, PropType.ICON),
|
||||||
|
ICO_MENU_SEALED (new int[] {320, 1520, 80, 80}, PropType.ICON),
|
||||||
|
ICO_MENU_DRAFT (new int[] {400, 1520, 80, 80}, PropType.ICON),
|
||||||
|
ICO_MENU_CONSTRUCTED (new int[] {480, 1520, 80, 80}, PropType.ICON),
|
||||||
|
|
||||||
//interface icons
|
//interface icons
|
||||||
ICO_QUESTION (new int[] {560, 800, 32, 32}, PropType.ICON),
|
ICO_QUESTION (new int[] {560, 800, 32, 32}, PropType.ICON),
|
||||||
ICO_INFORMATION (new int[] {592, 800, 32, 32}, PropType.ICON),
|
ICO_INFORMATION (new int[] {592, 800, 32, 32}, PropType.ICON),
|
||||||
|
|||||||
Reference in New Issue
Block a user