| 342 | } |
| 343 | |
| 344 | bool GRainbowAudioProcessorEditor::isInterestedInFileDrag(const juce::StringArray& files) { |
| 345 | // Only accept 1 file of wav/mp3/gbow at a time |
| 346 | if (files.size() == 1) { |
| 347 | juce::String extension = files[0].fromLastOccurrenceOf(".", false, false); |
| 348 | if (extension == "wav" || extension == "mp3" || extension == "gbow") { |
| 349 | return true; |
| 350 | } |
| 351 | } |
| 352 | return false; |
| 353 | } |
| 354 | void GRainbowAudioProcessorEditor::fileDragEnter(const juce::StringArray&, int, int) { |
| 355 | mIsFileHovering = true; |
| 356 | repaint(); |
nothing calls this directly
no outgoing calls
no test coverage detected