diff --git a/forge-gui-android/pom.xml b/forge-gui-android/pom.xml
index 51824df3241..e57470c688c 100644
--- a/forge-gui-android/pom.xml
+++ b/forge-gui-android/pom.xml
@@ -7,7 +7,7 @@
jar
-Xms128m
-Xmx2048m
- 1.5.28.003
+ 1.5.28.004
diff --git a/forge-gui-mobile/src/forge/Forge.java b/forge-gui-mobile/src/forge/Forge.java
index 3b523dfbbc2..60b27bca318 100644
--- a/forge-gui-mobile/src/forge/Forge.java
+++ b/forge-gui-mobile/src/forge/Forge.java
@@ -38,7 +38,7 @@ import forge.util.FileUtil;
import forge.util.Utils;
public class Forge implements ApplicationListener {
- public static final String CURRENT_VERSION = "1.5.28.003";
+ public static final String CURRENT_VERSION = "1.5.28.004";
private static final ApplicationListener app = new Forge();
private static Clipboard clipboard;
diff --git a/forge-gui-mobile/src/forge/assets/FSkinFont.java b/forge-gui-mobile/src/forge/assets/FSkinFont.java
index 5020687e74b..a53c06a2576 100644
--- a/forge-gui-mobile/src/forge/assets/FSkinFont.java
+++ b/forge-gui-mobile/src/forge/assets/FSkinFont.java
@@ -39,7 +39,7 @@ public class FSkinFont {
}
public static FSkinFont get(final int unscaledSize) {
- return _get((int)Utils.scaleMax(unscaledSize));
+ return _get((int)Utils.scale(unscaledSize));
}
public static FSkinFont _get(final int scaledSize) {
FSkinFont skinFont = fonts.get(scaledSize);
diff --git a/forge-gui-mobile/src/forge/card/CardRenderer.java b/forge-gui-mobile/src/forge/card/CardRenderer.java
index 62f7bdc2e6a..fcc4a79cc93 100644
--- a/forge-gui-mobile/src/forge/card/CardRenderer.java
+++ b/forge-gui-mobile/src/forge/card/CardRenderer.java
@@ -48,12 +48,12 @@ public class CardRenderer {
public static final float NAME_BOX_TINT = 0.2f;
public static final float TEXT_BOX_TINT = 0.1f;
public static final float PT_BOX_TINT = 0.2f;
- public static final float MANA_COST_PADDING = Utils.scaleMin(3);
- public static final float SET_BOX_MARGIN = Utils.scaleMin(1);
+ public static final float MANA_COST_PADDING = Utils.scale(3);
+ public static final float SET_BOX_MARGIN = Utils.scale(1);
public static final float MANA_SYMBOL_SIZE = FSkinImage.MANA_1.getNearestHQWidth(2 * (NAME_FONT.getCapHeight() - MANA_COST_PADDING));
- private static final float NAME_COST_THRESHOLD = Utils.scaleY(200);
+ private static final float NAME_COST_THRESHOLD = Utils.scale(200);
public static final float BLACK_BORDER_THICKNESS_RATIO = 0.021f;
- private static final float BORDER_THICKNESS = Utils.scaleMin(1);
+ private static final float BORDER_THICKNESS = Utils.scale(1);
private static Color fromDetailColor(DetailColors detailColor) {
return FSkinColor.fromRGB(detailColor.r, detailColor.g, detailColor.b);
@@ -461,7 +461,7 @@ public class CardRenderer {
g.drawRect(BORDER_THICKNESS, Color.BLACK, x, y, w, h);
float padX = TEXT_FONT.getCapHeight() / 2;
- float padY = padX + Utils.scaleY(2); //add a little more vertical padding
+ float padY = padX + Utils.scale(2); //add a little more vertical padding
x += padX;
y += padY;
w -= 2 * padX;
@@ -553,7 +553,7 @@ public class CardRenderer {
if (showCardManaCostOverlay(card)) {
float manaSymbolSize = w / 4;
if (card.isSplitCard() && card.hasAltState()) {
- float dy = manaSymbolSize / 2 + Utils.scaleY(5);
+ float dy = manaSymbolSize / 2 + Utils.scale(5);
drawManaCost(g, card.getOriginal().getManaCost(), x, y + dy, w, h, manaSymbolSize);
drawManaCost(g, card.getAlternate().getManaCost(), x, y - dy, w, h, manaSymbolSize);
}
diff --git a/forge-gui-mobile/src/forge/deck/AddBasicLandsDialog.java b/forge-gui-mobile/src/forge/deck/AddBasicLandsDialog.java
index 4174d427ba6..4eeff5a0df3 100644
--- a/forge-gui-mobile/src/forge/deck/AddBasicLandsDialog.java
+++ b/forge-gui-mobile/src/forge/deck/AddBasicLandsDialog.java
@@ -51,7 +51,7 @@ import com.badlogic.gdx.graphics.g2d.BitmapFont.HAlignment;
public class AddBasicLandsDialog extends FDialog {
private static final float ADD_BTN_SIZE = Utils.AVG_FINGER_HEIGHT * 0.75f;
- private static final float LAND_PANEL_PADDING = Utils.scaleY(3);
+ private static final float LAND_PANEL_PADDING = Utils.scale(3);
private final Callback callback;
diff --git a/forge-gui-mobile/src/forge/deck/FDeckChooser.java b/forge-gui-mobile/src/forge/deck/FDeckChooser.java
index 23fe96a4567..16380637ef4 100644
--- a/forge-gui-mobile/src/forge/deck/FDeckChooser.java
+++ b/forge-gui-mobile/src/forge/deck/FDeckChooser.java
@@ -36,7 +36,7 @@ import java.util.Arrays;
import java.util.List;
public class FDeckChooser extends FScreen {
- public static final float PADDING = Utils.scaleMin(5);
+ public static final float PADDING = Utils.scale(5);
private FComboBox cmbDeckTypes;
private DeckType selectedDeckType;
diff --git a/forge-gui-mobile/src/forge/deck/FDeckEditor.java b/forge-gui-mobile/src/forge/deck/FDeckEditor.java
index bfabbeb34de..f05f776a11b 100644
--- a/forge-gui-mobile/src/forge/deck/FDeckEditor.java
+++ b/forge-gui-mobile/src/forge/deck/FDeckEditor.java
@@ -174,7 +174,7 @@ public class FDeckEditor extends TabPageScreen {
private FEventHandler saveHandler;
protected final DeckHeader deckHeader = add(new DeckHeader());
- protected final FLabel lblName = deckHeader.add(new FLabel.Builder().font(FSkinFont.get(16)).insets(new Vector2(Utils.scaleX(5), 0)).build());
+ protected final FLabel lblName = deckHeader.add(new FLabel.Builder().font(FSkinFont.get(16)).insets(new Vector2(Utils.scale(5), 0)).build());
private final FLabel btnSave = deckHeader.add(new FLabel.Builder().icon(FSkinImage.SAVE).align(HAlignment.CENTER).pressedColor(Header.BTN_PRESSED_COLOR).build());
private final FLabel btnMoreOptions = deckHeader.add(new FLabel.Builder().text("...").font(FSkinFont.get(20)).align(HAlignment.CENTER).pressedColor(Header.BTN_PRESSED_COLOR).build());
diff --git a/forge-gui-mobile/src/forge/deck/FVanguardChooser.java b/forge-gui-mobile/src/forge/deck/FVanguardChooser.java
index e81baee89b1..3e0466cbd9c 100644
--- a/forge-gui-mobile/src/forge/deck/FVanguardChooser.java
+++ b/forge-gui-mobile/src/forge/deck/FVanguardChooser.java
@@ -13,7 +13,7 @@ import forge.util.Aggregates;
import forge.util.Utils;
public class FVanguardChooser extends FScreen {
- public static final float PADDING = Utils.scaleMin(5);
+ public static final float PADDING = Utils.scale(5);
private static final CardPool allHumanAvatars = new CardPool();
private static final CardPool allAiAvatars = new CardPool();
diff --git a/forge-gui-mobile/src/forge/error/BugReportDialog.java b/forge-gui-mobile/src/forge/error/BugReportDialog.java
index 825a41233a4..1f67845ca9b 100644
--- a/forge-gui-mobile/src/forge/error/BugReportDialog.java
+++ b/forge-gui-mobile/src/forge/error/BugReportDialog.java
@@ -20,7 +20,7 @@ import forge.util.Callback;
import forge.util.Utils;
public class BugReportDialog extends FScreen { //use screen rather than dialog so screen with bug isn't rendered
- private static final float PADDING = Utils.scaleMin(5);
+ private static final float PADDING = Utils.scale(5);
private static boolean isOpen;
public static void show(String title, String text, boolean showExitAppBtn) {
@@ -110,7 +110,7 @@ public class BugReportDialog extends FScreen { //use screen rather than dialog s
private static final FSkinColor BACK_COLOR = FSkinColor.get(Colors.CLR_ZEBRA);
private static final FSkinColor FORE_COLOR = FSkinColor.get(Colors.CLR_TEXT);
private static final FSkinColor BORDER_COLOR = FSkinColor.get(Colors.CLR_BORDERS);
- private static final float PADDING = Utils.scaleMin(3);
+ private static final float PADDING = Utils.scale(3);
private final String text;
diff --git a/forge-gui-mobile/src/forge/itemmanager/filters/ItemFilter.java b/forge-gui-mobile/src/forge/itemmanager/filters/ItemFilter.java
index a93f3dea7c0..d4a4bd1ed86 100644
--- a/forge-gui-mobile/src/forge/itemmanager/filters/ItemFilter.java
+++ b/forge-gui-mobile/src/forge/itemmanager/filters/ItemFilter.java
@@ -11,7 +11,7 @@ import forge.util.Utils;
public abstract class ItemFilter {
- public static final float PADDING = Utils.scaleMax(3);
+ public static final float PADDING = Utils.scale(3);
public static final FSkinFont DEFAULT_FONT = FSkinFont.get(11);
protected final ItemManager super T> itemManager;
diff --git a/forge-gui-mobile/src/forge/itemmanager/views/ImageView.java b/forge-gui-mobile/src/forge/itemmanager/views/ImageView.java
index 71ce3959679..6dbb4e51186 100644
--- a/forge-gui-mobile/src/forge/itemmanager/views/ImageView.java
+++ b/forge-gui-mobile/src/forge/itemmanager/views/ImageView.java
@@ -43,16 +43,16 @@ import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
public class ImageView extends ItemView {
- private static final float PADDING = Utils.scaleMin(5);
+ private static final float PADDING = Utils.scale(5);
private static final float PILE_SPACING_Y = 0.1f;
private static final FSkinFont LABEL_FONT = FSkinFont.get(12);
private static final FSkinColor GROUP_HEADER_FORE_COLOR = FSkinColor.get(Colors.CLR_TEXT);
private static final FSkinColor GROUP_HEADER_LINE_COLOR = GROUP_HEADER_FORE_COLOR.alphaColor(0.5f);
private static final FSkinFont GROUP_HEADER_FONT = LABEL_FONT;
- private static final float GROUP_HEADER_HEIGHT = Utils.scaleY(19);
- private static final float GROUP_HEADER_GLYPH_WIDTH = Utils.scaleX(6);
- private static final float GROUP_HEADER_LINE_THICKNESS = Utils.scaleY(1);
- private static final float SEL_BORDER_SIZE = Utils.scaleMax(1);
+ private static final float GROUP_HEADER_HEIGHT = Utils.scale(19);
+ private static final float GROUP_HEADER_GLYPH_WIDTH = Utils.scale(6);
+ private static final float GROUP_HEADER_LINE_THICKNESS = Utils.scale(1);
+ private static final float SEL_BORDER_SIZE = Utils.scale(1);
private static final int MIN_COLUMN_COUNT = 1;
private static final int MAX_COLUMN_COUNT = 10;
@@ -102,7 +102,7 @@ public class ImageView extends ItemView {
@Override
protected void drawContent(Graphics g, float w, float h, final boolean pressed) {
- float lineThickness = Utils.scaleMin(1);
+ float lineThickness = Utils.scale(1);
float offset = 2 * lineThickness;
float squareSize = Math.round(w / 2 - offset);
if (squareSize % 2 == 1) {
@@ -420,7 +420,7 @@ public class ImageView extends ItemView {
float itemAreaWidth = getScroller().getWidth();
float groupWidth = itemAreaWidth - 2 * groupX;
- float gap = (MAX_COLUMN_COUNT - columnCount) / 2 + Utils.scaleX(2); //more items per row == less gap between them
+ float gap = (MAX_COLUMN_COUNT - columnCount) / 2 + Utils.scale(2); //more items per row == less gap between them
float itemWidth = (groupWidth + gap) / columnCount - gap;
if (pileBy != null) {
//if showing piles, make smaller so part of the next card is visible so it's obvious if scrolling is needed
diff --git a/forge-gui-mobile/src/forge/menu/FMagnifyView.java b/forge-gui-mobile/src/forge/menu/FMagnifyView.java
index 77d43c356b2..af20cfd2cb4 100644
--- a/forge-gui-mobile/src/forge/menu/FMagnifyView.java
+++ b/forge-gui-mobile/src/forge/menu/FMagnifyView.java
@@ -11,7 +11,7 @@ import forge.toolbox.FDisplayObject;
import forge.util.Utils;
public class FMagnifyView extends FDropDown {
- private static final float PADDING = Utils.scaleMin(5);
+ private static final float PADDING = Utils.scale(5);
private FDisplayObject owner;
private String text;
diff --git a/forge-gui-mobile/src/forge/menu/FMenuTab.java b/forge-gui-mobile/src/forge/menu/FMenuTab.java
index feeceb5d404..346affa8301 100644
--- a/forge-gui-mobile/src/forge/menu/FMenuTab.java
+++ b/forge-gui-mobile/src/forge/menu/FMenuTab.java
@@ -16,8 +16,8 @@ public class FMenuTab extends FDisplayObject {
private static final FSkinColor SEL_FORE_COLOR = FSkinColor.get(Colors.CLR_TEXT);
private static final FSkinColor FORE_COLOR = SEL_FORE_COLOR.alphaColor(0.5f);
private static final FSkinColor SEPARATOR_COLOR = SEL_FORE_COLOR.alphaColor(0.3f);
- public static final float PADDING = Utils.scaleMin(2);
- private static final float SEPARATOR_WIDTH = Utils.scaleX(1);
+ public static final float PADDING = Utils.scale(2);
+ private static final float SEPARATOR_WIDTH = Utils.scale(1);
private final FMenuBar menuBar;
private final FDropDown dropDown;
diff --git a/forge-gui-mobile/src/forge/menu/FTooltip.java b/forge-gui-mobile/src/forge/menu/FTooltip.java
index 94779eb5dcb..b524257ab12 100644
--- a/forge-gui-mobile/src/forge/menu/FTooltip.java
+++ b/forge-gui-mobile/src/forge/menu/FTooltip.java
@@ -15,7 +15,7 @@ import forge.util.Utils;
public class FTooltip extends FDropDown {
private static final FSkinFont FONT = FSkinFont.get(12);
private static final FSkinColor FORE_COLOR = FSkinColor.get(Colors.CLR_TEXT);
- private static final float PADDING = Utils.scaleMin(5);
+ private static final float PADDING = Utils.scale(5);
private FDisplayObject owner;
private float x, y;
diff --git a/forge-gui-mobile/src/forge/screens/FScreen.java b/forge-gui-mobile/src/forge/screens/FScreen.java
index a9bfd270cd0..20714923d16 100644
--- a/forge-gui-mobile/src/forge/screens/FScreen.java
+++ b/forge-gui-mobile/src/forge/screens/FScreen.java
@@ -94,7 +94,7 @@ public abstract class FScreen extends FContainer {
public static final FSkinColor BTN_PRESSED_COLOR = TEXTURE_OVERLAY_COLOR.alphaColor(1f);
public static final FSkinColor LINE_COLOR = BTN_PRESSED_COLOR.stepColor(-40);
public static final FSkinColor BACK_COLOR = BTN_PRESSED_COLOR.stepColor(-80);
- public static final float LINE_THICKNESS = Utils.scaleY(1);
+ public static final float LINE_THICKNESS = Utils.scale(1);
public abstract float getPreferredHeight();
}
@@ -158,7 +158,7 @@ public abstract class FScreen extends FContainer {
}
protected static class BackIcon implements FImage {
- private static final float THICKNESS = Utils.scaleMax(3);
+ private static final float THICKNESS = Utils.scale(3);
private static final FSkinColor COLOR = FSkinColor.get(Colors.CLR_TEXT);
private final float width, height;
diff --git a/forge-gui-mobile/src/forge/screens/LoadingOverlay.java b/forge-gui-mobile/src/forge/screens/LoadingOverlay.java
index 1575117ba80..ca190bbdec2 100644
--- a/forge-gui-mobile/src/forge/screens/LoadingOverlay.java
+++ b/forge-gui-mobile/src/forge/screens/LoadingOverlay.java
@@ -9,13 +9,14 @@ import forge.assets.FSkinColor;
import forge.assets.FSkinColor.Colors;
import forge.assets.FSkinFont;
import forge.assets.FSkinImage;
-import forge.screens.home.HomeScreen;
import forge.toolbox.FDialog;
import forge.toolbox.FOverlay;
import forge.util.ThreadUtil;
import forge.util.Utils;
public class LoadingOverlay extends FOverlay {
+ private static final float LOGO_SIZE_FACTOR = 0.7f;
+ private static final float INSETS_FACTOR = 0.025f;
private static final FSkinFont FONT = FSkinFont.get(22);
private static final FSkinColor BACK_COLOR = FSkinColor.get(Colors.CLR_ACTIVE).alphaColor(0.75f);
private static final FSkinColor FORE_COLOR = FSkinColor.get(Colors.CLR_TEXT);
@@ -57,14 +58,14 @@ public class LoadingOverlay extends FOverlay {
float x = insets;
float w = getWidth() - 2 * insets;
- float padding = w * HomeScreen.INSETS_FACTOR;
- float logoSize = w * HomeScreen.LOGO_SIZE_FACTOR;
+ float padding = w * INSETS_FACTOR;
+ float logoSize = w * LOGO_SIZE_FACTOR;
float fontHeight = FONT.getCapHeight();
float panelHeight = logoSize + fontHeight + 4 * padding;
float y = (getHeight() - panelHeight) / 2;
g.fillRect(BACK_COLOR, x, y, w, panelHeight);
- g.drawRect(Utils.scaleMax(2), FORE_COLOR, x, y, w, panelHeight);
+ g.drawRect(Utils.scale(2), FORE_COLOR, x, y, w, panelHeight);
y += padding;
g.drawImage(FSkinImage.LOGO, (getWidth() - logoSize) / 2f, y, logoSize, logoSize);
y += logoSize + padding;
diff --git a/forge-gui-mobile/src/forge/screens/constructed/AvatarSelector.java b/forge-gui-mobile/src/forge/screens/constructed/AvatarSelector.java
index 40a95081787..bf6c8b50ad8 100644
--- a/forge-gui-mobile/src/forge/screens/constructed/AvatarSelector.java
+++ b/forge-gui-mobile/src/forge/screens/constructed/AvatarSelector.java
@@ -35,7 +35,7 @@ public class AvatarSelector extends FScreen {
Forge.openScreen(selector);
}
- private static final float PADDING = Utils.scaleMin(5);
+ private static final float PADDING = Utils.scale(5);
private static final int COLUMNS = 4;
private final int currentIndex;
diff --git a/forge-gui-mobile/src/forge/screens/constructed/ConstructedScreen.java b/forge-gui-mobile/src/forge/screens/constructed/ConstructedScreen.java
index ae439144c2b..8c1b86e2884 100644
--- a/forge-gui-mobile/src/forge/screens/constructed/ConstructedScreen.java
+++ b/forge-gui-mobile/src/forge/screens/constructed/ConstructedScreen.java
@@ -53,7 +53,7 @@ import forge.util.Utils;
public class ConstructedScreen extends LaunchScreen {
private static final ForgePreferences prefs = FModel.getPreferences();
- private static final float PADDING = Utils.scaleMin(5);
+ private static final float PADDING = Utils.scale(5);
private static final int MAX_PLAYERS = 2; //8; //TODO: Support multiplayer
private static final FSkinFont VARIANTS_FONT = FSkinFont.get(12);
private static final FSkinFont LABEL_FONT = FSkinFont.get(14);
diff --git a/forge-gui-mobile/src/forge/screens/home/HomeScreen.java b/forge-gui-mobile/src/forge/screens/home/HomeScreen.java
index e135e80b0be..870305ced92 100644
--- a/forge-gui-mobile/src/forge/screens/home/HomeScreen.java
+++ b/forge-gui-mobile/src/forge/screens/home/HomeScreen.java
@@ -5,7 +5,6 @@ import java.util.ArrayList;
import forge.screens.FScreen;
import forge.screens.LoadingOverlay;
import forge.Forge;
-import forge.Graphics;
import forge.assets.FSkinImage;
import forge.screens.constructed.ConstructedScreen;
import forge.screens.draft.DraftScreen;
@@ -17,11 +16,13 @@ import forge.screens.settings.SettingsScreen;
import forge.toolbox.FButton;
import forge.toolbox.FEvent;
import forge.toolbox.FEvent.FEventHandler;
+import forge.toolbox.FLabel;
+import forge.util.Utils;
public class HomeScreen extends FScreen {
- public static final float LOGO_SIZE_FACTOR = 0.7f;
- public static final float INSETS_FACTOR = 0.025f;
- private static final float GAP_Y_FACTOR = 0.01f;
+ private static final float PADDING = Utils.scale(5);
+
+ private final FLabel lblLogo = add(new FLabel.Builder().icon(FSkinImage.LOGO).iconInBackground().iconScaleFactor(1).build());
private final ArrayList buttons = new ArrayList();
public HomeScreen() {
@@ -76,26 +77,24 @@ public class HomeScreen extends FScreen {
@Override
protected void doLayout(float startY, float width, float height) {
- float x = width * INSETS_FACTOR;
- float y = width * LOGO_SIZE_FACTOR + 2 * x; //start below background logo
- float dy = height * GAP_Y_FACTOR;
- float buttonWidth = width - 2 * x;
- float buttonHeight = (height - y - x) / buttons.size() - dy;
- dy += buttonHeight;
+ float buttonWidth = width - 2 * PADDING;
+ float buttonHeight = buttons.get(0).getFont().getCapHeight() * 3.5f;
+ float x = PADDING;
+ float y = height;
+ float dy = buttonHeight + PADDING;
- for (FButton button : buttons) {
- button.setBounds(x, y, buttonWidth, buttonHeight);
- y += dy;
+ for (int i = buttons.size() - 1; i >= 0; i--) {
+ y -= dy;
+ buttons.get(i).setBounds(x, y, buttonWidth, buttonHeight);
}
- }
- @Override
- protected void drawBackground(Graphics g) {
- super.drawBackground(g);
-
- float size = getWidth() * LOGO_SIZE_FACTOR;
- float x = (getWidth() - size) / 2f;
- float y = getWidth() * INSETS_FACTOR;
- g.drawImage(FSkinImage.LOGO, x, y, size, size);
+ float logoSize = y - 2 * PADDING;
+ y = PADDING;
+ if (logoSize > buttonWidth) {
+ y += (logoSize - buttonWidth) / 2;
+ logoSize = buttonWidth;
+ }
+ x = (width - logoSize) / 2;
+ lblLogo.setBounds(x, y, logoSize, logoSize);
}
}
diff --git a/forge-gui-mobile/src/forge/screens/match/TargetingOverlay.java b/forge-gui-mobile/src/forge/screens/match/TargetingOverlay.java
index ca71d708089..e079b14b1ce 100644
--- a/forge-gui-mobile/src/forge/screens/match/TargetingOverlay.java
+++ b/forge-gui-mobile/src/forge/screens/match/TargetingOverlay.java
@@ -29,8 +29,8 @@ import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.math.Vector2;
public class TargetingOverlay {
- private static final float BORDER_THICKNESS = Utils.scaleMin(1);
- private static final float ARROW_THICKNESS = Utils.scaleMax(5);
+ private static final float BORDER_THICKNESS = Utils.scale(1);
+ private static final float ARROW_THICKNESS = Utils.scale(5);
private static final float ARROW_SIZE = 3 * ARROW_THICKNESS;
private static FSkinColor friendColor, foeColor;
diff --git a/forge-gui-mobile/src/forge/screens/match/views/VAssignDamage.java b/forge-gui-mobile/src/forge/screens/match/views/VAssignDamage.java
index 6486f56e301..d87180b2586 100644
--- a/forge-gui-mobile/src/forge/screens/match/views/VAssignDamage.java
+++ b/forge-gui-mobile/src/forge/screens/match/views/VAssignDamage.java
@@ -50,7 +50,7 @@ import java.util.Map;
import com.badlogic.gdx.graphics.g2d.BitmapFont.HAlignment;
public class VAssignDamage extends FDialog {
- private static final float CARD_GAP_X = Utils.scaleX(10);
+ private static final float CARD_GAP_X = Utils.scale(10);
private static final float ADD_BTN_HEIGHT = Utils.AVG_FINGER_HEIGHT * 0.75f;
private final Callback