openshot-audio  0.1.5
Public Member Functions | List of all members
juce::ProgressBar::LookAndFeelMethods Struct Referenceabstract

#include <juce_gui_basics.h>

Inheritance diagram for juce::ProgressBar::LookAndFeelMethods:
juce::LookAndFeel juce::LookAndFeel_V2 juce::LookAndFeel_V1 juce::LookAndFeel_V3

Public Member Functions

virtual ~LookAndFeelMethods ()
 
virtual void drawProgressBar (Graphics &, ProgressBar &, int width, int height, double progress, const String &textToShow)=0
 

Detailed Description

This abstract base class is implemented by LookAndFeel classes.

Constructor & Destructor Documentation

◆ ~LookAndFeelMethods()

virtual juce::ProgressBar::LookAndFeelMethods::~LookAndFeelMethods ( )
inlinevirtual

Member Function Documentation

◆ drawProgressBar()

virtual void juce::ProgressBar::LookAndFeelMethods::drawProgressBar ( Graphics ,
ProgressBar ,
int  width,
int  height,
double  progress,
const String textToShow 
)
pure virtual

Draws a progress bar.

If the progress value is less than 0 or greater than 1.0, this should draw a spinning bar that fills the whole space (i.e. to say that the app is still busy but the progress isn't known). It can use the current time as a basis for playing an animation.

(Used by progress bars in AlertWindow).

Implemented in juce::LookAndFeel_V2, and juce::LookAndFeel_V1.


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