cursor: Add function for calculating current frame in cursor animation
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 15 Jun 2012 14:27:33 +0000 (17:27 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 15 Jun 2012 14:53:58 +0000 (10:53 -0400)
commit6b861f7b4d7a6669e9496331d80fc2a63ed4bd4b
tree7dd3c94c299c519938fe01b6de133e7490e27f43
parentb6aa49455e72034760ea852ad4a20b29ec76e7fc
cursor: Add function for calculating current frame in cursor animation

Given a pointer to struct wl_cursor and an elapsed time in ms.,
wl_cursor_frame() will return the index of the cursor image the should
be displayed.
cursor/wayland-cursor.c
cursor/wayland-cursor.h