X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fmodules%2Fmod_example%2Fsimplecircle.cpp;h=a17fff28beeb37e244d957141bb771ac909f2a15;hb=d243d7ecee75cc386a751c79ce7085e92afcbf27;hp=e2eb8969d8bd9e02898078fb6427573136e1224d;hpb=ac5caa76ff6cc25a7923c86350851a84bb40a93a;p=synfig.git diff --git a/synfig-core/src/modules/mod_example/simplecircle.cpp b/synfig-core/src/modules/mod_example/simplecircle.cpp index e2eb896..a17fff2 100644 --- a/synfig-core/src/modules/mod_example/simplecircle.cpp +++ b/synfig-core/src/modules/mod_example/simplecircle.cpp @@ -65,11 +65,13 @@ SYNFIG_LAYER_SET_CVS_ID(SimpleCircle,"$Id$"); /* === E N T R Y P O I N T ================================================= */ SimpleCircle::SimpleCircle(): - Layer_Composite(1.0,Color::BLEND_STRAIGHT), + Layer_Composite(1.0,Color::BLEND_COMPOSITE), color(Color::black()), 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")