openshot-audio
0.1.4
|
Public Member Functions | |
CallbackHelper (Button &b) | |
void | timerCallback () override |
bool | keyStateChanged (bool, Component *) override |
void | valueChanged (Value &value) override |
bool | keyPressed (const KeyPress &, Component *) override |
void | applicationCommandInvoked (const ApplicationCommandTarget::InvocationInfo &info) override |
void | applicationCommandListChanged () override |
![]() | |
virtual | ~Timer () |
void | startTimer (int intervalInMilliseconds) noexcept |
void | startTimerHz (int timerFrequencyHz) noexcept |
void | stopTimer () noexcept |
bool | isTimerRunning () const noexcept |
int | getTimerInterval () const noexcept |
![]() | |
virtual | ~ApplicationCommandManagerListener () |
![]() | |
Listener () | |
virtual | ~Listener () |
![]() | |
virtual | ~KeyListener () |
Additional Inherited Members | |
![]() | |
static void JUCE_CALLTYPE | callPendingTimersSynchronously () |
![]() | |
Timer () noexcept | |
Timer (const Timer &) noexcept | |
|
inline |
|
inlineoverridevirtual |
Called when an app command is about to be invoked.
Implements ApplicationCommandManagerListener.
|
inlineoverridevirtual |
Called when commands are registered or deregistered from the command manager, or when commands are made active or inactive.
Note that if you're using this to watch for changes to whether a command is disabled, you'll need to make sure that ApplicationCommandManager::commandStatusChanged() is called whenever the status of your command might have changed.
Implements ApplicationCommandManagerListener.
|
inlineoverridevirtual |
Called to indicate that a key has been pressed.
If your implementation returns true, then the key event is considered to have been consumed, and will not be passed on to any other components. If it returns false, then the key will be passed to other components that might want to use it.
key | the keystroke, including modifier keys |
originatingComponent | the component that received the key event |
Implements KeyListener.
|
inlineoverridevirtual |
Called when any key is pressed or released.
When this is called, classes that might be interested in the state of one or more keys can use KeyPress::isKeyCurrentlyDown() to check whether their key has changed.
If your implementation returns true, then the key event is considered to have been consumed, and will not be passed on to any other components. If it returns false, then the key will be passed to other components that might want to use it.
originatingComponent | the component that received the key event |
isKeyDown | true if a key is being pressed, false if one is being released |
Reimplemented from KeyListener.
|
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.
|
inlineoverridevirtual |
Called when a Value object is changed.
Note that the Value object passed as a parameter may not be exactly the same object that you registered the listener with - it might be a copy that refers to the same underlying ValueSource. To find out, you can call Value::refersToSameSourceAs().
Implements Value::Listener.