TuttleOFX
1
|
Wraps up an RGB colour param. More...
#include <ofxsParam.h>
Public Member Functions | |
void | setDefault (double r, double g, double b) |
set the default value | |
Protected Member Functions | |
mDeclareProtectedAssignAndCC (RGBParamDescriptor) | |
RGBParamDescriptor (void) | |
RGBParamDescriptor (const std::string &name, OfxPropertySetHandle props) | |
hidden constructor | |
Friends | |
class | ParamSetDescriptor |
Wraps up an RGB colour param.
Definition at line 526 of file ofxsParam.h.
OFX::RGBParamDescriptor::RGBParamDescriptor | ( | void | ) | [inline, protected] |
Definition at line 530 of file ofxsParam.h.
OFX::RGBParamDescriptor::RGBParamDescriptor | ( | const std::string & | name, |
OfxPropertySetHandle | props | ||
) | [protected] |
hidden constructor
Definition at line 546 of file ofxsParams.cpp.
OFX::RGBParamDescriptor::mDeclareProtectedAssignAndCC | ( | RGBParamDescriptor | ) | [protected] |
void OFX::RGBParamDescriptor::setDefault | ( | double | r, |
double | g, | ||
double | b | ||
) |
set the default value
Definition at line 551 of file ofxsParams.cpp.
References OFX::ParamDescriptor::getProps(), kOfxParamPropDefault, and OFX::PropertySet::propSetDouble().
friend class ParamSetDescriptor [friend] |
Reimplemented from OFX::ValueParamDescriptor.
Definition at line 537 of file ofxsParam.h.