kopia lustrzana https://github.com/jameshball/osci-render
39 wiersze
1.2 KiB
C++
39 wiersze
1.2 KiB
C++
/*
|
|
==============================================================================
|
|
|
|
This file contains the basic framework code for a JUCE plugin editor.
|
|
|
|
==============================================================================
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <JuceHeader.h>
|
|
#include "PluginProcessor.h"
|
|
|
|
//==============================================================================
|
|
/**
|
|
*/
|
|
class OscirenderAudioProcessorEditor : public juce::AudioProcessorEditor,
|
|
public juce::Slider::Listener
|
|
{
|
|
public:
|
|
OscirenderAudioProcessorEditor (OscirenderAudioProcessor&);
|
|
~OscirenderAudioProcessorEditor() override;
|
|
|
|
//==============================================================================
|
|
void paint (juce::Graphics&) override;
|
|
void resized() override;
|
|
|
|
private:
|
|
void sliderValueChanged(juce::Slider* slider) override;
|
|
|
|
// This reference is provided as a quick way for your editor to
|
|
// access the processor object that created it.
|
|
OscirenderAudioProcessor& audioProcessor;
|
|
|
|
juce::Slider midiVolume;
|
|
|
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OscirenderAudioProcessorEditor)
|
|
};
|