From: Carlos Lopez Date: Wed, 8 Dec 2010 08:40:16 +0000 (+0100) Subject: More descriptions for layer parameters X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d243d7ecee75cc386a751c79ce7085e92afcbf27;p=synfig.git More descriptions for layer parameters --- diff --git a/synfig-core/src/modules/lyr_std/import.cpp b/synfig-core/src/modules/lyr_std/import.cpp index d37eecf..8532f4f 100644 --- a/synfig-core/src/modules/lyr_std/import.cpp +++ b/synfig-core/src/modules/lyr_std/import.cpp @@ -218,6 +218,7 @@ Import::get_param_vocab()const ); ret.push_back(ParamDesc("time_offset") .set_local_name(_("Time Offset")) + .set_description(_("Time Offset to apply to the imported file")) ); return ret; diff --git a/synfig-core/src/modules/lyr_std/twirl.cpp b/synfig-core/src/modules/lyr_std/twirl.cpp index 89a4785..fdd1d52 100644 --- a/synfig-core/src/modules/lyr_std/twirl.cpp +++ b/synfig-core/src/modules/lyr_std/twirl.cpp @@ -109,6 +109,7 @@ Twirl::get_param_vocab()const ret.push_back(ParamDesc("center") .set_local_name(_("Center")) + .set_description(_("Center of the circle")) ); ret.push_back(ParamDesc("radius") @@ -120,15 +121,18 @@ Twirl::get_param_vocab()const ret.push_back(ParamDesc("rotations") .set_local_name(_("Rotations")) + .set_description(_("The number of rotations of the twirl effect")) .set_origin("center") ); ret.push_back(ParamDesc("distort_inside") .set_local_name(_("Distort Inside")) + .set_description(_("When checked, distorts inside the circle")) ); ret.push_back(ParamDesc("distort_outside") .set_local_name(_("Distort Outside")) + .set_description(_("When checked, distorts outside the circle")) ); return ret; diff --git a/synfig-core/src/modules/lyr_std/xorpattern.cpp b/synfig-core/src/modules/lyr_std/xorpattern.cpp index 1335514..e79f309 100644 --- a/synfig-core/src/modules/lyr_std/xorpattern.cpp +++ b/synfig-core/src/modules/lyr_std/xorpattern.cpp @@ -122,9 +122,11 @@ XORPattern::get_param_vocab()const ret.push_back(ParamDesc("origin") .set_local_name(_("Origin")) + .set_description(_("Center of the pattern")) ); ret.push_back(ParamDesc("size") .set_local_name(_("Size")) + .set_description(_("Size of the pattern")) .set_origin("origin") ); diff --git a/synfig-core/src/modules/mod_example/filledrect.cpp b/synfig-core/src/modules/mod_example/filledrect.cpp index 20baf14..0522dba 100644 --- a/synfig-core/src/modules/mod_example/filledrect.cpp +++ b/synfig-core/src/modules/mod_example/filledrect.cpp @@ -122,11 +122,13 @@ FilledRect::get_param_vocab()const ret.push_back(ParamDesc("point1") .set_local_name(_("Point 1")) + .set_description(_("First corner of the rectangle")) .set_box("point2") ); ret.push_back(ParamDesc("point2") .set_local_name(_("Point 2")) + .set_description(_("Second corner of the rectangle")) ); ret.push_back(ParamDesc("feather_x") diff --git a/synfig-core/src/modules/mod_example/simplecircle.cpp b/synfig-core/src/modules/mod_example/simplecircle.cpp index 2269cbe..a17fff2 100644 --- a/synfig-core/src/modules/mod_example/simplecircle.cpp +++ b/synfig-core/src/modules/mod_example/simplecircle.cpp @@ -104,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") diff --git a/synfig-core/src/modules/mod_geometry/outline.cpp b/synfig-core/src/modules/mod_geometry/outline.cpp index 17e7867..b57d855 100644 --- a/synfig-core/src/modules/mod_geometry/outline.cpp +++ b/synfig-core/src/modules/mod_geometry/outline.cpp @@ -825,11 +825,13 @@ Outline::get_param_vocab()const ret.push_back(ParamDesc("width") .set_is_distance() .set_local_name(_("Outline Width")) + .set_description(_("Global width of the outline")) ); ret.push_back(ParamDesc("expand") .set_is_distance() .set_local_name(_("Expand")) + .set_description(_("Value to add to the global width")) ); ret.push_back(ParamDesc("sharp_cusps") @@ -851,6 +853,7 @@ Outline::get_param_vocab()const ); ret.push_back(ParamDesc("homogeneous_width") .set_local_name(_("Homogeneous")) + .set_description(_("When checked the width takes the length of the spline to interpolate")) ); return ret; diff --git a/synfig-core/src/modules/mod_geometry/rectangle.cpp b/synfig-core/src/modules/mod_geometry/rectangle.cpp index ee50b80..0d4b94a 100644 --- a/synfig-core/src/modules/mod_geometry/rectangle.cpp +++ b/synfig-core/src/modules/mod_geometry/rectangle.cpp @@ -122,15 +122,18 @@ Rectangle::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") .set_local_name(_("Point 1")) .set_box("point2") + .set_description(_("First corner of the rectangle")) ); ret.push_back(ParamDesc("point2") .set_local_name(_("Point 2")) + .set_description(_("Second corner of the rectangle")) ); ret.push_back(ParamDesc("expand") diff --git a/synfig-core/src/modules/mod_geometry/region.cpp b/synfig-core/src/modules/mod_geometry/region.cpp index 462d30e..4fa6cdf 100644 --- a/synfig-core/src/modules/mod_geometry/region.cpp +++ b/synfig-core/src/modules/mod_geometry/region.cpp @@ -231,6 +231,7 @@ Region::get_param_vocab()const ret.push_back(ParamDesc("bline") .set_local_name(_("Vertices")) .set_origin("origin") + .set_description(_("A list of BLine Points")) ); return ret; diff --git a/synfig-core/src/modules/mod_gradient/radialgradient.cpp b/synfig-core/src/modules/mod_gradient/radialgradient.cpp index a9a3bb9..825557b 100644 --- a/synfig-core/src/modules/mod_gradient/radialgradient.cpp +++ b/synfig-core/src/modules/mod_gradient/radialgradient.cpp @@ -110,10 +110,12 @@ RadialGradient::get_param_vocab()const ret.push_back(ParamDesc("gradient") .set_local_name(_("Gradient")) + .set_description(_("Gradient to apply")) ); ret.push_back(ParamDesc("center") .set_local_name(_("Center")) + .set_description(_("Center of the gradient")) ); ret.push_back(ParamDesc("radius") @@ -125,10 +127,12 @@ RadialGradient::get_param_vocab()const ret.push_back(ParamDesc("loop") .set_local_name(_("Loop")) + .set_description(_("When checked the gradient is looped")) ); ret.push_back(ParamDesc("zigzag") .set_local_name(_("ZigZag")) + .set_description(_("When checked the gradient is summetrical at the center")) ); return ret; diff --git a/synfig-core/src/modules/mod_gradient/spiralgradient.cpp b/synfig-core/src/modules/mod_gradient/spiralgradient.cpp index 3a2fee5..b4b70c4 100644 --- a/synfig-core/src/modules/mod_gradient/spiralgradient.cpp +++ b/synfig-core/src/modules/mod_gradient/spiralgradient.cpp @@ -109,10 +109,12 @@ SpiralGradient::get_param_vocab()const ret.push_back(ParamDesc("gradient") .set_local_name(_("Gradient")) + .set_description(_("Gradient to apply")) ); ret.push_back(ParamDesc("center") .set_local_name(_("Center")) + .set_description(_("Center of the gradient")) ); ret.push_back(ParamDesc("radius") @@ -124,11 +126,13 @@ SpiralGradient::get_param_vocab()const ret.push_back(ParamDesc("angle") .set_local_name(_("Angle")) + .set_description(_("Rotation of the spiral")) .set_origin("center") ); ret.push_back(ParamDesc("clockwise") .set_local_name(_("Clockwise")) + .set_description(_("When checked the spiral turns clockwise")) ); return ret; diff --git a/synfig-core/src/modules/mod_particle/plant.cpp b/synfig-core/src/modules/mod_particle/plant.cpp index 7ffdfe3..4e1c0cc 100644 --- a/synfig-core/src/modules/mod_particle/plant.cpp +++ b/synfig-core/src/modules/mod_particle/plant.cpp @@ -395,6 +395,7 @@ Plant::get_param_vocab()const ret.push_back(ParamDesc("origin") .set_local_name(_("Origin")) + .set_description(_("Offset for the Vertices List")) ); ret.push_back(ParamDesc("gradient") diff --git a/synfig-core/src/synfig/layer_pastecanvas.cpp b/synfig-core/src/synfig/layer_pastecanvas.cpp index 6cdd09f..2181a83 100644 --- a/synfig-core/src/synfig/layer_pastecanvas.cpp +++ b/synfig-core/src/synfig/layer_pastecanvas.cpp @@ -142,10 +142,12 @@ Layer_PasteCanvas::get_param_vocab()const ret.push_back(ParamDesc("time_offset") .set_local_name(_("Time Offset")) + .set_description(_("Time Offset to apply to the context")) ); ret.push_back(ParamDesc("children_lock") .set_local_name(_("Children Lock")) + .set_description(_("When checked prevents to select the children using the mouse click")) ); ret.push_back(ParamDesc("focus") diff --git a/synfig-core/src/synfig/layer_polygon.cpp b/synfig-core/src/synfig/layer_polygon.cpp index 8c92f8f..b7192e5 100644 --- a/synfig-core/src/synfig/layer_polygon.cpp +++ b/synfig-core/src/synfig/layer_polygon.cpp @@ -172,6 +172,7 @@ Layer_Polygon::get_param_vocab()const ret.push_back(ParamDesc("vector_list") .set_local_name(_("Vector List")) + .set_description(_("Define the corners of the polygon")) .set_origin("origin") ); diff --git a/synfig-core/src/synfig/layer_solidcolor.cpp b/synfig-core/src/synfig/layer_solidcolor.cpp index be1ffdc..690bb41 100644 --- a/synfig-core/src/synfig/layer_solidcolor.cpp +++ b/synfig-core/src/synfig/layer_solidcolor.cpp @@ -99,6 +99,7 @@ Layer_SolidColor::get_param_vocab()const ret.push_back(ParamDesc("color") .set_local_name(_("Color")) + .set_description(_("Fill color of the layer")) ); return ret;