projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More descriptions for layer parameters
[synfig.git]
/
synfig-core
/
src
/
modules
/
lyr_std
/
twirl.cpp
diff --git
a/synfig-core/src/modules/lyr_std/twirl.cpp
b/synfig-core/src/modules/lyr_std/twirl.cpp
index
38d2097
..
fdd1d52
100644
(file)
--- a/
synfig-core/src/modules/lyr_std/twirl.cpp
+++ b/
synfig-core/src/modules/lyr_std/twirl.cpp
@@
-71,6
+71,8
@@
Twirl::Twirl():
distort_inside(true),
distort_outside(false)
{
distort_inside(true),
distort_outside(false)
{
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
bool
}
bool
@@
-107,6
+109,7
@@
Twirl::get_param_vocab()const
ret.push_back(ParamDesc("center")
.set_local_name(_("Center"))
ret.push_back(ParamDesc("center")
.set_local_name(_("Center"))
+ .set_description(_("Center of the circle"))
);
ret.push_back(ParamDesc("radius")
);
ret.push_back(ParamDesc("radius")
@@
-118,15
+121,18
@@
Twirl::get_param_vocab()const
ret.push_back(ParamDesc("rotations")
.set_local_name(_("Rotations"))
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_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"))
);
ret.push_back(ParamDesc("distort_outside")
.set_local_name(_("Distort Outside"))
+ .set_description(_("When checked, distorts outside the circle"))
);
return ret;
);
return ret;