mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added background and outline colour IDs to BubbleComponent, and updated the arguments to the LookAndFeel::drawBubble method.
This commit is contained in:
parent
8a006e589c
commit
aea20ee144
5 changed files with 29 additions and 20 deletions
|
|
@ -37,9 +37,7 @@ BubbleComponent::~BubbleComponent() {}
|
|||
//==============================================================================
|
||||
void BubbleComponent::paint (Graphics& g)
|
||||
{
|
||||
getLookAndFeel().drawBubble (g, (float) arrowTip.x, (float) arrowTip.y,
|
||||
(float) content.getX(), (float) content.getY(),
|
||||
(float) content.getWidth(), (float) content.getHeight());
|
||||
getLookAndFeel().drawBubble (g, *this, arrowTip.toFloat(), content.toFloat());
|
||||
|
||||
g.reduceClipRegion (content);
|
||||
g.setOrigin (content.getX(), content.getY());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue