JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::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 juce::TooltipWindow::LookAndFeelMethods:

Public Member Functions

virtual ~LookAndFeelMethods ()=default
 
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 juce::TooltipWindow::LookAndFeelMethods::~LookAndFeelMethods ( )
virtualdefault

Member Function Documentation

◆ drawTooltip()

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

◆ getTooltipBounds()

virtual Rectangle<int> juce::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 juce::LookAndFeel_V2.


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