Browse Source

Fix build against latest juce

master
falkTX 4 years ago
parent
commit
b6f25f1feb
17 changed files with 156 additions and 156 deletions
  1. +3
    -3
      ports/Makefile
  2. +2
    -2
      ports/PdPulp/Source/MainComponent.cpp
  3. +1
    -1
      ports/argotlunar/Source/Parameters.cpp
  4. +2
    -2
      ports/argotlunar/Source/Plugin.cpp
  5. +123
    -123
      ports/argotlunar/Source/PluginEditor.cpp
  6. +3
    -3
      ports/cabbage/source/CabbageGUIClass.cpp
  7. +1
    -1
      ports/cabbage/source/CabbageLookAndFeel.cpp
  8. +1
    -1
      ports/cabbage/source/Plugin/CabbagePluginEditor.cpp
  9. +6
    -6
      ports/cabbage/source/Plugin/CabbagePluginProcessor.cpp
  10. +3
    -3
      ports/protoplug/Source/LuaLink.cpp
  11. +3
    -3
      ports/protoplug/Source/PluginProcessor.cpp
  12. +1
    -1
      ports/protoplug/Source/PluginProcessor.h
  13. +1
    -1
      ports/protoplug/Source/exports/pAudioFormatReader.h
  14. +1
    -1
      ports/protoplug/Source/exports/pImageFileFormat.h
  15. +1
    -1
      ports/protoplug/Source/guiclasses/ParameterPanel.h
  16. +1
    -1
      ports/protoplug/Source/guiclasses/ProtoWindow.cpp
  17. +3
    -3
      ports/radium-compressor/Source/PluginProcessor.cpp

+ 3
- 3
ports/Makefile View File

@@ -27,9 +27,9 @@ lv2:
vst:
install -d ../bin/vst
$(MAKE) -C argotlunar/VST
# $(MAKE) -C cabbage/VST-fx
# $(MAKE) -C cabbage/VST-ins
# $(MAKE) -C cabbage/VST-midi
# # $(MAKE) -C cabbage/VST-fx
# # $(MAKE) -C cabbage/VST-ins
# # $(MAKE) -C cabbage/VST-midi
$(MAKE) -C protoplug/VST-fx
$(MAKE) -C protoplug/VST-gen
$(MAKE) -C PdPulp/VST-fx


+ 2
- 2
ports/PdPulp/Source/MainComponent.cpp View File

@@ -50,7 +50,7 @@ MainComponent::MainComponent (PureDataAudioProcessor& processor)
findButton->setColour (TextButton::buttonOnColourId, Colour (0xff727272));
addAndMakeVisible (pathField = new Label ("new label",
String::empty));
String()));
pathField->setFont (Font (15.00f, Font::plain));
pathField->setJustificationType (Justification::centred);
pathField->setEditable (false, false, false);
@@ -74,7 +74,7 @@ MainComponent::MainComponent (PureDataAudioProcessor& processor)
editButton->setColour (TextButton::buttonOnColourId, Colour (0xff727272));
addAndMakeVisible (statusField = new Label ("new label",
String::empty));
String()));
statusField->setFont (Font (11.00f, Font::plain));
statusField->setJustificationType (Justification::centred);
statusField->setEditable (false, false, false);


+ 1
- 1
ports/argotlunar/Source/Parameters.cpp View File

@@ -240,7 +240,7 @@ const String Parameters::getParameterName(int index)
case kProgram:
return "program";
}
return String::empty;
return String();
}
const String Parameters::getParameterText(int index)


+ 2
- 2
ports/argotlunar/Source/Plugin.cpp View File

@@ -376,7 +376,7 @@ void Plugin::saveBankXml(File* file)
// output bank to file
XmlElement* bankXml = program_bank->createBankXml();
file->replaceWithText(bankXml->createDocument(String::empty));
file->replaceWithText(bankXml->createDocument(String()));
delete bankXml;
editor_program_update_pending = true;
setSavedState(true);
@@ -402,6 +402,6 @@ void Plugin::saveCurrentProgramXml(File* file)
//output program to file
XmlElement* program = program_bank->createProgramXml(current_program);
file->replaceWithText(program->createDocument(String::empty));
file->replaceWithText(program->createDocument(String()));
delete program;
}

+ 123
- 123
ports/argotlunar/Source/PluginEditor.cpp View File

