Make great progress learning Juce (and still lots to go). Simple question is if all I want is a component that is blue, red, grey or anything really is there an easy way to do this?
I use a lot of colors as backgrounds and then put other controls on top of them. In the past I would use a UIView and just set the background color.
Use graphics to draw an image that is just a block of colour.
Graphics::drawImageAt (const Image& imageToDraw,
const int topLeftX, const int topLeftY,
const bool fillAlphaChannelWithCurrentBrush) const
Make an image
Image image(Image::RGB, [i]width in pixels[/i], [i]height in pixels[/i], true)
Graphics g (image)
g.fillAll(Colours:: [i]whatever colour you want[/i])