ofDocsdocumentation addons ofxGui ofxPanel

ofxPanel


generateDraw( )

void generateDraw()

loadIcons( )

void loadIcons()

mouseReleased( ... )

bool mouseReleased(ofMouseEventArgs &args)

ofxPanel( ... )

ofxPanel(const ofParameterGroup &parameters, const string &filename, float x, float y)

ofxPanel( )

ofxPanel()

render( )

void render()

setValue( ... )

bool setValue(float mx, float my, bool bCheck)

setup( ... )

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.


setup( ... )

ofxPanel * setup(const ofParameterGroup &parameters, const string &filename, float x, float y)

~ofxPanel( )

~ofxPanel()

Variables

bool bGrabbed
ofPoint grabPt
ofRectangle loadBox
ofImage loadIcon
ofRectangle saveBox
ofImage saveIcon