Use map of static values indexed by parameter name instead of the macros and the...
[synfig.git] / synfig-core / src / modules / mod_geometry / circle.cpp
index d8f51a7..6721ad4 100644 (file)
@@ -69,6 +69,8 @@ Circle::Circle():
        falloff                 (FALLOFF_INTERPOLATION_LINEAR)
 {
        constructcache();
+       Layer::Vocab voc(get_param_vocab());
+       Layer::fill_static(voc);
 }
 
 bool
@@ -116,6 +118,21 @@ Circle::get_param(const String &param)const
        return Layer_Composite::get_param(param);
 }
 
+
+bool
+Circle::set_param_static(const String &param, const bool x)
+{
+       return Layer_Composite::set_param_static(param, x);
+}
+
+
+bool
+Circle::get_param_static(const String &param) const
+{
+       return Layer_Composite::get_param_static(param);
+}
+
+
 Layer::Vocab
 Circle::get_param_vocab()const
 {