MCPcopy Create free account
hub / github.com/apohl79/audiogridder / addLabel

Method addLabel

Server/Source/StatisticsWindow.cpp:229–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229void StatisticsWindow::addLabel(const String& txt, juce::Rectangle<int> bounds) {
230 auto label = std::make_unique<Label>();
231 label->setText(txt, NotificationType::dontSendNotification);
232 label->setBounds(bounds);
233 addChildAndSetID(label.get(), "lbl");
234 m_components.push_back(std::move(label));
235}
236
237void StatisticsWindow::HirozontalLine::paint(Graphics& g) {
238 g.setColour(Colours::white);

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected