Clutter 0.8.2 Reference Manual | ||||
---|---|---|---|---|
ClutterBehaviourOpacity; 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);
typedef struct { ClutterBehaviourClass parent_class; } ClutterBehaviourOpacityClass;
ClutterBehaviour* clutter_behaviour_opacity_new (ClutterAlpha *alpha, guint8 opacity_start, guint8 opacity_end);
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
.
|
a ClutterAlpha instance, or NULL
|
|
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);
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);
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
|
|
return location for the maximum level of opacity, or NULL
|
Since 0.6
"opacity-end"
property"opacity-end" guint : Read / Write
Final opacity level of the behaviour.
Allowed values: <= 255
Default value: 0
Since 0.2
"opacity-start"
property"opacity-start" guint : Read / Write
Initial opacity level of the behaviour.
Allowed values: <= 255
Default value: 0
Since 0.2