aa623df78f
* clutter/clutter-behaviour.h: Add a function prototype for the foreach function: we need something more specific than GFunc; add clutter_behaviour_get_actors(), used to get a list of the actors. * clutter/clutter-behaviour.c: Add debugging notes; add a warning for behaviour implementations missing the alpha_notify vfunc; add api documentation * clutter/clutter-behaviour-opacity.c: * clutter/clutter-behaviour-path.c: * clutter/clutter-behaviour-scale.c: Reimplement the alpha_notify functions using the new foreach function and, where possible, by directly iterating on the actors: this shaves off the number of recalculations of the property/alpha values, and the number of functions.
110 lines
1.3 KiB
Plaintext
110 lines
1.3 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
ClutterBehaviour
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### STRUCT ClutterBehaviour ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### ARG ClutterBehaviour:alpha ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### STRUCT ClutterBehaviourClass ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@parent_class:
|
|
@alpha_notify:
|
|
@_clutter_behaviour1:
|
|
@_clutter_behaviour2:
|
|
@_clutter_behaviour3:
|
|
@_clutter_behaviour4:
|
|
@_clutter_behaviour5:
|
|
@_clutter_behaviour6:
|
|
|
|
<!-- ##### FUNCTION clutter_behaviour_apply ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@behave:
|
|
@actor:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_behaviour_remove ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@behave:
|
|
@actor:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION ClutterBehaviourForeachFunc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@behaviour:
|
|
@actor:
|
|
@data:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_behaviour_actors_foreach ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@behave:
|
|
@func:
|
|
@data:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_behaviour_get_actors ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@behave:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_behaviour_get_alpha ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@behave:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_behaviour_set_alpha ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@behave:
|
|
@alpha:
|
|
|
|
|