This is a helper class for implementing AudioProcessorEditor::getControlParameterIndex with GUIs using a WebBrowserComponent. More...
#include <juce_WebControlParameterIndexReceiver.h>
Public Member Functions | |
int | getControlParameterIndex () const |
WebBrowserComponent::Options | buildOptions (const WebBrowserComponent::Options &initialOptions) override |
Public Member Functions inherited from OptionsBuilder< WebBrowserComponent::Options > | |
virtual | ~OptionsBuilder ()=default |
WebBrowserComponent::Options | buildOptions () |
This is a helper class for implementing AudioProcessorEditor::getControlParameterIndex with GUIs using a WebBrowserComponent.
Create an instance of this class and attach it to the WebBrowserComponent by using WebBrowserComponent::Options::withOptionsFrom.
In your frontend code you can use the ControlParameterIndexUpdater class, that emits controlParameterIndexChanged events based on the mouse movement, and control parameter index annotations attached to DOM elements.
int WebControlParameterIndexReceiver::getControlParameterIndex | ( | ) | const |
|
overridevirtual |
Implements OptionsBuilder< WebBrowserComponent::Options >.
References WebBrowserComponent::Options::withEventListener().