fsh::stk
fantastic spatial holophonic synthesis toolkit
Loading...
Searching...
No Matches
fsh::gui::Knob Class Reference

Custom knob component that displays a label and a value. More...

#include <Knob.h>

Inheritance diagram for fsh::gui::Knob:

Classes

struct  Params
 Parameters for the Knob component. More...
 

Public Types

enum class  Behavior { Bounded , Endless }
 Defines the behavior of the knob when the user drags it beyond its range. More...
 

Public Member Functions

 Knob (const Params &)
 Constructor.
 
void attach (plugin::StateManager &, juce::ParameterID)
 Attach this knob to a parameter.
 

Detailed Description

Custom knob component that displays a label and a value.

The knob can be attached to a parameter of a PluginStateBase object.

Member Enumeration Documentation

◆ Behavior

enum class fsh::gui::Knob::Behavior
strong

Defines the behavior of the knob when the user drags it beyond its range.

Enumerator
Bounded 

The knob will stop at its minimum and maximum values.

Endless 

The knob will wrap around when the user drags it beyond its range.


The documentation for this class was generated from the following files: