Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
param_attachment.hpp File Reference

Widget-to-parameter binding helpers with automatic normalization and gestures. More...

Go to the source code of this file.

Namespaces

namespace  pulp
namespace  pulp::view
 Hover-cursor tracking for platform window hosts.

Functions

std::pair< std::unique_ptr< Knob >, state::Binding > pulp::view::attach_knob (state::StateStore &store, state::ParamID id, float size=60.0f)
 Attach a Knob widget to a parameter.
std::pair< std::unique_ptr< Fader >, state::Binding > pulp::view::attach_fader (state::StateStore &store, state::ParamID id)
 Attach a Fader widget to a parameter.
std::pair< std::unique_ptr< Toggle >, state::Binding > pulp::view::attach_toggle (state::StateStore &store, state::ParamID id)
 Attach a Toggle widget to a boolean parameter.
std::pair< std::unique_ptr< ComboBox >, state::Binding > pulp::view::attach_combo (state::StateStore &store, state::ParamID id, std::vector< std::string > items)
 Attach a ComboBox to an integer/stepped parameter.
void pulp::view::poll_bindings (std::vector< state::Binding > &bindings)
 Poll all bindings in a vector to sync with host automation.
std::pair< std::unique_ptr< Knob >, state::ExternalBinding > pulp::view::attach_knob (state::ExternalBindingConfig cfg, float size=60.0f)
std::pair< std::unique_ptr< Fader >, state::ExternalBinding > pulp::view::attach_fader (state::ExternalBindingConfig cfg)
std::pair< std::unique_ptr< Toggle >, state::ExternalBinding > pulp::view::attach_toggle (state::ExternalBindingConfig cfg)

Detailed Description

Widget-to-parameter binding helpers with automatic normalization and gestures.