@@ -131,47 +131,47 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
gliss_toggle_button (0),
optionsButton (0)
{
addAndMakeVisible (groupComponent3 = new GroupComponent (String::empty,
String::empty));
addAndMakeVisible (groupComponent3 = new GroupComponent (String(),
String()));
groupComponent3->setColour (GroupComponent::outlineColourId, Colour (0x66c1c1c1));
groupComponent3->setColour (GroupComponent::textColourId, Colours::white);
addAndMakeVisible (groupComponent2 = new GroupComponent (String::empty,
String::empty));
addAndMakeVisible (groupComponent2 = new GroupComponent (String(),
String()));
groupComponent2->setColour (GroupComponent::outlineColourId, Colour (0x66c1c1c1));
groupComponent2->setColour (GroupComponent::textColourId, Colours::white);
addAndMakeVisible (groupComponent20 = new GroupComponent (String::empty,
String::empty));
addAndMakeVisible (groupComponent20 = new GroupComponent (String(),
String()));
groupComponent20->setColour (GroupComponent::outlineColourId, Colour (0x66c1c1c1));
groupComponent20->setColour (GroupComponent::textColourId, Colours::white);
addAndMakeVisible (groupComponent18 = new GroupComponent (String::empty,
String::empty));
addAndMakeVisible (groupComponent18 = new GroupComponent (String(),
String()));
groupComponent18->setColour (GroupComponent::outlineColourId, Colour (0x66c1c1c1));
groupComponent18->setColour (GroupComponent::textColourId, Colours::white);
addAndMakeVisible (groupComponent5 = new GroupComponent (String::empty,
String::empty));
addAndMakeVisible (groupComponent5 = new GroupComponent (String(),
String()));
groupComponent5->setColour (GroupComponent::outlineColourId, Colour (0x66c1c1c1));
groupComponent5->setColour (GroupComponent::textColourId, Colours::white);
addAndMakeVisible (groupComponent15 = new GroupComponent (String::empty,
String::empty));
addAndMakeVisible (groupComponent15 = new GroupComponent (String(),
String()));
groupComponent15->setColour (GroupComponent::outlineColourId, Colour (0x66c1c1c1));
groupComponent15->setColour (GroupComponent::textColourId, Colours::white);
addAndMakeVisible (groupComponent9 = new GroupComponent (String::empty,
String::empty));
addAndMakeVisible (groupComponent9 = new GroupComponent (String(),
String()));
groupComponent9->setColour (GroupComponent::outlineColourId, Colour (0x66c1c1c1));
groupComponent9->setColour (GroupComponent::textColourId, Colours::white);
addAndMakeVisible (groupComponent = new GroupComponent (String::empty,
String::empty));
addAndMakeVisible (groupComponent = new GroupComponent (String(),
String()));
groupComponent->setColour (GroupComponent::outlineColourId, Colour (0x66c1c1c1));
groupComponent->setColour (GroupComponent::textColourId, Colours::white);
addAndMakeVisible (mix_slider = new Slider (String::empty));
addAndMakeVisible (mix_slider = new Slider (String()));
mix_slider->setRange (0, 1, 0.001);
mix_slider->setSliderStyle (Slider::RotaryVerticalDrag);
mix_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -180,7 +180,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
mix_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
mix_slider->addListener (this);
addAndMakeVisible (label = new Label (String::empty,
addAndMakeVisible (label = new Label (String(),
L"Mix"));
label->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label->setJustificationType (Justification::centred);
@@ -189,7 +189,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label->setColour (TextEditor::textColourId, Colours::black);
label->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (ingain_slider = new Slider (String::empty));
addAndMakeVisible (ingain_slider = new Slider (String()));
ingain_slider->setRange (0, 1, 0.001);
ingain_slider->setSliderStyle (Slider::RotaryVerticalDrag);
ingain_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -198,7 +198,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
ingain_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
ingain_slider->addListener (this);
addAndMakeVisible (label2 = new Label (String::empty,
addAndMakeVisible (label2 = new Label (String(),
L"InGain"));
label2->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label2->setJustificationType (Justification::centred);
@@ -207,7 +207,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label2->setColour (TextEditor::textColourId, Colours::black);
label2->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (amp_slider = new Slider (String::empty));
addAndMakeVisible (amp_slider = new Slider (String()));
amp_slider->setRange (0, 1, 0.001);
amp_slider->setSliderStyle (Slider::RotaryVerticalDrag);
amp_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -216,7 +216,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
amp_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
amp_slider->addListener (this);
addAndMakeVisible (label3 = new Label (String::empty,
addAndMakeVisible (label3 = new Label (String(),
L"Amp"));
label3->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label3->setJustificationType (Justification::centred);
@@ -225,7 +225,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label3->setColour (TextEditor::textColourId, Colours::black);
label3->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (ampv_slider = new Slider (String::empty));
addAndMakeVisible (ampv_slider = new Slider (String()));
ampv_slider->setRange (0, 1, 0.001);
ampv_slider->setSliderStyle (Slider::RotaryVerticalDrag);
ampv_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -234,7 +234,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
ampv_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
ampv_slider->addListener (this);
addAndMakeVisible (label4 = new Label (String::empty,
addAndMakeVisible (label4 = new Label (String(),
L"+"));
label4->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label4->setJustificationType (Justification::centred);
@@ -243,7 +243,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label4->setColour (TextEditor::textColourId, Colours::black);
label4->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (pan_slider = new Slider (String::empty));
addAndMakeVisible (pan_slider = new Slider (String()));
pan_slider->setRange (0, 1, 0.001);
pan_slider->setSliderStyle (Slider::RotaryVerticalDrag);
pan_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -252,7 +252,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
pan_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
pan_slider->addListener (this);
addAndMakeVisible (label5 = new Label (String::empty,
addAndMakeVisible (label5 = new Label (String(),
L"Pan"));
label5->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label5->setJustificationType (Justification::centred);
@@ -261,7 +261,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label5->setColour (TextEditor::textColourId, Colours::black);
label5->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (panv_slider = new Slider (String::empty));
addAndMakeVisible (panv_slider = new Slider (String()));
panv_slider->setRange (0, 1, 0.001);
panv_slider->setSliderStyle (Slider::RotaryVerticalDrag);
panv_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -270,7 +270,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
panv_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
panv_slider->addListener (this);
addAndMakeVisible (label6 = new Label (String::empty,
addAndMakeVisible (label6 = new Label (String(),
L"+-"));
label6->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label6->setJustificationType (Justification::centred);
@@ -279,7 +279,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label6->setColour (TextEditor::textColourId, Colours::black);
label6->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (delay_slider = new Slider (String::empty));
addAndMakeVisible (delay_slider = new Slider (String()));
delay_slider->setRange (0, 1, 0.0005);
delay_slider->setSliderStyle (Slider::RotaryVerticalDrag);
delay_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -288,7 +288,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
delay_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
delay_slider->addListener (this);
addAndMakeVisible (label7 = new Label (String::empty,
addAndMakeVisible (label7 = new Label (String(),
L"Delay"));
label7->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label7->setJustificationType (Justification::centred);
@@ -297,7 +297,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label7->setColour (TextEditor::textColourId, Colours::black);
label7->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (delayv_slider = new Slider (String::empty));
addAndMakeVisible (delayv_slider = new Slider (String()));
delayv_slider->setRange (0, 1, 0.0005);
delayv_slider->setSliderStyle (Slider::RotaryVerticalDrag);
delayv_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -306,7 +306,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
delayv_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
delayv_slider->addListener (this);
addAndMakeVisible (feedback_slider = new Slider (String::empty));
addAndMakeVisible (feedback_slider = new Slider (String()));
feedback_slider->setRange (0, 1, 0.001);
feedback_slider->setSliderStyle (Slider::LinearHorizontal);
feedback_slider->setTextBoxStyle (Slider::NoTextBox, true, 80, 20);
@@ -315,7 +315,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
feedback_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
feedback_slider->addListener (this);
addAndMakeVisible (label9 = new Label (String::empty,
addAndMakeVisible (label9 = new Label (String(),
L"Feedback"));
label9->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label9->setJustificationType (Justification::centred);
@@ -324,7 +324,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label9->setColour (TextEditor::textColourId, Colours::black);
label9->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (gliss_slider = new Slider (String::empty));
addAndMakeVisible (gliss_slider = new Slider (String()));
gliss_slider->setRange (0, 1, 0.001);
gliss_slider->setSliderStyle (Slider::RotaryVerticalDrag);
gliss_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -333,7 +333,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
gliss_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
gliss_slider->addListener (this);
addAndMakeVisible (label11 = new Label (String::empty,
addAndMakeVisible (label11 = new Label (String(),
L"Gliss"));
label11->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label11->setJustificationType (Justification::centred);
@@ -342,7 +342,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label11->setColour (TextEditor::textColourId, Colours::black);
label11->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (glissv_slider = new Slider (String::empty));
addAndMakeVisible (glissv_slider = new Slider (String()));
glissv_slider->setRange (0, 1, 0.001);
glissv_slider->setSliderStyle (Slider::RotaryVerticalDrag);
glissv_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -351,7 +351,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
glissv_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
glissv_slider->addListener (this);
addAndMakeVisible (trans_slider = new Slider (String::empty));
addAndMakeVisible (trans_slider = new Slider (String()));
trans_slider->setRange (0, 1, 0.001);
trans_slider->setSliderStyle (Slider::RotaryVerticalDrag);
trans_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -360,7 +360,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
trans_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
trans_slider->addListener (this);
addAndMakeVisible (label13 = new Label (String::empty,
addAndMakeVisible (label13 = new Label (String(),
L"Trans"));
label13->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label13->setJustificationType (Justification::centred);
@@ -369,7 +369,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label13->setColour (TextEditor::textColourId, Colours::black);
label13->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (transv_slider = new Slider (String::empty));
addAndMakeVisible (transv_slider = new Slider (String()));
transv_slider->setRange (0, 1, 0.001);
transv_slider->setSliderStyle (Slider::RotaryVerticalDrag);
transv_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -378,7 +378,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
transv_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
transv_slider->addListener (this);
addAndMakeVisible (iot_slider = new Slider (String::empty));
addAndMakeVisible (iot_slider = new Slider (String()));
iot_slider->setRange (0, 1, 0.001);
iot_slider->setSliderStyle (Slider::RotaryVerticalDrag);
iot_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -387,7 +387,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
iot_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
iot_slider->addListener (this);
addAndMakeVisible (label15 = new Label (String::empty,
addAndMakeVisible (label15 = new Label (String(),
L"IOT"));
label15->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label15->setJustificationType (Justification::centred);
@@ -396,7 +396,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label15->setColour (TextEditor::textColourId, Colours::black);
label15->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (iotv_slider = new Slider (String::empty));
addAndMakeVisible (iotv_slider = new Slider (String()));
iotv_slider->setRange (0, 1, 0.001);
iotv_slider->setSliderStyle (Slider::RotaryVerticalDrag);
iotv_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -405,7 +405,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
iotv_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
iotv_slider->addListener (this);
addAndMakeVisible (dur_slider = new Slider (String::empty));
addAndMakeVisible (dur_slider = new Slider (String()));
dur_slider->setRange (0, 1, 0.001);
dur_slider->setSliderStyle (Slider::RotaryVerticalDrag);
dur_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -414,7 +414,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
dur_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
dur_slider->addListener (this);
addAndMakeVisible (label17 = new Label (String::empty,
addAndMakeVisible (label17 = new Label (String(),
L"Dur"));
label17->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label17->setJustificationType (Justification::centred);
@@ -423,7 +423,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label17->setColour (TextEditor::textColourId, Colours::black);
label17->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (durv_slider = new Slider (String::empty));
addAndMakeVisible (durv_slider = new Slider (String()));
durv_slider->setRange (0, 1, 0.001);
durv_slider->setSliderStyle (Slider::RotaryVerticalDrag);
durv_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -432,7 +432,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
durv_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
durv_slider->addListener (this);
addAndMakeVisible (ffreq_slider = new Slider (String::empty));
addAndMakeVisible (ffreq_slider = new Slider (String()));
ffreq_slider->setRange (0, 1, 0.001);
ffreq_slider->setSliderStyle (Slider::RotaryVerticalDrag);
ffreq_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -441,7 +441,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
ffreq_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
ffreq_slider->addListener (this);
addAndMakeVisible (label19 = new Label (String::empty,
addAndMakeVisible (label19 = new Label (String(),
L"FFreq"));
label19->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label19->setJustificationType (Justification::centred);
@@ -450,7 +450,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label19->setColour (TextEditor::textColourId, Colours::black);
label19->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (ffreqv_slider = new Slider (String::empty));
addAndMakeVisible (ffreqv_slider = new Slider (String()));
ffreqv_slider->setRange (0, 1, 0.001);
ffreqv_slider->setSliderStyle (Slider::RotaryVerticalDrag);
ffreqv_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -459,7 +459,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
ffreqv_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
ffreqv_slider->addListener (this);
addAndMakeVisible (fq_slider = new Slider (String::empty));
addAndMakeVisible (fq_slider = new Slider (String()));
fq_slider->setRange (0, 1, 0.001);
fq_slider->setSliderStyle (Slider::RotaryVerticalDrag);
fq_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -469,7 +469,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
fq_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
fq_slider->addListener (this);
addAndMakeVisible (label21 = new Label (String::empty,
addAndMakeVisible (label21 = new Label (String(),
L"FQ"));
label21->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label21->setJustificationType (Justification::centred);
@@ -478,7 +478,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label21->setColour (TextEditor::textColourId, Colours::black);
label21->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (fqv_slider = new Slider (String::empty));
addAndMakeVisible (fqv_slider = new Slider (String()));
fqv_slider->setRange (0, 1, 0.001);
fqv_slider->setSliderStyle (Slider::RotaryVerticalDrag);
fqv_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -487,7 +487,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
fqv_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
fqv_slider->addListener (this);
addAndMakeVisible (grains_slider = new Slider (String::empty));
addAndMakeVisible (grains_slider = new Slider (String()));
grains_slider->setRange (0, 20, 1);
grains_slider->setSliderStyle (Slider::RotaryVerticalDrag);
grains_slider->setTextBoxStyle (Slider::TextBoxRight, true, 32, 20);
@@ -498,7 +498,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
grains_slider->setColour (Slider::textBoxBackgroundColourId, Colour (0xff060827));
grains_slider->addListener (this);
addAndMakeVisible (label23 = new Label (String::empty,
addAndMakeVisible (label23 = new Label (String(),
L"Grains"));
label23->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label23->setJustificationType (Justification::centred);
@@ -507,7 +507,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label23->setColour (TextEditor::textColourId, Colours::black);
label23->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (param_display = new TextEditor (String::empty));
addAndMakeVisible (param_display = new TextEditor (String()));
param_display->setMultiLine (false);
param_display->setReturnKeyStartsNewLine (false);
param_display->setReadOnly (true);
@@ -515,12 +515,12 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
param_display->setCaretVisible (false);
param_display->setPopupMenuEnabled (false);
param_display->setColour (TextEditor::textColourId, Colours::black);
param_display->setText (String::empty);
param_display->setText (String());
addAndMakeVisible (filtertype_combobox = new ComboBox (String::empty));
addAndMakeVisible (filtertype_combobox = new ComboBox (String()));
filtertype_combobox->setEditableText (false);
filtertype_combobox->setJustificationType (Justification::centred);
filtertype_combobox->setTextWhenNothingSelected (String::empty);
filtertype_combobox->setTextWhenNothingSelected (String());
filtertype_combobox->setTextWhenNoChoicesAvailable (L"(no choices)");
filtertype_combobox->addItem (L"off", 1);
filtertype_combobox->addItem (L"band", 2);
@@ -532,44 +532,44 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
filtertype_combobox->addSeparator();
filtertype_combobox->addListener (this);
addAndMakeVisible (initButton = new TextButton (String::empty));
addAndMakeVisible (initButton = new TextButton (String()));
initButton->setButtonText (L"Init");
initButton->setConnectedEdges (Button::ConnectedOnLeft | Button::ConnectedOnRight);
initButton->addListener (this);
initButton->setColour (TextButton::buttonColourId, Colour (0xffdddddd));
addAndMakeVisible (saveButton = new TextButton (String::empty));
addAndMakeVisible (saveButton = new TextButton (String()));
saveButton->setButtonText (L"Save");
saveButton->setConnectedEdges (Button::ConnectedOnLeft | Button::ConnectedOnRight | Button::ConnectedOnTop | Button::ConnectedOnBottom);
saveButton->addListener (this);
saveButton->setColour (TextButton::buttonColourId, Colour (0xffdddddd));
addAndMakeVisible (savetoButton = new TextButton (String::empty));
addAndMakeVisible (savetoButton = new TextButton (String()));
savetoButton->setButtonText (L"Save To");
savetoButton->setConnectedEdges (Button::ConnectedOnLeft | Button::ConnectedOnRight);
savetoButton->addListener (this);
savetoButton->setColour (TextButton::buttonColourId, Colour (0xffdddddd));
addAndMakeVisible (decPresetButton = new TextButton (String::empty));
addAndMakeVisible (decPresetButton = new TextButton (String()));
decPresetButton->setButtonText (L"-");
decPresetButton->setConnectedEdges (Button::ConnectedOnLeft | Button::ConnectedOnRight);
decPresetButton->addListener (this);
decPresetButton->setColour (TextButton::buttonColourId, Colour (0xffdddddd));
addAndMakeVisible (incPresetButton = new TextButton (String::empty));
addAndMakeVisible (incPresetButton = new TextButton (String()));
incPresetButton->setButtonText (L"+");
incPresetButton->setConnectedEdges (Button::ConnectedOnLeft | Button::ConnectedOnRight);
incPresetButton->addListener (this);
incPresetButton->setColour (TextButton::buttonColourId, Colour (0xffdddddd));
addAndMakeVisible (program_combobox = new ComboBox (String::empty));
addAndMakeVisible (program_combobox = new ComboBox (String()));
program_combobox->setEditableText (true);
program_combobox->setJustificationType (Justification::centredLeft);
program_combobox->setTextWhenNothingSelected (String::empty);
program_combobox->setTextWhenNothingSelected (String());
program_combobox->setTextWhenNoChoicesAvailable (L"(no choices)");
program_combobox->addListener (this);
addAndMakeVisible (label25 = new Label (String::empty,
addAndMakeVisible (label25 = new Label (String(),
L"Argotlunar v2.0.6"));
label25->setFont (Font (16.0000f, Font::plain));
label25->setJustificationType (Justification::centredLeft);
@@ -578,7 +578,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label25->setColour (TextEditor::textColourId, Colours::black);
label25->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (envshape_slider = new Slider (String::empty));
addAndMakeVisible (envshape_slider = new Slider (String()));
envshape_slider->setRange (0, 1, 0.001);
envshape_slider->setSliderStyle (Slider::RotaryVerticalDrag);
envshape_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -588,7 +588,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
envshape_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
envshape_slider->addListener (this);
addAndMakeVisible (envskew_slider = new Slider (String::empty));
addAndMakeVisible (envskew_slider = new Slider (String()));
envskew_slider->setRange (0, 1, 0.001);
envskew_slider->setSliderStyle (Slider::RotaryVerticalDrag);
envskew_slider->setTextBoxStyle (Slider::NoTextBox, false, 80, 20);
@@ -597,7 +597,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
envskew_slider->setColour (Slider::rotarySliderOutlineColourId, Colour (0xff3c3c54));
envskew_slider->addListener (this);
addAndMakeVisible (label26 = new Label (String::empty,
addAndMakeVisible (label26 = new Label (String(),
L"Sustain"));
label26->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label26->setJustificationType (Justification::centred);
@@ -606,7 +606,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label26->setColour (TextEditor::textColourId, Colours::black);
label26->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label27 = new Label (String::empty,
addAndMakeVisible (label27 = new Label (String(),
L"Skew"));
label27->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label27->setJustificationType (Justification::centred);
@@ -615,7 +615,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label27->setColour (TextEditor::textColourId, Colours::black);
label27->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label28 = new Label (String::empty,
addAndMakeVisible (label28 = new Label (String(),
L"Freeze"));
label28->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label28->setJustificationType (Justification::centred);
@@ -624,18 +624,18 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label28->setColour (TextEditor::textColourId, Colours::black);
label28->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (freeze_toggle_button = new ToggleButton (String::empty));
addAndMakeVisible (freeze_toggle_button = new ToggleButton (String()));
freeze_toggle_button->addListener (this);
freeze_toggle_button->setColour (ToggleButton::textColourId, Colours::white);
addAndMakeVisible (scale_combobox = new ComboBox (String::empty));
addAndMakeVisible (scale_combobox = new ComboBox (String()));
scale_combobox->setEditableText (false);
scale_combobox->setJustificationType (Justification::centredLeft);
scale_combobox->setTextWhenNothingSelected (String::empty);
scale_combobox->setTextWhenNothingSelected (String());
scale_combobox->setTextWhenNoChoicesAvailable (L"(no choices)");
scale_combobox->addListener (this);
addAndMakeVisible (scalekey_slider = new Slider (String::empty));
addAndMakeVisible (scalekey_slider = new Slider (String()));
scalekey_slider->setRange (0, 11, 1);
scalekey_slider->setSliderStyle (Slider::RotaryVerticalDrag);
scalekey_slider->setTextBoxStyle (Slider::NoTextBox, true, 40, 15);
@@ -646,7 +646,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
scalekey_slider->setColour (Slider::textBoxBackgroundColourId, Colour (0xff060827));
scalekey_slider->addListener (this);
addAndMakeVisible (label24 = new Label (String::empty,
addAndMakeVisible (label24 = new Label (String(),
L"Key"));
label24->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label24->setJustificationType (Justification::centred);
@@ -655,12 +655,12 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label24->setColour (TextEditor::textColourId, Colours::black);
label24->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (groupComponent17 = new GroupComponent (String::empty,
String::empty));
addAndMakeVisible (groupComponent17 = new GroupComponent (String(),
String()));
groupComponent17->setColour (GroupComponent::outlineColourId, Colour (0x66c1c1c1));
groupComponent17->setColour (GroupComponent::textColourId, Colours::white);
addAndMakeVisible (label29 = new Label (String::empty,
addAndMakeVisible (label29 = new Label (String(),
L"Correlation Matrix"));
label29->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label29->setJustificationType (Justification::centred);
@@ -669,10 +669,10 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label29->setColour (TextEditor::textColourId, Colours::black);
label29->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (matrix_src_combobox_1 = new ComboBox (String::empty));
addAndMakeVisible (matrix_src_combobox_1 = new ComboBox (String()));
matrix_src_combobox_1->setEditableText (false);
matrix_src_combobox_1->setJustificationType (Justification::centredLeft);
matrix_src_combobox_1->setTextWhenNothingSelected (String::empty);
matrix_src_combobox_1->setTextWhenNothingSelected (String());
matrix_src_combobox_1->setTextWhenNoChoicesAvailable (L"(no choices)");
matrix_src_combobox_1->addItem (L"Off", 1);
matrix_src_combobox_1->addItem (L"Amp", 2);
@@ -687,10 +687,10 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
matrix_src_combobox_1->addItem (L"FQ", 11);
matrix_src_combobox_1->addListener (this);
addAndMakeVisible (matrix_dest_combobox_1 = new ComboBox (String::empty));
addAndMakeVisible (matrix_dest_combobox_1 = new ComboBox (String()));
matrix_dest_combobox_1->setEditableText (false);
matrix_dest_combobox_1->setJustificationType (Justification::centredLeft);
matrix_dest_combobox_1->setTextWhenNothingSelected (String::empty);
matrix_dest_combobox_1->setTextWhenNothingSelected (String());
matrix_dest_combobox_1->setTextWhenNoChoicesAvailable (L"(no choices)");
matrix_dest_combobox_1->addItem (L"Off", 1);
matrix_dest_combobox_1->addItem (L"Amp", 2);
@@ -707,7 +707,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
matrix_dest_combobox_1->addSeparator();
matrix_dest_combobox_1->addListener (this);
addAndMakeVisible (matrix_mod_slider_1 = new Slider (String::empty));
addAndMakeVisible (matrix_mod_slider_1 = new Slider (String()));
matrix_mod_slider_1->setRange (-100, 100, 1);
matrix_mod_slider_1->setSliderStyle (Slider::LinearHorizontal);
matrix_mod_slider_1->setTextBoxStyle (Slider::NoTextBox, true, 40, 15);
@@ -718,7 +718,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
matrix_mod_slider_1->setColour (Slider::textBoxBackgroundColourId, Colour (0xff060827));
matrix_mod_slider_1->addListener (this);
addAndMakeVisible (label30 = new Label (String::empty,
addAndMakeVisible (label30 = new Label (String(),
L"Src"));
label30->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label30->setJustificationType (Justification::centred);
@@ -727,7 +727,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label30->setColour (TextEditor::textColourId, Colours::black);
label30->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label31 = new Label (String::empty,
addAndMakeVisible (label31 = new Label (String(),
L"Dest"));
label31->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label31->setJustificationType (Justification::centred);
@@ -736,10 +736,10 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label31->setColour (TextEditor::textColourId, Colours::black);
label31->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (matrix_src_combobox_2 = new ComboBox (String::empty));
addAndMakeVisible (matrix_src_combobox_2 = new ComboBox (String()));
matrix_src_combobox_2->setEditableText (false);
matrix_src_combobox_2->setJustificationType (Justification::centredLeft);
matrix_src_combobox_2->setTextWhenNothingSelected (String::empty);
matrix_src_combobox_2->setTextWhenNothingSelected (String());
matrix_src_combobox_2->setTextWhenNoChoicesAvailable (L"(no choices)");
matrix_src_combobox_2->addItem (L"Off", 1);
matrix_src_combobox_2->addItem (L"Amp", 2);
@@ -754,10 +754,10 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
matrix_src_combobox_2->addItem (L"FQ", 11);
matrix_src_combobox_2->addListener (this);
addAndMakeVisible (matrix_dest_combobox_2 = new ComboBox (String::empty));
addAndMakeVisible (matrix_dest_combobox_2 = new ComboBox (String()));
matrix_dest_combobox_2->setEditableText (false);
matrix_dest_combobox_2->setJustificationType (Justification::centredLeft);
matrix_dest_combobox_2->setTextWhenNothingSelected (String::empty);
matrix_dest_combobox_2->setTextWhenNothingSelected (String());
matrix_dest_combobox_2->setTextWhenNoChoicesAvailable (L"(no choices)");
matrix_dest_combobox_2->addItem (L"Off", 1);
matrix_dest_combobox_2->addItem (L"Amp", 2);
@@ -774,7 +774,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
matrix_dest_combobox_2->addSeparator();
matrix_dest_combobox_2->addListener (this);
addAndMakeVisible (matrix_mod_slider_2 = new Slider (String::empty));
addAndMakeVisible (matrix_mod_slider_2 = new Slider (String()));
matrix_mod_slider_2->setRange (-100, 100, 1);
matrix_mod_slider_2->setSliderStyle (Slider::LinearHorizontal);
matrix_mod_slider_2->setTextBoxStyle (Slider::NoTextBox, true, 40, 15);
@@ -785,7 +785,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
matrix_mod_slider_2->setColour (Slider::textBoxBackgroundColourId, Colour (0xff060827));
matrix_mod_slider_2->addListener (this);
addAndMakeVisible (label34 = new Label (String::empty,
addAndMakeVisible (label34 = new Label (String(),
L"Src"));
label34->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label34->setJustificationType (Justification::centred);
@@ -794,7 +794,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label34->setColour (TextEditor::textColourId, Colours::black);
label34->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label35 = new Label (String::empty,
addAndMakeVisible (label35 = new Label (String(),
L"Dest"));
label35->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label35->setJustificationType (Justification::centred);
@@ -803,10 +803,10 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label35->setColour (TextEditor::textColourId, Colours::black);
label35->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (matrix_src_combobox_3 = new ComboBox (String::empty));
addAndMakeVisible (matrix_src_combobox_3 = new ComboBox (String()));
matrix_src_combobox_3->setEditableText (false);
matrix_src_combobox_3->setJustificationType (Justification::centredLeft);
matrix_src_combobox_3->setTextWhenNothingSelected (String::empty);
matrix_src_combobox_3->setTextWhenNothingSelected (String());
matrix_src_combobox_3->setTextWhenNoChoicesAvailable (L"(no choices)");
matrix_src_combobox_3->addItem (L"Off", 1);
matrix_src_combobox_3->addItem (L"Amp", 2);
@@ -821,10 +821,10 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
matrix_src_combobox_3->addItem (L"FQ", 11);
matrix_src_combobox_3->addListener (this);
addAndMakeVisible (matrix_dest_combobox_3 = new ComboBox (String::empty));
addAndMakeVisible (matrix_dest_combobox_3 = new ComboBox (String()));
matrix_dest_combobox_3->setEditableText (false);
matrix_dest_combobox_3->setJustificationType (Justification::centredLeft);
matrix_dest_combobox_3->setTextWhenNothingSelected (String::empty);
matrix_dest_combobox_3->setTextWhenNothingSelected (String());
matrix_dest_combobox_3->setTextWhenNoChoicesAvailable (L"(no choices)");
matrix_dest_combobox_3->addItem (L"Off", 1);
matrix_dest_combobox_3->addItem (L"Amp", 2);
@@ -841,7 +841,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
matrix_dest_combobox_3->addSeparator();
matrix_dest_combobox_3->addListener (this);
addAndMakeVisible (matrix_mod_slider_3 = new Slider (String::empty));
addAndMakeVisible (matrix_mod_slider_3 = new Slider (String()));
matrix_mod_slider_3->setRange (-100, 100, 1);
matrix_mod_slider_3->setSliderStyle (Slider::LinearHorizontal);
matrix_mod_slider_3->setTextBoxStyle (Slider::NoTextBox, true, 40, 15);
@@ -852,7 +852,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
matrix_mod_slider_3->setColour (Slider::textBoxBackgroundColourId, Colour (0xff060827));
matrix_mod_slider_3->addListener (this);
addAndMakeVisible (label36 = new Label (String::empty,
addAndMakeVisible (label36 = new Label (String(),
L"Src"));
label36->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label36->setJustificationType (Justification::centred);
@@ -861,7 +861,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label36->setColour (TextEditor::textColourId, Colours::black);
label36->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label37 = new Label (String::empty,
addAndMakeVisible (label37 = new Label (String(),
L"Dest"));
label37->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label37->setJustificationType (Justification::centred);
@@ -870,22 +870,22 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label37->setColour (TextEditor::textColourId, Colours::black);
label37->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (matrix_mode_1_button = new ToggleButton (String::empty));
addAndMakeVisible (matrix_mode_1_button = new ToggleButton (String()));
matrix_mode_1_button->addListener (this);
matrix_mode_1_button->setToggleState (true, dontSendNotification);
matrix_mode_1_button->setColour (ToggleButton::textColourId, Colours::white);
addAndMakeVisible (matrix_mode_2_button = new ToggleButton (String::empty));
addAndMakeVisible (matrix_mode_2_button = new ToggleButton (String()));
matrix_mode_2_button->addListener (this);
matrix_mode_2_button->setToggleState (true, dontSendNotification);
matrix_mode_2_button->setColour (ToggleButton::textColourId, Colours::white);
addAndMakeVisible (matrix_mode_3_button = new ToggleButton (String::empty));
addAndMakeVisible (matrix_mode_3_button = new ToggleButton (String()));
matrix_mode_3_button->addListener (this);
matrix_mode_3_button->setToggleState (true, dontSendNotification);
matrix_mode_3_button->setColour (ToggleButton::textColourId, Colours::white);
addAndMakeVisible (scalekey_display = new TextEditor (String::empty));
addAndMakeVisible (scalekey_display = new TextEditor (String()));
scalekey_display->setMultiLine (false);
scalekey_display->setReturnKeyStartsNewLine (false);
scalekey_display->setReadOnly (true);
@@ -895,27 +895,27 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
scalekey_display->setColour (TextEditor::textColourId, Colours::white);
scalekey_display->setColour (TextEditor::backgroundColourId, Colour (0xff060827));
scalekey_display->setColour (TextEditor::outlineColourId, Colour (0xff3c3c54));
scalekey_display->setText (String::empty);
scalekey_display->setText (String());
addAndMakeVisible (trans_toggle_button = new ToggleButton (String::empty));
addAndMakeVisible (trans_toggle_button = new ToggleButton (String()));
trans_toggle_button->addListener (this);
trans_toggle_button->setToggleState (true, dontSendNotification);
trans_toggle_button->setColour (ToggleButton::textColourId, Colours::white);
addAndMakeVisible (envtype_combobox = new ComboBox (String::empty));
addAndMakeVisible (envtype_combobox = new ComboBox (String()));
envtype_combobox->setEditableText (false);
envtype_combobox->setJustificationType (Justification::centredLeft);
envtype_combobox->setTextWhenNothingSelected (String::empty);
envtype_combobox->setTextWhenNothingSelected (String());
envtype_combobox->setTextWhenNoChoicesAvailable (L"(no choices)");
envtype_combobox->addItem (L"RCB", 1);
envtype_combobox->addItem (L"parabola", 2);
envtype_combobox->addItem (L"triangle", 3);
envtype_combobox->addListener (this);
addAndMakeVisible (dur_quant_combobox = new ComboBox (String::empty));
addAndMakeVisible (dur_quant_combobox = new ComboBox (String()));
dur_quant_combobox->setEditableText (false);
dur_quant_combobox->setJustificationType (Justification::centredLeft);
dur_quant_combobox->setTextWhenNothingSelected (String::empty);
dur_quant_combobox->setTextWhenNothingSelected (String());
dur_quant_combobox->setTextWhenNoChoicesAvailable (L"(no choices)");
dur_quant_combobox->addItem (L"ms", 1);
dur_quant_combobox->addItem (L"128", 2);
@@ -933,10 +933,10 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
dur_quant_combobox->addItem (L"long", 14);
dur_quant_combobox->addListener (this);
addAndMakeVisible (iot_quant_combobox = new ComboBox (String::empty));
addAndMakeVisible (iot_quant_combobox = new ComboBox (String()));
iot_quant_combobox->setEditableText (false);
iot_quant_combobox->setJustificationType (Justification::centredLeft);
iot_quant_combobox->setTextWhenNothingSelected (String::empty);
iot_quant_combobox->setTextWhenNothingSelected (String());
iot_quant_combobox->setTextWhenNoChoicesAvailable (L"(no choices)");
iot_quant_combobox->addItem (L"ms", 1);
iot_quant_combobox->addItem (L"128", 2);
@@ -953,10 +953,10 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
iot_quant_combobox->addItem (L"4T", 13);
iot_quant_combobox->addListener (this);
addAndMakeVisible (delay_quant_combobox = new ComboBox (String::empty));
addAndMakeVisible (delay_quant_combobox = new ComboBox (String()));
delay_quant_combobox->setEditableText (false);
delay_quant_combobox->setJustificationType (Justification::centredLeft);
delay_quant_combobox->setTextWhenNothingSelected (String::empty);
delay_quant_combobox->setTextWhenNothingSelected (String());
delay_quant_combobox->setTextWhenNoChoicesAvailable (L"(no choices)");
delay_quant_combobox->addItem (L"ms", 1);
delay_quant_combobox->addItem (L"128", 2);
@@ -973,7 +973,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
delay_quant_combobox->addItem (L"4T", 13);
delay_quant_combobox->addListener (this);
addAndMakeVisible (label8 = new Label (String::empty,
addAndMakeVisible (label8 = new Label (String(),
L"+"));
label8->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label8->setJustificationType (Justification::centred);
@@ -982,7 +982,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label8->setColour (TextEditor::textColourId, Colours::black);
label8->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label16 = new Label (String::empty,
addAndMakeVisible (label16 = new Label (String(),
L"+"));
label16->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label16->setJustificationType (Justification::centred);
@@ -991,7 +991,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label16->setColour (TextEditor::textColourId, Colours::black);
label16->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label18 = new Label (String::empty,
addAndMakeVisible (label18 = new Label (String(),
L"+"));
label18->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label18->setJustificationType (Justification::centred);
@@ -1000,7 +1000,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label18->setColour (TextEditor::textColourId, Colours::black);
label18->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label12 = new Label (String::empty,
addAndMakeVisible (label12 = new Label (String(),
L"+-"));
label12->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label12->setJustificationType (Justification::centred);
@@ -1009,7 +1009,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label12->setColour (TextEditor::textColourId, Colours::black);
label12->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label14 = new Label (String::empty,
addAndMakeVisible (label14 = new Label (String(),
L"+-"));
label14->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label14->setJustificationType (Justification::centred);
@@ -1018,7 +1018,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label14->setColour (TextEditor::textColourId, Colours::black);
label14->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label20 = new Label (String::empty,
addAndMakeVisible (label20 = new Label (String(),
L"+"));
label20->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label20->setJustificationType (Justification::centred);
@@ -1027,7 +1027,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label20->setColour (TextEditor::textColourId, Colours::black);
label20->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label22 = new Label (String::empty,
addAndMakeVisible (label22 = new Label (String(),
L"+"));
label22->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label22->setJustificationType (Justification::centred);
@@ -1036,7 +1036,7 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label22->setColour (TextEditor::textColourId, Colours::black);
label22->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (label32 = new Label (String::empty,
addAndMakeVisible (label32 = new Label (String(),
L"Scale"));
label32->setFont (Font (Font::getDefaultSansSerifFontName(), 14.0000f, Font::plain));
label32->setJustificationType (Justification::centred);
@@ -1045,12 +1045,12 @@ PluginEditor::PluginEditor (Plugin* const ownerFilter)
label32->setColour (TextEditor::textColourId, Colours::black);
label32->setColour (TextEditor::backgroundColourId, Colour (0x0));
addAndMakeVisible (gliss_toggle_button = new ToggleButton (String::empty));
addAndMakeVisible (gliss_toggle_button = new ToggleButton (String()));
gliss_toggle_button->addListener (this);
gliss_toggle_button->setToggleState (true, dontSendNotification);
gliss_toggle_button->setColour (ToggleButton::textColourId, Colours::white);
addAndMakeVisible (optionsButton = new TextButton (String::empty));
addAndMakeVisible (optionsButton = new TextButton (String()));
optionsButton->setButtonText (L"Options");
optionsButton->setConnectedEdges (Button::ConnectedOnLeft | Button::ConnectedOnRight);
optionsButton->addListener (this);


+ 3
- 3
ports/cabbage/source/CabbageGUIClass.cpp View File

@@ -1694,7 +1694,7 @@ String CabbageGUIClass::getStringProp(Identifier prop, int index)
else if(prop.equalsIgnoreCase("snapshotData"))
return snapshotData[index].trim();
else*/
return String::empty;
return String();
}
//===================================================================
Rectangle<int> CabbageGUIClass::getComponentBounds()
@@ -1720,7 +1720,7 @@ String CabbageGUIClass::getStringProp(Identifier prop)
//Logger::writeToLog(prop+":"+strings.toString());
return strings.toString();
}
return String::empty;
return String();
}
//===================================================================
StringArray CabbageGUIClass::getStringArrayProp(Identifier prop)
@@ -1825,7 +1825,7 @@ void CabbageGUIClass::setStringProp(Identifier prop, String val)
String CabbageGUIClass::getColourProp(Identifier prop)
{
jassert(1);
return String::empty;
return String();
}
//===================================================================
String CabbageGUIClass::getStringForIdentifier(var propsArray, String identifier, String type)


+ 1
- 1
ports/cabbage/source/CabbageLookAndFeel.cpp View File

@@ -1155,7 +1155,7 @@ Font CabbageLookAndFeel::getComboBoxFont (ComboBox& box)
Label* CabbageLookAndFeel::createComboBoxTextBox (ComboBox&)
{
return new Label (String::empty, String::empty);
return new Label (String(), String());
}
void CabbageLookAndFeel::positionComboBoxText (ComboBox& box, Label& label)


+ 1
- 1
ports/cabbage/source/Plugin/CabbagePluginEditor.cpp View File

@@ -2461,7 +2461,7 @@ void CabbagePluginAudioProcessorEditor::buttonClicked(Button* button)
{
if(getFilter()->getGUILayoutCtrls(i).getStringProp(CabbageIDs::type)==String("filebutton"))
{
WildcardFileFilter wildcardFilter ("*.*", String::empty, "Foo files");
WildcardFileFilter wildcardFilter ("*.*", String(), "Foo files");
const String filetype = getFilter()->getGUILayoutCtrls(i).getStringProp("filetype");


+ 6
- 6
ports/cabbage/source/Plugin/CabbagePluginProcessor.cpp View File

@@ -1298,7 +1298,7 @@ void CabbagePluginAudioProcessor::changeListenerCallback(ChangeBroadcaster *sour
StringArray CabbagePluginAudioProcessor::getTableStatement(int tableNum)
{
StringArray fdata;
fdata.add(String::empty);
fdata.add(String());
#ifndef Cabbage_No_Csound
if(csCompileResult==OK)
{
@@ -1632,28 +1632,28 @@ const String CabbagePluginAudioProcessor::getParameterName (int index)
{
if(index<(int)guiCtrls.size())//make sure index isn't out of range
return guiCtrls.getReference(index).getStringProp(CabbageIDs::channel);
else return String::empty;
else return String();
}
const String CabbagePluginAudioProcessor::getParameterText (int index)
{
if(index<(int)guiCtrls.size())//make sure index isn't out of range
return String (guiCtrls.getReference(index).getNumProp(CabbageIDs::value), 2);
else return String::empty;
else return String();
}
const String CabbagePluginAudioProcessor::getInputChannelName (int channelIndex) const
{
if(channelIndex<(int)guiCtrls.size())//make sure index isn't out of range
return String (channelIndex + 1);
else return String::empty;
else return String();
}
const String CabbagePluginAudioProcessor::getOutputChannelName (int channelIndex) const
{
if(channelIndex<(int)guiCtrls.size())//make sure index isn't out of range
return String (channelIndex + 1);
else return String::empty;
else return String();
}
bool CabbagePluginAudioProcessor::isInputChannelStereoPair (int /*index*/) const
@@ -1715,7 +1715,7 @@ void CabbagePluginAudioProcessor::setCurrentProgram (int /*index*/)
const String CabbagePluginAudioProcessor::getProgramName (int /*index*/)
{
return String::empty;
return String();
}
void CabbagePluginAudioProcessor::changeProgramName (int /*index*/, const String& /*newName*/)


+ 3
- 3
ports/protoplug/Source/LuaLink.cpp View File

@@ -323,9 +323,9 @@ String LuaLink::callStringOverride(const char *fname, ...)
int numArgs = startVarargOverride(fname, args);
va_end(args);
if (numArgs<0)
return String::empty; // state or function does not exist
return String(); // state or function does not exist
if (safepcall (fname, numArgs, 1, 0))
return String::empty; // function crashed
return String(); // function crashed
return safetostring();
}

@@ -358,7 +358,7 @@ String LuaLink::safetostring()
{
if (!ls->isstring(-1)) {
ls->settop(0);
return String::empty; // there is no string
return String(); // there is no string
}
String ret = ls->tostring(-1);
ls->settop(0);


+ 3
- 3
ports/protoplug/Source/PluginProcessor.cpp View File

@@ -55,14 +55,14 @@ void LuaProtoplugJuceAudioProcessor::setParameter (int index, float newValue)
const String LuaProtoplugJuceAudioProcessor::getParameterName (int index)
{
if (index >= NPARAMS)
return String::empty;
return String();
return luli->getParameterName(index);
}

const String LuaProtoplugJuceAudioProcessor::getParameterText (int index)
{
if (index >= NPARAMS)
return String::empty;
return String();
String s = luli->getParameterText(index);
if (s.isEmpty())
s = String(params[index], 4);
@@ -147,7 +147,7 @@ void LuaProtoplugJuceAudioProcessor::setStateInformation (const void* data, int
int sz_script = *pi++; // get size of code
char *pc = (char*)(pi);
luli->code = pc; // get code
luli->saveData = String::empty;
luli->saveData = String();
if (ProtoplugDir::Instance()->found)
luli->compile();
else


+ 1
- 1
ports/protoplug/Source/PluginProcessor.h View File

@@ -41,7 +41,7 @@ public:
int getNumPrograms() { return 1; }
int getCurrentProgram() { return 1; }
void setCurrentProgram (int /*index*/) { }
const String getProgramName (int /*index*/) { return String::empty; }
const String getProgramName (int /*index*/) { return String(); }
void changeProgramName (int /*index*/, const String& /*newName*/) { }
void prepareToPlay (double /*sampleRate*/, int /*samplesPerBlock*/) { }
void releaseResources() { }


+ 1
- 1
ports/protoplug/Source/exports/pAudioFormatReader.h View File

@@ -16,7 +16,7 @@
PROTO_API pAudioFormatReader AudioFormatReader_new(const char *filename)
{
File f = ProtoplugDir::Instance()->getDir().getChildFile(filename);
if (f == File::nonexistent)
if (! f.exists())
f = File(filename);
AudioFormatManager afm;
afm.registerBasicFormats();


+ 1
- 1
ports/protoplug/Source/exports/pImageFileFormat.h View File

@@ -17,7 +17,7 @@ PROTO_API pImage ImageFileFormat_loadFrom2(const char *filename)
{
pImage i = { new Image() };
File f = ProtoplugDir::Instance()->getDir().getChildFile(filename);
if (f != File::nonexistent)
if (f.exists())
*i.i = ImageFileFormat::loadFrom(f);
return i;
}

+ 1
- 1
ports/protoplug/Source/guiclasses/ParameterPanel.h View File

@@ -100,7 +100,7 @@ public:
{
for (int i=0; i<NPARAMS; i++) {
String s = processor->luli->getParameterName(i);
if (s==String::empty) {
if (s==String()) {
s = "nameless";
labels[i]->setColour(Label::textColourId, Colours::grey);
} else


+ 1
- 1
ports/protoplug/Source/guiclasses/ProtoWindow.cpp View File

@@ -188,7 +188,7 @@ void ProtoWindow::readPrefs()
}
/* // writePrefs()
XmlElement *e = commMgr.getKeyMappings()->createXml(false);
e->writeToFile(ProtoplugDir::Instance()->getDir().getChildFile("prefs.xml"), String::empty);
e->writeToFile(ProtoplugDir::Instance()->getDir().getChildFile("prefs.xml"), String());
delete e;*/
}



+ 3
- 3
ports/radium-compressor/Source/PluginProcessor.cpp View File

@@ -132,7 +132,7 @@ const String RadiumCompressorAudioProcessor::getParameterName (int index)
case radium_compressor::COMP_EFF_BYPASS:
return "Bypass";
default:
return String::empty;
return String();
}
}
@@ -161,7 +161,7 @@ const String RadiumCompressorAudioProcessor::getParameterText (int index)
case radium_compressor::COMP_EFF_OUTPUT_VOLUME:
return String(value>0.0 ? "+" : "") + String(value,1) + " dB";
default:
return String::empty;
return String();
}
}
@@ -224,7 +224,7 @@ void RadiumCompressorAudioProcessor::setCurrentProgram (int index)
const String RadiumCompressorAudioProcessor::getProgramName (int index)
{
return String::empty;
return String();
}
void RadiumCompressorAudioProcessor::changeProgramName (int index, const String& newName)


Loading…
Cancel
Save