JUCE
Public Member Functions | List of all members
TooltipWindow::LookAndFeelMethods Struct Referenceabstract

This abstract base class is implemented by LookAndFeel classes to provide window drawing functionality. More...

Inheritance diagram for TooltipWindow::LookAndFeelMethods:

Public Member Functions

virtual ~LookAndFeelMethods ()=default
 
virtual Rectangle< intgetTooltipBounds (const String &tipText, Point< int > screenPos, Rectangle< int > parentArea)=0
 returns the bounds for a tooltip at the given screen coordinate, constrained within the given desktop area. More...
 
virtual void drawTooltip (Graphics &, const String &text, int width, int height)=0
 

Detailed Description

This abstract base class is implemented by LookAndFeel classes to provide window drawing functionality.

Constructor & Destructor Documentation

◆ ~LookAndFeelMethods()

virtual TooltipWindow::LookAndFeelMethods::~LookAndFeelMethods ( )
virtualdefault

Member Function Documentation

◆ getTooltipBounds()

virtual Rectangle<int> TooltipWindow::LookAndFeelMethods::getTooltipBounds ( const String tipText,
Point< int screenPos,
Rectangle< int parentArea 
)
pure virtual

returns the bounds for a tooltip at the given screen coordinate, constrained within the given desktop area.

Implemented in LookAndFeel_V2.

◆ drawTooltip()

virtual void TooltipWindow::LookAndFeelMethods::drawTooltip ( Graphics ,
const String text,
int  width,
int  height 
)
pure virtual

Implemented in LookAndFeel_V2, and LookAndFeel_V4.


The documentation for this struct was generated from the following file: