openshot-audio  0.1.7
Public Member Functions | List of all members
Slider::Pimpl::PopupDisplayComponent Class Reference
Inheritance diagram for Slider::Pimpl::PopupDisplayComponent:
Timer

Public Member Functions

 PopupDisplayComponent (Slider &s)
 
void paintContent (Graphics &g, int w, int h) override
 
void getContentSize (int &w, int &h) override
 
void updatePosition (const String &newText)
 
void timerCallback () override
 
- Public Member Functions inherited from Timer
virtual ~Timer ()
 
void startTimer (int intervalInMilliseconds) noexcept
 
void startTimerHz (int timerFrequencyHz) noexcept
 
void stopTimer () noexcept
 
bool isTimerRunning () const noexcept
 
int getTimerInterval () const noexcept
 

Additional Inherited Members

- Static Public Member Functions inherited from Timer
static void JUCE_CALLTYPE callPendingTimersSynchronously ()
 
- Protected Member Functions inherited from Timer
 Timer () noexcept
 
 Timer (const Timer &) noexcept
 

Constructor & Destructor Documentation

Slider::Pimpl::PopupDisplayComponent::PopupDisplayComponent ( Slider s)
inline

Member Function Documentation

void Slider::Pimpl::PopupDisplayComponent::getContentSize ( int w,
int h 
)
inlineoverride
void Slider::Pimpl::PopupDisplayComponent::paintContent ( Graphics g,
int  w,
int  h 
)
inlineoverride
void Slider::Pimpl::PopupDisplayComponent::timerCallback ( )
inlineoverridevirtual

The user-defined callback routine that actually gets called periodically.

It's perfectly ok to call startTimer() or stopTimer() from within this callback to change the subsequent intervals.

Implements Timer.

void Slider::Pimpl::PopupDisplayComponent::updatePosition ( const String newText)
inline

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