MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / paint

Method paint

Source/Panels/ControlPanel/BandPanel.cpp:248–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void BandPanel::paint(juce::Graphics& g)
249{
250 // Draw borders or backgrounds for the new layout
251 g.setColour(COLOUR6);
252 g.drawRect(outputAreaRect); // Border for output section
253 g.drawRect(tabAreaRect); // Border for the main controls section
254 g.drawRect(graphAreaRect); // Border for the graph section
255
256 if (shapeSwitch.getToggleState())
257 {
258 g.fillRect(shapeSeparatorLine);
259 }
260
261 // Draw a themed border for the active tab
262 // g.setColour(activeTabColour.withAlpha(0.8f));
263 // g.drawRect(tabAreaRect, 2.0f);
264}
265
266void BandPanel::resized()
267{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected