New stack dialog (experimental)

This commit is contained in:
magenoxx 2012-06-16 19:33:03 +04:00
parent 397c393f1d
commit 48f2018af6
24 changed files with 1095 additions and 21 deletions

View file

@ -1,6 +1,8 @@
package mage.client.util;
import org.mage.card.arcane.CardPanel;
import java.awt.*;
/**
@ -36,6 +38,10 @@ public class SettingsManager {
this.screenHeight = screenHeight;
}
public Rectangle getCardSize() {
return cardSize;
}
/**
* Get centered component position. Depends on screen width and height.
*
@ -63,4 +69,5 @@ public class SettingsManager {
private int screenWidth;
private int screenHeight;
private Rectangle cardSize = CardPanel.CARD_SIZE_FULL;
}