I’m not sure what I’m missing here, but my ShapeButton does not want to appear.
Here’s the code:
// initialisation
recordButton ("Record",
Colours::red,
Colours::red.brighter(),
Colours::red.darker()),
//////////////////
Path recordPath;
float shapeButtonSize = getHeight()/12;
recordPath.addEllipse(0, 0, shapeButtonSize, shapeButtonSize);
recordButton.setShape(recordPath, false, true, false);
recordButton.setBounds (0, 0, 50, 50);
addAndMakeVisible (&recordButton);
I’ve tested with g.fillPath(recordPath) in my paint method and it works there… any ideas?
