I was wondering, if you could make a small change in the MidiKeyboardComponent::drawWhiteNote function.
Right now it says (right after the entry):
Colour c (Colours::transparentWhite);
But instead I would like it to be:
Colour c = findColour (whiteNoteColourId);
Why?
Well, I am making an instrument plugin. And I want to colour the keys according to the instruments playing range.
Right now I have only the option to change the colour of all keys together. With the modification it would be possible to change the colour of single keys.
Or is there maybe another way, that I am missing? (apart from copying the whole drawWhiteNote function)