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

#include <juce_ProgressBar.h>

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

Public Member Functions

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

Detailed Description

This abstract base class is implemented by LookAndFeel classes.

Constructor & Destructor Documentation

◆ ~LookAndFeelMethods()

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

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_V1, juce::LookAndFeel_V2, and juce::LookAndFeel_V4.

◆ isProgressBarOpaque()

virtual bool juce::ProgressBar::LookAndFeelMethods::isProgressBarOpaque ( ProgressBar & )
pure virtual

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