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