mirror of
https://github.com/brl/mutter.git
synced 2024-12-22 19:12:04 +00:00
2007-01-18 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-group.h: Add public functions clutter_group_get_n_children() and clutter_group_get_nth_child(). * clutter/clutter-behaviour.h: * clutter/clutter-behaviour.c: Fix header alignment; fix argument name for apidoc.
This commit is contained in:
parent
bf688bbbeb
commit
39720f248b
@ -1,3 +1,12 @@
|
||||
2007-01-18 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-group.h: Add public functions
|
||||
clutter_group_get_n_children() and clutter_group_get_nth_child().
|
||||
|
||||
* clutter/clutter-behaviour.h:
|
||||
* clutter/clutter-behaviour.c: Fix header alignment; fix argument
|
||||
name for apidoc.
|
||||
|
||||
2007-01-18 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/Makefile.am: Use the build dir when linking to the
|
||||
|
@ -265,7 +265,7 @@ clutter_behaviour_get_n_actors (ClutterBehaviour *behave)
|
||||
/**
|
||||
* clutter_behaviour_get_nth_actor:
|
||||
* @behave: a #ClutterBehaviour
|
||||
* @num: the index of an actor this behaviour is applied too.
|
||||
* @index: the index of an actor this behaviour is applied too.
|
||||
*
|
||||
* Gets an actor the behaviour was applied to referenced by index num.
|
||||
*
|
||||
@ -275,11 +275,11 @@ clutter_behaviour_get_n_actors (ClutterBehaviour *behave)
|
||||
*/
|
||||
ClutterActor*
|
||||
clutter_behaviour_get_nth_actor (ClutterBehaviour *behave,
|
||||
gint num)
|
||||
gint index)
|
||||
{
|
||||
g_return_val_if_fail (CLUTTER_IS_BEHAVIOUR (behave), NULL);
|
||||
|
||||
return g_slist_nth_data (behave->priv->actors, num);
|
||||
return g_slist_nth_data (behave->priv->actors, index);
|
||||
}
|
||||
|
||||
|
||||
|
@ -106,12 +106,8 @@ void clutter_behaviour_actors_foreach (ClutterBehaviour *beh
|
||||
ClutterBehaviourForeachFunc func,
|
||||
gpointer data);
|
||||
gint clutter_behaviour_get_n_actors (ClutterBehaviour *behave);
|
||||
|
||||
ClutterActor *clutter_behaviour_get_nth_actor (ClutterBehaviour *behave,
|
||||
gint num);
|
||||
|
||||
|
||||
|
||||
gint index);
|
||||
GSList * clutter_behaviour_get_actors (ClutterBehaviour *behave);
|
||||
ClutterAlpha *clutter_behaviour_get_alpha (ClutterBehaviour *behave);
|
||||
void clutter_behaviour_set_alpha (ClutterBehaviour *behave,
|
||||
|
@ -253,7 +253,7 @@ clutter_group_get_children (ClutterGroup *self)
|
||||
}
|
||||
|
||||
/**
|
||||
* clutter_group_get_nth_child:
|
||||
* clutter_group_get_n_children:
|
||||
* @self: A #ClutterGroup
|
||||
*
|
||||
* Gets the number of actors held in the group.
|
||||
|
@ -107,6 +107,9 @@ void clutter_group_hide_all (ClutterGroup *self);
|
||||
|
||||
ClutterActor *clutter_group_find_child_by_id (ClutterGroup *self,
|
||||
guint id);
|
||||
ClutterActor *clutter_group_get_nth_child (ClutterGroup *self,
|
||||
gint index);
|
||||
gint clutter_group_get_n_children (ClutterGroup *self);
|
||||
void clutter_group_raise (ClutterGroup *self,
|
||||
ClutterActor *actor,
|
||||
ClutterActor *sibling);
|
||||
|
@ -55,12 +55,6 @@ Two fixed point numbers can only be multiplied and divided by the provided
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### TYPEDEF ClutterAngle ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### MACRO CFX_Q ##### -->
|
||||
<para>
|
||||
Number of bits used to store fractional part of #ClutterFixed.
|
||||
@ -89,6 +83,12 @@ Minumum number representable by #ClutterFixed.
|
||||
|
||||
|
||||
|
||||
<!-- ##### TYPEDEF ClutterAngle ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### MACRO CFX_PI ##### -->
|
||||
<para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user