openshot-audio  0.1.7
Public Member Functions | List of all members
TooltipWindow::LookAndFeelMethods Struct Referenceabstract

#include <juce_TooltipWindow.h>

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

Public Member Functions

virtual ~LookAndFeelMethods ()
 
virtual Rectangle< int > getTooltipBounds (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 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.

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