This class extends others, you can call their methods on an instance of ofxPanel too:
ofxPanel::ofxPanel(const ofParameterGroup ¶meters, const string &filename, float x, float y)
bool ofxPanel::mouseReleased(ofMouseEventArgs &args)
ofxPanel * ofxPanel::setup(const ofParameterGroup ¶meters, const string &filename, float x, float y)
ofxPanel * ofxPanel::setup(const string &collectionName, const string &filename, float x, float y)
collectionName is a title that will appear at the top of the panel.
Filename is the name of the xml file that will be used to read and write the panel settings. The default is "settings.xml" and this will be written to the root of your data folder. This file gets written when you click on the save icon in the top-right corner of the panel.
x and y positions define where on-screen the panel will be drawn. Default is 10 pixels down and to the right of the top-right corner of your app.
Last updated Saturday, 20 May 2017 08:57:00 UTC - de18754756090fcea8a84a678e44da5723ce61d2
Hosting for openFrameworks is generously provided by Rackspace