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

@ -1,5 +1,6 @@
package mage.client.table;
import mage.client.cards.BigCard;
import mage.client.chat.ChatPanelBasic;
import mage.client.util.GUISizeHelper;
import mage.client.util.MageTableRowSorter;
@ -18,6 +19,7 @@ import java.awt.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.UUID;
import static mage.client.chat.ChatPanelBasic.CHAT_ALPHA;
import static mage.client.dialog.PreferencesDialog.KEY_USERS_COLUMNS_ORDER;
@ -103,6 +105,10 @@ public class PlayersChatPanel extends javax.swing.JPanel {
jScrollPaneTalk.cleanUp();
}
public void setGameData(UUID gameId, BigCard bigCard) {
colorPaneSystem.setGameData(gameId, bigCard);
}
public void changeGUISize() {
setGUISize();
}