Search in sources :

Example 51 with Display

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();
}
Also used : IValueChanger(de.mossgrabers.framework.controller.IValueChanger) Display(de.mossgrabers.framework.controller.display.Display) PushDisplay(de.mossgrabers.push.controller.PushDisplay)

Example 52 with Display

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);
}
Also used : Display(de.mossgrabers.framework.controller.display.Display) SLDisplay(de.mossgrabers.sl.controller.SLDisplay)

Example 53 with Display

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);
}
Also used : Display(de.mossgrabers.framework.controller.display.Display)

Aggregations

Display (de.mossgrabers.framework.controller.display.Display)53 PushDisplay (de.mossgrabers.push.controller.PushDisplay)22 IChannelBank (de.mossgrabers.framework.daw.IChannelBank)18 ITrack (de.mossgrabers.framework.daw.data.ITrack)18 ICursorDevice (de.mossgrabers.framework.daw.ICursorDevice)10 ISend (de.mossgrabers.framework.daw.data.ISend)6 IChannel (de.mossgrabers.framework.daw.data.IChannel)5 IMasterTrack (de.mossgrabers.framework.daw.data.IMasterTrack)4 IParameter (de.mossgrabers.framework.daw.data.IParameter)4 PushConfiguration (de.mossgrabers.push.PushConfiguration)4 SLDisplay (de.mossgrabers.sl.controller.SLDisplay)4 IBrowser (de.mossgrabers.framework.daw.IBrowser)3 IBrowserColumn (de.mossgrabers.framework.daw.data.IBrowserColumn)3 IBrowserColumnItem (de.mossgrabers.framework.daw.data.IBrowserColumnItem)3 ViewManager (de.mossgrabers.framework.view.ViewManager)3 IApplication (de.mossgrabers.framework.daw.IApplication)2 MCUConfiguration (de.mossgrabers.mcu.MCUConfiguration)2 IValueChanger (de.mossgrabers.framework.controller.IValueChanger)1 ICursorClip (de.mossgrabers.framework.daw.ICursorClip)1 ISceneBank (de.mossgrabers.framework.daw.ISceneBank)1