MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / getColour

Method getColour

Source/Panels/SpectrogramPanel/DraggableButton.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45juce::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
55void DraggableButton::setState(const bool state)
56{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected