From 6033f7e2e38815f06d3369ab20ff5b6ee079a4d9 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 26 Jul 2007 15:05:41 +0000 Subject: [PATCH] Add missing documentation Document ClutterGravity, ClutterRotateAxis and ClutterRotateDirection. --- clutter/clutter-types.h | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/clutter/clutter-types.h b/clutter/clutter-types.h index fac26183c..b05f9b50e 100644 --- a/clutter/clutter-types.h +++ b/clutter/clutter-types.h @@ -35,6 +35,23 @@ G_BEGIN_DECLS #define CLUTTER_TYPE_KNOT (clutter_knot_get_type ()) #define CLUTTER_TYPE_VERTEX (clutter_vertex_get_type ()) +/** + * 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: + * + * Gravity of the scaling operations. + * + * Since: 0.2 + */ typedef enum { /*< prefix=CLUTTER_GRAVITY >*/ CLUTTER_GRAVITY_NONE = 0, CLUTTER_GRAVITY_NORTH, @@ -115,11 +132,11 @@ gboolean clutter_knot_equal (const ClutterKnot *knot_a, /** * ClutterRotateAxis: - * @CLUTTER_X_AXIS: FIXME - * @CLUTTER_Y_AXIS: FIXME - * @CLUTTER_Z_AXIS: FIXME + * @CLUTTER_X_AXIS: Rotate around the X axis + * @CLUTTER_Y_AXIS: Rotate around the Y axis + * @CLUTTER_Z_AXIS: Rotate around the Z axis * - * FIXME + * Axis of a rotation. * * Since: 0.4 */ @@ -134,7 +151,7 @@ typedef enum { /*< prefix=CLUTTER >*/ * @CLUTTER_ROTATE_CW: Clockwise rotation * @CLUTTER_ROTATE_CCW: Counter-clockwise rotation * - * FIXME + * Direction of a rotation. * * Since: 0.4 */