@noine wrote:
I want classes which have ofParameters to have there own panels. Right now I create groups and add those to one panel which get long.
I thought it would be easy as to declare multiple ofxPanels in ofApp or in the class self, but it doesn't work.
The panels are being used with ofParameter. Below is a example a how I now use it.
.h
ofxPanel gui; ofParameterGroup parameterGroup; ofParameterGroup globalGroup; ofParameter<float> scale, rotate, background; MatrixPattern matrixPattern;
.cpp
//adding scale, rotate, background to globalGroup parameterGroup.add(globalGroup); parameterGroup.add(matrixPattern.matrixParameters); gui.setup(parameterGroup);
Posts: 2
Participants: 2