Øyvind Kolås a1b240d31b Made it possible to do picking when the colors stored in the
framebuffer are only approximately the correct value.
* clutter/clutter-actor.c: 
(init_bits): initialize constants about how many bits are
available/will be used for r,g,b components.
(_clutter_pix_to_id): now own function, compute an id from a
pixel into its own function (used from _clutter_do_pick). 
(_clutter_id_to_col): now own function, computes the color to use for
a given id.
(clutter_actor_paint): use clutter_id_to_col.
* clutter/clutter-main.c:
(_clutter_do_pick): use _clutter_pix_to_id
(clutter_main): re-enable invocation of fruity app shell.
2008-05-13 18:40:14 +00:00
..
2008-05-13 04:56:06 +00:00
2008-05-07 16:12:54 +00:00
2007-08-07 14:03:58 +00:00
2008-04-17 16:50:23 +00:00
2008-02-15 15:18:02 +00:00
2008-05-07 16:12:54 +00:00