Set the description of some parameters
[synfig.git] / synfig-core / src / modules / mod_example / filledrect.cpp
index 663c0db..20baf14 100644 (file)
@@ -75,6 +75,8 @@ FilledRect::FilledRect():
        bevel(0),
        bevCircle(0)
 {
+       Layer::Vocab voc(get_param_vocab());
+       Layer::fill_static(voc);
 }
 
 bool
@@ -115,6 +117,7 @@ FilledRect::get_param_vocab()const
 
        ret.push_back(ParamDesc("color")
                .set_local_name(_("Color"))
+               .set_description(_("Fill color of the layer"))
        );
 
        ret.push_back(ParamDesc("point1")
@@ -136,10 +139,12 @@ FilledRect::get_param_vocab()const
 
        ret.push_back(ParamDesc("bevel")
                .set_local_name(_("Bevel"))
+               .set_description(_("Use Bevel for the corners"))
        );
 
        ret.push_back(ParamDesc("bevCircle")
                .set_local_name(_("Keep Bevel Circular"))
+               .set_description(_("When checked the bevel is circular"))
        );
 
        return ret;