void EnvelopeFreeEdit::init(void) { oscRegister("Penvpoints"); oscRegister("Penvdt"); oscRegister("Penvval"); oscRegister("Penvsustain"); //register for non-bulk types for(int i=0; i<MAX_ENVELOPE_POINTS; ++i) { osc->createLink(loc+string("Penvdt") + to_s(i), this); osc->createLink(loc+string("Penvval") + to_s(i), this); } }
void Fl_Osc_Dial::alt_init(std::string base, std::string path_) { Fl_Osc_Pane *pane = fetch_osc_pane(this); assert(pane); osc = pane->osc; assert(osc); loc = base; oscRegister(path_.c_str()); ext = path_; alt_style = true; }
void Fl_Osc_VSlider::init(std::string path_, char type_) { osc_type = type_; ext = path_; oscRegister(ext.c_str()); }
void Fl_Osc_Roller::init(const char *path) { name = path; oscRegister(path); };
void Fl_Osc_Dial::init(std::string path_) { assert(osc); ext = path_; oscRegister(path_.c_str()); };
void BankList::init(std::string path) { ext = path; oscRegister("bank-list"); oscRegister(path.c_str()); }
void Fl_Osc_Check::init(std::string path, char type) { this->ext = path; this->type = type; oscRegister(path.c_str()); }