- Added a new icon for the alpha strike button.

This commit is contained in:
moomarc
2012-08-21 14:52:18 +00:00
parent 2a9a4e6d45
commit 72db7625c3
3 changed files with 10 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 KiB

After

Width:  |  Height:  |  Size: 607 KiB

View File

@@ -65,9 +65,8 @@ public enum VDock implements IVDoc {
new DockButton(FSkin.getIcon(FSkin.DockIcons.ICO_OPENLAYOUT), "Open Layout");
private final JLabel btnSaveLayout =
new DockButton(FSkin.getIcon(FSkin.DockIcons.ICO_SAVELAYOUT), "Save Layout");
// Change Icon to Alpha Strike
private final JLabel btnAlphaStrike =
new DockButton(FSkin.getIcon(FSkin.DockIcons.ICO_SETTINGS), "Alpha Strike");
new DockButton(FSkin.getIcon(FSkin.DockIcons.ICO_ALPHASTRIKE), "Alpha Strike");
//========= Overridden methods
@@ -167,7 +166,7 @@ public enum VDock implements IVDoc {
public JLabel getBtnSaveLayout() {
return btnSaveLayout;
}
/** @return {@link javax.swing.JLabel} */
public JLabel getBtnAlphaStrike() {
return btnAlphaStrike;

View File

@@ -219,14 +219,15 @@ public enum FSkin {
/** */
public enum DockIcons implements SkinProp { /** */
ICO_SHORTCUTS (new int[] {160, 640, 80, 80}), /** */
ICO_SETTINGS (new int[] {80, 640, 80, 80}), /** */
ICO_ENDTURN (new int[] {320, 640, 80, 80}), /** */
ICO_CONCEDE (new int[] {240, 640, 80, 80}), /** */
ICO_SHORTCUTS (new int[] {160, 640, 80, 80}), /** */
ICO_SETTINGS (new int[] {80, 640, 80, 80}), /** */
ICO_ENDTURN (new int[] {320, 640, 80, 80}), /** */
ICO_CONCEDE (new int[] {240, 640, 80, 80}), /** */
ICO_REVERTLAYOUT (new int[] {400, 720, 80, 80}), /** */
ICO_OPENLAYOUT (new int[] {0, 800, 80, 80}), /** */
ICO_SAVELAYOUT (new int[] {80, 800, 80, 80}), /** */
ICO_DECKLIST (new int[] {400, 640, 80, 80});
ICO_OPENLAYOUT (new int[] {0, 800, 80, 80}), /** */
ICO_SAVELAYOUT (new int[] {80, 800, 80, 80}), /** */
ICO_DECKLIST (new int[] {400, 640, 80, 80}), /** */
ICO_ALPHASTRIKE (new int[] {160, 800, 80, 80});
private int[] coords;
/** @param xy   int[] coordinates */