Emmanuele Bassi
73adac987d
2008-09-23 Emmanuele Bassi <ebassi@linux.intel.com>
...
* clutter/clutter-alpha.c:
(clutter_alpha_get_alpha): Do not return the cached value but
just compute the current alpha value. The use case is pretty
much straightforward: stop a timeline, advance it, and retrieve
the alpha value before starting the timeline to adjust an
animation dependent on the alpha. Caching the alpha value is
not needed because the behaviours will always pass the alpha
value inside the ::alpha-notify virtual function anyway, so
there is no need for them to call clutter_alpha_get_alpha().
This change makes it also possible to reliably unit-test
ClutterAlpha.
(timeline_new_frame_cb): Call clutter_alpha_get_alpha().
2008-09-23 09:41:08 +00:00
..
2008-09-18 13:16:15 +00:00
2008-09-22 16:36:27 +00:00
2008-09-22 16:36:27 +00:00
2008-07-02 13:44:53 +00:00
2008-09-17 13:25:50 +00:00
2008-04-09 14:18:42 +00:00
2008-06-29 10:31:31 +00:00
2008-06-27 14:36:59 +00:00
2008-06-26 21:42:44 +00:00
2008-09-16 16:00:31 +00:00
2008-09-23 07:03:35 +00:00
2008-09-17 10:40:32 +00:00
2008-07-05 15:56:03 +00:00
2008-09-23 09:41:08 +00:00
2008-04-18 15:03:30 +00:00
2008-06-26 21:42:44 +00:00
2008-06-26 21:42:44 +00:00
2007-11-19 16:35:46 +00:00
2008-07-01 10:08:28 +00:00
2008-01-21 16:07:28 +00:00
2008-01-21 16:07:28 +00:00
2007-12-17 17:16:49 +00:00
2007-11-27 12:34:28 +00:00
2008-01-18 11:02:34 +00:00
2008-01-18 11:02:34 +00:00
2008-02-08 15:39:41 +00:00
2007-08-07 14:03:58 +00:00
2007-12-17 17:16:49 +00:00
2007-11-13 13:21:56 +00:00
2008-02-11 20:31:16 +00:00
2008-01-30 12:13:26 +00:00
2008-05-01 09:28:41 +00:00
2008-07-01 10:08:28 +00:00
2008-08-06 10:20:57 +00:00
2008-05-28 13:48:11 +00:00
2008-07-17 10:08:52 +00:00
2006-12-12 20:20:04 +00:00
2008-05-28 14:03:28 +00:00
2007-08-07 14:03:58 +00:00
2008-08-06 10:20:57 +00:00
2008-06-12 11:43:25 +00:00
2008-03-28 22:50:55 +00:00
2008-07-23 12:20:35 +00:00
2008-04-30 16:27:18 +00:00
2008-01-30 12:13:26 +00:00
2008-08-18 15:33:38 +00:00
2008-03-06 12:39:24 +00:00
2007-12-25 11:41:10 +00:00
2007-08-20 20:16:15 +00:00
2008-07-01 11:51:20 +00:00
2008-07-01 11:51:20 +00:00
2008-06-06 13:44:22 +00:00
2008-06-10 17:11:14 +00:00
2008-07-11 10:36:07 +00:00
2008-07-30 15:47:43 +00:00
2008-05-09 16:27:06 +00:00
2008-05-09 16:27:06 +00:00
2008-07-17 10:08:52 +00:00
2008-03-28 22:50:55 +00:00
2008-03-09 19:07:17 +00:00
2008-03-07 17:34:40 +00:00
2008-04-23 13:58:58 +00:00
2008-06-10 06:37:46 +00:00
2008-08-05 10:54:40 +00:00
2008-09-12 10:31:44 +00:00
2007-11-19 21:14:16 +00:00
2008-03-19 18:33:33 +00:00
2008-01-09 14:40:31 +00:00
2008-09-23 07:03:35 +00:00
2008-09-23 07:03:35 +00:00
2008-06-15 12:50:05 +00:00
2008-02-15 15:18:02 +00:00
2006-11-15 23:37:53 +00:00
2008-01-09 14:18:53 +00:00
2008-07-30 10:32:25 +00:00
2008-05-15 14:31:43 +00:00
2008-09-23 07:03:35 +00:00
2008-07-17 10:08:52 +00:00
2006-11-20 22:20:48 +00:00
2008-08-19 10:55:49 +00:00
2008-03-19 11:46:57 +00:00
2008-08-04 16:21:27 +00:00
2008-08-04 16:21:27 +00:00
2008-08-27 12:16:56 +00:00
2008-08-27 12:16:56 +00:00
2007-11-14 11:32:24 +00:00
2007-11-23 13:11:10 +00:00
2008-07-03 12:29:03 +00:00
2008-04-11 12:00:50 +00:00
2008-06-03 20:15:11 +00:00
2008-03-28 22:50:55 +00:00
2008-04-04 15:02:11 +00:00
2008-04-25 13:37:36 +00:00
2008-09-18 10:24:37 +00:00
2008-04-25 13:37:36 +00:00
2008-08-01 12:23:57 +00:00
2008-07-01 10:08:28 +00:00
2008-08-01 11:09:43 +00:00
2008-06-10 06:37:46 +00:00
2008-04-17 16:50:23 +00:00
2007-06-09 13:20:06 +00:00
2008-09-17 10:40:40 +00:00
2008-05-09 10:58:26 +00:00
2008-07-30 15:47:43 +00:00
2008-02-12 17:17:52 +00:00
2007-01-23 20:29:11 +00:00
2008-03-31 17:15:02 +00:00
2008-07-14 13:46:31 +00:00
2008-06-30 15:58:25 +00:00