it’s been a while since i’ve had my programming head on…
i just made an ‘enhanced’ colourselector component, but the only way i could think of getting it to work was to make a component to hold the colourselector and the other part (the palette) together side by side.
it occured to me afterwards to have inherited the colourselector class instead… but as quickly as i’d started trying that out i realised that i can’t just add to the colourselector’s required functions (such as resized() etc…) from the inherited versions as they’re not virtual functions…
am i right in thinking this?
i don’t want to change the JUCE code i have, because that’s rarely a good idea in my book, but i think the most sensible approach here is to simply copy the JUCE ColourSelector code and make directly a new version with my enhancements built in. does this sound like a good approach?