mirror of
https://github.com/yokemura/Magical8bitPlug2.git
synced 2025-05-24 23:00:21 -04:00
Merge pull request #21 from yokemura/refactor/JUCEAutomaticUpdate
JUCE automatic updates
This commit is contained in:
commit
095e6a8c11
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -37,14 +37,14 @@ AdvancedParamsComponent::AdvancedParamsComponent (Magical8bitPlug2AudioProcessor
|
||||
addAndMakeVisible (volumeCompo.get());
|
||||
volumeCompo->setName ("volume component");
|
||||
|
||||
label5.reset (new Label ("new label",
|
||||
TRANS("Custom Envelopes")));
|
||||
label5.reset (new juce::Label ("new label",
|
||||
TRANS("Custom Envelopes")));
|
||||
addAndMakeVisible (label5.get());
|
||||
label5->setFont (Font (17.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
label5->setJustificationType (Justification::centredLeft);
|
||||
label5->setFont (juce::Font (17.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
label5->setJustificationType (juce::Justification::centredLeft);
|
||||
label5->setEditable (false, false, false);
|
||||
label5->setColour (TextEditor::textColourId, Colours::black);
|
||||
label5->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
label5->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
label5->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
label5->setBounds (0, 4, 150, 24);
|
||||
|
||||
@ -91,7 +91,7 @@ AdvancedParamsComponent::~AdvancedParamsComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void AdvancedParamsComponent::paint (Graphics& g)
|
||||
void AdvancedParamsComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -40,13 +40,13 @@ class AdvancedParamsComponent : public Component
|
||||
public:
|
||||
//==============================================================================
|
||||
AdvancedParamsComponent (Magical8bitPlug2AudioProcessor& p);
|
||||
~AdvancedParamsComponent();
|
||||
~AdvancedParamsComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
|
||||
|
||||
@ -58,7 +58,7 @@ private:
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<CustomEnvelopeComponent> volumeCompo;
|
||||
std::unique_ptr<Label> label5;
|
||||
std::unique_ptr<juce::Label> label5;
|
||||
std::unique_ptr<CustomEnvelopeComponent> pitchCompo;
|
||||
std::unique_ptr<CustomEnvelopeComponent> dutyCompo;
|
||||
std::unique_ptr<ChoiceComponent> coarseOrFineChoice;
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -34,14 +34,14 @@ BasicParamsComponent::BasicParamsComponent (Magical8bitPlug2AudioProcessor& p, M
|
||||
//[Constructor_pre] You can add your own custom stuff here..
|
||||
//[/Constructor_pre]
|
||||
|
||||
polyLabel.reset (new Label ("label",
|
||||
TRANS("Poly")));
|
||||
polyLabel.reset (new juce::Label ("label",
|
||||
TRANS("Poly")));
|
||||
addAndMakeVisible (polyLabel.get());
|
||||
polyLabel->setFont (Font (15.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
polyLabel->setJustificationType (Justification::centredLeft);
|
||||
polyLabel->setFont (juce::Font (15.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
polyLabel->setJustificationType (juce::Justification::centredLeft);
|
||||
polyLabel->setEditable (false, false, false);
|
||||
polyLabel->setColour (TextEditor::textColourId, Colours::black);
|
||||
polyLabel->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
polyLabel->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
polyLabel->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
polyLabel->setBounds (232, 8, 40, 15);
|
||||
|
||||
@ -57,11 +57,11 @@ BasicParamsComponent::BasicParamsComponent (Magical8bitPlug2AudioProcessor& p, M
|
||||
|
||||
oscChoice->setBounds (0, 4, 224, 28);
|
||||
|
||||
polyNumberInput.reset (new Slider ("poly number input"));
|
||||
polyNumberInput.reset (new juce::Slider ("poly number input"));
|
||||
addAndMakeVisible (polyNumberInput.get());
|
||||
polyNumberInput->setRange (0, 32, 1);
|
||||
polyNumberInput->setSliderStyle (Slider::IncDecButtons);
|
||||
polyNumberInput->setTextBoxStyle (Slider::TextBoxLeft, false, 30, 20);
|
||||
polyNumberInput->setSliderStyle (juce::Slider::IncDecButtons);
|
||||
polyNumberInput->setTextBoxStyle (juce::Slider::TextBoxLeft, false, 30, 20);
|
||||
polyNumberInput->addListener (this);
|
||||
|
||||
polyNumberInput->setBounds (268, 4, 86, 24);
|
||||
@ -111,7 +111,7 @@ BasicParamsComponent::~BasicParamsComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void BasicParamsComponent::paint (Graphics& g)
|
||||
void BasicParamsComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
@ -131,7 +131,7 @@ void BasicParamsComponent::resized()
|
||||
//[/UserResized]
|
||||
}
|
||||
|
||||
void BasicParamsComponent::sliderValueChanged (Slider* sliderThatWasMoved)
|
||||
void BasicParamsComponent::sliderValueChanged (juce::Slider* sliderThatWasMoved)
|
||||
{
|
||||
//[UsersliderValueChanged_Pre]
|
||||
//[/UsersliderValueChanged_Pre]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -39,14 +39,14 @@ class Magical8bitPlug2AudioProcessorEditor;
|
||||
//[/Comments]
|
||||
*/
|
||||
class BasicParamsComponent : public Component,
|
||||
public ComboBox::Listener,
|
||||
public Button::Listener,
|
||||
public Slider::Listener
|
||||
public ComboBox::Listener,
|
||||
public Button::Listener,
|
||||
public juce::Slider::Listener
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
BasicParamsComponent (Magical8bitPlug2AudioProcessor& p, Magical8bitPlug2AudioProcessorEditor& e);
|
||||
~BasicParamsComponent();
|
||||
~BasicParamsComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
@ -54,9 +54,9 @@ public:
|
||||
void buttonClicked (Button* buttonThatWasClicked) override;
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
void sliderValueChanged (Slider* sliderThatWasMoved) override;
|
||||
void sliderValueChanged (juce::Slider* sliderThatWasMoved) override;
|
||||
|
||||
|
||||
|
||||
@ -69,10 +69,10 @@ private:
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<Label> polyLabel;
|
||||
std::unique_ptr<juce::Label> polyLabel;
|
||||
std::unique_ptr<SliderComponent> gainSlider;
|
||||
std::unique_ptr<ChoiceComponent> oscChoice;
|
||||
std::unique_ptr<Slider> polyNumberInput;
|
||||
std::unique_ptr<juce::Slider> polyNumberInput;
|
||||
std::unique_ptr<CheckBoxComponent> advancedSwitch;
|
||||
std::unique_ptr<ChoiceComponent> colorSchemeChoice;
|
||||
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -32,14 +32,14 @@ BendParamsComponent::BendParamsComponent (Magical8bitPlug2AudioProcessor& p)
|
||||
//[Constructor_pre] You can add your own custom stuff here..
|
||||
//[/Constructor_pre]
|
||||
|
||||
label.reset (new Label ("label",
|
||||
TRANS("Bend Range")));
|
||||
label.reset (new juce::Label ("label",
|
||||
TRANS("Bend Range")));
|
||||
addAndMakeVisible (label.get());
|
||||
label->setFont (Font (17.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (Justification::centredLeft);
|
||||
label->setFont (juce::Font (17.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (juce::Justification::centredLeft);
|
||||
label->setEditable (false, false, false);
|
||||
label->setColour (TextEditor::textColourId, Colours::black);
|
||||
label->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
label->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
label->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
label->setBounds (0, 4, 150, 22);
|
||||
|
||||
@ -72,7 +72,7 @@ BendParamsComponent::~BendParamsComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void BendParamsComponent::paint (Graphics& g)
|
||||
void BendParamsComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -39,13 +39,13 @@ class BendParamsComponent : public Component
|
||||
public:
|
||||
//==============================================================================
|
||||
BendParamsComponent (Magical8bitPlug2AudioProcessor& p);
|
||||
~BendParamsComponent();
|
||||
~BendParamsComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ private:
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<Label> label;
|
||||
std::unique_ptr<juce::Label> label;
|
||||
std::unique_ptr<SliderComponent> sliderCompo;
|
||||
|
||||
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -33,7 +33,7 @@ CheckBoxComponent::CheckBoxComponent (Magical8bitPlug2AudioProcessor& p, String
|
||||
//[Constructor_pre] You can add your own custom stuff here..
|
||||
//[/Constructor_pre]
|
||||
|
||||
toggleButton.reset (new ToggleButton ("toggle button"));
|
||||
toggleButton.reset (new juce::ToggleButton ("toggle button"));
|
||||
addAndMakeVisible (toggleButton.get());
|
||||
toggleButton->setButtonText (TRANS("new toggle button"));
|
||||
toggleButton->addListener (this);
|
||||
@ -66,7 +66,7 @@ CheckBoxComponent::~CheckBoxComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void CheckBoxComponent::paint (Graphics& g)
|
||||
void CheckBoxComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
@ -85,7 +85,7 @@ void CheckBoxComponent::resized()
|
||||
//[/UserResized]
|
||||
}
|
||||
|
||||
void CheckBoxComponent::buttonClicked (Button* buttonThatWasClicked)
|
||||
void CheckBoxComponent::buttonClicked (juce::Button* buttonThatWasClicked)
|
||||
{
|
||||
//[UserbuttonClicked_Pre]
|
||||
//[/UserbuttonClicked_Pre]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -35,12 +35,12 @@
|
||||
//[/Comments]
|
||||
*/
|
||||
class CheckBoxComponent : public Component,
|
||||
public Button::Listener
|
||||
public juce::Button::Listener
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
CheckBoxComponent (Magical8bitPlug2AudioProcessor& p, String paramId, String name);
|
||||
~CheckBoxComponent();
|
||||
~CheckBoxComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
@ -48,9 +48,9 @@ public:
|
||||
void removeListener();
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
void buttonClicked (Button* buttonThatWasClicked) override;
|
||||
void buttonClicked (juce::Button* buttonThatWasClicked) override;
|
||||
|
||||
|
||||
|
||||
@ -61,7 +61,7 @@ private:
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<ToggleButton> toggleButton;
|
||||
std::unique_ptr<juce::ToggleButton> toggleButton;
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -32,22 +32,22 @@ ChoiceComponent::ChoiceComponent (Magical8bitPlug2AudioProcessor& p, String para
|
||||
//[Constructor_pre] You can add your own custom stuff here..
|
||||
//[/Constructor_pre]
|
||||
|
||||
comboBox.reset (new ComboBox ("combo box"));
|
||||
comboBox.reset (new juce::ComboBox ("combo box"));
|
||||
addAndMakeVisible (comboBox.get());
|
||||
comboBox->setEditableText (false);
|
||||
comboBox->setJustificationType (Justification::centredLeft);
|
||||
comboBox->setTextWhenNothingSelected (String());
|
||||
comboBox->setJustificationType (juce::Justification::centredLeft);
|
||||
comboBox->setTextWhenNothingSelected (juce::String());
|
||||
comboBox->setTextWhenNoChoicesAvailable (TRANS("(no choices)"));
|
||||
comboBox->addListener (this);
|
||||
|
||||
label.reset (new Label ("label",
|
||||
TRANS("Label")));
|
||||
label.reset (new juce::Label ("label",
|
||||
TRANS("Label")));
|
||||
addAndMakeVisible (label.get());
|
||||
label->setFont (Font (14.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (Justification::centredRight);
|
||||
label->setFont (juce::Font (14.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (juce::Justification::centredRight);
|
||||
label->setEditable (false, false, false);
|
||||
label->setColour (TextEditor::textColourId, Colours::black);
|
||||
label->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
label->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
label->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
label->setBounds (8, 1, 60, 24);
|
||||
|
||||
@ -88,7 +88,7 @@ ChoiceComponent::~ChoiceComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void ChoiceComponent::paint (Graphics& g)
|
||||
void ChoiceComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
@ -107,7 +107,7 @@ void ChoiceComponent::resized()
|
||||
//[/UserResized]
|
||||
}
|
||||
|
||||
void ChoiceComponent::comboBoxChanged (ComboBox* comboBoxThatHasChanged)
|
||||
void ChoiceComponent::comboBoxChanged (juce::ComboBox* comboBoxThatHasChanged)
|
||||
{
|
||||
//[UsercomboBoxChanged_Pre]
|
||||
//[/UsercomboBoxChanged_Pre]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -36,12 +36,12 @@
|
||||
//[/Comments]
|
||||
*/
|
||||
class ChoiceComponent : public Component,
|
||||
public ComboBox::Listener
|
||||
public juce::ComboBox::Listener
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
ChoiceComponent (Magical8bitPlug2AudioProcessor& p, String paramId, String name);
|
||||
~ChoiceComponent();
|
||||
~ChoiceComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
@ -49,9 +49,9 @@ public:
|
||||
void removeListener();
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
void comboBoxChanged (ComboBox* comboBoxThatHasChanged) override;
|
||||
void comboBoxChanged (juce::ComboBox* comboBoxThatHasChanged) override;
|
||||
|
||||
|
||||
|
||||
@ -62,8 +62,8 @@ private:
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<ComboBox> comboBox;
|
||||
std::unique_ptr<Label> label;
|
||||
std::unique_ptr<juce::ComboBox> comboBox;
|
||||
std::unique_ptr<juce::Label> label;
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -35,7 +35,7 @@ CustomEnvelopeComponent::CustomEnvelopeComponent (Magical8bitPlug2AudioProcessor
|
||||
//[Constructor_pre] You can add your own custom stuff here..
|
||||
//[/Constructor_pre]
|
||||
|
||||
textEditor.reset (new TextEditor ("text editor"));
|
||||
textEditor.reset (new juce::TextEditor ("text editor"));
|
||||
addAndMakeVisible (textEditor.get());
|
||||
textEditor->setMultiLine (false);
|
||||
textEditor->setReturnKeyStartsNewLine (false);
|
||||
@ -43,23 +43,23 @@ CustomEnvelopeComponent::CustomEnvelopeComponent (Magical8bitPlug2AudioProcessor
|
||||
textEditor->setScrollbarsShown (false);
|
||||
textEditor->setCaretVisible (true);
|
||||
textEditor->setPopupMenuEnabled (true);
|
||||
textEditor->setText (String());
|
||||
textEditor->setText (juce::String());
|
||||
|
||||
toggleButton.reset (new ToggleButton ("toggle button"));
|
||||
toggleButton.reset (new juce::ToggleButton ("toggle button"));
|
||||
addAndMakeVisible (toggleButton.get());
|
||||
toggleButton->setButtonText (TRANS("Enabled"));
|
||||
toggleButton->addListener (this);
|
||||
|
||||
toggleButton->setBounds (8, 4, 104, 24);
|
||||
|
||||
label.reset (new Label ("new label",
|
||||
String()));
|
||||
label.reset (new juce::Label ("new label",
|
||||
juce::String()));
|
||||
addAndMakeVisible (label.get());
|
||||
label->setFont (Font (12.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (Justification::centredLeft);
|
||||
label->setFont (juce::Font (12.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (juce::Justification::centredLeft);
|
||||
label->setEditable (false, false, false);
|
||||
label->setColour (TextEditor::textColourId, Colours::black);
|
||||
label->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
label->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
label->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
|
||||
//[UserPreSize]
|
||||
@ -95,7 +95,7 @@ CustomEnvelopeComponent::~CustomEnvelopeComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void CustomEnvelopeComponent::paint (Graphics& g)
|
||||
void CustomEnvelopeComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
@ -115,7 +115,7 @@ void CustomEnvelopeComponent::resized()
|
||||
//[/UserResized]
|
||||
}
|
||||
|
||||
void CustomEnvelopeComponent::buttonClicked (Button* buttonThatWasClicked)
|
||||
void CustomEnvelopeComponent::buttonClicked (juce::Button* buttonThatWasClicked)
|
||||
{
|
||||
//[UserbuttonClicked_Pre]
|
||||
//[/UserbuttonClicked_Pre]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -36,14 +36,14 @@
|
||||
//[/Comments]
|
||||
*/
|
||||
class CustomEnvelopeComponent : public Component,
|
||||
TextEditor::Listener,
|
||||
FrameSequenceChangeListener,
|
||||
public Button::Listener
|
||||
TextEditor::Listener,
|
||||
FrameSequenceChangeListener,
|
||||
public juce::Button::Listener
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
CustomEnvelopeComponent (Magical8bitPlug2AudioProcessor& p, String type, String displayName, String flagParameterName);
|
||||
~CustomEnvelopeComponent();
|
||||
~CustomEnvelopeComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
@ -51,9 +51,9 @@ public:
|
||||
void sequenceChanged (String& str) override;
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
void buttonClicked (Button* buttonThatWasClicked) override;
|
||||
void buttonClicked (juce::Button* buttonThatWasClicked) override;
|
||||
void lookAndFeelChanged() override;
|
||||
|
||||
|
||||
@ -67,9 +67,9 @@ private:
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<TextEditor> textEditor;
|
||||
std::unique_ptr<ToggleButton> toggleButton;
|
||||
std::unique_ptr<Label> label;
|
||||
std::unique_ptr<juce::TextEditor> textEditor;
|
||||
std::unique_ptr<juce::ToggleButton> toggleButton;
|
||||
std::unique_ptr<juce::Label> label;
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -32,14 +32,14 @@ EnvelopeParamsComponent::EnvelopeParamsComponent (Magical8bitPlug2AudioProcessor
|
||||
//[Constructor_pre] You can add your own custom stuff here..
|
||||
//[/Constructor_pre]
|
||||
|
||||
label.reset (new Label ("label",
|
||||
TRANS("Envelope")));
|
||||
label.reset (new juce::Label ("label",
|
||||
TRANS("Envelope")));
|
||||
addAndMakeVisible (label.get());
|
||||
label->setFont (Font (17.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (Justification::centredLeft);
|
||||
label->setFont (juce::Font (17.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (juce::Justification::centredLeft);
|
||||
label->setEditable (false, false, false);
|
||||
label->setColour (TextEditor::textColourId, Colours::black);
|
||||
label->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
label->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
label->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
label->setBounds (0, 4, 150, 22);
|
||||
|
||||
@ -59,15 +59,15 @@ EnvelopeParamsComponent::EnvelopeParamsComponent (Magical8bitPlug2AudioProcessor
|
||||
addAndMakeVisible (releaseSlider.get());
|
||||
releaseSlider->setName ("release slider");
|
||||
|
||||
warningLabel.reset (new Label ("warning label",
|
||||
String()));
|
||||
warningLabel.reset (new juce::Label ("warning label",
|
||||
juce::String()));
|
||||
addAndMakeVisible (warningLabel.get());
|
||||
warningLabel->setFont (Font (15.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
warningLabel->setJustificationType (Justification::centredRight);
|
||||
warningLabel->setFont (juce::Font (15.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
warningLabel->setJustificationType (juce::Justification::centredRight);
|
||||
warningLabel->setEditable (false, false, false);
|
||||
warningLabel->setColour (Label::textColourId, Colour (0xffe22be0));
|
||||
warningLabel->setColour (TextEditor::textColourId, Colours::black);
|
||||
warningLabel->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
warningLabel->setColour (juce::Label::textColourId, juce::Colour (0xffe22be0));
|
||||
warningLabel->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
warningLabel->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
|
||||
//[UserPreSize]
|
||||
@ -101,7 +101,7 @@ EnvelopeParamsComponent::~EnvelopeParamsComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void EnvelopeParamsComponent::paint (Graphics& g)
|
||||
void EnvelopeParamsComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -39,13 +39,13 @@ class EnvelopeParamsComponent : public Component
|
||||
public:
|
||||
//==============================================================================
|
||||
EnvelopeParamsComponent (Magical8bitPlug2AudioProcessor& p);
|
||||
~EnvelopeParamsComponent();
|
||||
~EnvelopeParamsComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
void enablementChanged() override;
|
||||
|
||||
@ -57,12 +57,12 @@ private:
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<Label> label;
|
||||
std::unique_ptr<juce::Label> label;
|
||||
std::unique_ptr<SliderComponent> attackSlider;
|
||||
std::unique_ptr<SliderComponent> decaySlider;
|
||||
std::unique_ptr<SliderComponent> sustainSlider;
|
||||
std::unique_ptr<SliderComponent> releaseSlider;
|
||||
std::unique_ptr<Label> warningLabel;
|
||||
std::unique_ptr<juce::Label> warningLabel;
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -32,14 +32,14 @@ NoiseParamsComponent::NoiseParamsComponent (Magical8bitPlug2AudioProcessor& p)
|
||||
//[Constructor_pre] You can add your own custom stuff here..
|
||||
//[/Constructor_pre]
|
||||
|
||||
label.reset (new Label ("label",
|
||||
TRANS("Noise")));
|
||||
label.reset (new juce::Label ("label",
|
||||
TRANS("Noise")));
|
||||
addAndMakeVisible (label.get());
|
||||
label->setFont (Font (17.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (Justification::centredLeft);
|
||||
label->setFont (juce::Font (17.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (juce::Justification::centredLeft);
|
||||
label->setEditable (false, false, false);
|
||||
label->setColour (TextEditor::textColourId, Colours::black);
|
||||
label->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
label->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
label->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
label->setBounds (0, 4, 150, 22);
|
||||
|
||||
@ -72,7 +72,7 @@ NoiseParamsComponent::~NoiseParamsComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void NoiseParamsComponent::paint (Graphics& g)
|
||||
void NoiseParamsComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -39,13 +39,13 @@ class NoiseParamsComponent : public Component
|
||||
public:
|
||||
//==============================================================================
|
||||
NoiseParamsComponent (Magical8bitPlug2AudioProcessor& p);
|
||||
~NoiseParamsComponent();
|
||||
~NoiseParamsComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ private:
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<Label> label;
|
||||
std::unique_ptr<juce::Label> label;
|
||||
std::unique_ptr<ChoiceComponent> algorithmSelector;
|
||||
|
||||
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -32,14 +32,14 @@ PulseParamsComponent::PulseParamsComponent (Magical8bitPlug2AudioProcessor& p)
|
||||
//[Constructor_pre] You can add your own custom stuff here..
|
||||
//[/Constructor_pre]
|
||||
|
||||
label.reset (new Label ("label",
|
||||
TRANS("Pulse")));
|
||||
label.reset (new juce::Label ("label",
|
||||
TRANS("Pulse")));
|
||||
addAndMakeVisible (label.get());
|
||||
label->setFont (Font (17.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (Justification::centredLeft);
|
||||
label->setFont (juce::Font (17.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (juce::Justification::centredLeft);
|
||||
label->setEditable (false, false, false);
|
||||
label->setColour (TextEditor::textColourId, Colours::black);
|
||||
label->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
label->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
label->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
label->setBounds (0, 4, 150, 22);
|
||||
|
||||
@ -47,14 +47,14 @@ PulseParamsComponent::PulseParamsComponent (Magical8bitPlug2AudioProcessor& p)
|
||||
addAndMakeVisible (dutySelector.get());
|
||||
dutySelector->setName ("duty selector");
|
||||
|
||||
warningLabel.reset (new Label ("warning label",
|
||||
String()));
|
||||
warningLabel.reset (new juce::Label ("warning label",
|
||||
juce::String()));
|
||||
addAndMakeVisible (warningLabel.get());
|
||||
warningLabel->setFont (Font (15.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
warningLabel->setJustificationType (Justification::centredRight);
|
||||
warningLabel->setFont (juce::Font (15.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
warningLabel->setJustificationType (juce::Justification::centredRight);
|
||||
warningLabel->setEditable (false, false, false);
|
||||
warningLabel->setColour (TextEditor::textColourId, Colours::black);
|
||||
warningLabel->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
warningLabel->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
warningLabel->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
|
||||
//[UserPreSize]
|
||||
@ -85,7 +85,7 @@ PulseParamsComponent::~PulseParamsComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void PulseParamsComponent::paint (Graphics& g)
|
||||
void PulseParamsComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -39,13 +39,13 @@ class PulseParamsComponent : public Component
|
||||
public:
|
||||
//==============================================================================
|
||||
PulseParamsComponent (Magical8bitPlug2AudioProcessor& p);
|
||||
~PulseParamsComponent();
|
||||
~PulseParamsComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
void enablementChanged() override;
|
||||
|
||||
@ -57,9 +57,9 @@ private:
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<Label> label;
|
||||
std::unique_ptr<juce::Label> label;
|
||||
std::unique_ptr<ChoiceComponent> dutySelector;
|
||||
std::unique_ptr<Label> warningLabel;
|
||||
std::unique_ptr<juce::Label> warningLabel;
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -32,22 +32,22 @@ SliderComponent::SliderComponent (Magical8bitPlug2AudioProcessor& p, String para
|
||||
//[Constructor_pre] You can add your own custom stuff here..
|
||||
//[/Constructor_pre]
|
||||
|
||||
label.reset (new Label ("label",
|
||||
TRANS("Label")));
|
||||
label.reset (new juce::Label ("label",
|
||||
TRANS("Label")));
|
||||
addAndMakeVisible (label.get());
|
||||
label->setFont (Font (14.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (Justification::centredRight);
|
||||
label->setFont (juce::Font (14.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (juce::Justification::centredRight);
|
||||
label->setEditable (false, false, false);
|
||||
label->setColour (TextEditor::textColourId, Colours::black);
|
||||
label->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
label->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
label->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
label->setBounds (8, 1, 60, 24);
|
||||
|
||||
slider.reset (new Slider ("slider"));
|
||||
slider.reset (new juce::Slider ("slider"));
|
||||
addAndMakeVisible (slider.get());
|
||||
slider->setRange (0, 10, 0.01);
|
||||
slider->setSliderStyle (Slider::LinearHorizontal);
|
||||
slider->setTextBoxStyle (Slider::TextBoxRight, false, 50, 20);
|
||||
slider->setSliderStyle (juce::Slider::LinearHorizontal);
|
||||
slider->setTextBoxStyle (juce::Slider::TextBoxRight, false, 50, 20);
|
||||
|
||||
|
||||
//[UserPreSize]
|
||||
@ -78,7 +78,7 @@ SliderComponent::~SliderComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void SliderComponent::paint (Graphics& g)
|
||||
void SliderComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -40,13 +40,13 @@ class SliderComponent : public Component
|
||||
public:
|
||||
//==============================================================================
|
||||
SliderComponent (Magical8bitPlug2AudioProcessor& p, String paramId, String name);
|
||||
~SliderComponent();
|
||||
~SliderComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
|
||||
|
||||
@ -57,8 +57,8 @@ private:
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<Label> label;
|
||||
std::unique_ptr<Slider> slider;
|
||||
std::unique_ptr<juce::Label> label;
|
||||
std::unique_ptr<juce::Slider> slider;
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -32,14 +32,14 @@ SweepParamsComponent::SweepParamsComponent (Magical8bitPlug2AudioProcessor& p)
|
||||
//[Constructor_pre] You can add your own custom stuff here..
|
||||
//[/Constructor_pre]
|
||||
|
||||
label.reset (new Label ("label",
|
||||
TRANS("Auto Bend")));
|
||||
label.reset (new juce::Label ("label",
|
||||
TRANS("Auto Bend")));
|
||||
addAndMakeVisible (label.get());
|
||||
label->setFont (Font (17.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (Justification::centredLeft);
|
||||
label->setFont (juce::Font (17.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (juce::Justification::centredLeft);
|
||||
label->setEditable (false, false, false);
|
||||
label->setColour (TextEditor::textColourId, Colours::black);
|
||||
label->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
label->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
label->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
label->setBounds (0, 4, 150, 22);
|
||||
|
||||
@ -77,7 +77,7 @@ SweepParamsComponent::~SweepParamsComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void SweepParamsComponent::paint (Graphics& g)
|
||||
void SweepParamsComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -39,13 +39,13 @@ class SweepParamsComponent : public Component
|
||||
public:
|
||||
//==============================================================================
|
||||
SweepParamsComponent (Magical8bitPlug2AudioProcessor& p);
|
||||
~SweepParamsComponent();
|
||||
~SweepParamsComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ private:
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<Label> label;
|
||||
std::unique_ptr<juce::Label> label;
|
||||
std::unique_ptr<SliderComponent> iniPitchSlider;
|
||||
std::unique_ptr<SliderComponent> timeSlider;
|
||||
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -32,14 +32,14 @@ VibratoParamsComponent::VibratoParamsComponent (Magical8bitPlug2AudioProcessor&
|
||||
//[Constructor_pre] You can add your own custom stuff here..
|
||||
//[/Constructor_pre]
|
||||
|
||||
label.reset (new Label ("label",
|
||||
TRANS("Vibrato")));
|
||||
label.reset (new juce::Label ("label",
|
||||
TRANS("Vibrato")));
|
||||
addAndMakeVisible (label.get());
|
||||
label->setFont (Font (17.00f, Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (Justification::centredLeft);
|
||||
label->setFont (juce::Font (17.00f, juce::Font::plain).withTypefaceStyle ("Regular"));
|
||||
label->setJustificationType (juce::Justification::centredLeft);
|
||||
label->setEditable (false, false, false);
|
||||
label->setColour (TextEditor::textColourId, Colours::black);
|
||||
label->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
||||
label->setColour (juce::TextEditor::textColourId, juce::Colours::black);
|
||||
label->setColour (juce::TextEditor::backgroundColourId, juce::Colour (0x00000000));
|
||||
|
||||
label->setBounds (0, 4, 150, 22);
|
||||
|
||||
@ -87,7 +87,7 @@ VibratoParamsComponent::~VibratoParamsComponent()
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void VibratoParamsComponent::paint (Graphics& g)
|
||||
void VibratoParamsComponent::paint (juce::Graphics& g)
|
||||
{
|
||||
//[UserPrePaint] Add your own custom painting code here..
|
||||
//[/UserPrePaint]
|
||||
|
@ -7,12 +7,12 @@
|
||||
the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
||||
and re-saved.
|
||||
|
||||
Created with Projucer version: 5.4.5
|
||||
Created with Projucer version: 6.0.8
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
The Projucer is part of the JUCE library.
|
||||
Copyright (c) 2017 - ROLI Ltd.
|
||||
Copyright (c) 2020 - Raw Material Software Limited.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
@ -40,13 +40,13 @@ class VibratoParamsComponent : public Component
|
||||
public:
|
||||
//==============================================================================
|
||||
VibratoParamsComponent (Magical8bitPlug2AudioProcessor& p);
|
||||
~VibratoParamsComponent();
|
||||
~VibratoParamsComponent() override;
|
||||
|
||||
//==============================================================================
|
||||
//[UserMethods] -- You can add your own custom methods in this section.
|
||||
//[/UserMethods]
|
||||
|
||||
void paint (Graphics& g) override;
|
||||
void paint (juce::Graphics& g) override;
|
||||
void resized() override;
|
||||
|
||||
|
||||
@ -56,7 +56,7 @@ private:
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
std::unique_ptr<Label> label;
|
||||
std::unique_ptr<juce::Label> label;
|
||||
std::unique_ptr<SliderComponent> ratioSlider;
|
||||
std::unique_ptr<SliderComponent> depthSlider;
|
||||
std::unique_ptr<SliderComponent> delaySlider;
|
||||
|
Loading…
Reference in New Issue
Block a user