Module: synfig/synfig Branch: genete_width_outline Commit: 637b0a96b6f8b5a556c0805f9507b5de2974de47 URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig/synfig;a=commit;h=637b0a96b6f8b5a556c0805f9507b5de2974de47
Author: Carlos Lopez <[email protected]> Date: Mon Jan 17 19:47:36 2011 +0100 Change connect/disconnect dynamic parameter to be virtual members. --- synfig-core/src/synfig/layer.h | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/synfig-core/src/synfig/layer.h b/synfig-core/src/synfig/layer.h index a867197..476abbb 100644 --- a/synfig-core/src/synfig/layer.h +++ b/synfig-core/src/synfig/layer.h @@ -367,12 +367,6 @@ public: //! \see DynamicParamList const DynamicParamList &dynamic_param_list()const { return dynamic_param_list_; } - //! Connects the parameter to another Value Node - bool connect_dynamic_param(const String& param, etl::loose_handle<ValueNode>); - - //! Disconnects the parameter from any Value Node - bool disconnect_dynamic_param(const String& param); - //! Enables the layer for rendering (Making it \em active) void enable() { set_active(true); } @@ -542,6 +536,13 @@ public: //! Duplicates the Layer without duplicating the value nodes virtual Handle simple_clone()const; + //! Connects the parameter to another Value Node + virtual bool connect_dynamic_param(const String& param, etl::loose_handle<ValueNode>); + + //! Disconnects the parameter from any Value Node + virtual bool disconnect_dynamic_param(const String& param); + + protected: //! This is called whenever a parameter is changed ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Synfig-devl mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synfig-devl
