v0.7.5b: first major portion of rewriting text rendering
some rough edges still need smoothing out
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user