Widget-to-parameter binding helpers with automatic normalization and gestures. More...
#include <pulp/view/widgets.hpp>#include <pulp/view/ui_components.hpp>#include <pulp/state/binding.hpp>#include <pulp/state/external_binding.hpp>#include <memory>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) |
Widget-to-parameter binding helpers with automatic normalization and gestures.