JUCE API reference
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::WebControlParameterIndexReceiver Class Reference

This is a helper class for implementing AudioProcessorEditor::getControlParameterIndex with GUIs using a WebBrowserComponent. More...

Inheritance diagram for juce::WebControlParameterIndexReceiver:

Public Member Functions

int getControlParameterIndex () const
 
WebBrowserComponent::Options buildOptions (const WebBrowserComponent::Options &initialOptions) override
 
- Public Member Functions inherited from juce::OptionsBuilder< WebBrowserComponent::Options >
virtual ~OptionsBuilder ()=default
 
WebBrowserComponent::Options buildOptions ()
 

Detailed Description

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.

Member Function Documentation

◆ getControlParameterIndex()

int juce::WebControlParameterIndexReceiver::getControlParameterIndex ( ) const
inline

◆ buildOptions()

WebBrowserComponent::Options juce::WebControlParameterIndexReceiver::buildOptions ( const WebBrowserComponent::Options &  initialOptions)
inlineoverridevirtual

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