Loading...
Searching...
No Matches
BubbleComponent::LookAndFeelMethods Struct Referenceabstract

This abstract base class is implemented by LookAndFeel classes. More...

#include <juce_BubbleComponent.h>

Inheritance diagram for BubbleComponent::LookAndFeelMethods:

Public Member Functions

virtual ~LookAndFeelMethods ()=default
 
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.
 

Detailed Description

This abstract base class is implemented by LookAndFeel classes.

Constructor & Destructor Documentation

◆ ~LookAndFeelMethods()

virtual BubbleComponent::LookAndFeelMethods::~LookAndFeelMethods ( )
virtualdefault

Member Function Documentation

◆ drawBubble()

virtual void BubbleComponent::LookAndFeelMethods::drawBubble ( Graphics & g,
BubbleComponent & bubbleComponent,
const Point< float > & positionOfTip,
const Rectangle< float > & body )
pure virtual

Override this method to draw a speech-bubble pointing at a specific location on the screen.

Implemented in LookAndFeel_V2.

◆ setComponentEffectForBubbleComponent()

virtual void BubbleComponent::LookAndFeelMethods::setComponentEffectForBubbleComponent ( BubbleComponent & bubbleComponent)
pure virtual

Override this method to set effects, such as a drop-shadow, on a BubbleComponent.

This will be called whenever a BubbleComponent is constructed or its look-and-feel changes.

If you need to trigger this callback to update an effect, call sendLookAndFeelChange() on the component.

See also
Component::setComponentEffect, Component::sendLookAndFeelChange

Implemented in LookAndFeel_V2.


The documentation for this struct was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram