JUCE  v5.1.1-3-g1a0b28c73
JUCE API
TooltipWindow::LookAndFeelMethods Struct Referenceabstract

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

#include <juce_TooltipWindow.h>

Inheritance diagram for TooltipWindow::LookAndFeelMethods:

Public Member Functions

virtual ~LookAndFeelMethods ()
 
virtual void drawTooltip (Graphics &, const String &text, int width, int height)=0
 
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...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~LookAndFeelMethods()

virtual TooltipWindow::LookAndFeelMethods::~LookAndFeelMethods ( )
inlinevirtual

Member Function Documentation

◆ drawTooltip()

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

Implemented in LookAndFeel_V2, and LookAndFeel_V4.

◆ 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.


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