![]() |
![]() |
![]() |
Clutter Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct ClutterBehaviourDepth; struct ClutterBehaviourDepthClass; ClutterBehaviour * clutter_behaviour_depth_new (ClutterAlpha *alpha
,gint depth_start
,gint depth_end
); void clutter_behaviour_depth_set_bounds (ClutterBehaviourDepth *behaviour
,gint depth_start
,gint depth_end
); void clutter_behaviour_depth_get_bounds (ClutterBehaviourDepth *behaviour
,gint *depth_start
,gint *depth_end
);
ClutterBehaviourDepth is a simple ClutterBehaviour controlling the depth of a set of actors between a start and end depth.
ClutterBehaviourDepth is available since Clutter 0.4.
struct ClutterBehaviourDepth;
ClutterBehaviourDepth
has been deprecated since version 1.6 and should not be used in newly-written code. Use clutter_actor_animate()
with "depth"
instead.
The ClutterBehaviourDepth structure contains only private data and should be accessed using the provided API
Since 0.2
struct ClutterBehaviourDepthClass { };
ClutterBehaviourDepthClass
is deprecated and should not be used in newly-written code. 1.6
The ClutterBehaviourDepthClass structure contains only private data
Since 0.2
ClutterBehaviour * clutter_behaviour_depth_new (ClutterAlpha *alpha
,gint depth_start
,gint depth_end
);
clutter_behaviour_depth_new
is deprecated and should not be used in newly-written code. 1.6
Creates a new ClutterBehaviourDepth which can be used to control the ClutterActor:depth property of a set of ClutterActors.
If alpha
is not NULL
, the ClutterBehaviour will take ownership
of the ClutterAlpha instance. In the case when alpha
is NULL
,
it can be set later with clutter_behaviour_set_alpha()
.
|
a ClutterAlpha instance, or NULL . [allow-none]
|
|
initial value of the depth |
|
final value of the depth |
Returns : |
the newly created behaviour. [transfer full] |
Since 0.4
void clutter_behaviour_depth_set_bounds (ClutterBehaviourDepth *behaviour
,gint depth_start
,gint depth_end
);
clutter_behaviour_depth_set_bounds
is deprecated and should not be used in newly-written code. 1.6
Sets the boundaries of the behaviour
.
|
a ClutterBehaviourDepth |
|
initial value of the depth |
|
final value of the depth |
Since 0.6
void clutter_behaviour_depth_get_bounds (ClutterBehaviourDepth *behaviour
,gint *depth_start
,gint *depth_end
);
clutter_behaviour_depth_get_bounds
is deprecated and should not be used in newly-written code. 1.6
Gets the boundaries of the behaviour
|
a ClutterBehaviourDepth |
|
return location for the initial depth value, or NULL . [out]
|
|
return location for the final depth value, or NULL . [out]
|
Since 0.6