v0.9.4: overhauled text input, now multiplatform using libGDX textField

This commit is contained in:
Evan Debenham
2021-07-08 12:38:45 -04:00
parent bcdbf8ef43
commit 7307c38a3c
12 changed files with 296 additions and 56 deletions

View File

@@ -37,15 +37,6 @@ public abstract class PlatformSupport {
public abstract void updateSystemUI();
public abstract boolean connectedToUnmeteredNetwork();
//FIXME this is currently used because no platform-agnostic text input has been implemented.
//should look into doing that using either plain openGL or libgdx's libraries
public abstract void promptTextInput( String title, String hintText, int maxLen, boolean multiLine,
String posTxt, String negTxt, TextCallback callback);
public static abstract class TextCallback {
public abstract void onSelect( boolean positive, String text );
}
public void vibrate( int millis ){
//regular GDX vibration by default