diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-10-04 13:28:04 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-10-11 17:59:46 +0100 |
commit | d28e04be72d0a8c4408e07f468698d61ef312091 (patch) | |
tree | a032587ebfe175c22f6485e31c2a2afcfe50ae5c /clutter/clutter-path.h | |
parent | a21f1d158063edd7dc1d37b418b690adef07aa8f (diff) | |
download | clutter-d28e04be72d0a8c4408e07f468698d61ef312091.tar.gz |
Move all enumerations to a separate file
This should allow sharing types, and we can avoid glib-mkenums thrawling
the whole repository for enumerations.
Diffstat (limited to 'clutter/clutter-path.h')
-rw-r--r-- | clutter/clutter-path.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/clutter/clutter-path.h b/clutter/clutter-path.h index 6d625129f..cdc72061c 100644 --- a/clutter/clutter-path.h +++ b/clutter/clutter-path.h @@ -41,39 +41,6 @@ G_BEGIN_DECLS #define CLUTTER_IS_PATH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_PATH)) #define CLUTTER_PATH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_PATH, ClutterPathClass)) -#define CLUTTER_PATH_RELATIVE (32) - -/** - * ClutterPathNodeType: - * @CLUTTER_PATH_MOVE_TO: jump to the given position - * @CLUTTER_PATH_LINE_TO: create a line from the last node to the - * given position - * @CLUTTER_PATH_CURVE_TO: bezier curve using the last position and - * three control points. - * @CLUTTER_PATH_CLOSE: create a line from the last node to the last - * %CLUTTER_PATH_MOVE_TO node. - * @CLUTTER_PATH_REL_MOVE_TO: same as %CLUTTER_PATH_MOVE_TO but with - * coordinates relative to the last node. - * @CLUTTER_PATH_REL_LINE_TO: same as %CLUTTER_PATH_LINE_TO but with - * coordinates relative to the last node. - * @CLUTTER_PATH_REL_CURVE_TO: same as %CLUTTER_PATH_CURVE_TO but with - * coordinates relative to the last node. - * - * Types of nodes in a #ClutterPath. - * - * Since: 1.0 - */ -typedef enum { - CLUTTER_PATH_MOVE_TO = 0, - CLUTTER_PATH_LINE_TO = 1, - CLUTTER_PATH_CURVE_TO = 2, - CLUTTER_PATH_CLOSE = 3, - - CLUTTER_PATH_REL_MOVE_TO = CLUTTER_PATH_MOVE_TO | CLUTTER_PATH_RELATIVE, - CLUTTER_PATH_REL_LINE_TO = CLUTTER_PATH_LINE_TO | CLUTTER_PATH_RELATIVE, - CLUTTER_PATH_REL_CURVE_TO = CLUTTER_PATH_CURVE_TO | CLUTTER_PATH_RELATIVE -} ClutterPathNodeType; - typedef struct _ClutterPathClass ClutterPathClass; typedef struct _ClutterPathPrivate ClutterPathPrivate; typedef struct _ClutterPathNode ClutterPathNode; |