[quote=“Anima”]With an audio plugin, in your editor class (usually Editor.cpp or something like that) you just include the .h file for starters (#include “MyComponent.h”).
When you generate a component with the jucer, it includes “juce.h” by default and you have to change this to whatever path your plugin is using. So find that in your editor class (something like “…/juceheaders.h”, can’t remember exactly) and use that instead. Now everything should compile ok.
In the editor, just do “addAndMakeVisible( new MyComponent )” in it’s constructor and you should see it in your editor GUI when you load the plugin now (it’s good to test the in PluginHost application also).
From there you can add more components into that until you have a fully fledged GUI. If you want the GUI to talk to your DSP code, you’ll have to pass a pointer to the AudioProcessor to “MyComponent”.[/quote]
I’m still stuck, and this isn’t because I’m not making effort in that (probably because those efforts aren’t in the good direction)
Today, I guess my best way to customize UI is to start from the Audio Plugin demo & to do what you adviced.
I included the NewComponent.h in the pluginEditor.h (I even tested in the plugProcessor.h)
I changed the path to juce.h
I made a nice extra panel in the jucer.
I made an addAndMakeVisible to the new component in the editor constructor BUT it doesn’t appear.
I didn’t tested the pointer passed because I’m a bit confuse with it.
Would you help me with these 2 points ?