//==============================================================================
void InterfaceComponent::addLabel (juce::Label& label,
                                   const juce::String& text,
                                   const juce::String& tooltip)
{
    label.setText (text, juce::NotificationType::dontSendNotification);
    label.setTooltip (tooltip);
    label.setFont (juce::Font (15.0f, juce::Font::plain));
    label.setJustificationType (juce::Justification::centredRight);
    label.setEditable (false, false, false);
    label.setColour (juce::Label::textColourId, juce::Colours::white);
    label.setColour (juce::Label::backgroundColourId, juce::Colour (juce::Colours::transparentBlack));

    addAndMakeVisible (&label);
    labelList.add (&label);
}