shithub: soundpipe

ref: 70285956de156f146984f42c8ffa42401d42edd7
dir: /lib/faust/CUI.h/

View raw version
#include <stdlib.h>

#ifndef FAUSTFLOAT
#define FAUSTFLOAT SPFLOAT
#endif

typedef void (* addHorizontalSliderFun) (void* ui_interface, const char* label, FAUSTFLOAT* zone, FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step);
typedef void (* addVerticalSliderFun) (void* ui_interface, const char* label, FAUSTFLOAT* zone, FAUSTFLOAT init, FAUSTFLOAT min, FAUSTFLOAT max, FAUSTFLOAT step);
typedef void (* addCheckButtonFun) (void* ui_interface, const char* label, FAUSTFLOAT* zone);

typedef struct {
    void* uiInterface;
    addHorizontalSliderFun addHorizontalSlider;
    addVerticalSliderFun addVerticalSlider;
    addCheckButtonFun addCheckButton;
} UIGlue;