//! Now inserts the two parameters that this layer knows.
ret.push_back(ParamDesc(amount,"amount")
.set_local_name(_("Amount"))
+ .set_description(_("Alpha channel of the layer"))
);
ret.push_back(ParamDesc(blend_method,"blend_method")
.set_local_name(_("Blend Method"))
+ .set_description(_("The blending method used to composite on the layers below"))
);
return ret;
//! to see if it can handle that parameter's string.
return Layer::get_param(param);
}
-
-bool
-Layer_Composite::set_param_static(const String ¶m, const bool x)
-{
-
- //SET_STATIC(amount, x)
- //SET_STATIC(blend_method, x)
-
- return Layer::set_param_static(param, x);
-}
-
-
-bool
-Layer_Composite::get_param_static(const String ¶m) const
-{
-
- //GET_STATIC(amount);
- //GET_STATIC(blend_method);
-
- return Layer::get_param_static(param);
-}