docs: Add the Deprecate tag to Behaviours
And link the migration guide.
This commit is contained in:
parent
948461b8f2
commit
513f218c38
@ -44,6 +44,10 @@
|
|||||||
* depth of a set of actors between a start and end depth.
|
* depth of a set of actors between a start and end depth.
|
||||||
*
|
*
|
||||||
* #ClutterBehaviourDepth is available since Clutter 0.4.
|
* #ClutterBehaviourDepth is available since Clutter 0.4.
|
||||||
|
*
|
||||||
|
* Deprecated: 1.6: Use the #ClutterActor:depth property and
|
||||||
|
* clutter_actor_animate(), or #ClutterAnimator, or #ClutterState
|
||||||
|
* instead.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
G_DEFINE_TYPE (ClutterBehaviourDepth,
|
G_DEFINE_TYPE (ClutterBehaviourDepth,
|
||||||
|
@ -37,6 +37,9 @@
|
|||||||
* behaviour will update the actor's position and depth and set them
|
* behaviour will update the actor's position and depth and set them
|
||||||
* to what is dictated by the ellipses initial position.</para></note>
|
* to what is dictated by the ellipses initial position.</para></note>
|
||||||
*
|
*
|
||||||
|
* Deprecated: 1.6: Use clutter_actor_animate(), #ClutterPath and a
|
||||||
|
* #ClutterPathConstraint instead.
|
||||||
|
*
|
||||||
* Since: 0.4
|
* Since: 0.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -30,6 +30,10 @@
|
|||||||
* #ClutterBehaviourOpacity controls the opacity of a set of actors.
|
* #ClutterBehaviourOpacity controls the opacity of a set of actors.
|
||||||
*
|
*
|
||||||
* Since: 0.2
|
* Since: 0.2
|
||||||
|
*
|
||||||
|
* Deprecated: 1.6: Use the #ClutterActor:opacity property and
|
||||||
|
* clutter_actor_animate(), or #ClutterAnimator, or #ClutterState
|
||||||
|
* instead.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
@ -58,6 +58,9 @@
|
|||||||
* starting #ClutterKnot.</note>
|
* starting #ClutterKnot.</note>
|
||||||
*
|
*
|
||||||
* #ClutterBehaviourPath is available since Clutter 0.2
|
* #ClutterBehaviourPath is available since Clutter 0.2
|
||||||
|
*
|
||||||
|
* Deprecated: 1.6: Use #ClutterPath and #ClutterPathConstraint with
|
||||||
|
* clutter_actor_animate() instead.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
@ -29,6 +29,10 @@
|
|||||||
* angle on a given axis.
|
* angle on a given axis.
|
||||||
*
|
*
|
||||||
* The #ClutterBehaviourRotate is available since version 0.4.
|
* The #ClutterBehaviourRotate is available since version 0.4.
|
||||||
|
*
|
||||||
|
* Deprecated: 1.6: Use the #ClutterActor rotation properties and
|
||||||
|
* clutter_actor_animate(), or #ClutterAnimator, or #ClutterState
|
||||||
|
* instead.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
@ -29,6 +29,10 @@
|
|||||||
* and #ClutterActor:scale-y instead.
|
* and #ClutterActor:scale-y instead.
|
||||||
*
|
*
|
||||||
* A #ClutterBehaviourScale interpolates actors size between two values.
|
* A #ClutterBehaviourScale interpolates actors size between two values.
|
||||||
|
*
|
||||||
|
* Deprecated: 1.6: Use the #ClutterActor:scale-x and #ClutterActor:scale-y
|
||||||
|
* properties, and clutter_actor_animate(), or #ClutterAnimator or
|
||||||
|
* #ClutterState instead.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
|
@ -25,7 +25,10 @@
|
|||||||
* SECTION:clutter-behaviour
|
* SECTION:clutter-behaviour
|
||||||
* @Title: ClutterBehaviour
|
* @Title: ClutterBehaviour
|
||||||
* @short_description: Class for providing behaviours to actors
|
* @short_description: Class for providing behaviours to actors
|
||||||
* @Deprecated: 1.6: Use the implicit animation API instead.
|
*
|
||||||
|
* Deprecated: 1.6: Use clutter_actor_animate(), #ClutterAnimator and
|
||||||
|
* #ClutterState instead. See also <link linkend="migrating-ClutterBehaviour">the
|
||||||
|
* migration guide</link> for more information.
|
||||||
*
|
*
|
||||||
* #ClutterBehaviour is the base class for implementing behaviours. A
|
* #ClutterBehaviour is the base class for implementing behaviours. A
|
||||||
* behaviour is a controller object for #ClutterActor<!-- -->s; you can
|
* behaviour is a controller object for #ClutterActor<!-- -->s; you can
|
||||||
|
Loading…
x
Reference in New Issue
Block a user