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

Method drawComboBox

Source/Components/RainbowLookAndFeel.cpp:147–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void RainbowLookAndFeel::drawComboBox(juce::Graphics& g, int, int, bool, int, int, int, int, juce::ComboBox& box) {
148 // Draw background
149 g.setColour(box.findColour(juce::ComboBox::ColourIds::backgroundColourId));
150 g.drawRoundedRectangle(box.getLocalBounds().toFloat().reduced(1), Utils::ROUNDED_AMOUNT, 2.0f);
151}
152
153void RainbowLookAndFeel::positionComboBoxText(juce::ComboBox& box, juce::Label& labelToPosition) {
154 labelToPosition.setFont(Utils::getFont());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected