Add parameters. Use plain old member variables for main volume and loop xfade length. GUI layout tweak.

This commit is contained in:
xenakios
2017-11-25 21:25:46 +02:00
parent 4a89c2f1c4
commit eece70d89b
5 changed files with 40 additions and 15 deletions

View File

@ -79,7 +79,7 @@ void PaulstretchpluginAudioProcessorEditor::resized()
for (int i = 0; i < m_parcomps.size(); ++i)
{
m_parcomps[i]->setBounds(1, 30 + i * 25, 598, 24);
m_parcomps[i]->setBounds(1, 30 + i * 25, getWidth()-2, 24);
}
int yoffs = m_parcomps.back()->getBottom() + 1;
m_wavecomponent.setBounds(1, yoffs, getWidth()-2, getHeight()-1-yoffs);