kopia lustrzana https://github.com/jameshball/osci-render
29 wiersze
779 B
C++
29 wiersze
779 B
C++
#pragma once
|
|
|
|
#include <JuceHeader.h>
|
|
#include "audio/BitCrushEffect.h"
|
|
#include "PluginProcessor.h"
|
|
#include "components/DraggableListBox.h"
|
|
#include "components/EffectsListComponent.h"
|
|
|
|
class OscirenderAudioProcessorEditor;
|
|
class EffectsComponent : public juce::GroupComponent {
|
|
public:
|
|
EffectsComponent(OscirenderAudioProcessor&);
|
|
~EffectsComponent() override;
|
|
|
|
void resized() override;
|
|
|
|
private:
|
|
OscirenderAudioProcessor& audioProcessor;
|
|
|
|
// juce::TextButton addBtn;
|
|
|
|
AudioEffectListBoxItemData itemData;
|
|
EffectsListBoxModel listBoxModel;
|
|
DraggableListBox listBox;
|
|
|
|
EffectComponent frequency = EffectComponent(0.0, 12000.0, 0.1, *audioProcessor.frequencyEffect, false);
|
|
|
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(EffectsComponent)
|
|
}; |