TuttleOFX
1
|
Wraps up a custom param, haven't added animation support yet. More...
#include <ofxsParam.h>
Public Member Functions | |
void | setDefault (const std::string &v) |
set the default value of the param | |
Protected Member Functions | |
mDeclareProtectedAssignAndCC (CustomParamDescriptor) | |
CustomParamDescriptor (void) | |
CustomParamDescriptor (const std::string &name, OfxPropertySetHandle props) | |
hidden constructor | |
Friends | |
class | ParamSetDescriptor |
Wraps up a custom param, haven't added animation support yet.
Definition at line 721 of file ofxsParam.h.
OFX::CustomParamDescriptor::CustomParamDescriptor | ( | void | ) | [inline, protected] |
Definition at line 725 of file ofxsParam.h.
OFX::CustomParamDescriptor::CustomParamDescriptor | ( | const std::string & | name, |
OfxPropertySetHandle | props | ||
) | [protected] |
OFX::CustomParamDescriptor::mDeclareProtectedAssignAndCC | ( | CustomParamDescriptor | ) | [protected] |
void OFX::CustomParamDescriptor::setDefault | ( | const std::string & | v | ) |
set the default value of the param
set the default value, default is 0
Definition at line 678 of file ofxsParams.cpp.
References OFX::ParamDescriptor::getProps(), kOfxParamPropDefault, and OFX::PropertySet::propSetString().
friend class ParamSetDescriptor [friend] |
Reimplemented from OFX::ValueParamDescriptor.
Definition at line 732 of file ofxsParam.h.