X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_anglestring.cpp;h=0be9ff53cfd24b45ff3287e1d88d83991a856379;hp=b64a42f625f3eac307aef3b6556a4eb2d4db98d0;hb=8eed22b9657ac7cb1881eab5c7b5c3d1f0c69468;hpb=72fee47109d8d1f6e4c5043ab60200e61357636a diff --git a/synfig-core/src/synfig/valuenode_anglestring.cpp b/synfig-core/src/synfig/valuenode_anglestring.cpp index b64a42f..0be9ff5 100644 --- a/synfig-core/src/synfig/valuenode_anglestring.cpp +++ b/synfig-core/src/synfig/valuenode_anglestring.cpp @@ -207,3 +207,31 @@ ValueNode_AngleString::check_type(ValueBase::Type type) return type==ValueBase::TYPE_STRING; } + +LinkableValueNode::Vocab +ValueNode_AngleString::get_param_vocab()const +{ + LinkableValueNode::Vocab ret; + + ret.push_back(ParamDesc(ValueBase(),"angle") + .set_local_name(_("Angle")) + .set_description(_("Value to convert to string")) + ); + + ret.push_back(ParamDesc(ValueBase(),"width") + .set_local_name(_("Width")) + .set_description(_("Width of the string")) + ); + + ret.push_back(ParamDesc(ValueBase(),"precision") + .set_local_name(_("Precision")) + .set_description(_("Number of decimal places")) + ); + + ret.push_back(ParamDesc(ValueBase(),"zero_pad") + .set_local_name(_("Zero Padded")) + .set_description(_("When checked, the string is left filled with zeros to match the width")) + ); + + return ret; +}