openshot-audio  0.1.2
Public Member Functions | Public Attributes | List of all members
CallOutBoxCallback Class Reference
Inheritance diagram for CallOutBoxCallback:
ModalComponentManager::Callback Timer

Public Member Functions

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

Public Attributes

ScopedPointer< Componentcontent
 
CallOutBox callout
 

Constructor & Destructor Documentation

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

Member Function Documentation

void 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 ModalComponentManager::Callback.

void 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 Timer.

Member Data Documentation

CallOutBox CallOutBoxCallback::callout
ScopedPointer<Component> CallOutBoxCallback::content

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