TuttleOFX  1
OFX::RGBAParamDescriptor Class Reference

Wraps up an RGBA colour param. More...

#include <ofxsParam.h>

Inheritance diagram for OFX::RGBAParamDescriptor:
Collaboration diagram for OFX::RGBAParamDescriptor:

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

Detailed Description

Wraps up an RGBA colour param.

Definition at line 546 of file ofxsParam.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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

Here is the call graph for this function:


Friends And Related Function Documentation

friend class ParamSetDescriptor [friend]

Reimplemented from OFX::ValueParamDescriptor.

Definition at line 557 of file ofxsParam.h.


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