andrewm@0: /* andrewm@0: ============================================================================== andrewm@0: andrewm@0: This is an automatically generated GUI class created by the Introjucer! andrewm@0: andrewm@0: Be careful when adding custom code to these files, as only the code within andrewm@0: the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded andrewm@0: and re-saved. andrewm@0: andrewm@0: Created with Introjucer version: 3.1.0 andrewm@0: andrewm@0: ------------------------------------------------------------------------------ andrewm@0: andrewm@0: The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions" andrewm@0: Copyright 2004-13 by Raw Material Software Ltd. andrewm@0: andrewm@0: ============================================================================== andrewm@0: */ andrewm@0: andrewm@0: //[Headers] You can add your own extra header files here... andrewm@0: #include "PluginProcessor.h" andrewm@0: #include "MVerb.h" andrewm@0: //[/Headers] andrewm@0: andrewm@0: #include "PluginEditor.h" andrewm@0: andrewm@0: andrewm@0: //[MiscUserDefs] You can add your own user definitions and misc code here... andrewm@0: andrewm@0: //LookAndFeelCustom* ReverbAudioProcessorEditor::customLookAndFeel = NULL; andrewm@0: andrewm@0: //[/MiscUserDefs] andrewm@0: andrewm@0: //============================================================================== andrewm@0: ReverbAudioProcessorEditor::ReverbAudioProcessorEditor (ReverbAudioProcessor* ownerFilter) andrewm@0: : AudioProcessorEditor (ownerFilter) andrewm@0: { andrewm@0: addAndMakeVisible (lateEarlySlider = new Slider ("new slider")); andrewm@0: lateEarlySlider->setRange (0, 1, 0.01); andrewm@0: lateEarlySlider->setSliderStyle (Slider::RotaryHorizontalVerticalDrag); andrewm@0: lateEarlySlider->setTextBoxStyle (Slider::TextBoxBelow, false, 40, 20); andrewm@0: lateEarlySlider->setColour (Slider::rotarySliderFillColourId, Colour (0x7fffffff)); andrewm@0: lateEarlySlider->setColour (Slider::textBoxTextColourId, Colours::white); andrewm@0: lateEarlySlider->setColour (Slider::textBoxBackgroundColourId, Colour (0x00ffffff)); andrewm@0: lateEarlySlider->setColour (Slider::textBoxOutlineColourId, Colour (0x00808080)); andrewm@0: lateEarlySlider->addListener (this); andrewm@0: andrewm@0: addAndMakeVisible (mixSlider = new Slider ("new slider")); andrewm@0: mixSlider->setRange (0, 1, 0.01); andrewm@0: mixSlider->setSliderStyle (Slider::RotaryHorizontalVerticalDrag); andrewm@0: mixSlider->setTextBoxStyle (Slider::TextBoxBelow, false, 40, 20); andrewm@0: mixSlider->setColour (Slider::rotarySliderFillColourId, Colour (0x7fffffff)); andrewm@0: mixSlider->setColour (Slider::textBoxTextColourId, Colours::white); andrewm@0: mixSlider->setColour (Slider::textBoxBackgroundColourId, Colour (0x00ffffff)); andrewm@0: mixSlider->setColour (Slider::textBoxOutlineColourId, Colour (0x00808080)); andrewm@0: mixSlider->addListener (this); andrewm@0: andrewm@0: addAndMakeVisible (gainSlider = new Slider ("new slider")); andrewm@0: gainSlider->setRange (0, 1, 0.01); andrewm@0: gainSlider->setSliderStyle (Slider::RotaryHorizontalVerticalDrag); andrewm@0: gainSlider->setTextBoxStyle (Slider::TextBoxBelow, false, 40, 20); andrewm@0: gainSlider->setColour (Slider::rotarySliderFillColourId, Colour (0x7fffffff)); andrewm@0: gainSlider->setColour (Slider::textBoxTextColourId, Colours::white); andrewm@0: gainSlider->setColour (Slider::textBoxBackgroundColourId, Colour (0x00ffffff)); andrewm@0: gainSlider->setColour (Slider::textBoxOutlineColourId, Colour (0x00808080)); andrewm@0: gainSlider->addListener (this); andrewm@0: andrewm@0: addAndMakeVisible (preDelaySlider = new Slider ("new slider")); andrewm@0: preDelaySlider->setRange (0, 1, 0.01); andrewm@0: preDelaySlider->setSliderStyle (Slider::RotaryHorizontalVerticalDrag); andrewm@0: preDelaySlider->setTextBoxStyle (Slider::TextBoxBelow, false, 40, 20); andrewm@0: preDelaySlider->setColour (Slider::rotarySliderFillColourId, Colour (0x7fffffff)); andrewm@0: preDelaySlider->setColour (Slider::textBoxTextColourId, Colours::white); andrewm@0: preDelaySlider->setColour (Slider::textBoxBackgroundColourId, Colour (0x00ffffff)); andrewm@0: preDelaySlider->setColour (Slider::textBoxOutlineColourId, Colour (0x00808080)); andrewm@0: preDelaySlider->addListener (this); andrewm@0: andrewm@0: addAndMakeVisible (bandWidthSlider = new Slider ("new slider")); andrewm@0: bandWidthSlider->setRange (0, 1, 0.01); andrewm@0: bandWidthSlider->setSliderStyle (Slider::RotaryHorizontalVerticalDrag); andrewm@0: bandWidthSlider->setTextBoxStyle (Slider::TextBoxBelow, false, 40, 20); andrewm@0: bandWidthSlider->setColour (Slider::rotarySliderFillColourId, Colour (0x7fffffff)); andrewm@0: bandWidthSlider->setColour (Slider::textBoxTextColourId, Colours::white); andrewm@0: bandWidthSlider->setColour (Slider::textBoxBackgroundColourId, Colour (0x00ffffff)); andrewm@0: bandWidthSlider->setColour (Slider::textBoxOutlineColourId, Colour (0x00808080)); andrewm@0: bandWidthSlider->addListener (this); andrewm@0: andrewm@0: addAndMakeVisible (dampSlider = new Slider ("new slider")); andrewm@0: dampSlider->setRange (0, 1, 0.01); andrewm@0: dampSlider->setSliderStyle (Slider::RotaryHorizontalVerticalDrag); andrewm@0: dampSlider->setTextBoxStyle (Slider::TextBoxBelow, false, 40, 20); andrewm@0: dampSlider->setColour (Slider::rotarySliderFillColourId, Colour (0x7fffffff)); andrewm@0: dampSlider->setColour (Slider::textBoxTextColourId, Colours::white); andrewm@0: dampSlider->setColour (Slider::textBoxBackgroundColourId, Colour (0x00ffffff)); andrewm@0: dampSlider->setColour (Slider::textBoxOutlineColourId, Colour (0x00808080)); andrewm@0: dampSlider->addListener (this); andrewm@0: andrewm@0: addAndMakeVisible (sizeSlider = new Slider ("new slider")); andrewm@0: sizeSlider->setRange (0, 1, 0.01); andrewm@0: sizeSlider->setSliderStyle (Slider::RotaryHorizontalVerticalDrag); andrewm@0: sizeSlider->setTextBoxStyle (Slider::TextBoxBelow, false, 40, 20); andrewm@0: sizeSlider->setColour (Slider::rotarySliderFillColourId, Colour (0x7fffffff)); andrewm@0: sizeSlider->setColour (Slider::textBoxTextColourId, Colours::white); andrewm@0: sizeSlider->setColour (Slider::textBoxBackgroundColourId, Colour (0x00ffffff)); andrewm@0: sizeSlider->setColour (Slider::textBoxOutlineColourId, Colour (0x00808080)); andrewm@0: sizeSlider->addListener (this); andrewm@0: andrewm@0: addAndMakeVisible (decaySlider = new Slider ("new slider")); andrewm@0: decaySlider->setRange (0, 1, 0.01); andrewm@0: decaySlider->setSliderStyle (Slider::RotaryHorizontalVerticalDrag); andrewm@0: decaySlider->setTextBoxStyle (Slider::TextBoxBelow, false, 40, 20); andrewm@0: decaySlider->setColour (Slider::rotarySliderFillColourId, Colour (0x7fffffff)); andrewm@0: decaySlider->setColour (Slider::textBoxTextColourId, Colours::white); andrewm@0: decaySlider->setColour (Slider::textBoxBackgroundColourId, Colour (0x00ffffff)); andrewm@0: decaySlider->setColour (Slider::textBoxOutlineColourId, Colour (0x00808080)); andrewm@0: decaySlider->addListener (this); andrewm@0: andrewm@0: addAndMakeVisible (densitySlider = new Slider ("new slider")); andrewm@0: densitySlider->setRange (0, 1, 0.01); andrewm@0: densitySlider->setSliderStyle (Slider::RotaryHorizontalVerticalDrag); andrewm@0: densitySlider->setTextBoxStyle (Slider::TextBoxBelow, false, 40, 20); andrewm@0: densitySlider->setColour (Slider::rotarySliderFillColourId, Colour (0x7fffffff)); andrewm@0: densitySlider->setColour (Slider::textBoxTextColourId, Colours::white); andrewm@0: densitySlider->setColour (Slider::textBoxBackgroundColourId, Colour (0x00ffffff)); andrewm@0: densitySlider->setColour (Slider::textBoxOutlineColourId, Colour (0x00808080)); andrewm@0: densitySlider->addListener (this); andrewm@0: andrewm@0: andrewm@0: //[UserPreSize] andrewm@0: addAndMakeVisible (resizer = new ResizableCornerComponent (this, &resizeLimits)); andrewm@0: resizeLimits.setSizeLimits (150, 150, 850, 290); andrewm@0: //[/UserPreSize] andrewm@0: andrewm@0: setSize (470, 470); andrewm@0: andrewm@0: andrewm@0: //[Constructor] You can add your own custom stuff here.. andrewm@0: andrewm@0: UpdateInterfaceValues(); andrewm@0: andrewm@0: //************************************ SET LOOKANDFEEL ********************************** andrewm@0: // if( customLookAndFeel == NULL ) andrewm@0: // { andrewm@0: // customLookAndFeel = new LookAndFeelCustom(); andrewm@0: // LookAndFeel::setDefaultLookAndFeel (/*&*/customLookAndFeel); andrewm@0: // } andrewm@0: andrewm@0: //*************************************************************************************** andrewm@0: andrewm@0: startTimer (50); andrewm@0: andrewm@0: //[/Constructor] andrewm@0: } andrewm@0: andrewm@0: ReverbAudioProcessorEditor::~ReverbAudioProcessorEditor() andrewm@0: { andrewm@0: //[Destructor_pre]. You can add your own custom destruction code here.. andrewm@0: //[/Destructor_pre] andrewm@0: andrewm@0: lateEarlySlider = nullptr; andrewm@0: mixSlider = nullptr; andrewm@0: gainSlider = nullptr; andrewm@0: preDelaySlider = nullptr; andrewm@0: bandWidthSlider = nullptr; andrewm@0: dampSlider = nullptr; andrewm@0: sizeSlider = nullptr; andrewm@0: decaySlider = nullptr; andrewm@0: densitySlider = nullptr; andrewm@0: andrewm@0: andrewm@0: //[Destructor]. You can add your own custom destruction code here.. andrewm@0: andrewm@0: //[/Destructor] andrewm@0: } andrewm@0: andrewm@0: //============================================================================== andrewm@0: void ReverbAudioProcessorEditor::paint (Graphics& g) andrewm@0: { andrewm@0: //[UserPrePaint] Add your own custom painting code here.. andrewm@0: //[/UserPrePaint] andrewm@0: andrewm@0: g.fillAll (Colour (0xff000a39)); andrewm@0: andrewm@0: g.setColour (Colour (0xff315d9d)); andrewm@0: g.fillEllipse (332.0f, 204.0f, 88.0f, 88.0f); andrewm@0: andrewm@0: g.setColour (Colour (0xff2c333b)); andrewm@0: g.fillEllipse (348.0f, 220.0f, 56.0f, 56.0f); andrewm@0: andrewm@0: g.setColour (Colour (0xff2f3d6a)); andrewm@0: g.fillRoundedRectangle (136.0f, 5.0f, 175.0f, 37.0f, 10.000f); andrewm@0: andrewm@0: g.setColour (Colours::white); andrewm@0: g.setFont (Font (Font::getDefaultMonospacedFontName(), 22.30f, Font::bold)); andrewm@0: g.drawText (TRANS("reverb"), andrewm@0: 1, 13, 446, 24, andrewm@0: Justification::centredTop, true); andrewm@0: andrewm@0: g.setColour (Colours::white); andrewm@0: g.setFont (Font (Font::getDefaultMonospacedFontName(), 15.00f, Font::plain)); andrewm@0: g.drawText (TRANS("MIX"), andrewm@0: 346, 183, 59, 30, andrewm@0: Justification::centred, true); andrewm@0: andrewm@0: g.setColour (Colour (0xff315d9d)); andrewm@0: g.fillEllipse (332.0f, 337.0f, 88.0f, 88.0f); andrewm@0: andrewm@0: g.setColour (Colour (0xff2c333b)); andrewm@0: g.fillEllipse (348.0f, 353.0f, 56.0f, 56.0f); andrewm@0: andrewm@0: g.setColour (Colours::white); andrewm@0: g.setFont (Font (Font::getDefaultMonospacedFontName(), 15.00f, Font::plain)); andrewm@0: g.drawText (TRANS("LATE/EARLY"), andrewm@0: 333, 316, 83, 30, andrewm@0: Justification::centred, true); andrewm@0: andrewm@0: g.setColour (Colour (0xff315d9d)); andrewm@0: g.fillEllipse (332.0f, 78.0f, 88.0f, 88.0f); andrewm@0: andrewm@0: g.setColour (Colour (0xff2c333b)); andrewm@0: g.fillEllipse (348.0f, 94.0f, 56.0f, 56.0f); andrewm@0: andrewm@0: g.setColour (Colours::white); andrewm@0: g.setFont (Font (Font::getDefaultMonospacedFontName(), 15.00f, Font::plain)); andrewm@0: g.drawText (TRANS("GAIN"), andrewm@0: 346, 57, 59, 30, andrewm@0: Justification::centred, true); andrewm@0: andrewm@0: g.setColour (Colour (0xff315d9d)); andrewm@0: g.fillEllipse (190.0f, 204.0f, 88.0f, 88.0f); andrewm@0: andrewm@0: g.setColour (Colour (0xff2c333b)); andrewm@0: g.fillEllipse (206.0f, 220.0f, 56.0f, 56.0f); andrewm@0: andrewm@0: g.setColour (Colours::white); andrewm@0: g.setFont (Font (Font::getDefaultMonospacedFontName(), 15.00f, Font::plain)); andrewm@0: g.drawText (TRANS("BANDWITH"), andrewm@0: 201, 183, 65, 30, andrewm@0: Justification::centred, true); andrewm@0: andrewm@0: g.setColour (Colour (0xff315d9d)); andrewm@0: g.fillEllipse (190.0f, 337.0f, 88.0f, 88.0f); andrewm@0: andrewm@0: g.setColour (Colour (0xff2c333b)); andrewm@0: g.fillEllipse (206.0f, 353.0f, 56.0f, 56.0f); andrewm@0: andrewm@0: g.setColour (Colours::white); andrewm@0: g.setFont (Font (Font::getDefaultMonospacedFontName(), 15.00f, Font::plain)); andrewm@0: g.drawText (TRANS("PREDELAY"), andrewm@0: 202, 316, 64, 30, andrewm@0: Justification::centred, true); andrewm@0: andrewm@0: g.setColour (Colour (0xff315d9d)); andrewm@0: g.fillEllipse (190.0f, 78.0f, 88.0f, 88.0f); andrewm@0: andrewm@0: g.setColour (Colour (0xff2c333b)); andrewm@0: g.fillEllipse (206.0f, 94.0f, 56.0f, 56.0f); andrewm@0: andrewm@0: g.setColour (Colours::white); andrewm@0: g.setFont (Font (Font::getDefaultMonospacedFontName(), 15.00f, Font::plain)); andrewm@0: g.drawText (TRANS("DAMP"), andrewm@0: 204, 57, 59, 30, andrewm@0: Justification::centred, true); andrewm@0: andrewm@0: g.setColour (Colour (0xff315d9d)); andrewm@0: g.fillEllipse (48.0f, 204.0f, 88.0f, 88.0f); andrewm@0: andrewm@0: g.setColour (Colour (0xff2c333b)); andrewm@0: g.fillEllipse (64.0f, 220.0f, 56.0f, 56.0f); andrewm@0: andrewm@0: g.setColour (Colours::white); andrewm@0: g.setFont (Font (Font::getDefaultMonospacedFontName(), 15.00f, Font::plain)); andrewm@0: g.drawText (TRANS("DECAY"), andrewm@0: 62, 183, 59, 30, andrewm@0: Justification::centred, true); andrewm@0: andrewm@0: g.setColour (Colour (0xff315d9d)); andrewm@0: g.fillEllipse (48.0f, 337.0f, 88.0f, 88.0f); andrewm@0: andrewm@0: g.setColour (Colour (0xff2c333b)); andrewm@0: g.fillEllipse (64.0f, 353.0f, 56.0f, 56.0f); andrewm@0: andrewm@0: g.setColour (Colours::white); andrewm@0: g.setFont (Font (Font::getDefaultMonospacedFontName(), 15.00f, Font::plain)); andrewm@0: g.drawText (TRANS("SIZE"), andrewm@0: 62, 316, 59, 30, andrewm@0: Justification::centred, true); andrewm@0: andrewm@0: g.setColour (Colour (0xff315d9d)); andrewm@0: g.fillEllipse (48.0f, 78.0f, 88.0f, 88.0f); andrewm@0: andrewm@0: g.setColour (Colour (0xff2c333b)); andrewm@0: g.fillEllipse (64.0f, 94.0f, 56.0f, 56.0f); andrewm@0: andrewm@0: g.setColour (Colours::white); andrewm@0: g.setFont (Font (Font::getDefaultMonospacedFontName(), 15.00f, Font::plain)); andrewm@0: g.drawText (TRANS("DENSITY"), andrewm@0: 63, 57, 59, 30, andrewm@0: Justification::centred, true); andrewm@0: andrewm@0: //[UserPaint] Add your own custom painting code here.. andrewm@0: andrewm@0: // Version number andrewm@0: String str("v "); andrewm@0: str.append(JucePlugin_VersionString, 4); andrewm@0: g.setColour (Colours::white); andrewm@0: g.setFont (Font (Font::getDefaultMonospacedFontName(), 11.00f, Font::plain)); andrewm@0: g.drawText (str, andrewm@0: 189, 37, 54, 30, andrewm@0: Justification::centredLeft, true); andrewm@0: andrewm@0: //[/UserPaint] andrewm@0: } andrewm@0: andrewm@0: void ReverbAudioProcessorEditor::resized() andrewm@0: { andrewm@0: lateEarlySlider->setBounds (294, 339, 164, 102); andrewm@0: mixSlider->setBounds (294, 207, 164, 102); andrewm@0: gainSlider->setBounds (294, 81, 164, 102); andrewm@0: preDelaySlider->setBounds (152, 340, 164, 102); andrewm@0: bandWidthSlider->setBounds (152, 207, 164, 102); andrewm@0: dampSlider->setBounds (152, 80, 164, 102); andrewm@0: sizeSlider->setBounds (11, 340, 164, 102); andrewm@0: decaySlider->setBounds (10, 207, 164, 102); andrewm@0: densitySlider->setBounds (10, 81, 164, 102); andrewm@0: //[UserResized] Add your own custom resize handling here.. andrewm@0: getProcessor()->_lastUIWidth = getWidth(); andrewm@0: getProcessor()->_lastUIHeight = getHeight(); andrewm@0: //[/UserResized] andrewm@0: } andrewm@0: andrewm@0: void ReverbAudioProcessorEditor::sliderValueChanged (Slider* sliderThatWasMoved) andrewm@0: { andrewm@0: //[UsersliderValueChanged_Pre] andrewm@0: ReverbAudioProcessor* ourProcessor = getProcessor(); andrewm@0: //[/UsersliderValueChanged_Pre] andrewm@0: andrewm@0: if (sliderThatWasMoved == lateEarlySlider) andrewm@0: { andrewm@0: //[UserSliderCode_lateEarlySlider] -- add your slider handling code here.. andrewm@0: ourProcessor->SetLateEarly(lateEarlySlider->getValue()); andrewm@0: ourProcessor->updateParameters(MVerb::EARLYMIX); andrewm@0: //[/UserSliderCode_lateEarlySlider] andrewm@0: } andrewm@0: else if (sliderThatWasMoved == mixSlider) andrewm@0: { andrewm@0: //[UserSliderCode_mixSlider] -- add your slider handling code here.. andrewm@0: ourProcessor->SetMix(mixSlider->getValue()); andrewm@0: ourProcessor->updateParameters(MVerb::MIX); andrewm@0: //[/UserSliderCode_mixSlider] andrewm@0: } andrewm@0: else if (sliderThatWasMoved == gainSlider) andrewm@0: { andrewm@0: //[UserSliderCode_gainSlider] -- add your slider handling code here.. andrewm@0: ourProcessor->SetGain(gainSlider->getValue()); andrewm@0: ourProcessor->updateParameters(MVerb::GAIN); andrewm@0: //[/UserSliderCode_gainSlider] andrewm@0: } andrewm@0: else if (sliderThatWasMoved == preDelaySlider) andrewm@0: { andrewm@0: //[UserSliderCode_preDelaySlider] -- add your slider handling code here.. andrewm@0: ourProcessor->SetPredelay(preDelaySlider->getValue()); andrewm@0: ourProcessor->updateParameters(MVerb::PREDELAY); andrewm@0: //[/UserSliderCode_preDelaySlider] andrewm@0: } andrewm@0: else if (sliderThatWasMoved == bandWidthSlider) andrewm@0: { andrewm@0: //[UserSliderCode_bandWidthSlider] -- add your slider handling code here.. andrewm@0: ourProcessor->SetBandwidth(bandWidthSlider->getValue()); andrewm@0: ourProcessor->updateParameters(MVerb::BANDWIDTHFREQ); andrewm@0: //[/UserSliderCode_bandWidthSlider] andrewm@0: } andrewm@0: else if (sliderThatWasMoved == dampSlider) andrewm@0: { andrewm@0: //[UserSliderCode_dampSlider] -- add your slider handling code here.. andrewm@0: ourProcessor->SetDamp(dampSlider->getValue()); andrewm@0: ourProcessor->updateParameters(MVerb::DAMPINGFREQ); andrewm@0: //[/UserSliderCode_dampSlider] andrewm@0: } andrewm@0: else if (sliderThatWasMoved == sizeSlider) andrewm@0: { andrewm@0: //[UserSliderCode_sizeSlider] -- add your slider handling code here.. andrewm@0: ourProcessor->SetSize(sizeSlider->getValue()); andrewm@0: ourProcessor->updateParameters(MVerb::SIZE); andrewm@0: //[/UserSliderCode_sizeSlider] andrewm@0: } andrewm@0: else if (sliderThatWasMoved == decaySlider) andrewm@0: { andrewm@0: //[UserSliderCode_decaySlider] -- add your slider handling code here.. andrewm@0: ourProcessor->SetDecay(decaySlider->getValue()); andrewm@0: ourProcessor->updateParameters(MVerb::DECAY); andrewm@0: //[/UserSliderCode_decaySlider] andrewm@0: } andrewm@0: else if (sliderThatWasMoved == densitySlider) andrewm@0: { andrewm@0: //[UserSliderCode_densitySlider] -- add your slider handling code here.. andrewm@0: ourProcessor->SetDensity(densitySlider->getValue()); andrewm@0: ourProcessor->updateParameters(MVerb::DENSITY); andrewm@0: //[/UserSliderCode_densitySlider] andrewm@0: } andrewm@0: andrewm@0: //[UsersliderValueChanged_Post] andrewm@0: //[/UsersliderValueChanged_Post] andrewm@0: } andrewm@0: andrewm@0: andrewm@0: andrewm@0: //[MiscUserCode] You can add your own definitions of your custom methods or any other code here... andrewm@0: andrewm@0: void ReverbAudioProcessorEditor::UpdateInterfaceValues() andrewm@0: { andrewm@0: ReverbAudioProcessor* ourProcessor = getProcessor(); andrewm@0: andrewm@0: // Update Sliders andrewm@0: lateEarlySlider ->setValue(ourProcessor->_lateEarly,dontSendNotification); andrewm@0: densitySlider ->setValue(ourProcessor->_density,dontSendNotification); andrewm@0: mixSlider ->setValue(ourProcessor->_mix,dontSendNotification); andrewm@0: preDelaySlider ->setValue(ourProcessor->_predelay,dontSendNotification); andrewm@0: dampSlider ->setValue(ourProcessor->_damp,dontSendNotification); andrewm@0: sizeSlider ->setValue(ourProcessor->_size,dontSendNotification); andrewm@0: decaySlider ->setValue(ourProcessor->_decay,dontSendNotification); andrewm@0: bandWidthSlider ->setValue(ourProcessor->_bandwidth,dontSendNotification); andrewm@0: gainSlider ->setValue(ourProcessor->_gain,dontSendNotification); andrewm@0: } andrewm@0: andrewm@0: void ReverbAudioProcessorEditor::timerCallback() andrewm@0: { andrewm@0: //DistortionAudioProcessor* ourProcessor = getProcessor(); andrewm@0: andrewm@0: andrewm@0: } andrewm@0: andrewm@0: //[/MiscUserCode] andrewm@0: andrewm@0: andrewm@0: //============================================================================== andrewm@0: #if 0 andrewm@0: /* -- Introjucer information section -- andrewm@0: andrewm@0: This is where the Introjucer stores the metadata that describe this GUI layout, so andrewm@0: make changes in here at your peril! andrewm@0: andrewm@0: BEGIN_JUCER_METADATA andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: andrewm@0: END_JUCER_METADATA andrewm@0: */ andrewm@0: #endif andrewm@0: andrewm@0: andrewm@0: //[EndFile] You can add extra defines here... andrewm@0: //[/EndFile]