Package net.sf.colossus.gui
Class Scale
java.lang.Object
net.sf.colossus.gui.Scale
Class Scale holds static information used to scale all GUI elements.
- Author:
- David Ripton
-
Field Details
-
scale
static int scale
-
-
Constructor Details
-
Scale
public Scale()
-
-
Method Details
-
get
public static int get() -
set
static void set(int scale) -
fitScreenRes
static void fitScreenRes()Set the scale so that the MasterBoard fits on the screen. Default scale should be 15 for screen resolutions with height 1000 or more. For less, scale it down linearly.
-