2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-units.h:
	* clutter/clutter-fixed.h: Add boundaries for fixed point
	and units values.

	* doc/reference/clutter-sections.txt: Update the documentation.
This commit is contained in:
Emmanuele Bassi 2008-04-17 11:09:27 +00:00
parent 6326daa9ae
commit 6d73c5e452
4 changed files with 48 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-units.h:
* clutter/clutter-fixed.h: Add boundaries for fixed point
and units values.
* doc/reference/clutter-sections.txt: Update the documentation.
2008-04-17 Emmanuele Bassi <ebassi@openedhand.com> 2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
* autogen.sh: Try to continue even if we don't have gtk-doc * autogen.sh: Try to continue even if we don't have gtk-doc

View File

@ -389,6 +389,24 @@ guint clutter_powx (guint x, ClutterFixed y);
typedef struct _ClutterParamSpecFixed ClutterParamSpecFixed; typedef struct _ClutterParamSpecFixed ClutterParamSpecFixed;
/**
* CLUTTER_MAXFIXED:
*
* Higher boundary for #ClutterFixed
*
* Since: 0.8
*/
#define CLUTTER_MAXFIXED G_MAXINT16
/**
* CLUTTER_MINFIXED:
*
* Lower boundary for #ClutterFixed
*
* Since: 0.8
*/
#define CLUTTER_MINFIXED G_MININT16
/** /**
* ClutterParamSpecFixed * ClutterParamSpecFixed
* @minimum: lower boundary * @minimum: lower boundary

View File

@ -145,6 +145,24 @@ typedef gint32 ClutterUnit;
#define CLUTTER_PARAM_SPEC_UNIT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), CLUTTER_TYPE_PARAM_UNIT, ClutterParamSpecUnit)) #define CLUTTER_PARAM_SPEC_UNIT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), CLUTTER_TYPE_PARAM_UNIT, ClutterParamSpecUnit))
#define CLUTTER_IS_PARAM_SPEC_UNIT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), CLUTTER_TYPE_PARAM_UNIT)) #define CLUTTER_IS_PARAM_SPEC_UNIT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), CLUTTER_TYPE_PARAM_UNIT))
/**
* CLUTTER_MAXUNIT:
*
* Higher boundary for a #ClutterUnit
*
* Since: 0.8
*/
#define CLUTTER_MAXUNIT G_MAXINT16
/**
* CLUTTER_MINUNIT:
*
* Lower boundary for a #ClutterUnit
*
* Since: 0.8
*/
#define CLUTTER_MINUNIT G_MININT16
/** /**
* CLUTTER_VALUE_HOLDS_UNIT: * CLUTTER_VALUE_HOLDS_UNIT:
* @x: a #GValue * @x: a #GValue

View File

@ -54,6 +54,8 @@ CLUTTER_VALUE_HOLDS_UNIT
clutter_value_set_unit clutter_value_set_unit
clutter_value_get_unit clutter_value_get_unit
<SUBSECTION> <SUBSECTION>
CLUTTER_MAXUNIT
CLUTTER_MINUNIT
ClutterParamSpecUnit ClutterParamSpecUnit
clutter_param_spec_unit clutter_param_spec_unit
<SUBSECTION Standard> <SUBSECTION Standard>
@ -878,6 +880,8 @@ clutter_value_set_fixed
clutter_value_get_fixed clutter_value_get_fixed
<SUBSECTION> <SUBSECTION>
CLUTTER_MAXFIXED
CLUTTER_MINFIXED
ClutterParamSpecFixed ClutterParamSpecFixed
clutter_param_spec_fixed clutter_param_spec_fixed