Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::design::KnobPosition Struct Reference

One selectable position of a knob. More...

#include <design_knobs.hpp>

Public Attributes

std::string label
double at = 0.0
std::vector< KnobWrite > writes

Detailed Description

One selectable position of a knob.

For a Slider, at is the numeric anchor on the knob's track and a value selects the nearest anchor. For a Toggle or Enum, at is unused and a value selects by label (then by 0-based index).

Member Data Documentation

◆ at

double pulp::design::KnobPosition::at = 0.0

◆ label

std::string pulp::design::KnobPosition::label

◆ writes

std::vector<KnobWrite> pulp::design::KnobPosition::writes

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