Loading...
Searching...
No Matches
WebControlParameterIndexReceiver Class Reference

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

#include <juce_WebControlParameterIndexReceiver.h>

Inheritance diagram for WebControlParameterIndexReceiver:

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 ()
 

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 WebControlParameterIndexReceiver::getControlParameterIndex ( ) const

◆ buildOptions()

WebBrowserComponent::Options WebControlParameterIndexReceiver::buildOptions ( const WebBrowserComponent::Options & initialOptions)
overridevirtual

The documentation for this class was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram