Hi. I would like to use the CallOutBox with sharp corners, only to find that the place where the shape of the CallOutBox is generated is a private member function of the CallOutBox. Checked the LookAndFeel first, it just fills the shape that is generated by the CallOutBox.
I would like that method to be virtual so I can customize the shape of the popup. :) I could copy the whole calloutbox class and change it to my needs, and I'm sure there is some reasoning behind not making refreshComponent virtual.
What I really want to do is change this:
outline.addBubble (content.getBounds().toFloat().expanded (gap, gap),
getLocalBounds().toFloat(),
targetPoint - getPosition().toFloat(),
9.0f, arrowSize * 0.7f);
To this:
outline.addBubble (content.getBounds().toFloat().expanded (gap, gap),
getLocalBounds().toFloat(),
targetPoint - getPosition().toFloat(),
0.0f, arrowSize * 0.7f);
or just
void refreshPath();
to
virtual void refreshPath();
Would this be possible?
