osci-render/Source/TxtComponent.h

24 wiersze
694 B
C
Czysty Zwykły widok Historia

2023-08-27 18:33:42 +00:00
#pragma once
#include <JuceHeader.h>
#include "PluginProcessor.h"
class OscirenderAudioProcessorEditor;
class TxtComponent : public juce::GroupComponent, public juce::MouseListener {
public:
TxtComponent(OscirenderAudioProcessor&, OscirenderAudioProcessorEditor&);
void resized() override;
2023-08-27 21:01:37 +00:00
void update();
2023-08-27 18:33:42 +00:00
private:
OscirenderAudioProcessor& audioProcessor;
OscirenderAudioProcessorEditor& pluginEditor;
juce::StringArray installedFonts = juce::Font::findAllTypefaceNames();
juce::ComboBox font;
juce::ToggleButton bold{"Bold"};
juce::ToggleButton italic{"Italic"};
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(TxtComponent)
};