TuttleOFX
1
|
00001 #include "ParamPushButton.hpp" 00002 00003 #include <tuttle/host/INode.hpp> 00004 00005 namespace tuttle { 00006 namespace host { 00007 namespace attribute { 00008 00009 ParamPushButton::ParamPushButton( INode& effect, 00010 const std::string& name, 00011 const ofx::attribute::OfxhParamDescriptor& descriptor ) 00012 : Param( effect ) 00013 , ofx::attribute::OfxhParamPushButton( descriptor, name, effect.getParamSet() ) 00014 {} 00015 00016 void ParamPushButton::copy( const ParamPushButton& p ) OFX_EXCEPTION_SPEC 00017 { 00018 // do not action the push button on copy... 00019 //paramChanged( ofx::attribute::eChangeUserEdited ); 00020 } 00021 00022 void ParamPushButton::copy( const OfxhParam& p ) OFX_EXCEPTION_SPEC 00023 { 00024 const ParamPushButton& param = dynamic_cast<const ParamPushButton&>( p ); 00025 00026 copy( param ); 00027 } 00028 00029 } 00030 } 00031 } 00032