push2: tweak layout APIs etc.

This commit is contained in:
Paul Davis 2016-09-27 14:31:17 -05:00
parent db4edbf3b5
commit 3a7cf72752
11 changed files with 87 additions and 53 deletions

View file

@ -233,10 +233,10 @@ Push2::open ()
try {
_canvas = new Push2Canvas (*this, 960, 160);
mix_layout = new MixLayout (*this, *session);
scale_layout = new ScaleLayout (*this, *session);
track_mix_layout = new TrackMixLayout (*this, *session);
splash_layout = new SplashLayout (*this, *session);
mix_layout = new MixLayout (*this, *session, "globalmix");
scale_layout = new ScaleLayout (*this, *session, "scale");
track_mix_layout = new TrackMixLayout (*this, *session, "trackmix");
splash_layout = new SplashLayout (*this, *session, "splash");
} catch (...) {
error << _("Cannot construct Canvas for display") << endmsg;
libusb_release_interface (handle, 0x00);