Search in sources :

Example 1 with TrackTogglesMode

use of de.mossgrabers.sl.mode.TrackTogglesMode in project DrivenByMoss by git-moss.

the class SLControllerSetup method createModes.

/**
 * {@inheritDoc}
 */
@Override
protected void createModes() {
    final SLControlSurface surface = this.getSurface();
    final ModeManager modeManager = surface.getModeManager();
    modeManager.registerMode(Modes.MODE_FIXED, new FixedMode(surface, this.model));
    modeManager.registerMode(Modes.MODE_FRAME, new FrameMode(surface, this.model));
    modeManager.registerMode(Modes.MODE_FUNCTIONS, new FunctionMode(surface, this.model));
    modeManager.registerMode(Modes.MODE_MASTER, new MasterMode(surface, this.model));
    modeManager.registerMode(Modes.MODE_PLAY_OPTIONS, new PlayOptionsMode(surface, this.model));
    modeManager.registerMode(Modes.MODE_SESSION, new SessionMode(surface, this.model));
    modeManager.registerMode(Modes.MODE_TRACK, new TrackMode(surface, this.model));
    modeManager.registerMode(Modes.MODE_TRACK_TOGGLES, new TrackTogglesMode(surface, this.model));
    modeManager.registerMode(Modes.MODE_VIEW_SELECT, new ViewSelectMode(surface, this.model));
    modeManager.registerMode(Modes.MODE_VOLUME, new VolumeMode(surface, this.model));
    modeManager.registerMode(Modes.MODE_PARAMS, new DeviceParamsMode(surface, this.model));
    modeManager.registerMode(Modes.MODE_BROWSER, new DevicePresetsMode(surface, this.model));
}
Also used : TrackMode(de.mossgrabers.sl.mode.TrackMode) MasterMode(de.mossgrabers.sl.mode.MasterMode) TrackTogglesMode(de.mossgrabers.sl.mode.TrackTogglesMode) FunctionMode(de.mossgrabers.sl.mode.FunctionMode) SLControlSurface(de.mossgrabers.sl.controller.SLControlSurface) FixedMode(de.mossgrabers.sl.mode.FixedMode) DeviceParamsMode(de.mossgrabers.sl.mode.device.DeviceParamsMode) SessionMode(de.mossgrabers.sl.mode.SessionMode) VolumeMode(de.mossgrabers.sl.mode.VolumeMode) DevicePresetsMode(de.mossgrabers.sl.mode.device.DevicePresetsMode) ViewSelectMode(de.mossgrabers.sl.mode.ViewSelectMode) FrameMode(de.mossgrabers.sl.mode.FrameMode) PlayOptionsMode(de.mossgrabers.sl.mode.PlayOptionsMode) ModeManager(de.mossgrabers.framework.mode.ModeManager)

Aggregations

ModeManager (de.mossgrabers.framework.mode.ModeManager)1 SLControlSurface (de.mossgrabers.sl.controller.SLControlSurface)1 FixedMode (de.mossgrabers.sl.mode.FixedMode)1 FrameMode (de.mossgrabers.sl.mode.FrameMode)1 FunctionMode (de.mossgrabers.sl.mode.FunctionMode)1 MasterMode (de.mossgrabers.sl.mode.MasterMode)1 PlayOptionsMode (de.mossgrabers.sl.mode.PlayOptionsMode)1 SessionMode (de.mossgrabers.sl.mode.SessionMode)1 TrackMode (de.mossgrabers.sl.mode.TrackMode)1 TrackTogglesMode (de.mossgrabers.sl.mode.TrackTogglesMode)1 ViewSelectMode (de.mossgrabers.sl.mode.ViewSelectMode)1 VolumeMode (de.mossgrabers.sl.mode.VolumeMode)1 DeviceParamsMode (de.mossgrabers.sl.mode.device.DeviceParamsMode)1 DevicePresetsMode (de.mossgrabers.sl.mode.device.DevicePresetsMode)1