LMMS
Loading...
Searching...
No Matches
juce::TooltipWindow::LookAndFeelMethods Struct Referenceabstract

#include <juce_TooltipWindow.h>

Inheritance diagram for juce::TooltipWindow::LookAndFeelMethods:
juce::LookAndFeel juce::LookAndFeel_V2 juce::LookAndFeel_V1 juce::LookAndFeel_V3 juce::LookAndFeel_V4

Public Member Functions

virtual ~LookAndFeelMethods ()=default
virtual Rectangle< intgetTooltipBounds (const String &tipText, Point< int > screenPos, Rectangle< int > parentArea)=0
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 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: