2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-actor.c:
	* clutter/clutter-box.h:
	* clutter/clutter-stage.c: Documentation fixes.
This commit is contained in:
Emmanuele Bassi 2007-07-24 17:34:06 +00:00
parent 8e749f599d
commit a37f537cd0
4 changed files with 39 additions and 15 deletions

View File

@ -1,3 +1,9 @@
2007-07-24 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c:
* clutter/clutter-box.h:
* clutter/clutter-stage.c: Documentation fixes.
2007-07-24 Matthew Allum <mallum@openedhand.com> 2007-07-24 Matthew Allum <mallum@openedhand.com>
* clutter/cogl/gl/cogl-defines.h: * clutter/cogl/gl/cogl-defines.h:

View File

@ -2152,11 +2152,16 @@ clutter_actor_rotate_yx (ClutterActor *self,
* @self: A #ClutterActor * @self: A #ClutterActor
* *
* Gets the angle of rotation around x axis in degrees. * Gets the angle of rotation around x axis in degrees.
*
* Returns: the angle or rotation, as a fixed point value
*
* Since: 0.4
*/ */
ClutterFixed ClutterFixed
clutter_actor_get_rxangx (ClutterActor *self) clutter_actor_get_rxangx (ClutterActor *self)
{ {
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), 0); g_return_val_if_fail (CLUTTER_IS_ACTOR (self), 0);
return self->priv->rxang; return self->priv->rxang;
} }
@ -2165,6 +2170,10 @@ clutter_actor_get_rxangx (ClutterActor *self)
* @self: A #ClutterActor * @self: A #ClutterActor
* *
* Gets the angle of rotation around y axis in degrees. * Gets the angle of rotation around y axis in degrees.
*
* Return value: the angle of rotation, as a fixed point value
*
* Since: 0.4
*/ */
ClutterFixed ClutterFixed
clutter_actor_get_ryangx (ClutterActor *self) clutter_actor_get_ryangx (ClutterActor *self)
@ -2178,6 +2187,10 @@ clutter_actor_get_ryangx (ClutterActor *self)
* @self: A #ClutterActor * @self: A #ClutterActor
* *
* Gets the angle of rotation around x axis in degrees. * Gets the angle of rotation around x axis in degrees.
*
* Return value: the angle of rotation, as a fixed point value
*
* Since: 0.4
*/ */
ClutterFixed ClutterFixed
clutter_actor_get_rzangx (ClutterActor *self) clutter_actor_get_rzangx (ClutterActor *self)

View File

@ -14,12 +14,11 @@ G_BEGIN_DECLS
/** /**
* ClutterPackType: * ClutterPackType:
*
* Pack order for a #ClutterBox child.
*
* @CLUTTER_PACK_START: append child from the start * @CLUTTER_PACK_START: append child from the start
* @CLUTTER_PACK_END: append child from the end * @CLUTTER_PACK_END: append child from the end
* *
* Pack order for a #ClutterBox child.
*
* Since: 0.4 * Since: 0.4
*/ */
typedef enum { typedef enum {
@ -67,12 +66,11 @@ struct _ClutterBoxClass
/** /**
* ClutterBoxChild: * ClutterBoxChild:
*
* Packing data for children of a #ClutterBox.
*
* @actor: the child #ClutterActor * @actor: the child #ClutterActor
* @pack_type: the type of packing used * @pack_type: the type of packing used
* *
* Packing data for children of a #ClutterBox.
*
* Since: 0.4 * Since: 0.4
*/ */
struct _ClutterBoxChild struct _ClutterBoxChild

View File

@ -562,16 +562,21 @@ clutter_stage_get_perspectivex (ClutterStage *stage,
/** /**
* clutter_stage_set_perspective * clutter_stage_set_perspective
* @stage: A #ClutterStage * @stage: A #ClutterStage
* FIXME * @fovy: FIXME
* @aspect: FIXME
* @z_near: FIXME
* @z_far: FIXME
* *
* Set the stage perspective. * Set the stage perspective.
**/ *
* Since: 0.4
*/
void void
clutter_stage_set_perspective (ClutterStage *stage, clutter_stage_set_perspective (ClutterStage *stage,
gfloat fovy, gfloat fovy,
gfloat aspect, gfloat aspect,
gfloat z_near, gfloat z_near,
gfloat z_far) gfloat z_far)
{ {
ClutterStagePrivate *priv; ClutterStagePrivate *priv;
@ -706,9 +711,11 @@ clutter_stage_show_cursor (ClutterStage *stage)
/** /**
* clutter_stage_hide_cursor: * clutter_stage_hide_cursor:
* @stage: * @stage: a #ClutterStage
* *
* Hides the cursor as invisible on the stage window * Makes the cursor invisible on the stage window
*
* Since: 0.4
*/ */
void void
clutter_stage_hide_cursor (ClutterStage *stage) clutter_stage_hide_cursor (ClutterStage *stage)