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.
ofEvent< void > loadPressedE
ofEvent< void > ofxPanel::loadPressedE
ofEvent< void > savePressedE
ofEvent< void > ofxPanel::savePressedE
Last updated 星期三, 08 三月 2023 18:07:33 UTC - 7c9ee203c70f155d301b41aa9b34dcc286921a3c
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue