Unlocked 3 avatars

This commit is contained in:
magenoxx 2012-06-27 12:59:38 +04:00
parent d31197a8c2
commit b11d843d0b
2 changed files with 16 additions and 13 deletions

View file

@ -106,7 +106,7 @@
<Group type="102" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="showToolTipsInHand" min="-2" max="-2" attributes="0"/>
<Component id="showToolTipsInAnyZone" min="-2" max="-2" attributes="0"/>
<Component id="displayBigCardsInHand" alignment="0" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace pref="161" max="32767" attributes="0"/>
@ -116,7 +116,7 @@
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="showToolTipsInHand" min="-2" max="-2" attributes="0"/>
<Component id="showToolTipsInAnyZone" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="displayBigCardsInHand" min="-2" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
@ -125,13 +125,13 @@
</DimensionLayout>
</Layout>
<SubComponents>
<Component class="javax.swing.JCheckBox" name="showToolTipsInHand">
<Component class="javax.swing.JCheckBox" name="showToolTipsInAnyZone">
<Properties>
<Property name="selected" type="boolean" value="true"/>
<Property name="text" type="java.lang.String" value="Show tooltips"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="showToolTipsInHandActionPerformed"/>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="showToolTipsInAnyZoneActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JCheckBox" name="displayBigCardsInHand">
@ -1016,7 +1016,7 @@
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Tahoma" size="11" style="1"/>
</Property>
<Property name="text" type="java.lang.String" value="Locked avatars:"/>
<Property name="text" type="java.lang.String" value="New avatars:"/>
</Properties>
</Component>
<Container class="javax.swing.JPanel" name="jPanel16">

View file

@ -105,6 +105,9 @@ public class PreferencesDialog extends javax.swing.JDialog {
availableAvatars.add(30);
availableAvatars.add(25);
availableAvatars.add(22);
availableAvatars.add(77);
availableAvatars.add(62);
}
private final JFileChooser fc = new JFileChooser();
@ -213,7 +216,7 @@ public class PreferencesDialog extends javax.swing.JDialog {
showToolTipsInAnyZone.setText("Show tooltips");
showToolTipsInAnyZone.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
showToolTipsInHandActionPerformed(evt);
showToolTipsInAnyZoneActionPerformed(evt);
}
});
@ -714,8 +717,8 @@ public class PreferencesDialog extends javax.swing.JDialog {
.addGap(0, 100, Short.MAX_VALUE)
);
jLabel13.setFont(new java.awt.Font("Tahoma", 1, 11));
jLabel13.setText("Locked avatars:");
jLabel13.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
jLabel13.setText("New avatars:");
jPanel16.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(204, 204, 204), 1, true));
@ -974,8 +977,8 @@ public class PreferencesDialog extends javax.swing.JDialog {
dialog.setVisible(false);
}//GEN-LAST:event_exitButtonActionPerformed
private void showToolTipsInHandActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_showToolTipsInHandActionPerformed
}//GEN-LAST:event_showToolTipsInHandActionPerformed
private void showToolTipsInAnyZoneActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_showToolTipsInAnyZoneActionPerformed
}//GEN-LAST:event_showToolTipsInAnyZoneActionPerformed
private void displayBigCardsInHandActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_displayBigCardsInHandActionPerformed
}//GEN-LAST:event_displayBigCardsInHandActionPerformed
@ -1255,9 +1258,9 @@ public class PreferencesDialog extends javax.swing.JDialog {
addAvatar(jPanel20, 30, false, false);
addAvatar(jPanel21, 25, false, false);
addAvatar(jPanel16, 22, false, true);
addAvatar(jPanel17, 77, false, true);
addAvatar(jPanel18, 62, false, true);
addAvatar(jPanel16, 22, false, false);
addAvatar(jPanel17, 77, false, false);
addAvatar(jPanel18, 62, false, false);
} catch (Exception e) {
log.error(e, e);
}