Set the description of some parameters
[synfig.git] / synfig-core / src / modules / lyr_std / warp.cpp
index f11c290..6d31033 100644 (file)
@@ -74,6 +74,8 @@ Warp::Warp():
 {
        sync();
        horizon=4;
+       Layer::Vocab voc(get_param_vocab());
+       Layer::fill_static(voc);
 }
 
 Warp::~Warp()
@@ -370,30 +372,36 @@ Warp::get_param_vocab()const
        ret.push_back(ParamDesc("src_tl")
                .set_local_name(_("Source TL"))
                .set_box("src_br")
+               .set_description(_("Top Left corner of the source to warp"))
        );
 
        ret.push_back(ParamDesc("src_br")
                .set_local_name(_("Source BR"))
+               .set_description(_("Bottom Right corner of the source to warp"))
        );
 
        ret.push_back(ParamDesc("dest_tl")
                .set_local_name(_("Dest TL"))
                .set_connect("dest_tr")
+               .set_description(_("Top Left corner of the destination"))
        );
 
        ret.push_back(ParamDesc("dest_tr")
                .set_local_name(_("Dest TR"))
                .set_connect("dest_br")
+               .set_description(_("Top Right corner of the destination"))
        );
 
        ret.push_back(ParamDesc("dest_br")
                .set_local_name(_("Dest BR"))
                .set_connect("dest_bl")
+               .set_description(_("Bottom Right corner of the destination"))
        );
 
        ret.push_back(ParamDesc("dest_bl")
                .set_local_name(_("Dest BL"))
                .set_connect("dest_tl")
+               .set_description(_("Bottom Left corner of the destination"))
        );
 
        ret.push_back(ParamDesc("clip")
@@ -402,6 +410,7 @@ Warp::get_param_vocab()const
 
        ret.push_back(ParamDesc("horizon")
                .set_local_name(_("Horizon"))
+               .set_description(_("Height that determines the horizon in perspectives"))
        );
 
        return ret;