2017-10-17 22:49:21 +02:00
|
|
|
package org.warp.picalculator;
|
|
|
|
|
|
|
|
public class StaticVars {
|
|
|
|
public static final boolean enableVBO = true;
|
|
|
|
public static final String calculatorName = "WarpPI";
|
|
|
|
public static final String calculatorNameLOWER = "warppi";
|
|
|
|
public static final String calculatorNameUPPER = "WARPPI";
|
|
|
|
public static boolean haxMode = true;
|
|
|
|
public static final boolean zoomed = true;
|
|
|
|
public static int[] screenPos = new int[] { 0, 0 };
|
|
|
|
public static final int[] screenSize = new int[] { 480, 320 };
|
|
|
|
public static boolean debugOn;
|
2018-03-14 19:41:10 +01:00
|
|
|
public static int outputLevel = 0;
|
2017-12-24 12:12:21 +01:00
|
|
|
public static boolean debugWindow2x = false;
|
2018-03-17 00:09:40 +01:00
|
|
|
public static Class<?> classLoader;
|
2018-03-31 18:02:36 +02:00
|
|
|
public static float windowZoom = 2;
|
2017-10-17 22:49:21 +02:00
|
|
|
|
|
|
|
private StaticVars() {
|
|
|
|
|
|
|
|
}
|
2018-03-31 18:02:36 +02:00
|
|
|
|
|
|
|
public static float getCurrentZoomValue() {
|
|
|
|
if (StaticVars.debugOn & StaticVars.debugWindow2x) {
|
|
|
|
return 2;
|
|
|
|
} else {
|
|
|
|
return StaticVars.windowZoom;
|
|
|
|
}
|
|
|
|
}
|
2017-10-17 22:49:21 +02:00
|
|
|
}
|