2006-11-17 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-behaviour-path.h: * clutter/clutter-behaviour-path.c: Add a "knot-reached" signal, which is emitted when the path reaches a node in the nodes list; flesh out the documentation a bit; sync the parameters names so that gtk-doc doesn't complain about missing stuff. * clutter/clutter-behaviour.h: * clutter/clutter-behaviour.c: Add the alpha value to the ClutterBehaviour::alpha_notify vfunc, so you don't have to get the value from the alpha inside the behaviour implementations; add more documentation. * clutter/clutter-alpha.c: Flesh out the description. * clutter/clutter-actor.h: Update the header. * clutter/clutter-behaviour-opacity.c: * clutter/clutter-behaviour-scale.c: Update docs.
This commit is contained in:
@ -80,6 +80,14 @@ struct _ClutterBehaviourPath
|
||||
struct _ClutterBehaviourPathClass
|
||||
{
|
||||
ClutterBehaviourClass parent_class;
|
||||
|
||||
void (*knot_reached) (ClutterBehaviourPath *pathb,
|
||||
const ClutterKnot *knot);
|
||||
|
||||
void (*_clutter_path_1) (void);
|
||||
void (*_clutter_path_2) (void);
|
||||
void (*_clutter_path_3) (void);
|
||||
void (*_clutter_path_4) (void);
|
||||
};
|
||||
|
||||
GType clutter_behaviour_path_get_type (void) G_GNUC_CONST;
|
||||
@ -87,20 +95,19 @@ GType clutter_behaviour_path_get_type (void) G_GNUC_CONST;
|
||||
ClutterBehaviour *clutter_behaviour_path_new (ClutterAlpha *alpha,
|
||||
const ClutterKnot *knots,
|
||||
guint n_knots);
|
||||
GSList * clutter_behaviour_path_get_knots (ClutterBehaviourPath *behave);
|
||||
void clutter_behaviour_path_append_knot (ClutterBehaviourPath *behave,
|
||||
GSList * clutter_behaviour_path_get_knots (ClutterBehaviourPath *pathb);
|
||||
void clutter_behaviour_path_append_knot (ClutterBehaviourPath *pathb,
|
||||
const ClutterKnot *knot);
|
||||
void clutter_behaviour_path_append_knots (ClutterBehaviourPath *pathb,
|
||||
const ClutterKnot *first_knot,
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
void clutter_behaviour_path_insert_knot (ClutterBehaviourPath *pathb,
|
||||
guint offset,
|
||||
const ClutterKnot *knot);
|
||||
void clutter_behaviour_path_remove_knot (ClutterBehaviourPath *pathb,
|
||||
guint offset);
|
||||
|
||||
void clutter_behaviour_path_insert_knot (ClutterBehaviourPath *pathb,
|
||||
guint offset,
|
||||
const ClutterKnot *knot);
|
||||
void clutter_behaviour_path_remove_knot (ClutterBehaviourPath *pathb,
|
||||
guint offset);
|
||||
|
||||
void clutter_behaviour_path_clear (ClutterBehaviourPath *path);
|
||||
void clutter_behaviour_path_clear (ClutterBehaviourPath *path);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user