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:
parent
446469da42
commit
90597f9824
1 changed files with 13 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue