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

@@ -160,22 +160,6 @@ public class AndroidPlatformSupport extends PlatformSupport {
}
}
@Override
public void promptTextInput(final String title, final String hintText, final int maxLen, final boolean multiLine, final String posTxt, final String negTxt, final TextCallback callback) {
Game.runOnRenderThread( new Callback() {
@Override
public void call() {
Game.scene().addToFront(new WndAndroidTextInput(title, hintText, maxLen, multiLine, posTxt, negTxt) {
@Override
protected void onSelect(boolean positive) {
callback.onSelect(positive, getText());
}
});
}
}
);
}
/* FONT SUPPORT */
//droid sans / roboto, or a custom pixel font, for use with Latin and Cyrillic languages