ff_meters
Add meter components to visualise AudioBuffers
|
DEPRECATED: Instead of using the Listener, use the new lambdas: More...
Public Member Functions | |
virtual | ~Listener ()=default |
virtual void | clipLightClicked (foleys::LevelMeter *meter, const int channel, juce::ModifierKeys mods)=0 |
This is called, when the user clicks a clip indicator. More... | |
virtual void | maxLevelClicked (foleys::LevelMeter *meter, const int channel, juce::ModifierKeys mods)=0 |
This is called, when the user clicks a max level text. More... | |
DEPRECATED: Instead of using the Listener, use the new lambdas:
This Listener interface is meant to implement behaviour if either the clip indicator or the max level text is clicked.
An example implementation could look like this (+alt means clear all, else clear the clicked number):
|
virtualdefault |
|
pure virtual |
This is called, when the user clicks a clip indicator.
It can be used to reset the clip indicator. To allow different behaviour, e.g. resetting only one indicator or even all meters spread over the UI.
Referenced by foleys::LevelMeter::mouseDown().
|
pure virtual |
This is called, when the user clicks a max level text.
It can be used to reset the max number.
Referenced by foleys::LevelMeter::mouseDown().