public void run () { cursorOn = !cursorOn; Gdx.graphics.requestRendering(); } };
@Override public void postRunnable (Runnable runnable) { synchronized (runnables) { runnables.add(runnable); Gdx.graphics.requestRendering(); } }
@Override public void postRunnable (Runnable runnable) { synchronized (runnables) { runnables.add(runnable); Gdx.graphics.requestRendering(); } }
@Override public void postRunnable (Runnable runnable) { synchronized (runnables) { runnables.add(runnable); Gdx.graphics.requestRendering(); } }
@Override public boolean shouldEndEditing (UITextField textField) { // Text field needs to have at least one symbol - so we can use backspace textField.setText("x"); Gdx.graphics.requestRendering(); return true; }
@Override public void postRunnable (Runnable runnable) { synchronized (runnables) { runnables.add(runnable); Gdx.graphics.requestRendering(); } }
@Override public void postRunnable (Runnable runnable) { synchronized (runnables) { runnables.add(runnable); Gdx.graphics.requestRendering(); } }
@Override public void postRunnable (Runnable runnable) { synchronized (runnables) { runnables.add(runnable); Gdx.graphics.requestRendering(); } }
@Override public boolean textFieldShouldEndEditing (UITextField textField) { // Text field needs to have at least one symbol - so we can use backspace textField.setText("x"); Gdx.graphics.requestRendering(); return true; }
@Override public void postRunnable (Runnable runnable) { synchronized (runnables) { runnables.add(runnable); Gdx.graphics.requestRendering(); } }
@Override public void postRunnable (Runnable runnable) { synchronized (runnables) { runnables.add(runnable); Gdx.graphics.requestRendering(); } }
@Override public boolean shouldEndEditing (UITextField textField) { // Text field needs to have at least one symbol - so we can use backspace textField.setText("x"); Gdx.graphics.requestRendering(); return true; }
@Override public void postRunnable (Runnable runnable) { synchronized (runnables) { runnables.add(runnable); Gdx.graphics.requestRendering(); } }
@Override public boolean textFieldShouldEndEditing (UITextField textField) { // Text field needs to have at least one symbol - so we can use backspace textField.setText("x"); Gdx.graphics.requestRendering(); return true; }
@Override public void deleteBackward () { app.input.inputProcessor.keyTyped((char)8); super.deleteBackward(); Gdx.graphics.requestRendering(); } }
@Override public void deleteBackward () { app.input.inputProcessor.keyTyped((char)8); super.deleteBackward(); Gdx.graphics.requestRendering(); } }
public void addAction (Action action) { action.setActor(this); actions.add(action); if (stage != null && stage.getActionsRequestRendering()) Gdx.graphics.requestRendering(); }
@Override public void act (float delta) { super.act(delta); if (animateTime > 0) { animateTime -= delta; Stage stage = getStage(); if (stage != null && stage.getActionsRequestRendering()) Gdx.graphics.requestRendering(); } }
@Override public boolean textFieldShouldReturn (UITextField textField) { if (keyboardCloseOnReturn) setOnscreenKeyboardVisible(false); app.input.inputProcessor.keyDown(Keys.ENTER); app.input.inputProcessor.keyTyped((char)13); Gdx.graphics.requestRendering(); return false; } };
@Override public boolean shouldReturn (UITextField textField) { if (keyboardCloseOnReturn) setOnscreenKeyboardVisible(false); app.input.inputProcessor.keyDown(Keys.ENTER); app.input.inputProcessor.keyTyped((char)13); Gdx.graphics.requestRendering(); return false; } };