2020-05-20 16:44:46 -07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <JuceHeader.h>
|
|
|
|
|
#include "PluginProcessor.h"
|
2023-08-23 08:45:23 -07:00
|
|
|
#include "Panels.h"
|
2023-08-24 13:25:21 -07:00
|
|
|
#include "Editor.h"
|
2020-05-20 16:44:46 -07:00
|
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|
|
class WavetableAudioProcessorEditor : public gin::ProcessorEditor
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
WavetableAudioProcessorEditor (WavetableAudioProcessor&);
|
|
|
|
|
~WavetableAudioProcessorEditor() override;
|
|
|
|
|
|
|
|
|
|
//==============================================================================
|
2023-08-23 08:45:23 -07:00
|
|
|
void paint (juce::Graphics&) override;
|
2020-05-20 16:44:46 -07:00
|
|
|
void resized() override;
|
|
|
|
|
|
2023-08-25 09:47:50 -07:00
|
|
|
void showAboutInfo() override;
|
|
|
|
|
|
2020-05-20 16:44:46 -07:00
|
|
|
private:
|
2023-08-23 08:45:23 -07:00
|
|
|
WavetableAudioProcessor& vaProc;
|
2020-05-20 16:44:46 -07:00
|
|
|
|
2023-08-23 08:45:23 -07:00
|
|
|
Editor editor { vaProc };
|
2020-05-20 16:44:46 -07:00
|
|
|
|
2023-08-25 09:47:50 -07:00
|
|
|
#if JUCE_DEBUG
|
|
|
|
|
std::unique_ptr<melatonin::Inspector> inspector;
|
|
|
|
|
#endif
|
|
|
|
|
|
2020-05-20 16:44:46 -07:00
|
|
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WavetableAudioProcessorEditor)
|
|
|
|
|
};
|