diff --git a/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.cpp b/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.cpp index d4411262..450cee17 100644 --- a/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.cpp +++ b/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.cpp @@ -118,11 +118,11 @@ void LookAndFeel::drawDrawableKnob (juce::Graphics& g, sliderImage.drawAt (g, cX, cY, 1.0f); } -void LookAndFeel::drawKnob (juce::Graphics& g, - const float radius, - const float toAngle, - const juce::Rectangle bounds, - juce::Slider&) +void LookAndFeel::drawRotarySliderBase (juce::Graphics& g, + const float radius, + const float toAngle, + const juce::Rectangle bounds, + juce::Slider&) { const auto centreX = bounds.getCentreX(); const auto centreY = bounds.getCentreY(); @@ -189,7 +189,7 @@ void LookAndFeel::drawRotarySlider (juce::Graphics& g, const auto knobRadius = arcRadius * .80f; - drawKnob (g, knobRadius, toAngle, bounds, slider); + drawRotarySliderBase (g, knobRadius, toAngle, bounds, slider); } juce::Font LookAndFeel::getTextButtonFont (juce::TextButton&, int buttonHeight) diff --git a/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.h b/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.h index 4d8b0da7..c40bbe80 100644 --- a/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.h +++ b/libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.h @@ -115,11 +115,11 @@ class LookAndFeel : public juce::LookAndFeel_V4, }; private: - void drawKnob (juce::Graphics& g, - const float radius, - const float toAngle, - const juce::Rectangle bounds, - juce::Slider&); + void drawRotarySliderBase (juce::Graphics& g, + const float radius, + const float toAngle, + const juce::Rectangle bounds, + juce::Slider&); FontHolder fontHolder;