use of de.mossgrabers.controller.novation.sl.controller.SLDisplay in project DrivenByMoss by git-moss.
the class SLControllerSetup method layoutControls.
/**
* {@inheritDoc}
*/
@Override
protected void layoutControls() {
final SLControlSurface surface = this.getSurface();
surface.getButton(ButtonID.PAD1).setBounds(51.0, 179.75, 34.75, 33.25);
surface.getButton(ButtonID.PAD2).setBounds(91.25, 179.75, 34.75, 33.25);
surface.getButton(ButtonID.PAD3).setBounds(131.75, 179.75, 34.75, 33.25);
surface.getButton(ButtonID.PAD4).setBounds(172.0, 179.75, 34.75, 33.25);
surface.getButton(ButtonID.PAD5).setBounds(212.25, 179.75, 34.75, 33.25);
surface.getButton(ButtonID.PAD6).setBounds(252.5, 179.75, 34.75, 33.25);
surface.getButton(ButtonID.PAD7).setBounds(293.0, 179.75, 34.75, 33.25);
surface.getButton(ButtonID.PAD8).setBounds(333.25, 179.75, 34.75, 33.25);
surface.getButton(ButtonID.ROW1_1).setBounds(56.25, 57.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW2_1).setBounds(54.75, 121.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW3_1).setBounds(434.25, 141.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW4_1).setBounds(434.75, 163.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW_SELECT_1).setBounds(13.5, 57.75, 17.5, 15.0);
surface.getButton(ButtonID.ROW1_2).setBounds(96.0, 57.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW2_2).setBounds(95.0, 121.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW3_2).setBounds(474.25, 141.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW4_2).setBounds(475.0, 163.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW_SELECT_2).setBounds(13.5, 90.5, 17.5, 15.0);
surface.getButton(ButtonID.ROW1_3).setBounds(135.5, 57.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW2_3).setBounds(135.0, 121.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW3_3).setBounds(514.5, 141.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW4_3).setBounds(515.25, 163.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW_SELECT_3).setBounds(13.5, 119.75, 17.5, 15.0);
surface.getButton(ButtonID.ROW1_4).setBounds(175.25, 57.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW2_4).setBounds(175.25, 121.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW3_4).setBounds(554.5, 141.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW4_4).setBounds(555.5, 163.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW_SELECT_4).setBounds(13.5, 152.0, 17.5, 15.0);
surface.getButton(ButtonID.ROW1_5).setBounds(214.75, 57.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW2_5).setBounds(215.5, 121.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW3_5).setBounds(594.75, 141.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW4_5).setBounds(595.75, 163.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW_SELECT_5).setBounds(13.5, 189.25, 17.5, 15.0);
surface.getButton(ButtonID.ROW1_6).setBounds(254.5, 57.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW2_6).setBounds(255.75, 121.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW3_6).setBounds(634.75, 141.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW4_6).setBounds(636.0, 163.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW_SELECT_6).setBounds(768.5, 90.0, 19.0, 16.0);
surface.getButton(ButtonID.ROW1_7).setBounds(294.0, 57.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW2_7).setBounds(295.75, 121.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW3_7).setBounds(675.0, 141.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW4_7).setBounds(676.25, 163.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW_SELECT_7).setBounds(768.5, 139.5, 19.0, 16.0);
surface.getButton(ButtonID.ROW1_8).setBounds(333.75, 57.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW2_8).setBounds(336.0, 121.25, 31.5, 14.25);
surface.getButton(ButtonID.ROW3_8).setBounds(715.0, 141.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW4_8).setBounds(716.5, 163.0, 29.75, 15.0);
surface.getButton(ButtonID.ROW_SELECT_8).setBounds(768.5, 162.0, 19.0, 16.0);
surface.getButton(ButtonID.REWIND).setBounds(532.5, 193.5, 25.0, 22.75);
surface.getButton(ButtonID.FORWARD).setBounds(564.0, 193.5, 25.0, 22.75);
surface.getButton(ButtonID.STOP).setBounds(595.25, 193.5, 25.0, 22.75);
surface.getButton(ButtonID.PLAY).setBounds(626.5, 193.5, 25.0, 22.75);
surface.getButton(ButtonID.LOOP).setBounds(657.75, 193.5, 25.0, 22.75);
surface.getButton(ButtonID.RECORD).setBounds(689.25, 193.5, 25.0, 22.75);
surface.getButton(ButtonID.ARROW_LEFT).setBounds(12.5, 16.25, 25.0, 15.75);
surface.getButton(ButtonID.ARROW_RIGHT).setBounds(12.5, 33.5, 25.0, 15.75);
surface.getButton(ButtonID.ARROW_UP).setBounds(762.5, 11.0, 25.0, 16.5);
surface.getButton(ButtonID.ARROW_DOWN).setBounds(762.5, 30.0, 25.0, 16.5);
surface.getButton(ButtonID.NOTE).setBounds(385.75, 161.75, 24.25, 17.0);
surface.getButton(ButtonID.CONTROL).setBounds(767.75, 328.75, 22.75, 18.25);
surface.getContinuous(ContinuousID.DEVICE_KNOB1).setBounds(55.0, 83.5, 23.5, 24.25);
surface.getContinuous(ContinuousID.KNOB1).setBounds(53.75, 146.0, 25.0, 25.0);
surface.getContinuous(ContinuousID.DEVICE_KNOB2).setBounds(95.75, 83.5, 23.5, 23.5);
surface.getContinuous(ContinuousID.KNOB2).setBounds(94.25, 146.0, 25.0, 25.0);
surface.getContinuous(ContinuousID.DEVICE_KNOB3).setBounds(136.25, 83.5, 23.5, 23.5);
surface.getContinuous(ContinuousID.KNOB3).setBounds(134.75, 146.0, 25.0, 25.0);
surface.getContinuous(ContinuousID.DEVICE_KNOB4).setBounds(177.0, 83.5, 23.5, 23.5);
surface.getContinuous(ContinuousID.KNOB4).setBounds(175.25, 146.0, 25.0, 25.0);
surface.getContinuous(ContinuousID.DEVICE_KNOB5).setBounds(217.5, 83.5, 23.5, 23.5);
surface.getContinuous(ContinuousID.KNOB5).setBounds(215.75, 146.0, 25.0, 25.0);
surface.getContinuous(ContinuousID.DEVICE_KNOB6).setBounds(258.25, 83.5, 23.5, 23.5);
surface.getContinuous(ContinuousID.KNOB6).setBounds(256.25, 146.0, 25.0, 25.0);
surface.getContinuous(ContinuousID.DEVICE_KNOB7).setBounds(298.75, 83.5, 23.5, 23.5);
surface.getContinuous(ContinuousID.KNOB7).setBounds(296.75, 146.0, 25.0, 25.0);
surface.getContinuous(ContinuousID.DEVICE_KNOB8).setBounds(339.5, 83.5, 23.5, 23.5);
surface.getContinuous(ContinuousID.KNOB8).setBounds(337.5, 146.0, 25.0, 25.0);
surface.getContinuous(ContinuousID.FADER1).setBounds(435.5, 55.75, 23.25, 75.75);
surface.getContinuous(ContinuousID.FADER2).setBounds(476.25, 55.75, 23.25, 75.75);
surface.getContinuous(ContinuousID.FADER3).setBounds(517.0, 55.75, 23.25, 75.75);
surface.getContinuous(ContinuousID.FADER4).setBounds(557.75, 55.75, 23.25, 75.75);
surface.getContinuous(ContinuousID.FADER5).setBounds(598.5, 55.75, 23.25, 75.75);
surface.getContinuous(ContinuousID.FADER6).setBounds(639.25, 55.75, 23.25, 75.75);
surface.getContinuous(ContinuousID.FADER7).setBounds(680.0, 55.75, 23.25, 75.75);
surface.getContinuous(ContinuousID.FADER8).setBounds(720.75, 55.75, 23.25, 75.75);
surface.getContinuous(ContinuousID.TOUCHPAD_X).setBounds(25.0, 375.25, 49.0, 90.25);
surface.getContinuous(ContinuousID.TOUCHPAD_Y).setBounds(90.75, 375.25, 49.0, 90.25);
surface.getContinuous(ContinuousID.HELLO).setBounds(767.75, 268.25, 10.0, 50.0);
surface.getContinuous(ContinuousID.TEMPO).setBounds(780.5, 268.25, 10.0, 50.0);
final SLDisplay textDisplay = (SLDisplay) surface.getTextDisplay();
textDisplay.getHwTextDisplay1().setBounds(55.5, 17.5, 316.25, 34.75);
textDisplay.getHwTextDisplay2().setBounds(431.75, 17.5, 317.75, 34.75);
surface.getContinuous(ContinuousID.PITCHBEND_WHEEL).setBounds(25.0, 262.75, 49.0, 90.25);
surface.getContinuous(ContinuousID.MODULATION_WHEEL).setBounds(90.75, 262.75, 49.0, 90.25);
surface.getPianoKeyboard().setBounds(163.75, 262.0, 593.5, 224.25);
}
Aggregations