v0.7.5b: first major portion of rewriting text rendering

some rough edges still need smoothing out
This commit is contained in:
Evan Debenham
2019-10-10 22:20:23 -04:00
parent bbee1a1372
commit b985ed3bf5
14 changed files with 393 additions and 214 deletions
@@ -21,6 +21,8 @@
package com.watabou.utils;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
public abstract class PlatformSupport {
public abstract void updateDisplaySize();
@@ -35,5 +37,13 @@ public abstract class PlatformSupport {
public static abstract class TextCallback {
public abstract void onSelect( boolean positive, String text );
}
//TODO should consider spinning this into its own class, rather than platform support getting ever bigger
public abstract void setupFontGenerators(int pageSize, boolean systemFont );
public abstract void resetGenerators();
public abstract BitmapFont getFont(int size, String text);
}