GUI: chats code upgraded to use new popup hint code;

This commit is contained in:
Oleg Agafonov 2021-08-15 10:47:19 +04:00
parent 5725e15771
commit c328c71ef9
7 changed files with 96 additions and 53 deletions

View file

@ -465,6 +465,10 @@ public final class GamePanel extends javax.swing.JPanel {
this.btnCancelSkip.setVisible(true);
this.btnToggleMacro.setVisible(true);
// cards popup info in chats
this.gameChatPanel.setGameData(gameId, bigCard);
this.userChatPanel.setGameData(gameId, bigCard);
this.btnSkipToNextTurn.setVisible(true);
this.btnSkipToEndTurn.setVisible(true);
this.btnSkipToNextMain.setVisible(true);
@ -1915,6 +1919,8 @@ public final class GamePanel extends javax.swing.JPanel {
bigCard.setBorder(new LineBorder(Color.black, 1, true));
// CHATS and HINTS support
// HOTKEYS
int c = JComponent.WHEN_IN_FOCUSED_WINDOW;