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:
Emmanuele Bassi 2007-01-18 12:33:15 +00:00
parent bf688bbbeb
commit 39720f248b
6 changed files with 25 additions and 17 deletions

View File

@ -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

View File

@ -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);
}

View File

@ -105,13 +105,9 @@ void clutter_behaviour_remove (ClutterBehaviour *beh
void clutter_behaviour_actors_foreach (ClutterBehaviour *behave,
ClutterBehaviourForeachFunc func,
gpointer data);
gint clutter_behaviour_get_n_actors (ClutterBehaviour *behave);
ClutterActor* clutter_behaviour_get_nth_actor (ClutterBehaviour *behave,
gint num);
gint clutter_behaviour_get_n_actors (ClutterBehaviour *behave);
ClutterActor *clutter_behaviour_get_nth_actor (ClutterBehaviour *behave,
gint index);
GSList * clutter_behaviour_get_actors (ClutterBehaviour *behave);
ClutterAlpha *clutter_behaviour_get_alpha (ClutterBehaviour *behave);
void clutter_behaviour_set_alpha (ClutterBehaviour *behave,

View File

@ -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.

View File

@ -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);

View File

@ -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>