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

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

Inheritance diagram for AlertWindow::LookAndFeelMethods:

Public Member Functions

virtual ~LookAndFeelMethods ()=default
 
virtual AlertWindowcreateAlertWindow (const String &title, const String &message, const String &button1, const String &button2, const String &button3, AlertWindow::AlertIconType iconType, int numButtons, Component *associatedComponent)=0
 
virtual void drawAlertBox (Graphics &, AlertWindow &, const Rectangle< int > &textArea, TextLayout &)=0
 
virtual int getAlertBoxWindowFlags ()=0
 
virtual Array< intgetWidthsForTextButtons (AlertWindow &, const Array< TextButton *> &)=0
 
virtual int getAlertWindowButtonHeight ()=0
 
virtual Font getAlertWindowTitleFont ()=0
 
virtual Font getAlertWindowMessageFont ()=0
 
virtual Font getAlertWindowFont ()=0
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~LookAndFeelMethods()

virtual AlertWindow::LookAndFeelMethods::~LookAndFeelMethods ( )
virtualdefault

Member Function Documentation

◆ createAlertWindow()

virtual AlertWindow* AlertWindow::LookAndFeelMethods::createAlertWindow ( const String title,
const String message,
const String button1,
const String button2,
const String button3,
AlertWindow::AlertIconType  iconType,
int  numButtons,
Component associatedComponent 
)
pure virtual

Implemented in LookAndFeel_V4, and LookAndFeel_V2.

◆ drawAlertBox()

virtual void AlertWindow::LookAndFeelMethods::drawAlertBox ( Graphics ,
AlertWindow ,
const Rectangle< int > &  textArea,
TextLayout  
)
pure virtual

Implemented in LookAndFeel_V4, and LookAndFeel_V2.

◆ getAlertBoxWindowFlags()

virtual int AlertWindow::LookAndFeelMethods::getAlertBoxWindowFlags ( )
pure virtual

Implemented in LookAndFeel_V2.

◆ getWidthsForTextButtons()

virtual Array<int> AlertWindow::LookAndFeelMethods::getWidthsForTextButtons ( AlertWindow ,
const Array< TextButton *> &   
)
pure virtual

Implemented in LookAndFeel_V2.

◆ getAlertWindowButtonHeight()

virtual int AlertWindow::LookAndFeelMethods::getAlertWindowButtonHeight ( )
pure virtual

Implemented in LookAndFeel_V4, and LookAndFeel_V2.

◆ getAlertWindowTitleFont()

virtual Font AlertWindow::LookAndFeelMethods::getAlertWindowTitleFont ( )
pure virtual

Implemented in LookAndFeel_V4, and LookAndFeel_V2.

◆ getAlertWindowMessageFont()

virtual Font AlertWindow::LookAndFeelMethods::getAlertWindowMessageFont ( )
pure virtual

Implemented in LookAndFeel_V4, and LookAndFeel_V2.

◆ getAlertWindowFont()

virtual Font AlertWindow::LookAndFeelMethods::getAlertWindowFont ( )
pure virtual

Implemented in LookAndFeel_V4, and LookAndFeel_V2.


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