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