iPlug2 - C++ Audio Plug-in Framework
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
FaustUIItem Struct Reference

A node in the description of a Faust DSP's user interface, as declared by its buildUserInterface() method. More...

#include <IPlugFaust.h>

Public Types

enum class  EType {
  TabBox , HBox , VBox , Button ,
  CheckButton , HSlider , VSlider , NumEntry ,
  HBargraph , VBargraph , Soundfile
}
 

Public Member Functions

bool IsGroup () const
 
bool IsBargraph () const
 

Public Attributes

EType type = EType::VBox
 
std::string label
 
std::string path
 
FAUSTFLOAT * zone = nullptr
 
double init = 0.
 
double min = 0.
 
double max = 1.
 
double step = 0.
 
int paramIdx = kNoParameter
 
int ctrlTag = kNoTag
 
bool hidden = false
 
bool knob = false
 
bool led = false
 
bool numerical = false
 
bool menu = false
 
bool radio = false
 
std::string unit
 
std::string tooltip
 
std::vector< std::pair< std::string, double > > options
 
std::vector< FaustUIItem > children
 

Detailed Description

A node in the description of a Faust DSP's user interface, as declared by its buildUserInterface() method.

Groups (tab/horizontal/vertical boxes) have children, widgets have a zone. This is what UI builders such as IGraphicsFaustUI use to create controls, so they never need to touch the DSP.

Definition at line 67 of file IPlugFaust.h.

Member Enumeration Documentation

◆ EType

enum class FaustUIItem::EType
strong

Definition at line 69 of file IPlugFaust.h.

Member Function Documentation

◆ IsBargraph()

bool FaustUIItem::IsBargraph ( ) const
inline

Definition at line 94 of file IPlugFaust.h.

◆ IsGroup()

bool FaustUIItem::IsGroup ( ) const
inline

Definition at line 93 of file IPlugFaust.h.

Member Data Documentation

◆ children

std::vector<FaustUIItem> FaustUIItem::children

Definition at line 91 of file IPlugFaust.h.

◆ ctrlTag

int FaustUIItem::ctrlTag = kNoTag

Definition at line 78 of file IPlugFaust.h.

◆ hidden

bool FaustUIItem::hidden = false

Definition at line 81 of file IPlugFaust.h.

◆ init

double FaustUIItem::init = 0.

Definition at line 75 of file IPlugFaust.h.

◆ knob

bool FaustUIItem::knob = false

Definition at line 82 of file IPlugFaust.h.

◆ label

std::string FaustUIItem::label

Definition at line 72 of file IPlugFaust.h.

◆ led

bool FaustUIItem::led = false

Definition at line 83 of file IPlugFaust.h.

◆ max

double FaustUIItem::max = 1.

Definition at line 75 of file IPlugFaust.h.

◆ menu

bool FaustUIItem::menu = false

Definition at line 85 of file IPlugFaust.h.

◆ min

double FaustUIItem::min = 0.

Definition at line 75 of file IPlugFaust.h.

◆ numerical

bool FaustUIItem::numerical = false

Definition at line 84 of file IPlugFaust.h.

◆ options

std::vector<std::pair<std::string, double> > FaustUIItem::options

Definition at line 89 of file IPlugFaust.h.

◆ paramIdx

int FaustUIItem::paramIdx = kNoParameter

Definition at line 77 of file IPlugFaust.h.

◆ path

std::string FaustUIItem::path

Definition at line 73 of file IPlugFaust.h.

◆ radio

bool FaustUIItem::radio = false

Definition at line 86 of file IPlugFaust.h.

◆ step

double FaustUIItem::step = 0.

Definition at line 75 of file IPlugFaust.h.

◆ tooltip

std::string FaustUIItem::tooltip

Definition at line 88 of file IPlugFaust.h.

◆ type

EType FaustUIItem::type = EType::VBox

Definition at line 71 of file IPlugFaust.h.

◆ unit

std::string FaustUIItem::unit

Definition at line 87 of file IPlugFaust.h.

◆ zone

FAUSTFLOAT* FaustUIItem::zone = nullptr

Definition at line 74 of file IPlugFaust.h.


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