Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::ContextMenu::ModulationLane Struct Reference

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

Detailed Description

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.

Member Data Documentation

◆ depth_normalized

float pulp::view::ContextMenu::ModulationLane::depth_normalized = 0.0f

◆ enabled

bool pulp::view::ContextMenu::ModulationLane::enabled = false

◆ label

std::string pulp::view::ContextMenu::ModulationLane::label

e.g. "LFO 1"

◆ on_change

std::function<void(const ModulationLane&)> pulp::view::ContextMenu::ModulationLane::on_change

◆ rate_normalized

float pulp::view::ContextMenu::ModulationLane::rate_normalized = 0.25f

◆ shape_index

std::size_t pulp::view::ContextMenu::ModulationLane::shape_index = 0

◆ shapes

std::vector<std::string> pulp::view::ContextMenu::ModulationLane::shapes

e.g. Sine, Triangle, Square


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