Set the description of some parameters
[synfig.git] / synfig-core / src / modules / lyr_std / clamp.cpp
index 14b4c41..7866ffe 100644 (file)
@@ -68,6 +68,8 @@ Layer_Clamp::Layer_Clamp():
        ceiling(1.0f),
        floor(0.0f)
 {
+       Layer::Vocab voc(get_param_vocab());
+       Layer::fill_static(voc);
 }
 
 inline Color
@@ -157,14 +159,17 @@ Layer_Clamp::get_param_vocab()const
 
        ret.push_back(ParamDesc("clamp_ceiling")
                .set_local_name(_("Clamp Ceiling"))
+               .set_description(_("When checked the Ceiling value is used"))
        );
 
        ret.push_back(ParamDesc("ceiling")
                .set_local_name(_("Ceiling"))
+               .set_description(_("Upper boundary of the clamping"))
        );
 
        ret.push_back(ParamDesc("floor")
                .set_local_name(_("Floor"))
+               .set_description(_("Lower boundary of the clamping"))
        );
 
        return ret;