2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-depth.c: Clarify the depth behaviour even more in the description used by the API reference.
This commit is contained in:
parent
46506cb93e
commit
679ce128e4
@ -1,6 +1,11 @@
|
|||||||
2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
|
2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter/clutter-behaviour-depth.c: Clarify that what drives
|
* clutter/clutter-behaviour-depth.c: Clarify the depth behaviour
|
||||||
|
even more in the description used by the API reference.
|
||||||
|
|
||||||
|
2007-08-04 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-behaviour-depth.[ch]: Clarify that what drives
|
||||||
the movement along the Z axis is the ClutterAlpha object (we
|
the movement along the Z axis is the ClutterAlpha object (we
|
||||||
don't have the luxury of a rollover like the opacity does);
|
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
|
so, if you want to go from 0 to -100 you have to use a
|
||||||
|
@ -44,9 +44,17 @@
|
|||||||
* The minimum and maximum depth are controlled by the
|
* The minimum and maximum depth are controlled by the
|
||||||
* ClutterBehaviourDepth:min-depth and ClutterBehaviourDepth:max-depth
|
* ClutterBehaviourDepth:min-depth and ClutterBehaviourDepth:max-depth
|
||||||
* properties. The direction of the motion on the depth axis is controlled
|
* properties. The direction of the motion on the depth axis is controlled
|
||||||
* by the #ClutterAlpha object.
|
* by the #ClutterAlpha object. If you want to make a #ClutterActor
|
||||||
|
* controlled by the #ClutterBehaviourDepth behaviour from a depth of
|
||||||
|
* 0 to a depth of 100 you will have to use an increasing alpha function,
|
||||||
|
* like %CLUTTER_ALPHA_RAMP_INC. On the other hand, if you want to make
|
||||||
|
* the same actor move from a depth of 100 to a depth of 0 you will have
|
||||||
|
* to use a decreasing alpha function, like %CLUTTER_ALPHA_RAMP_DEC. Using
|
||||||
|
* a minimum depth greater than the maximum depth and a decreasing alpha
|
||||||
|
* function, or using a maximum depth greater than the minimum depth and
|
||||||
|
* an increasing alpha function will result in an undefined behaviour.
|
||||||
*
|
*
|
||||||
* Since: 0.4
|
* #ClutterBehaviourDepth is available since Clutter 0.4.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
G_DEFINE_TYPE (ClutterBehaviourDepth,
|
G_DEFINE_TYPE (ClutterBehaviourDepth,
|
||||||
|
Loading…
Reference in New Issue
Block a user