X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvaluenode_pow.cpp;h=0b9d319929245b53ed9d2ee03683d3fe6f6069d6;hb=d4cb326591ea23f82d341eb368b3d183b46f56c7;hp=20daaebe08d76680c67dd220829a54fe0fa50aff;hpb=088fde89ce190900cbc9e35bace4cceb5af1737a;p=synfig.git diff --git a/synfig-core/src/synfig/valuenode_pow.cpp b/synfig-core/src/synfig/valuenode_pow.cpp index 20daaeb..0b9d319 100644 --- a/synfig-core/src/synfig/valuenode_pow.cpp +++ b/synfig-core/src/synfig/valuenode_pow.cpp @@ -205,3 +205,31 @@ ValueNode_Pow::check_type(ValueBase::Type type) { return type==ValueBase::TYPE_REAL; } + +LinkableValueNode::Vocab +ValueNode_Pow::get_children_vocab_vfunc()const +{ + LinkableValueNode::Vocab ret; + + ret.push_back(ParamDesc(ValueBase(),"base") + .set_local_name(_("Base")) + .set_description(_("The base to be raised to the power")) + ); + + ret.push_back(ParamDesc(ValueBase(),"power") + .set_local_name(_("Power")) + .set_description(_("The power used to raise the base")) + ); + + ret.push_back(ParamDesc(ValueBase(),"epsilon") + .set_local_name(_("Epsilon")) + .set_description(_("Value used to compare base or power with zero ")) + ); + + ret.push_back(ParamDesc(ValueBase(),"infinite") + .set_local_name(_("Infinite")) + .set_description(_("Returned value when result tends to infinite")) + ); + + return ret; +}