Skip to content

Commit

Permalink
Make slider meter drawing private
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseDiazRohena committed Jan 6, 2024
1 parent 6c68dc2 commit 6e5c50b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ class LookAndFeel : public juce::LookAndFeel_V4,
public:
LookAndFeel();

void drawSliderMeter (juce::Graphics& g,
const juce::Rectangle<float> bounds,
float lineWidth,
float arcRadius,
float rotaryStartAngle,
float rotaryEndAngle,
float toAngle,
juce::Slider& slider);

/** Draws a drawable knob. Originally used for the knobs in Valentine, this is been refactored
to not rely on member variables. This, along with the fact that this function isn't called
anywhere, effectively orphans it. This is intentional: the way that the drawable was defined
Expand Down Expand Up @@ -115,6 +106,15 @@ class LookAndFeel : public juce::LookAndFeel_V4,
};

private:
void drawSliderMeter (juce::Graphics& g,
const juce::Rectangle<float> bounds,
float lineWidth,
float arcRadius,
float rotaryStartAngle,
float rotaryEndAngle,
float toAngle,
juce::Slider& slider);

void drawRotarySliderBase (juce::Graphics& g,
const float radius,
const float toAngle,
Expand Down

0 comments on commit 6e5c50b

Please sign in to comment.