X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_duplicate.cpp;fp=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_duplicate.cpp;h=fdfc8b4830f24cb1bb52275a76d05654cb225feb;hb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;hp=540c3a99d26b65a3e0b98bf444ba17f8ea4223f0;hpb=72fee47109d8d1f6e4c5043ab60200e61357636a;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_duplicate.cpp b/synfig-core/src/synfig/valuenode_duplicate.cpp index 540c3a9..fdfc8b4 100644 --- a/synfig-core/src/synfig/valuenode_duplicate.cpp +++ b/synfig-core/src/synfig/valuenode_duplicate.cpp @@ -215,3 +215,26 @@ ValueNode_Duplicate::check_type(ValueBase::Type type __attribute__ ((unused))) // never offer this as a choice. it's used automatically by the 'Duplicate' layer. return false; } + +LinkableValueNode::Vocab +ValueNode_Duplicate::get_param_vocab()const +{ + LinkableValueNode::Vocab ret; + + ret.push_back(ParamDesc(ValueBase(),"from") + .set_local_name(_("From")) + .set_description(_("Initial value of the index ")) + ); + + ret.push_back(ParamDesc(ValueBase(),"to") + .set_local_name(_("To")) + .set_description(_("Final value of the index")) + ); + + ret.push_back(ParamDesc(ValueBase(),"step") + .set_local_name(_("Step")) + .set_description(_("Amount increment of the index")) + ); + + return ret; +}