v0.9.4: overhauled text input, now multiplatform using libGDX textField
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user