* Added missing function for the auto save game log function.

This commit is contained in:
LevelX2 2013-09-30 11:21:32 +02:00
parent 00b4090f55
commit 44ccb830b7
3 changed files with 7 additions and 7 deletions

View file

@ -56,7 +56,7 @@
<Component id="tabPane" min="-2" pref="277" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="btnOk" min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="33" max="32767" attributes="0"/>
<EmptySpace min="0" pref="37" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@ -166,7 +166,7 @@
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="txtPlayerInfo" max="32767" attributes="0"/>
<Component id="txtDurationGame" alignment="1" pref="489" max="32767" attributes="0"/>
<Component id="txtDurationGame" alignment="1" pref="494" max="32767" attributes="0"/>
<Component id="txtLife" alignment="1" pref="489" max="32767" attributes="0"/>
<Component id="txtDurationMatch" alignment="1" pref="489" max="32767" attributes="0"/>
<Component id="txtMatchScore" alignment="1" pref="489" max="32767" attributes="0"/>
@ -202,7 +202,7 @@
<Component id="lblPlayerInfo" alignment="3" min="-2" pref="24" max="-2" attributes="0"/>
<Component id="txtPlayerInfo" alignment="3" min="-2" pref="24" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="99" max="32767" attributes="0"/>
<EmptySpace pref="105" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>

View file

@ -39,12 +39,8 @@ import java.awt.Image;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.nio.file.Files;
import java.nio.file.LinkOption;
import java.nio.file.Path;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;

View file

@ -1245,6 +1245,10 @@ public final class GamePanel extends javax.swing.JPanel {
hoverButtons.put(name, button);
}
public String getGameLog() {
return gameChatPanel.getText();
}
private mage.client.components.ability.AbilityPicker abilityPicker;
private mage.client.cards.BigCard bigCard;
private javax.swing.JButton btnConcede;