TuttleOFX  1
OFX::RGBParamDescriptor Class Reference

Wraps up an RGB colour param. More...

#include <ofxsParam.h>

Inheritance diagram for OFX::RGBParamDescriptor:
Collaboration diagram for OFX::RGBParamDescriptor:

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

Detailed Description

Wraps up an RGB colour param.

Definition at line 526 of file ofxsParam.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class ParamSetDescriptor [friend]

Reimplemented from OFX::ValueParamDescriptor.

Definition at line 537 of file ofxsParam.h.


The documentation for this class was generated from the following files: