A flexible control panel based gui addon for openFrameworks
C++ Other
Latest commit d4b220c Sep 14, 2015 @ofTheo Merge pull request #27 from ofTheo/programmable-fixes
0.9 fixes
Failed to load latest commit information.
example ofparam example for ofxControlPanel Dec 16, 2014
src 0.9 fixes Sep 14, 2015
.gitignore two examples now! Mar 31, 2010
README.md Create README.md Dec 16, 2014

README.md

ofxControlPanel

Added an example which you should be able to run from the addons/ofxControlPanel/example folder showing how the parameter stuff works.

The easiest usage is to create ofParameterGroups for a set of ofParameters and then add the group to the control panel. You can also add individual parameters though instead.

Quick example:

    ofParameterGroup cvControls; //this will be in your header file 
    ofParameter <bool> bInvert; 
    ofParemeter <float> threshold; 

    //then in setup 
    cvControls.setName("cv controls");
    cvControls.add(bInvert.set("invert", false));
    cvControls.add(threshold.set("threshold", 29.0, 1.0, 255.0));

    //now add the param group to the gui 
    gui.addGroup( cvControls );