Skip to content

Commit

Permalink
chore: add new credits
Browse files Browse the repository at this point in the history
  • Loading branch information
mttbernardini committed May 7, 2024
1 parent d3c428b commit 603c5d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/FrequalizerEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ FrequalizerAudioProcessorEditor::FrequalizerAudioProcessorEditor (FrequalizerAud
attachments.add (new juce::AudioProcessorValueTreeState::SliderAttachment (freqProcessor.getPluginState(), FrequalizerAudioProcessor::paramOutput, output));
output.setTooltip (TRANS ("Overall Gain"));

credits.setText("v" JucePlugin_VersionString "\nteobe.net", juce::dontSendNotification);
credits.setJustificationType(juce::Justification::bottomRight);
addAndMakeVisible(credits);

auto size = freqProcessor.getSavedSize();
setResizable (true, true);
setSize (size.x, size.y);
Expand Down Expand Up @@ -135,6 +139,8 @@ void FrequalizerAudioProcessorEditor::resized()
plotFrame.reduce (3, 3);
brandingFrame = bandSpace.reduced (5);

credits.setBounds(brandingFrame);

updateFrequencyResponses();
}

Expand Down
1 change: 1 addition & 0 deletions src/FrequalizerEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class FrequalizerAudioProcessorEditor : public juce::AudioProcessorEditor,

juce::GroupComponent frame;
juce::Slider output { juce::Slider::RotaryHorizontalVerticalDrag, juce::Slider::TextBoxBelow };
juce::Label credits;

int draggingBand = -1;
bool draggingGain = false;
Expand Down

0 comments on commit 603c5d0

Please sign in to comment.