Hello everyone,
Is it possible to create custom Colour IDs for use with custom GUI components, that can be assigned using the standard lookAndFeel.setColour() method?
In my current project, I’ve created a customLookAndFeel class that inherits from LookAndFeel_V4, so that I can override some of the slider drawing functions. As it is now, I can easily call something like customLAFinstance.setColour(Slider::ColourIds::rotarySliderFillColourId, desiredColour) to globally set colours of various kinds of components, which is my desired behavior. Is it possible to design a custom GUI component and set the colours using this same method? I’m assuming that my customLookAndFeel class would need to define the new ColourIDs so it knows how to save/look up the colours, but how exactly would this be implemented?