Skip to content

Commit

Permalink
Merge pull request #127 from tote-bag-labs/update-to-juce8
Browse files Browse the repository at this point in the history
Update to JUCE 8
  • Loading branch information
JoseDiazRohena authored May 1, 2024
2 parents 147caaa + 36360d0 commit 85f11b7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "JUCE"]
path = libs/JUCE
url = https://github.com/juce-framework/JUCE/
branch = develop
branch = juce8
[submodule "ff_meters"]
path = libs/ff_meters
url = https://github.com/ffAudio/ff_meters.git
2 changes: 1 addition & 1 deletion libs/JUCE
Submodule JUCE updated 2581 files
5 changes: 5 additions & 0 deletions libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ void LookAndFeel::drawDrawableKnob (juce::Graphics& g,
sliderImage.drawAt (g, cX, cY, 1.0f);
}

juce::TypefaceMetricsKind LookAndFeel::getDefaultMetricsKind() const
{
return juce::TypefaceMetricsKind::legacy;
}

void LookAndFeel::drawRotarySliderMeter (juce::Graphics& g,
const juce::Rectangle<float> bounds,
const float lineWidth,
Expand Down
2 changes: 2 additions & 0 deletions libs/tote_bag/juce_gui/lookandfeel/LookAndFeel.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ class LookAndFeel : public juce::LookAndFeel_V4,

juce::Font getInfoTextFont();

juce::TypefaceMetricsKind getDefaultMetricsKind() const override;

private:
void drawRotarySliderMeter (juce::Graphics& g,
const juce::Rectangle<float> bounds,
Expand Down

0 comments on commit 85f11b7

Please sign in to comment.