public void touchDragged (InputEvent event, float x, float y, int pointer) { super.touchDragged(event, x, y, pointer); setCursorPosition(x, y); }
public void touchDragged (InputEvent event, float x, float y, int pointer) { super.touchDragged(event, x, y, pointer); setCursorPosition(x, y); }
@Override public void touchDragged (InputEvent event, float x, float y, int pointer) { super.touchDragged(event, x, y, pointer); setCursorPosition(x, y); }
public void touchDragged (InputEvent event, float x, float y, int pointer) { super.touchDragged(event, x, y, pointer); if(pressed){ float newToggleButtonX = downButtonX+x-downX; newToggleButtonX = Math.max(minButtonX, newToggleButtonX); newToggleButtonX = Math.min(maxButtonX, newToggleButtonX); toggleButton.setX(newToggleButtonX); } }
public void touchDragged (InputEvent event, float x, float y, int pointer) { super.touchDragged(event, x, y, pointer); setCursorPosition(x, y); }
public void touchDragged(InputEvent event, float x, float y, int pointer) { super.touchDragged(event, x, y, pointer); setCursorPosition(x, y); }
@Override public void touchDragged (InputEvent event, float x, float y, int pointer) { super.touchDragged(event, x, y, pointer); //handles setting cursor when mouse returned to widget after exiting it while dragged if (contains(x, y)) { setCustomCursor(); } else { clearCustomCursor(); } }
super.touchDragged(event, x, y, pointer);