add small undo icon and use it in undo message, for #1177
parent
e470b5efe6
commit
5d5e8e57a9
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
|
@ -73,6 +73,7 @@ public enum MagicIcon {
|
|||
START("start.png"),
|
||||
STOP("stop.png"),
|
||||
UNDO("undo.png"),
|
||||
UNDO2("undo2.png"),
|
||||
BUSY("busy.gif"),
|
||||
BUSY16("busy16.gif"),
|
||||
ALL("all.gif"),
|
||||
|
|
|
@ -13,6 +13,7 @@ public class TextImages {
|
|||
|
||||
static {
|
||||
add("{f}", MagicIcon.FORWARD2);
|
||||
add("{undo}", MagicIcon.UNDO2);
|
||||
add("{O}", MagicIcon.TARGET);
|
||||
add("{SS}", MagicIcon.CANNOTTAP);
|
||||
add("{D}", MagicIcon.DAMAGE);
|
||||
|
|
|
@ -26,7 +26,7 @@ public class MagicPayManaCostChoice extends MagicChoice {
|
|||
private static final String _S_CHOOSE = "Choose a mana ability to pay %s.";
|
||||
|
||||
@StringContext(eg = "%s will be replaced with a mana cost icon.")
|
||||
private static final String _S_NO_OPTIONS = "Unable to pay %s.|Please undo.";
|
||||
private static final String _S_NO_OPTIONS = "Unable to pay %s.|Click {undo} to undo.";
|
||||
|
||||
private final MagicManaCost cost;
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ import magic.translate.MText;
|
|||
|
||||
public class MagicTargetChoice extends MagicChoice {
|
||||
|
||||
private static final String NO_OPTIONS = "Unable to %s|Please undo.";
|
||||
private static final String NO_OPTIONS = "Unable to %s|Click {undo} to undo.";
|
||||
|
||||
public static final MagicTargetChoice NONE =
|
||||
new MagicTargetChoice(MagicTargetFilterFactory.NONE,MagicTargetHint.None,"nothing") {
|
||||
|
|
Loading…
Reference in New Issue