![]() |
![]() |
![]() |
Clutter Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct ClutterBehaviourOpacity; struct ClutterBehaviourOpacityClass; ClutterBehaviour * clutter_behaviour_opacity_new (ClutterAlpha *alpha
,guint8 opacity_start
,guint8 opacity_end
); void clutter_behaviour_opacity_set_bounds (ClutterBehaviourOpacity *behaviour
,guint8 opacity_start
,guint8 opacity_end
); void clutter_behaviour_opacity_get_bounds (ClutterBehaviourOpacity *behaviour
,guint8 *opacity_start
,guint8 *opacity_end
);
struct ClutterBehaviourOpacity;
ClutterBehaviourOpacity
has been deprecated since version 1.6 and should not be used in newly-written code. Use clutter_actor_animate()
and "opacity"
instead.
The ClutterBehaviourOpacity structure contains only private data and should be accessed using the provided API
Since 0.2
struct ClutterBehaviourOpacityClass { };
ClutterBehaviourOpacityClass
is deprecated and should not be used in newly-written code. 1.6
The ClutterBehaviourOpacityClass structure contains only private data
Since 0.2
ClutterBehaviour * clutter_behaviour_opacity_new (ClutterAlpha *alpha
,guint8 opacity_start
,guint8 opacity_end
);
clutter_behaviour_opacity_new
is deprecated and should not be used in newly-written code. 1.6
Creates a new ClutterBehaviourOpacity object, driven by alpha
which controls the opacity property of every actor, making it
change in the interval between opacity_start
and opacity_end
.
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]
|
|
minimum level of opacity |
|
maximum level of opacity |
Returns : |
the newly created ClutterBehaviourOpacity |
Since 0.2
void clutter_behaviour_opacity_set_bounds (ClutterBehaviourOpacity *behaviour
,guint8 opacity_start
,guint8 opacity_end
);
clutter_behaviour_opacity_set_bounds
is deprecated and should not be used in newly-written code. 1.6
Sets the initial and final levels of the opacity applied by behaviour
on each actor it controls.
|
a ClutterBehaviourOpacity |
|
minimum level of opacity |
|
maximum level of opacity |
Since 0.6
void clutter_behaviour_opacity_get_bounds (ClutterBehaviourOpacity *behaviour
,guint8 *opacity_start
,guint8 *opacity_end
);
clutter_behaviour_opacity_get_bounds
is deprecated and should not be used in newly-written code. 1.6
Gets the initial and final levels of the opacity applied by behaviour
on each actor it controls.
|
a ClutterBehaviourOpacity |
|
return location for the minimum level of opacity, or NULL . [out]
|
|
return location for the maximum level of opacity, or NULL . [out]
|
Since 0.6