Emmanuele Bassi
28b0f432b7
[animation] Allow registering custom progress function
...
A ClutterInterval can change the way the progress is computed
by subclassing and overriding the ::compute_value() virtual function.
It should also be possible to register a custom progress function
in the same way it is possible to register a custom transformation
function between two GValues.
This commit adds an internal, global hash table that maintains a
GType <-> progress function association; each ClutterInterval
will check if there is a progress function registered for the
GType of the initial and final values of the interval and, if
it has been found, it will call it to compute the value of the
interval depending on the progress factor.
2009-01-08 11:15:09 +00:00
..
2008-12-24 00:48:32 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 17:04:34 +00:00
2008-12-18 17:54:35 +00:00
2008-04-09 14:18:42 +00:00
2008-10-30 17:04:34 +00:00
2008-11-21 16:18:31 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 17:04:34 +00:00
2008-12-22 13:11:59 +00:00
2009-01-05 13:19:40 +00:00
2008-12-10 23:00:48 +00:00
2009-01-05 13:19:40 +00:00
2008-11-18 12:42:05 +00:00
2009-01-07 18:18:59 +00:00
2008-11-18 09:50:03 +00:00
2008-10-30 17:11:29 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 16:37:55 +00:00
2008-10-30 17:04:34 +00:00
2008-12-13 11:53:03 +00:00
2008-10-30 17:04:34 +00:00
2008-01-18 11:02:34 +00:00
2008-10-30 17:04:34 +00:00
2008-12-16 15:39:53 +00:00
2008-12-05 13:13:37 +00:00
2008-12-23 20:55:35 +00:00
2008-10-30 17:04:34 +00:00
2008-10-30 16:37:55 +00:00
2008-10-30 17:04:34 +00:00
2009-01-05 13:19:40 +00:00
2008-10-30 17:04:34 +00:00
2008-12-05 13:13:37 +00:00
2008-12-05 13:13:37 +00:00
2008-12-08 13:57:10 +00:00
2008-12-08 14:22:52 +00:00
2008-12-19 17:48:30 +00:00
2008-12-21 21:52:50 +00:00
2008-08-06 10:20:57 +00:00
2008-10-30 17:04:34 +00:00
2009-01-05 13:19:40 +00:00
2008-10-30 17:04:34 +00:00
2008-11-05 12:16:15 +00:00
2008-10-30 17:04:34 +00:00
2008-10-16 10:28:17 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 09:50:03 +00:00
2008-11-18 09:50:03 +00:00
2008-12-05 13:13:37 +00:00
2008-10-30 17:04:34 +00:00
2008-12-05 14:29:57 +00:00
2008-10-30 17:04:34 +00:00
2007-12-25 11:41:10 +00:00
2007-08-20 20:16:15 +00:00
2008-12-08 13:57:10 +00:00
2008-12-08 13:57:10 +00:00
2008-06-06 13:44:22 +00:00
2008-10-30 17:04:34 +00:00
2008-12-15 14:29:59 +00:00
2008-10-31 12:07:01 +00:00
2008-05-09 16:27:06 +00:00
2008-10-30 17:04:34 +00:00
2008-11-26 16:46:48 +00:00
2008-10-30 17:04:34 +00:00
2008-03-09 19:07:17 +00:00
2008-10-30 17:04:34 +00:00
2009-01-08 11:15:09 +00:00
2009-01-08 11:15:09 +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-12-05 14:08:06 +00:00
2008-10-30 17:04:34 +00:00
2008-03-19 18:33:33 +00:00
2008-10-30 17:04:34 +00:00
2008-12-08 12:02:36 +00:00
2008-10-30 17:11:29 +00:00
2008-12-08 13:57:10 +00:00
2008-11-21 16:18:38 +00:00
2008-10-30 17:04:34 +00:00
2008-01-09 14:18:53 +00:00
2008-07-30 10:32:25 +00:00
2008-10-30 17:04:34 +00:00
2008-12-19 18:21:36 +00:00
2008-12-21 21:52:50 +00:00
2008-11-07 16:31:56 +00:00
2008-11-17 14:21:49 +00:00
2008-10-30 17:04:34 +00:00
2008-11-25 13:19:48 +00:00
2008-10-30 17:04:34 +00:00
2008-08-04 16:21:27 +00:00
2008-08-04 16:21:27 +00:00
2008-11-18 18:53:10 +00:00
2008-10-30 17:04:34 +00:00
2007-11-14 11:32:24 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2008-06-03 20:15:11 +00:00
2008-10-30 17:04:34 +00:00
2008-04-04 15:02:11 +00:00
2008-10-30 17:04:34 +00:00
2008-12-11 15:41:25 +00:00
2008-10-30 17:04:34 +00:00
2009-01-05 11:11:10 +00:00
2008-12-24 00:48:32 +00:00
2008-12-05 17:44:12 +00:00
2008-10-30 17:04:34 +00:00
2008-09-23 13:25:31 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 12:42:05 +00:00
2008-05-09 10:58:26 +00:00
2008-10-30 17:04:34 +00:00
2008-02-12 17:17:52 +00:00
2008-10-30 17:04:34 +00:00
2008-03-31 17:15:02 +00:00
2008-12-11 15:34:47 +00:00
2008-12-11 15:34:47 +00:00