Do you think we could rename this private member variable to something more obscure, maybe some generous use of underscores or something.
Why? Because If you run with the default warnings set in VS2015 and use bounds in your resized method for example, perhaps in this very handy opening gambit…
void resized()
{
auto bounds = getLocalBounds();
s.setBounds(bounds.removeFromLeft(20));
//...
Then you get a compiler warning about shadowing a private member variable name …
It’s only annoying because I"ve started using ‘area’ instead as a variable name to avoid it, and then sometimes I’ve starting typing auto area = getLocalArea() by accident