1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added AAX automation pop-up support to the plug-in demo project

This commit is contained in:
Tom Poole 2018-08-07 12:05:34 +01:00
parent 446469da42
commit 90597f9824

View file

@ -338,7 +338,8 @@ private:
//==============================================================================
/** This is the editor component that our filter will display. */
class JuceDemoPluginAudioProcessorEditor : public AudioProcessorEditor,
private Timer, private Value::Listener
private Timer,
private Value::Listener
{
public:
JuceDemoPluginAudioProcessorEditor (JuceDemoPluginAudioProcessor& owner)
@ -423,6 +424,17 @@ private:
midiKeyboard.setVisible (! controllerIsAvailable);
}
int getControlParameterIndex (Component& control) override
{
if (&control == &gainSlider)
return 0;
if (&control == &delaySlider)
return 1;
return -1;
}
void updateTrackProperties()
{
auto trackColour = getProcessor().trackProperties.colour;