[animation] Add Animation::update()
Currently, to update a property inside an animation you have to get the interval for that property and then call the set_final_value() method. We can provide a simpler, bind()-like method for the convenience of the developers that just validates everything and then calls the Interval.set_final_value().
This commit is contained in:
@ -126,6 +126,9 @@ ClutterAnimation * clutter_animation_bind_interval (ClutterAnimation *an
|
||||
ClutterInterval *interval);
|
||||
gboolean clutter_animation_has_property (ClutterAnimation *animation,
|
||||
const gchar *property_name);
|
||||
ClutterAnimation * clutter_animation_update (ClutterAnimation *animation,
|
||||
const gchar *property_name,
|
||||
const GValue *final);
|
||||
void clutter_animation_update_interval (ClutterAnimation *animation,
|
||||
const gchar *property_name,
|
||||
ClutterInterval *interval);
|
||||
|
Reference in New Issue
Block a user