- if(h - y1 >= mwindow->theme->pan_h)
- {
- patchbay->add_subwindow(pan = new APanPatch(mwindow,
- this,
- x1 + x,
- y1 + y));
- x1 += pan->get_w() + 10;
- patchbay->add_subwindow(nudge = new NudgePatch(mwindow,
- this,
- x1 + x,
- y1 + y,
- patchbay->get_w() - x1 - 10));
+ if( h - y1 >= mwindow->theme->pan_h ) {
+ patchbay->add_subwindow(mix = new AMixPatch(mwindow, this, x1+x, y1+y+5));
+ x1 += mix->get_w() + 10;
+ patchbay->add_subwindow(pan = new APanPatch(mwindow, this, x1+x, y1+y));
+ x1 += pan->get_w() + 20;
+ patchbay->add_subwindow(nudge = new NudgePatch(mwindow, this, x1+x, y1+y,
+ patchbay->get_w() - x1-x - 10));