Search in sources :

Example 11 with IValueChanger

use of de.mossgrabers.framework.controller.IValueChanger 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)

Aggregations

IValueChanger (de.mossgrabers.framework.controller.IValueChanger)11 PushDisplay (de.mossgrabers.push.controller.PushDisplay)7 PushConfiguration (de.mossgrabers.push.PushConfiguration)6 DisplayMessage (de.mossgrabers.push.controller.DisplayMessage)6 IChannelBank (de.mossgrabers.framework.daw.IChannelBank)5 ITrackBank (de.mossgrabers.framework.daw.ITrackBank)3 ISend (de.mossgrabers.framework.daw.data.ISend)3 ITrack (de.mossgrabers.framework.daw.data.ITrack)3 IChannel (de.mossgrabers.framework.daw.data.IChannel)2 Display (de.mossgrabers.framework.controller.display.Display)1 ICursorDevice (de.mossgrabers.framework.daw.ICursorDevice)1 IMasterTrack (de.mossgrabers.framework.daw.data.IMasterTrack)1 IParameter (de.mossgrabers.framework.daw.data.IParameter)1