forked from External/mage
Some minor formatting.
This commit is contained in:
parent
9c5d5208b9
commit
bf4ccf185c
10 changed files with 79 additions and 61 deletions
|
|
@ -14,21 +14,21 @@ import java.awt.image.BufferedImage;
|
|||
*/
|
||||
public class DialogContainer extends JPanel {
|
||||
|
||||
private static int X_OFFSET = 30;
|
||||
private static int Y_OFFSET = 30;
|
||||
private BufferedImage shadow = null;
|
||||
private static final int X_OFFSET = 30;
|
||||
private static final int Y_OFFSET = 30;
|
||||
private final BufferedImage shadow = null;
|
||||
//private DialogManager.MTGDialogs dialogType;
|
||||
//private DlgParams params;
|
||||
private Color backgroundColor = new Color(0, 255, 255, 60);
|
||||
private int alpha = 50;
|
||||
|
||||
private boolean isGradient = false;
|
||||
private TexturePaint tp = null;
|
||||
private Image gradient = null;
|
||||
private final boolean isGradient = false;
|
||||
private final TexturePaint tp = null;
|
||||
private final Image gradient = null;
|
||||
private BufferedImage b;
|
||||
|
||||
private boolean drawContainer = true;
|
||||
private DialogManager.MTGDialogs dialogType;
|
||||
private final DialogManager.MTGDialogs dialogType;
|
||||
|
||||
public DialogContainer(DialogManager.MTGDialogs dialogType, DlgParams params) {
|
||||
setOpaque(false);
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ public class ChoiceDialog extends IDialogPanel {
|
|||
|
||||
private JButton jButtonSort = null;
|
||||
|
||||
private CardsView cards;
|
||||
private UUID gameId;
|
||||
private final CardsView cards;
|
||||
private final UUID gameId;
|
||||
|
||||
private int page = 1;
|
||||
private int maxPages;
|
||||
|
|
@ -48,12 +48,14 @@ public class ChoiceDialog extends IDialogPanel {
|
|||
private boolean isChooseAbility = false;
|
||||
private boolean isCancelStopsPlaying = true;
|
||||
|
||||
private DlgParams params;
|
||||
private final DlgParams params;
|
||||
|
||||
private String title;
|
||||
private final String title;
|
||||
|
||||
/**
|
||||
* This is the default constructor
|
||||
* @param params
|
||||
* @param title
|
||||
*/
|
||||
public ChoiceDialog(DlgParams params, String title) {
|
||||
super(params);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue