ofxDatGuiWaveMonitor* ofxDatGui::addWaveMonitor(string label, float frequency, float amplitude) { ofxDatGuiWaveMonitor* monitor = new ofxDatGuiWaveMonitor(label, frequency, amplitude, mTemplate); attachItem(monitor); return monitor; }
ofxDatGuiFolder* ofxDatGui::addFolder(ofxDatGuiFolder* folder) { attachItem(folder); return folder; }
ofxDatGuiLabel* ofxDatGui::addLabel(string label) { ofxDatGuiLabel* lbl = new ofxDatGuiLabel(label, mTemplate); attachItem(lbl); return lbl; }
ofxDatGuiBreak* ofxDatGui::addBreak() { ofxDatGuiBreak* brk = new ofxDatGuiBreak(); attachItem(brk); return brk; }
ofxDatGuiFRM* ofxDatGui::addFRM(float refresh) { ofxDatGuiFRM* monitor = new ofxDatGuiFRM(refresh); attachItem(monitor); return monitor; }
ofxDatGuiValuePlotter* ofxDatGui::addValuePlotter(string label, float min, float max) { ofxDatGuiValuePlotter* plotter = new ofxDatGuiValuePlotter(label, min, max); attachItem(plotter); return plotter; }
ofxDatGuiComponent* ofxDatGui::addComponent(ofxDatGuiComponent* c) { attachItem(c); return c; }
ofxDatGuiBreak* ofxDatGui::addBreak(int height) { ofxDatGuiBreak* brk = new ofxDatGuiBreak(height, mTemplate); attachItem(brk); return brk; }