arduino-audio-tools
|
Minimum implementation of UI parameters. We only support the setting and getting of values. More...
#include <AudioFaustDSP.h>
Public Member Functions | |
virtual void | addButton (const char *label, float *zone) |
virtual void | addCheckButton (const char *label, float *zone) |
virtual void | addHorizontalBargraph (const char *label, float *zone, float min, float max) |
virtual void | addHorizontalSlider (const char *label, float *zone, float init, float min, float max, float step) |
virtual void | addNumEntry (const char *label, float *zone, float init, float min, float max, float step) |
virtual void | addSoundfile (const char *label, const char *filename, Soundfile **sf_zone) |
virtual void | addVerticalBargraph (const char *label, float *zone, float min, float max) |
virtual void | addVerticalSlider (const char *label, float *zone, float init, float min, float max, float step) |
virtual void | closeBox () |
virtual void | declare (float *zone, const char *key, const char *val) |
virtual bool | exists (const char *label) |
checks if a label exists | |
virtual float | getValue (const char *label) |
const char * | label (int idx) |
Returns the label at the indicated position. nullptr is returned if the index is too big. | |
virtual void | openHorizontalBox (const char *label) |
virtual void | openTabBox (const char *label) |
virtual void | openVerticalBox (const char *label) |
virtual bool | setValue (const char *label, float value) |
virtual size_t | size () |
Returns the number of label entries. | |
Protected Member Functions | |
void | addEntry (const char *label, float *zone, bool withLimits=false, float min=0, float max=0) |
Entry * | findEntry (const char *name) |
Protected Attributes | |
audio_tools::Vector< Entry > | entries |
Minimum implementation of UI parameters. We only support the setting and getting of values.