/** Hides the dialog. Called automatically when a button is clicked. The default implementation fades out the dialog over 400 * milliseconds. */ public void hide () { hide(fadeOut(0.4f, Interpolation.fade)); }
/** Hides the dialog. Called automatically when a button is clicked. The default implementation fades out the dialog over 400 * milliseconds. */ public void hide () { hide(fadeOut(0.4f, Interpolation.fade)); }
protected void onHide (Actor selectBoxList) { selectBoxList.getColor().a = 1; selectBoxList.addAction(sequence(fadeOut(0.15f, Interpolation.fade), removeActor())); }
protected void onHide (Actor selectBoxList) { selectBoxList.getColor().a = 1; selectBoxList.addAction(sequence(fadeOut(0.15f, Interpolation.fade), removeActor())); }
@Override public void create () { texture = new Texture(Gdx.files.internal("data/badlogicsmall.jpg")); stage = new Stage(); for (int i = 0; i < 100; i++) { Image img = new Image(new TextureRegion(texture)); img.setX((float)Math.random() * 480); img.setY((float)Math.random() * 320); img.getColor().a = (float)Math.random() * 0.5f + 0.5f; stage.addActor(img); } stage.getRoot().addAction(forever(sequence(fadeOut(3), fadeIn(3)))); }
/** Hides the dialog. Called automatically when a button is clicked. The default implementation fades out the dialog over 400 * milliseconds. */ public void hide () { hide(fadeOut(0.4f, Interpolation.fade)); }
public void fadeOut() { if (isActionFadeInOuUsingRandomTimeRange) { timeLeftForNewFadeInOutDecision = (int) (rnd .nextInt(timerRangeNewFadeInOutDecision) + durationSpeedFadeInOut); } else { timeLeftForNewFadeInOutDecision = (int) (timerRangeNewFadeInOutDecision + durationSpeedFadeInOut); } timeLeftForNewFadeInOutDecision = (int) getSecondsTime() + timeLeftForNewFadeInOutDecision; addAction(Actions.fadeOut(durationSpeedFadeInOut)); isFadeOut = true; }
public void fadeOut() { if (isActionFadeInOuUsingRandomTimeRange) { timeLeftForNewFadeInOutDecision = (int) (rnd .nextInt(timerRangeNewFadeInOutDecision) + durationSpeedFadeInOut); } else { timeLeftForNewFadeInOutDecision = (int) (timerRangeNewFadeInOutDecision + durationSpeedFadeInOut); } timeLeftForNewFadeInOutDecision = (int) getSecondsTime() + timeLeftForNewFadeInOutDecision; addAction(Actions.fadeOut(durationSpeedFadeInOut)); isFadeOut = true; }
@Override public Action provideAction(final ViewController forController, final ViewController connectedView) { return Actions.sequence( Actions.run(new Runnable() { @Override public void run() { App.inst().getInput().removeProcessor(forController.getStage()); } }), Actions.fadeOut(InterfaceService.DEFAULT_FADING_TIME)); } });
public void fadeOut () { mainTable.addAction(Actions.sequence(Actions.fadeOut(VisWindow.FADE_TIME, Interpolation.fade), new Action() { @Override public boolean act (float delta) { toastManager.remove(Toast.this); return true; } })); }
public void fadeOut () { mainTable.addAction(Actions.sequence(Actions.fadeOut(VisWindow.FADE_TIME, Interpolation.fade), new Action() { @Override public boolean act (float delta) { toastManager.remove(Toast.this); return true; } })); }
public static AbstractScreen fadeInScreen(GDXGame game, AbstractScreen screen){ Table table = buildTable(Color.BLACK.cpy()); table.addAction(Actions.fadeOut(FADE_DURATION)); screen.getStage().addActor(table); if(screenFadeTableMap.containsKey(screen)) screenFadeTableMap.get(screen).remove(); screenFadeTableMap.put(screen, table); return screen; }
/** * Hide the window and remove from the stage */ public void hide () { addAction(Actions.sequence(Actions.fadeOut(FADE_TIME, Interpolation.fade), Actions.removeActor())); } }
/** * Hide the window and remove from the stage */ public void hide () { addAction(Actions.sequence(Actions.fadeOut(FADE_TIME, Interpolation.fade), Actions.removeActor())); } }
/** * Hides the dialog. Called automatically when a button is clicked. The * default implementation fades out the dialog over 400 milliseconds and * then removes it from the stage. */ public void hide() { hide(sequence(fadeOut(0.4f, Interpolation.fade), Actions.removeActor())); stage.setKeyboardFocus(previousKeyboardFocus); }
/** * Hides the dialog. Called automatically when a button is clicked. The default implementation fades out the dialog over 400 * milliseconds and then removes it from the stage. */ public void hide () { hide(sequence(Actions.fadeOut(FADE_TIME, Interpolation.fade), Actions.removeListener(ignoreTouchDown, true), Actions.removeActor())); }
protected void onHide (Actor selectBoxList) { selectBoxList.getColor().a = 1; selectBoxList.addAction(sequence(fadeOut(0.15f, Interpolation.fade), removeActor())); }
@Override public void onDragFinished() { eventDispatcher.postEvent(new FileDragDropEvent(FileDragDropEvent.Action.STOP_DRAGGING)); overlayRoot.clearActions(); overlayRoot.addAction(Actions.sequence( Actions.fadeOut(0.35f), Actions.visible(false) )); }
public void animateHighlight() { if (highlightAction != null) { imgHighlight.removeAction(highlightAction); highlightAction = null; } imgHighlight.addAction(highlightAction = Actions.sequence( Actions.alpha(1f), Actions.visible(true), Actions.fadeOut(5f, Interpolation.pow3Out), Actions.visible(false) )); }