More descriptions for layer parameters
[synfig.git] / synfig-core / src / modules / mod_example / simplecircle.cpp
index f6fc8ef..a17fff2 100644 (file)
@@ -70,6 +70,8 @@ SimpleCircle::SimpleCircle():
        center(0,0),
        radius(0.5)
 {
+       Layer::Vocab voc(get_param_vocab());
+       Layer::fill_static(voc);
 }
 
 bool
@@ -102,10 +104,12 @@ SimpleCircle::get_param_vocab()const
 
        ret.push_back(ParamDesc("color")
                .set_local_name(_("Color"))
+               .set_description(_("Fill color of the layer"))
        );
 
        ret.push_back(ParamDesc("center")
                .set_local_name(_("Center"))
+               .set_description(_("Center of the circle"))
        );
 
        ret.push_back(ParamDesc("radius")