forked from External/mage
New stack dialog (experimental)
This commit is contained in:
parent
397c393f1d
commit
48f2018af6
24 changed files with 1095 additions and 21 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue