use of de.mossgrabers.framework.controller.display.Display in project DrivenByMoss by git-moss.
the class AccentMode method updateDisplay1.
/**
* {@inheritDoc}
*/
@Override
public void updateDisplay1() {
final int fixedAccentValue = this.surface.getConfiguration().getFixedAccentValue();
final IValueChanger valueChanger = this.model.getValueChanger();
final Display d = this.surface.getDisplay();
d.clear().setCell(0, 7, "Accent").setCell(1, 7, fixedAccentValue, Format.FORMAT_RAW).setCell(2, 7, valueChanger.toDAWValue(fixedAccentValue), Format.FORMAT_VALUE).allDone();
}
use of de.mossgrabers.framework.controller.display.Display in project DrivenByMoss by git-moss.
the class FixedMode method updateDisplay.
/**
* {@inheritDoc}
*/
@Override
public void updateDisplay() {
final Display d = this.surface.getDisplay().clearRow(0).setBlock(0, 0, "New Clip Length:").done(0);
for (int i = 0; i < 8; i++) d.setCell(2, i, (this.surface.getConfiguration().getNewClipLength() == i ? SLDisplay.RIGHT_ARROW : " ") + FixedMode.CLIP_LENGTHS[i]);
d.done(2);
}
use of de.mossgrabers.framework.controller.display.Display in project DrivenByMoss by git-moss.
the class PlayOptionsMode method updateDisplay.
/**
* {@inheritDoc}
*/
@Override
public void updateDisplay() {
final Display d = this.surface.getDisplay();
d.clearRow(2).setCell(2, 0, "Oct Down").setCell(2, 1, " Oct Up").setCell(2, 2, "Res Down").setCell(2, 3, " Res Up").setCell(2, 4, " Left").setCell(2, 5, " Right").setCell(2, 7, "Play/Seq").clearRow(0).done(0).done(2);
}
Aggregations