Loading Plugin UI


#1

Hi All,

How do I go about loading a plugin’s own UI?
I understand how to use the GenericAudioProcessorEditor and load in the plugin instance, but don’t want to have to use the generic sliders.

Thanks,
Corey Ford


#2

You’ll want to use juce::AudioProcessor::createEditor(), assuming the plugin instance responds true to juce::AudioProcessor::hasEditor() :slight_smile: you can then place the returned editor component in a window or view


#3

You also might want to look here:

https://docs.juce.com/master/tutorial_look_and_feel_customisation.html

If that is not enough you can derive your own class from look and feel and build overrides for the components you want to customize while the core functionality still will work.


#4

In addition to this, what’s the best way to go about adding a “close” button to my resizable window?

Has it got anything to do with the native toolbar?


#5

Hmm, looks like DocumentWindow is the class that actually implements title bar buttons