replace icon for card (script) screen.
parent
d44222e89f
commit
0357e99d06
Binary file not shown.
After Width: | Height: | Size: 902 B |
Binary file not shown.
Before Width: | Height: | Size: 577 B |
|
@ -9,6 +9,7 @@ public enum MagicIcon {
|
||||||
// ../ui/... icons.
|
// ../ui/... icons.
|
||||||
//
|
//
|
||||||
ALERT("ui/alert-16.png"),
|
ALERT("ui/alert-16.png"),
|
||||||
|
CARD_SCREEN("ui/card-screen.png"),
|
||||||
CARDFLOW("ui/cardflow-28.png"),
|
CARDFLOW("ui/cardflow-28.png"),
|
||||||
CHECKBOX_OFF("ui/checkbox-16.png"),
|
CHECKBOX_OFF("ui/checkbox-16.png"),
|
||||||
CHECKBOX_ON("ui/checkbox-selected-16.png"),
|
CHECKBOX_ON("ui/checkbox-selected-16.png"),
|
||||||
|
@ -23,7 +24,6 @@ public enum MagicIcon {
|
||||||
CUBE("ui/w_cube.png"),
|
CUBE("ui/w_cube.png"),
|
||||||
CYCLE("ui/w_cycle.png"),
|
CYCLE("ui/w_cycle.png"),
|
||||||
DECK("ui/w_deck.png"),
|
DECK("ui/w_deck.png"),
|
||||||
EDIT("ui/w_edit.png"),
|
|
||||||
ENCHANTMENTS("ui/w_enchantments.png"),
|
ENCHANTMENTS("ui/w_enchantments.png"),
|
||||||
EXPERIENCE("ui/rank-16.png"),
|
EXPERIENCE("ui/rank-16.png"),
|
||||||
FAST_FORWARD("ui/fast-forward-16.png"),
|
FAST_FORWARD("ui/fast-forward-16.png"),
|
||||||
|
|
|
@ -36,6 +36,10 @@ public class ExplorerScreen extends HeaderFooterScreen
|
||||||
MagicIcon.CARDFLOW, Color.BLACK, Color.WHITE
|
MagicIcon.CARDFLOW, Color.BLACK, Color.WHITE
|
||||||
);
|
);
|
||||||
|
|
||||||
|
private static final ImageIcon CARD_ICON = ImageHelper.getRecoloredIcon(
|
||||||
|
MagicIcon.CARD_SCREEN, Color.BLACK, Color.WHITE
|
||||||
|
);
|
||||||
|
|
||||||
private ExplorerContentPanel contentPanel;
|
private ExplorerContentPanel contentPanel;
|
||||||
private ExplorerHeaderPanel headerPanel;
|
private ExplorerHeaderPanel headerPanel;
|
||||||
|
|
||||||
|
@ -65,15 +69,13 @@ public class ExplorerScreen extends HeaderFooterScreen
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setFooterButtons() {
|
private void setFooterButtons() {
|
||||||
addFooterGroup(
|
addToFooter(
|
||||||
PlainMenuButton.build(this::doShowCardFlowScreen,
|
PlainMenuButton.build(this::doShowCardFlowScreen,
|
||||||
CARDFLOW_ICON, MText.get(_S7), MText.get(_S8)
|
CARDFLOW_ICON, MText.get(_S7), MText.get(_S8)
|
||||||
),
|
),
|
||||||
PlainMenuButton.build(this::doShowScriptScreen,
|
PlainMenuButton.build(this::doShowScriptScreen,
|
||||||
MagicIcon.EDIT, MText.get(_S3), MText.get(_S4)
|
CARD_ICON, MText.get(_S3), MText.get(_S4)
|
||||||
)
|
),
|
||||||
);
|
|
||||||
addToFooter(
|
|
||||||
PlainMenuButton.build(this::doSelectRandomCard,
|
PlainMenuButton.build(this::doSelectRandomCard,
|
||||||
MagicIcon.RANDOM, MText.get(_S5), MText.get(_S6)
|
MagicIcon.RANDOM, MText.get(_S5), MText.get(_S6)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue