From 249ada48bc1fa11489fa4c6006af2da969547920 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sun, 29 Jul 2007 09:19:37 +0000 Subject: [PATCH] 2007-07-29 Emmanuele Bassi * clutter/clutter-types.h: Document ClutterGravity enumeration and remove the only incomplete symbol of the api reference. Now we are up to 79% documented symbols. --- ChangeLog | 6 ++++++ clutter/clutter-types.h | 24 +++++++++++++----------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index c51445514..dfa7ce589 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-07-29 Emmanuele Bassi + + * clutter/clutter-types.h: Document ClutterGravity enumeration + and remove the only incomplete symbol of the api reference. Now + we are up to 79% documented symbols. + 2007-07-29 Emmanuele Bassi * clutter/clutter-media.c: Document ClutterMedia signals; diff --git a/clutter/clutter-types.h b/clutter/clutter-types.h index b05f9b50e..aee1935d6 100644 --- a/clutter/clutter-types.h +++ b/clutter/clutter-types.h @@ -37,18 +37,20 @@ G_BEGIN_DECLS /** * ClutterGravity: - * @CLUTTER_GRAVITY_NONE: - * @CLUTTER_GRAVITY_NORTH: - * @CLUTTER_GRAVITY_NORTH_EAST: - * @CLUTTER_GRAVITY_EAST: - * @CLUTTER_GRAVITY_SOUTH_EAST: - * @CLUTTER_GRAVITY_SOUTH: - * @CLUTTER_GRAVITY_SOUTH_WEST: - * @CLUTTER_GRAVITY_WEST: - * @CLUTTER_GRAVITY_NORTH_WEST: - * @CLUTTER_GRAVITY_CENTER: + * @CLUTTER_GRAVITY_NONE: Do not apply any gravity + * @CLUTTER_GRAVITY_NORTH: Scale from topmost downwards + * @CLUTTER_GRAVITY_NORTH_EAST: Scale from the top left corner + * @CLUTTER_GRAVITY_EAST: Scale from the left side + * @CLUTTER_GRAVITY_SOUTH_EAST: Scale from the bottom left corner + * @CLUTTER_GRAVITY_SOUTH: Scale from the bottom upwards + * @CLUTTER_GRAVITY_SOUTH_WEST: Scale from the bottom right corner + * @CLUTTER_GRAVITY_WEST: Scale from the right side + * @CLUTTER_GRAVITY_NORTH_WEST: Scale from the top right corner + * @CLUTTER_GRAVITY_CENTER: Scale from the center. * - * Gravity of the scaling operations. + * Gravity of the scaling operations. When a gravity different than + * %CLUTTER_GRAVITY_NONE is used, an actor is scaled keeping the position + * of the specified portion at the same coordinates. * * Since: 0.2 */