Changed format of some messages to html.

This commit is contained in:
LevelX2 2014-09-10 17:51:46 +02:00
parent b42e52ff0b
commit 27f658f250

View file

@ -370,12 +370,12 @@ public class CallbackClientImpl implements CallbackClient {
switch (usedPanel.getChatType()) { switch (usedPanel.getChatType()) {
case GAME: case GAME:
usedPanel.receiveMessage("", new StringBuilder("You may use hot keys to play faster:") usedPanel.receiveMessage("", new StringBuilder("You may use hot keys to play faster:")
.append("\nTurn mousewheel up (ALT-e) - enlarge image of card the mousepointer hovers over") .append("<br/>Turn mousewheel up (ALT-e) - enlarge image of card the mousepointer hovers over")
.append("\nTurn mousewheel down (ALT-s) - enlarge original/alternate image of card the mousepointer hovers over") .append("<br/>Turn mousewheel down (ALT-s) - enlarge original/alternate image of card the mousepointer hovers over")
.append("\nF2 - Confirm \"Ok\", \"Yes\" or \"Done\" button") .append("<br/><b>F2<b/> - Confirm \"Ok\", \"Yes\" or \"Done\" button")
.append("\nF4 - Skip current turn but stop on declare attackers/blockers and something on the stack") .append("<br/><b>F4<b/> - Skip current turn but stop on declare attackers/blockers and something on the stack")
.append("\nF9 - Skip everything until your next turn") .append("<br/><b>F9<b/> - Skip everything until your next turn")
.append("\nF3 - Undo F4/F9").toString(), .append("<br/><b>F3<b/> - Undo F4/F9").toString(),
null, MessageType.USER_INFO, ChatMessage.MessageColor.ORANGE); null, MessageType.USER_INFO, ChatMessage.MessageColor.ORANGE);
break; break;
case TOURNAMENT: case TOURNAMENT:
@ -384,8 +384,8 @@ public class CallbackClientImpl implements CallbackClient {
break; break;
case TABLES: case TABLES:
usedPanel.receiveMessage("", new StringBuilder("Download card images by using the \"Images\" menu to the top right .") usedPanel.receiveMessage("", new StringBuilder("Download card images by using the \"Images\" menu to the top right .")
.append("\nDownload icons and symbols by using the \"Symbols\" menu to the top right.") .append("<br/>Download icons and symbols by using the \"Symbols\" menu to the top right.")
.append("\n\\list - Show a list of available chat commands.").toString(), .append("<br/>\\list - Show a list of available chat commands.").toString(),
null, MessageType.USER_INFO, ChatMessage.MessageColor.ORANGE); null, MessageType.USER_INFO, ChatMessage.MessageColor.ORANGE);
break; break;