- switch(i)
- {
- case 0: return _("Angle");
- case 1: return _("Width");
- case 2: return _("Precision");
- case 3: return _("Zero Padded");
- }
- return String();
-}
-
-int
-ValueNode_AngleString::get_link_index_from_name(const String &name)const
-{
- if (name=="angle") return 0;
- if (name=="width") return 1;
- if (name=="precision") return 2;
- if (name=="zero_pad") return 3;
+ ret.push_back(ParamDesc(ValueBase(),"precision")
+ .set_local_name(_("Precision"))
+ .set_description(_("Number of decimal places"))
+ );