X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_intstring.cpp;h=408469eeec1b0543074f1b7918e570d5b4eb8b45;hb=d4cb326591ea23f82d341eb368b3d183b46f56c7;hp=1ae8284e602daf94e12011a68359c350044423b3;hpb=db91521de71f46f2debb4b3ef1edfe351aea3b2d;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_intstring.cpp b/synfig-core/src/synfig/valuenode_intstring.cpp index 1ae8284..408469e 100644 --- a/synfig-core/src/synfig/valuenode_intstring.cpp +++ b/synfig-core/src/synfig/valuenode_intstring.cpp @@ -198,3 +198,26 @@ ValueNode_IntString::check_type(ValueBase::Type type) return type==ValueBase::TYPE_STRING; } + +LinkableValueNode::Vocab +ValueNode_IntString::get_children_vocab_vfunc()const +{ + LinkableValueNode::Vocab ret; + + ret.push_back(ParamDesc(ValueBase(),"int") + .set_local_name(_("Int")) + .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(),"zero_pad") + .set_local_name(_("Zero Padded")) + .set_description(_("When checked, the string is left filled with zeros to match the width")) + ); + + return ret; +}