I am just starting out using JUCE, having spent a bit of time with C++, and am enjoying working with the tutorials and using the PIP’s to get me going. I am currently looking at the Label tutorial and can see the declaration of the various labels at the end of the header file but there is no constructor anywhere that I can see for them? The documentation implies that to create a label I should use
but in the PIP header all I can see is Label titleLabel(); i.e. no parameters are passed
and the label is set up in the MainContentComponent()
addAndMakeVisible (titleLabel);
titleLabel.setFont (Font (16.0f, Font::bold));
etc
So, is this the correct way to create a label in my future projects, or should I be using the label constructor?
Thanks
Mark