Community Core Vision 1.3
Cross platform, user friendly computer vision.
Public Member Functions | Public Attributes
ofxGuiPanel Class Reference

#include <ofxGuiPanel.h>

Inheritance diagram for ofxGuiPanel:
ofxGuiObject

List of all members.

Public Member Functions

 ofxGuiPanel ()
void init (int id, string name, int x, int y, int border, int spacing)
bool update (int parameterId, int task, void *data, int length)
void draw ()
bool mouseDragged (int x, int y, int button)
bool mousePressed (int x, int y, int button)
bool mouseReleased (int x, int y, int button)
ofxGuiSlideraddSlider (int id, string name, int width, int height, float min, float max, float value, int display, int steps)
ofxGuiXYPadaddXYPad (int id, string name, int width, int height, ofxPoint2f min, ofxPoint2f max, ofxPoint2f value, int display, int steps)
ofxGuiPointsaddPoints (int id, string name, int width, int height, ofxPoint2f min, ofxPoint2f max, ofxPoint2f value, int display, int steps)
ofxGuiButtonaddButton (int id, string name, int width, int height, bool value, int mode, string image)
ofxGuiFilesaddFiles (int id, string name, int width, int height, string value, string subPath, string suffix)
ofxGuiColoraddColor (int id, string name, int width, int height, ofRGBA value, int mode)
ofxGuiMatrixaddMatrix (int id, string name, int width, int height, int xGrid, int yGrid, int value, int mode, int spacing)
ofxGuiScopeaddScope (int id, string name, int width, int height, int length, ofxPoint2f value, int mode)
ofxGuiKnobaddKnob (int id, string name, int width, int height, float min, float max, float value, int display, int steps)
void adjustToNewContent (int w, int h)
void buildFromXml ()
void saveToXml ()

Public Attributes

int mBorder
int mSpacing
vector< ofxGuiObject * > mObjects

Detailed Description

Definition at line 31 of file ofxGuiPanel.h.


Constructor & Destructor Documentation

ofxGuiPanel::ofxGuiPanel ( )

Definition at line 16 of file ofxGuiPanel.cpp.


Member Function Documentation

ofxGuiButton * ofxGuiPanel::addButton ( int  id,
string  name,
int  width,
int  height,
bool  value,
int  mode,
string  image = "" 
)

Definition at line 216 of file ofxGuiPanel.cpp.

ofxGuiColor * ofxGuiPanel::addColor ( int  id,
string  name,
int  width,
int  height,
ofRGBA  value,
int  mode 
)

Definition at line 246 of file ofxGuiPanel.cpp.

ofxGuiFiles * ofxGuiPanel::addFiles ( int  id,
string  name,
int  width,
int  height,
string  value,
string  subPath,
string  suffix 
)

Definition at line 231 of file ofxGuiPanel.cpp.

ofxGuiKnob * ofxGuiPanel::addKnob ( int  id,
string  name,
int  width,
int  height,
float  min,
float  max,
float  value,
int  display,
int  steps 
)

Definition at line 294 of file ofxGuiPanel.cpp.

ofxGuiMatrix * ofxGuiPanel::addMatrix ( int  id,
string  name,
int  width,
int  height,
int  xGrid,
int  yGrid,
int  value,
int  mode,
int  spacing 
)

Definition at line 261 of file ofxGuiPanel.cpp.

ofxGuiPoints * ofxGuiPanel::addPoints ( int  id,
string  name,
int  width,
int  height,
ofxPoint2f  min,
ofxPoint2f  max,
ofxPoint2f  value,
int  display,
int  steps 
)

Definition at line 201 of file ofxGuiPanel.cpp.

ofxGuiScope * ofxGuiPanel::addScope ( int  id,
string  name,
int  width,
int  height,
int  length,
ofxPoint2f  value,
int  mode 
)

Definition at line 276 of file ofxGuiPanel.cpp.

ofxGuiSlider * ofxGuiPanel::addSlider ( int  id,
string  name,
int  width,
int  height,
float  min,
float  max,
float  value,
int  display,
int  steps 
)

Definition at line 171 of file ofxGuiPanel.cpp.

ofxGuiXYPad * ofxGuiPanel::addXYPad ( int  id,
string  name,
int  width,
int  height,
ofxPoint2f  min,
ofxPoint2f  max,
ofxPoint2f  value,
int  display,
int  steps 
)

Definition at line 186 of file ofxGuiPanel.cpp.

void ofxGuiPanel::adjustToNewContent ( int  w,
int  h 
)

Definition at line 309 of file ofxGuiPanel.cpp.

void ofxGuiPanel::buildFromXml ( ) [virtual]

Reimplemented from ofxGuiObject.

Definition at line 321 of file ofxGuiPanel.cpp.

void ofxGuiPanel::draw ( ) [virtual]

Reimplemented from ofxGuiObject.

Definition at line 60 of file ofxGuiPanel.cpp.

void ofxGuiPanel::init ( int  id,
string  name,
int  x,
int  y,
int  border,
int  spacing 
)

Definition at line 23 of file ofxGuiPanel.cpp.

bool ofxGuiPanel::mouseDragged ( int  x,
int  y,
int  button 
) [virtual]

Reimplemented from ofxGuiObject.

Definition at line 97 of file ofxGuiPanel.cpp.

bool ofxGuiPanel::mousePressed ( int  x,
int  y,
int  button 
) [virtual]

Reimplemented from ofxGuiObject.

Definition at line 122 of file ofxGuiPanel.cpp.

bool ofxGuiPanel::mouseReleased ( int  x,
int  y,
int  button 
) [virtual]

Reimplemented from ofxGuiObject.

Definition at line 148 of file ofxGuiPanel.cpp.

void ofxGuiPanel::saveToXml ( ) [virtual]

Reimplemented from ofxGuiObject.

Definition at line 442 of file ofxGuiPanel.cpp.

bool ofxGuiPanel::update ( int  parameterId,
int  task,
void *  data,
int  length 
) [virtual]

Reimplemented from ofxGuiObject.

Definition at line 41 of file ofxGuiPanel.cpp.


Member Data Documentation

Definition at line 62 of file ofxGuiPanel.h.

Definition at line 64 of file ofxGuiPanel.h.

Definition at line 62 of file ofxGuiPanel.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines