| 43 | } |
| 44 | |
| 45 | juce::Colour DraggableButton::getColour() |
| 46 | { |
| 47 | if (mState && isEntered) |
| 48 | return juce::Colours::hotpink.brighter(); |
| 49 | else if (mState && ! isEntered) |
| 50 | return juce::Colours::hotpink; |
| 51 | |
| 52 | return juce::Colours::dimgrey; |
| 53 | } |
| 54 | |
| 55 | void DraggableButton::setState(const bool state) |
| 56 | { |
nothing calls this directly
no outgoing calls
no test coverage detected