LMMS
Loading...
Searching...
No Matches
juce::CallOutBoxCallback Class Reference
Inheritance diagram for juce::CallOutBoxCallback:
juce::ModalComponentManager::Callback juce::Timer

Public Member Functions

 CallOutBoxCallback (std::unique_ptr< Component > c, const Rectangle< int > &area, Component *parent)
void modalStateFinished (int) override
void timerCallback () override
Public Member Functions inherited from juce::ModalComponentManager::Callback
 Callback ()=default
virtual ~Callback ()=default

Public Attributes

std::unique_ptr< Componentcontent
CallOutBox callout

Additional Inherited Members

Private Member Functions inherited from juce::Timer
virtual ~Timer ()
void startTimer (int intervalInMilliseconds) noexcept
void startTimerHz (int timerFrequencyHz) noexcept
void stopTimer () noexcept
bool isTimerRunning () const noexcept
int getTimerInterval () const noexcept
 Timer () noexcept
 Timer (const Timer &) noexcept
Static Private Member Functions inherited from juce::Timer
static void JUCE_CALLTYPE callAfterDelay (int milliseconds, std::function< void()> functionToCall)
static void JUCE_CALLTYPE callPendingTimersSynchronously ()

Constructor & Destructor Documentation

◆ CallOutBoxCallback()

juce::CallOutBoxCallback::CallOutBoxCallback ( std::unique_ptr< Component > c,
const Rectangle< int > & area,
Component * parent )
inline

Member Function Documentation

◆ modalStateFinished()

void juce::CallOutBoxCallback::modalStateFinished ( int returnValue)
inlineoverridevirtual

Called to indicate that a modal component has been dismissed.

You can register a callback using Component::enterModalState() or ModalComponentManager::attachCallback().

The returnValue parameter is the value that was passed to Component::exitModalState() when the component was dismissed.

The callback object will be deleted shortly after this method is called.

Implements juce::ModalComponentManager::Callback.

◆ timerCallback()

void juce::CallOutBoxCallback::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 juce::Timer.

Member Data Documentation

◆ callout

CallOutBox juce::CallOutBoxCallback::callout

◆ content

std::unique_ptr<Component> juce::CallOutBoxCallback::content

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