Files
Blur/common/src/main/java/eu/midnightdust/blur/BlurInfo.java
2024-09-06 21:44:34 +02:00

29 lines
894 B
Java

package eu.midnightdust.blur;
public class BlurInfo {
public static long start;
public static float progress;
public static boolean prevScreenHasBlur;
public static boolean screenHasBlur;
public static boolean prevScreenHasBackground;
public static boolean screenHasBackground;
public static boolean doTest = true;
public static boolean screenChanged = true;
public static long lastScreenChange = System.currentTimeMillis();
public static void reset() {
// Here, we reset all tests, to check if the new screen has blur and/or a background
prevScreenHasBlur = screenHasBlur;
prevScreenHasBackground = screenHasBackground;
screenHasBlur = false;
screenHasBackground = false;
doTest = true;
screenChanged = true;
start = -1;
lastScreenChange = System.currentTimeMillis();
}
}