JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
juce::CallOutBoxCallback Class Referencefinal
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
 Called to indicate that a modal component has been dismissed.
 
void timerCallback () override
 The user-defined callback routine that actually gets called periodically.
 
- Public Member Functions inherited from juce::ModalComponentManager::Callback
virtual ~Callback ()=default
 Destructor.
 

Public Attributes

std::unique_ptr< Componentcontent
 
CallOutBox callout
 

Detailed Description

Definition at line 53 of file juce_CallOutBox.cpp.

Constructor & Destructor Documentation

◆ CallOutBoxCallback()

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

Definition at line 57 of file juce_CallOutBox.cpp.

Member Function Documentation

◆ modalStateFinished()

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

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.

Definition at line 66 of file juce_CallOutBox.cpp.

◆ timerCallback()

void juce::CallOutBoxCallback::timerCallback ( )
overridevirtual

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.

Definition at line 68 of file juce_CallOutBox.cpp.

Member Data Documentation

◆ callout

CallOutBox juce::CallOutBoxCallback::callout

Definition at line 75 of file juce_CallOutBox.cpp.

◆ content

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

Definition at line 74 of file juce_CallOutBox.cpp.


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