MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / paint

Method paint

NeuralNote/Source/Components/MidiFileDrag.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void MidiFileDrag::paint(Graphics& g)
24{
25 g.setColour(WHITE_TRANSPARENT);
26 g.fillRoundedRectangle(getLocalBounds().toFloat(), 4.0f);
27
28 g.setColour(BLACK);
29 g.setFont(UIDefines::LABEL_FONT());
30 g.drawText("DRAG THE MIDI FILE FROM HERE", getLocalBounds(), juce::Justification::centred);
31}
32
33void MidiFileDrag::mouseDown(const MouseEvent& event)
34{

Callers

nothing calls this directly

Calls 1

LABEL_FONTFunction · 0.85

Tested by

no test coverage detected