comparison effects/chorus/Source/PluginEditor.cpp @ 1:04e171d2a747 tip

JUCE 4 compatible. Standardised paths on Mac: modules '../../juce/modules'; VST folder '~/SDKs/vstsdk2.4' (JUCE default). Replaced deprecated 'getSampleData(channel)'; getToggleState(...); setToggleState(...); setSelectedId(...). Removed unused variables. Ignore JUCE code and build files.
author Brecht De Man <b.deman@qmul.ac.uk>
date Sun, 22 Nov 2015 15:23:40 +0000
parents e32fe563e124
children
comparison
equal deleted inserted replaced
0:e32fe563e124 1:04e171d2a747
163 163
164 delaySlider_.setValue(ourProcessor->delay_, dontSendNotification); 164 delaySlider_.setValue(ourProcessor->delay_, dontSendNotification);
165 sweepWidthSlider_.setValue(ourProcessor->sweepWidth_, dontSendNotification); 165 sweepWidthSlider_.setValue(ourProcessor->sweepWidth_, dontSendNotification);
166 depthSlider_.setValue(ourProcessor->depth_, dontSendNotification); 166 depthSlider_.setValue(ourProcessor->depth_, dontSendNotification);
167 frequencySlider_.setValue(ourProcessor->frequency_, dontSendNotification); 167 frequencySlider_.setValue(ourProcessor->frequency_, dontSendNotification);
168 waveformComboBox_.setSelectedId(ourProcessor->waveform_, false); 168 waveformComboBox_.setSelectedId(ourProcessor->waveform_, dontSendNotification);
169 interpolationComboBox_.setSelectedId(ourProcessor->interpolation_, false); 169 interpolationComboBox_.setSelectedId(ourProcessor->interpolation_, dontSendNotification);
170 numVoicesComboBox_.setSelectedId(ourProcessor->numVoices_, false); 170 numVoicesComboBox_.setSelectedId(ourProcessor->numVoices_, dontSendNotification);
171 stereoToggleButton_.setToggleState((ourProcessor->stereo_ != 0), false); 171 stereoToggleButton_.setToggleState((ourProcessor->stereo_ != 0), dontSendNotification);
172 } 172 }
173 173
174 // This is our Slider::Listener callback, when the user drags a slider. 174 // This is our Slider::Listener callback, when the user drags a slider.
175 void ChorusAudioProcessorEditor::sliderValueChanged (Slider* slider) 175 void ChorusAudioProcessorEditor::sliderValueChanged (Slider* slider)
176 { 176 {