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>
|
2007-01-18 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
* clutter/Makefile.am: Use the build dir when linking to the
|
* 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:
|
* clutter_behaviour_get_nth_actor:
|
||||||
* @behave: a #ClutterBehaviour
|
* @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.
|
* Gets an actor the behaviour was applied to referenced by index num.
|
||||||
*
|
*
|
||||||
@ -275,11 +275,11 @@ clutter_behaviour_get_n_actors (ClutterBehaviour *behave)
|
|||||||
*/
|
*/
|
||||||
ClutterActor*
|
ClutterActor*
|
||||||
clutter_behaviour_get_nth_actor (ClutterBehaviour *behave,
|
clutter_behaviour_get_nth_actor (ClutterBehaviour *behave,
|
||||||
gint num)
|
gint index)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (CLUTTER_IS_BEHAVIOUR (behave), NULL);
|
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,
|
ClutterBehaviourForeachFunc func,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
gint clutter_behaviour_get_n_actors (ClutterBehaviour *behave);
|
gint clutter_behaviour_get_n_actors (ClutterBehaviour *behave);
|
||||||
|
|
||||||
ClutterActor *clutter_behaviour_get_nth_actor (ClutterBehaviour *behave,
|
ClutterActor *clutter_behaviour_get_nth_actor (ClutterBehaviour *behave,
|
||||||
gint num);
|
gint index);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
GSList * clutter_behaviour_get_actors (ClutterBehaviour *behave);
|
GSList * clutter_behaviour_get_actors (ClutterBehaviour *behave);
|
||||||
ClutterAlpha *clutter_behaviour_get_alpha (ClutterBehaviour *behave);
|
ClutterAlpha *clutter_behaviour_get_alpha (ClutterBehaviour *behave);
|
||||||
void clutter_behaviour_set_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
|
* @self: A #ClutterGroup
|
||||||
*
|
*
|
||||||
* Gets the number of actors held in the group.
|
* 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,
|
ClutterActor *clutter_group_find_child_by_id (ClutterGroup *self,
|
||||||
guint id);
|
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,
|
void clutter_group_raise (ClutterGroup *self,
|
||||||
ClutterActor *actor,
|
ClutterActor *actor,
|
||||||
ClutterActor *sibling);
|
ClutterActor *sibling);
|
||||||
|
@ -55,12 +55,6 @@ Two fixed point numbers can only be multiplied and divided by the provided
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### TYPEDEF ClutterAngle ##### -->
|
|
||||||
<para>
|
|
||||||
|
|
||||||
</para>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### MACRO CFX_Q ##### -->
|
<!-- ##### MACRO CFX_Q ##### -->
|
||||||
<para>
|
<para>
|
||||||
Number of bits used to store fractional part of #ClutterFixed.
|
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 ##### -->
|
<!-- ##### MACRO CFX_PI ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user