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