87 void setAllowedPlacement (
int newPlacement);
99 void setPosition (
Component* componentToPointTo,
100 int distanceFromTarget = 15,
int arrowLength = 10);
113 void setPosition (
Point<int> arrowTipPosition,
int arrowLength = 10);
130 int distanceFromTarget = 15,
int arrowLength = 10);
142 backgroundColourId = 0x1000af0,
143 outlineColourId = 0x1000af1
180 void lookAndFeelChanged()
override;
199 int allowablePlacements;
A component for showing a message or other graphics inside a speech-bubble-shaped outline,...
virtual void paintContent(Graphics &g, int width, int height)=0
Subclasses should override this to draw their bubble's contents.
BubblePlacement
A list of permitted placements for the bubble, relative to the coordinates at which it should be poin...
ColourIds
A set of colour IDs to use to change the colour of various aspects of the bubble component.
virtual void getContentSize(int &width, int &height)=0
Subclasses should override this to return the size of the content they want to draw inside the bubble...
The base class for all JUCE user-interface objects.
A graphics context, used for drawing a component or image.
A pair of (x, y) coordinates.
Manages a rectangle and allows geometric operations to be performed on it.
This abstract base class is implemented by LookAndFeel classes.
virtual void drawBubble(Graphics &g, BubbleComponent &bubbleComponent, const Point< float > &positionOfTip, const Rectangle< float > &body)=0
Override this method to draw a speech-bubble pointing at a specific location on the screen.
virtual void setComponentEffectForBubbleComponent(BubbleComponent &bubbleComponent)=0
Override this method to set effects, such as a drop-shadow, on a BubbleComponent.