kopia lustrzana https://github.com/jameshball/osci-render
22 wiersze
629 B
C++
22 wiersze
629 B
C++
#pragma once
|
|
|
|
#include <JuceHeader.h>
|
|
#include "PluginProcessor.h"
|
|
|
|
class OscirenderAudioProcessorEditor;
|
|
class LineArtComponent : public juce::GroupComponent, public juce::MouseListener {
|
|
public:
|
|
LineArtComponent(OscirenderAudioProcessor&, OscirenderAudioProcessorEditor&);
|
|
|
|
void resized() override;
|
|
void update();
|
|
private:
|
|
OscirenderAudioProcessor& audioProcessor;
|
|
OscirenderAudioProcessorEditor& pluginEditor;
|
|
|
|
juce::ToggleButton animate{"Animate"};
|
|
juce::ToggleButton sync{"MIDI Sync"};
|
|
juce::TextEditor rate{"Framerate"};
|
|
|
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(LineArtComponent)
|
|
}; |