mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
89e3e3a4cc
Bug 1438 - Implicit Animation API could use animatev variants The clutter_actor_animate* family of functions use va_lists to handle the property/value pairs for the final state of the animation. Language bindings have problems with variadic arguments functions, and usually prefer vector-based API which allow a greater level of control and conversion from native data types. For each variadic arguments function in the clutter_actor_animate* family there should be a vector-based version that takes: - the number of property/value pairs - a constant array of constant strings - an array of GValues Most of the internal implementation can be refactored from the current one, thus both the var_args and the vector entry points share a common implementation of the code; then, both versions of the API are just loops over a list of arguments. Based on a patch by: Robert Carr <carrr@rpi.edu> |
||
---|---|---|
.. | ||
clutter | ||
cogl | ||
ChangeLog | ||
Makefile.am |