Re: [PATCH weston 2/4 v2] Add animation helper functions for consistency.

2012-06-07 Thread Scott Moreau
> Makes sense, but let's add a typedef for the function pointer. > Kristian > Sounds good. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH weston 2/4 v2] Add animation helper functions for consistency.

2012-06-07 Thread Kristian Høgsberg
On Thu, Jun 07, 2012 at 11:03:31AM -0600, Scott Moreau wrote: > This patch introduces two additional functions: > > weston_animation_init() - Initializes an animation and sets the frame handler. > weston_animation_exists() - Checks if an animation is in any list. > --- > > The animation should be

[PATCH weston 2/4 v2] Add animation helper functions for consistency.

2012-06-07 Thread Scott Moreau
This patch introduces two additional functions: weston_animation_init() - Initializes an animation and sets the frame handler. weston_animation_exists() - Checks if an animation is in any list. --- The animation should be initialized consistently so weston_animation_exists() always works. src/c