MCPcopy Create free account
hub / github.com/StrangeLoopsAudio/gRainbow / paint

Method paint

Source/Components/FxPanel.cpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void FxPanel::paint(juce::Graphics& g) {
47 g.setColour(Utils::Colour::PANEL);
48 g.fillRoundedRectangle(getLocalBounds().expanded(0, 20).translated(0, -20).toFloat(), 10);
49}
50
51void FxPanel::resized() {
52 juce::Rectangle<float> r = getLocalBounds().toFloat();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected