A lane is the product-independent state needed by the standard two-LFO modulation popup. More...
#include <context_menu.hpp>
Public Attributes | |
| std::string | label |
| e.g. "LFO 1" | |
| bool | enabled = false |
| float | rate_normalized = 0.25f |
| float | depth_normalized = 0.0f |
| std::vector< std::string > | shapes |
| e.g. Sine, Triangle, Square | |
| std::size_t | shape_index = 0 |
| std::function< void(const ModulationLane &)> | on_change |
A lane is the product-independent state needed by the standard two-LFO modulation popup.
Products keep ownership of their state and receive a copy after each edit through on_change; the SDK owns the hierarchy, controls, keyboard behavior, hover state, and dismissal lifecycle.
| float pulp::view::ContextMenu::ModulationLane::depth_normalized = 0.0f |
| bool pulp::view::ContextMenu::ModulationLane::enabled = false |
| std::string pulp::view::ContextMenu::ModulationLane::label |
e.g. "LFO 1"
| std::function<void(const ModulationLane&)> pulp::view::ContextMenu::ModulationLane::on_change |
| float pulp::view::ContextMenu::ModulationLane::rate_normalized = 0.25f |
| std::size_t pulp::view::ContextMenu::ModulationLane::shape_index = 0 |
| std::vector<std::string> pulp::view::ContextMenu::ModulationLane::shapes |
e.g. Sine, Triangle, Square