[alpha] Allow registering alpha functions
authorEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 16 Jan 2009 13:42:06 +0000 (13:42 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 16 Jan 2009 14:37:35 +0000 (14:37 +0000)
commit74213e0ee35e8428783deaccab68dc9f9c8d72bb
tree0d9839ec1ae1799b58069e95cdfe441ddd40c21c
parent9339334a4370bb8d57ce0aff0bf46ef205f93f21
[alpha] Allow registering alpha functions

In order to unify alpha functions and animation modes in ClutterAlpha
we should be able to register alpha functions and get a logical id
for them; the logical id will then be available to be used by
clutter_alpha_set_mode().

The registration requires API changes in ClutterAlpha constructors
and methods. It also provides the chance to shift ClutterAlpha
towards the use of animations modes only, and to alpha functions
as a convenience API for language bindings alone.
15 files changed:
clutter/clutter-alpha.c
clutter/clutter-alpha.h
clutter/clutter-types.h
doc/reference/clutter/clutter-sections.txt
tests/interactive/test-actors.c
tests/interactive/test-behave.c
tests/interactive/test-depth.c
tests/interactive/test-layout.c
tests/interactive/test-multistage.c
tests/interactive/test-paint-wrapper.c
tests/interactive/test-rotate.c
tests/interactive/test-scale.c
tests/interactive/test-texture-quality.c
tests/interactive/test-threads.c
tests/interactive/test-viewport.c