2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
authorEmmanuele Bassi <ebassi@openedhand.com>
Sat, 4 Aug 2007 08:59:18 +0000 (08:59 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Sat, 4 Aug 2007 08:59:18 +0000 (08:59 +0000)
commit46506cb93e768d58b17a91ec98425e6bf5691a25
tree365db35c12e0e1abb669df447385e57a5dec28ab
parent7cd4ee05172e8f2f866c80e89f2eecbf2590c18a
2007-08-04  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-behaviour-depth.c: Clarify that what drives
the movement along the Z axis is the ClutterAlpha object (we
don't have the luxury of a rollover like the opacity does);
so, if you want to go from 0 to -100 you have to use a
decreasing function, just as well if you want to go from 100
to 0. Using a min-depth of 100 and a max-depth of 0 and an
increasing function is undefined behaviour.

* tests/Makefile.am:
* tests/test-depth.c: Add a test case for the depth behaviour.
ChangeLog
clutter/clutter-behaviour-depth.c
clutter/clutter-behaviour-depth.h
doc/reference/clutter-sections.txt
tests/Makefile.am
tests/test-depth.c [new file with mode: 0644]