| 21 | } |
| 22 | |
| 23 | void 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 | |
| 33 | void MidiFileDrag::mouseDown(const MouseEvent& event) |
| 34 | { |
nothing calls this directly
no test coverage detected