More parameter GUI work

This commit is contained in:
xenakios
2017-11-13 20:54:08 +02:00
parent b9db955a99
commit d9e9107ed4
2 changed files with 23 additions and 3 deletions

View File

@ -24,6 +24,7 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor (Pa
addAndMakeVisible(m_parcomps.back().get());
}
setSize (600, pars.size()*25);
startTimer(1, 100);
}
PaulstretchpluginAudioProcessorEditor::~PaulstretchpluginAudioProcessorEditor()
@ -41,3 +42,12 @@ void PaulstretchpluginAudioProcessorEditor::resized()
// This is generally where you'll want to lay out the positions of any
// subcomponents in your editor..
}
void PaulstretchpluginAudioProcessorEditor::timerCallback(int id)
{
if (id == 1)
{
for (auto& e : m_parcomps)
e->updateComponent();
}
}