patchbay->add_subwindow(fade = new AFadePatch(mwindow, this, x1+x, y1+y,
patchbay->get_w() - 10));
}
- if( fade )
- y1 = y2;
+ y1 = y2;
y2 = y1 + mwindow->theme->meter_h;
if( meter ) {
else if( h >= y2 ) {
patchbay->add_subwindow(meter = new AMeterPatch(mwindow, this, x1+x, y1+y));
}
- if( meter )
- y1 = y2;
+ y1 = y2;
y2 = y1 + mwindow->theme->pan_h;
if( pan ) {
patchbay->add_subwindow(nudge = new NudgePatch(mwindow, this, x1+x, y1+y,
patchbay->get_w() - x1-x - 10));
}
- if( pan )
- y1 = y2;
+ y1 = y2;
return y1;
}
patchbay->add_subwindow(fade = new VFadePatch(mwindow, this, x1+x, y1+y,
patchbay->get_w() - 10));
}
- if( fade )
- y1 = y2;
+ y1 = y2;
y2 = y1 + mwindow->theme->mode_h;
if( mode ) {
patchbay->add_subwindow(nudge = new NudgePatch(mwindow, this, x1+x, y1+y,
patchbay->get_w() - x1-x - 10));
}
- if( mode )
- y1 = y2;
+ y1 = y2;
return y1;
}