MCPcopy Create free account
hub / github.com/andrewreeman/SpectralSuite / paint

Method paint

shared/SettingsPage.cpp:24–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void SettingsPage::paint (Graphics& g)
25{
26 g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId)); // clear the background
27
28 g.setColour (Colours::grey);
29 g.drawRect (getLocalBounds(), 1); // draw an outline around the component
30
31 g.setColour (Colours::white);
32 g.setFont (14.0f);
33
34 g.drawText ("Settings", getLocalBounds() + juce::Point<int>(0, 10),
35 Justification::centredTop, true); // draw some placeholder text
36}
37
38
39

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected