|
TuttleOFX
1
|
Wraps up a double param. More...
#include <ofxsParam.h>


Public Member Functions | |
| void | setShowTimeMarker (bool v) |
| if the double type is Absolute time, show a time marker on the time line if possible | |
| void | setDefault (double v) |
| set the default value, default is 0 | |
| void | setRange (double min, double max) |
| set the hard min/max range, default is INT_MIN, INT_MAX | |
| void | setDisplayRange (double min, double max) |
| set the display min and max, default is to be the same as the range param | |
Protected Member Functions | |
| mDeclareProtectedAssignAndCC (DoubleParamDescriptor) | |
| DoubleParamDescriptor (void) | |
| DoubleParamDescriptor (const std::string &name, OfxPropertySetHandle props) | |
| hidden constructor | |
Friends | |
| class | ParamSetDescriptor |
Wraps up a double param.
Definition at line 435 of file ofxsParam.h.
| OFX::DoubleParamDescriptor::DoubleParamDescriptor | ( | void | ) | [inline, protected] |
Definition at line 439 of file ofxsParam.h.
| OFX::DoubleParamDescriptor::DoubleParamDescriptor | ( | const std::string & | name, |
| OfxPropertySetHandle | props | ||
| ) | [protected] |
| OFX::DoubleParamDescriptor::mDeclareProtectedAssignAndCC | ( | DoubleParamDescriptor | ) | [protected] |
| void OFX::DoubleParamDescriptor::setDefault | ( | double | v | ) |
set the default value, default is 0
Definition at line 435 of file ofxsParams.cpp.
References OFX::ParamDescriptor::getProps(), kOfxParamPropDefault, and OFX::PropertySet::propSetDouble().
Referenced by tuttle::plugin::av::addOptionsFromAVOption(), tuttle::plugin::describeGeneratorParamsInContext(), and tuttle::plugin::describeSamplerParamsInContext().

| void OFX::DoubleParamDescriptor::setDisplayRange | ( | double | min, |
| double | max | ||
| ) |
set the display min and max, default is to be the same as the range param
Definition at line 448 of file ofxsParams.cpp.
References OFX::ParamDescriptor::getProps(), kOfxParamPropDisplayMax, kOfxParamPropDisplayMin, and OFX::PropertySet::propSetDouble().
Referenced by tuttle::plugin::av::addOptionsFromAVOption(), tuttle::plugin::describeGeneratorParamsInContext(), and tuttle::plugin::describeSamplerParamsInContext().

| void OFX::DoubleParamDescriptor::setRange | ( | double | min, |
| double | max | ||
| ) |
set the hard min/max range, default is INT_MIN, INT_MAX
set the hard min/max range, default is DOUBLE_MIN, DOUBLE_MAX
Definition at line 441 of file ofxsParams.cpp.
References OFX::ParamDescriptor::getProps(), kOfxParamPropMax, kOfxParamPropMin, and OFX::PropertySet::propSetDouble().
Referenced by tuttle::plugin::av::addOptionsFromAVOption(), tuttle::plugin::describeGeneratorParamsInContext(), and tuttle::plugin::describeSamplerParamsInContext().

| void OFX::DoubleParamDescriptor::setShowTimeMarker | ( | bool | v | ) |
if the double type is Absolute time, show a time marker on the time line if possible
friend class ParamSetDescriptor [friend] |
Reimplemented from OFX::BaseDoubleParamDescriptor.
Definition at line 445 of file ofxsParam.h.