JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce::WebControlParameterIndexReceiver Class Referenceabstract

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

#include <juce_WebControlParameterIndexReceiver.h>

Inheritance diagram for juce::WebControlParameterIndexReceiver:
Collaboration diagram for juce::WebControlParameterIndexReceiver:

Public Member Functions

WebBrowserComponent::Options buildOptions ()
 
WebBrowserComponent::Options buildOptions (const WebBrowserComponent::Options &initialOptions) override
 
virtual WebBrowserComponent::Options buildOptions (const WebBrowserComponent::Options &initialOptions)=0
 
int getControlParameterIndex () const
 

Private Attributes

int controlParameterIndex = -1
 

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.

@tags{GUI}

Member Function Documentation

◆ buildOptions() [1/3]

◆ buildOptions() [2/3]

WebBrowserComponent::Options juce::WebControlParameterIndexReceiver::buildOptions ( const WebBrowserComponent::Options initialOptions)
inlineoverride

◆ buildOptions() [3/3]

virtual WebBrowserComponent::Options OptionsBuilder< WebBrowserComponent::Options >::buildOptions ( const WebBrowserComponent::Options &  initialOptions)
pure virtualinherited

◆ getControlParameterIndex()

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

Member Data Documentation

◆ controlParameterIndex

int juce::WebControlParameterIndexReceiver::controlParameterIndex = -1
private

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