One selectable position of a knob. More...
#include <design_knobs.hpp>
Public Attributes | |
| std::string | label |
| double | at = 0.0 |
| std::vector< KnobWrite > | writes |
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).
| double pulp::design::KnobPosition::at = 0.0 |
| std::string pulp::design::KnobPosition::label |
| std::vector<KnobWrite> pulp::design::KnobPosition::writes |