Search in sources :

Example 1 with ControlView

use of de.mossgrabers.sl.view.ControlView in project DrivenByMoss by git-moss.

the class SLControllerSetup method createViews.

/**
 * {@inheritDoc}
 */
@Override
protected void createViews() {
    final SLControlSurface surface = this.getSurface();
    final ViewManager viewManager = surface.getViewManager();
    viewManager.registerView(Views.VIEW_PLAY, new PlayView(surface, this.model));
    viewManager.registerView(Views.VIEW_CONTROL, new ControlView(surface, this.model));
}
Also used : ViewManager(de.mossgrabers.framework.view.ViewManager) SLControlSurface(de.mossgrabers.sl.controller.SLControlSurface) PlayView(de.mossgrabers.sl.view.PlayView) ControlView(de.mossgrabers.sl.view.ControlView)

Aggregations

ViewManager (de.mossgrabers.framework.view.ViewManager)1 SLControlSurface (de.mossgrabers.sl.controller.SLControlSurface)1 ControlView (de.mossgrabers.sl.view.ControlView)1 PlayView (de.mossgrabers.sl.view.PlayView)1