mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
Annotate functionality added in 1.10
This commit is contained in:
parent
1df14c1bac
commit
e5e10b6a04
@ -85,9 +85,12 @@ struct _ClutterCanvasClass
|
|||||||
gpointer _padding[16];
|
gpointer _padding[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GType clutter_canvas_get_type (void) G_GNUC_CONST;
|
GType clutter_canvas_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
ClutterContent * clutter_canvas_new (void);
|
ClutterContent * clutter_canvas_new (void);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_canvas_set_size (ClutterCanvas *canvas,
|
void clutter_canvas_set_size (ClutterCanvas *canvas,
|
||||||
int width,
|
int width,
|
||||||
int height);
|
int height);
|
||||||
|
@ -88,11 +88,14 @@ struct _ClutterContentIface
|
|||||||
void (* invalidate) (ClutterContent *content);
|
void (* invalidate) (ClutterContent *content);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GType clutter_content_get_type (void) G_GNUC_CONST;
|
GType clutter_content_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
gboolean clutter_content_get_preferred_size (ClutterContent *content,
|
gboolean clutter_content_get_preferred_size (ClutterContent *content,
|
||||||
gfloat *width,
|
gfloat *width,
|
||||||
gfloat *height);
|
gfloat *height);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_content_invalidate (ClutterContent *content);
|
void clutter_content_invalidate (ClutterContent *content);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -100,10 +100,14 @@ struct _ClutterImageClass
|
|||||||
gpointer _padding[16];
|
gpointer _padding[16];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GQuark clutter_image_error_quark (void);
|
GQuark clutter_image_error_quark (void);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GType clutter_image_get_type (void) G_GNUC_CONST;
|
GType clutter_image_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
ClutterContent * clutter_image_new (void);
|
ClutterContent * clutter_image_new (void);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
gboolean clutter_image_set_data (ClutterImage *image,
|
gboolean clutter_image_set_data (ClutterImage *image,
|
||||||
const guint8 *data,
|
const guint8 *data,
|
||||||
CoglPixelFormat pixel_format,
|
CoglPixelFormat pixel_format,
|
||||||
@ -111,6 +115,7 @@ gboolean clutter_image_set_data (ClutterImage
|
|||||||
guint height,
|
guint height,
|
||||||
guint row_stride,
|
guint row_stride,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
gboolean clutter_image_set_area (ClutterImage *image,
|
gboolean clutter_image_set_area (ClutterImage *image,
|
||||||
const guint8 *data,
|
const guint8 *data,
|
||||||
CoglPixelFormat pixel_format,
|
CoglPixelFormat pixel_format,
|
||||||
@ -119,6 +124,7 @@ gboolean clutter_image_set_area (ClutterImage
|
|||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
#if defined(COGL_ENABLE_EXPERIMENTAL_API) && defined(CLUTTER_ENABLE_EXPERIMENTAL_API)
|
#if defined(COGL_ENABLE_EXPERIMENTAL_API) && defined(CLUTTER_ENABLE_EXPERIMENTAL_API)
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
CoglTexture * clutter_image_get_texture (ClutterImage *image);
|
CoglTexture * clutter_image_get_texture (ClutterImage *image);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -41,18 +41,25 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _ClutterPaintNodePrivate ClutterPaintNodePrivate;
|
typedef struct _ClutterPaintNodePrivate ClutterPaintNodePrivate;
|
||||||
typedef struct _ClutterPaintNodeClass ClutterPaintNodeClass;
|
typedef struct _ClutterPaintNodeClass ClutterPaintNodeClass;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GType clutter_paint_node_get_type (void) G_GNUC_CONST;
|
GType clutter_paint_node_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
ClutterPaintNode * clutter_paint_node_ref (ClutterPaintNode *node);
|
ClutterPaintNode * clutter_paint_node_ref (ClutterPaintNode *node);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_paint_node_unref (ClutterPaintNode *node);
|
void clutter_paint_node_unref (ClutterPaintNode *node);
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_paint_node_set_name (ClutterPaintNode *node,
|
void clutter_paint_node_set_name (ClutterPaintNode *node,
|
||||||
const char *name);
|
const char *name);
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_paint_node_add_child (ClutterPaintNode *node,
|
void clutter_paint_node_add_child (ClutterPaintNode *node,
|
||||||
ClutterPaintNode *child);
|
ClutterPaintNode *child);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_paint_node_add_rectangle (ClutterPaintNode *node,
|
void clutter_paint_node_add_rectangle (ClutterPaintNode *node,
|
||||||
const ClutterActorBox *rect);
|
const ClutterActorBox *rect);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_paint_node_add_texture_rectangle (ClutterPaintNode *node,
|
void clutter_paint_node_add_texture_rectangle (ClutterPaintNode *node,
|
||||||
const ClutterActorBox *rect,
|
const ClutterActorBox *rect,
|
||||||
float x_1,
|
float x_1,
|
||||||
@ -60,19 +67,25 @@ void clutter_paint_node_add_texture_rectangle (Clutter
|
|||||||
float x_2,
|
float x_2,
|
||||||
float y_2);
|
float y_2);
|
||||||
#if defined(COGL_ENABLE_EXPERIMENTAL_2_0_API) && defined(CLUTTER_ENABLE_EXPERIMENTAL_API)
|
#if defined(COGL_ENABLE_EXPERIMENTAL_2_0_API) && defined(CLUTTER_ENABLE_EXPERIMENTAL_API)
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_paint_node_add_path (ClutterPaintNode *node,
|
void clutter_paint_node_add_path (ClutterPaintNode *node,
|
||||||
CoglPath *path);
|
CoglPath *path);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_paint_node_add_primitive (ClutterPaintNode *node,
|
void clutter_paint_node_add_primitive (ClutterPaintNode *node,
|
||||||
CoglPrimitive *primitive);
|
CoglPrimitive *primitive);
|
||||||
#endif /* COGL_ENABLE_EXPERIMENTAL_2_0_API && CLUTTER_ENABLE_EXPERIMENTAL_API */
|
#endif /* COGL_ENABLE_EXPERIMENTAL_2_0_API && CLUTTER_ENABLE_EXPERIMENTAL_API */
|
||||||
|
|
||||||
#define CLUTTER_VALUE_HOLDS_PAINT_NODE(value) (G_VALUE_HOLDS (value, CLUTTER_TYPE_PAINT_NODE))
|
#define CLUTTER_VALUE_HOLDS_PAINT_NODE(value) (G_VALUE_HOLDS (value, CLUTTER_TYPE_PAINT_NODE))
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_value_set_paint_node (GValue *value,
|
void clutter_value_set_paint_node (GValue *value,
|
||||||
gpointer node);
|
gpointer node);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_value_take_paint_node (GValue *value,
|
void clutter_value_take_paint_node (GValue *value,
|
||||||
gpointer node);
|
gpointer node);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
gpointer clutter_value_get_paint_node (const GValue *value);
|
gpointer clutter_value_get_paint_node (const GValue *value);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
gpointer clutter_value_dup_paint_node (const GValue *value);
|
gpointer clutter_value_dup_paint_node (const GValue *value);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -49,8 +49,10 @@ G_BEGIN_DECLS
|
|||||||
typedef struct _ClutterColorNode ClutterColorNode;
|
typedef struct _ClutterColorNode ClutterColorNode;
|
||||||
typedef struct _ClutterColorNodeClass ClutterColorNodeClass;
|
typedef struct _ClutterColorNodeClass ClutterColorNodeClass;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GType clutter_color_node_get_type (void) G_GNUC_CONST;
|
GType clutter_color_node_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
ClutterPaintNode * clutter_color_node_new (const ClutterColor *color);
|
ClutterPaintNode * clutter_color_node_new (const ClutterColor *color);
|
||||||
|
|
||||||
#define CLUTTER_TYPE_TEXTURE_NODE (clutter_texture_node_get_type ())
|
#define CLUTTER_TYPE_TEXTURE_NODE (clutter_texture_node_get_type ())
|
||||||
@ -68,8 +70,10 @@ ClutterPaintNode * clutter_color_node_new (const ClutterColor *
|
|||||||
typedef struct _ClutterTextureNode ClutterTextureNode;
|
typedef struct _ClutterTextureNode ClutterTextureNode;
|
||||||
typedef struct _ClutterTextureNodeClass ClutterTextureNodeClass;
|
typedef struct _ClutterTextureNodeClass ClutterTextureNodeClass;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GType clutter_texture_node_get_type (void) G_GNUC_CONST;
|
GType clutter_texture_node_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
ClutterPaintNode * clutter_texture_node_new (CoglTexture *texture,
|
ClutterPaintNode * clutter_texture_node_new (CoglTexture *texture,
|
||||||
const ClutterColor *color,
|
const ClutterColor *color,
|
||||||
ClutterScalingFilter min_filter,
|
ClutterScalingFilter min_filter,
|
||||||
@ -90,8 +94,10 @@ ClutterPaintNode * clutter_texture_node_new (CoglTexture *
|
|||||||
typedef struct _ClutterClipNode ClutterClipNode;
|
typedef struct _ClutterClipNode ClutterClipNode;
|
||||||
typedef struct _ClutterClipNodeClass ClutterClipNodeClass;
|
typedef struct _ClutterClipNodeClass ClutterClipNodeClass;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GType clutter_clip_node_get_type (void) G_GNUC_CONST;
|
GType clutter_clip_node_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
ClutterPaintNode * clutter_clip_node_new (void);
|
ClutterPaintNode * clutter_clip_node_new (void);
|
||||||
|
|
||||||
#define CLUTTER_TYPE_PIPELINE_NODE (clutter_pipeline_node_get_type ())
|
#define CLUTTER_TYPE_PIPELINE_NODE (clutter_pipeline_node_get_type ())
|
||||||
@ -109,9 +115,11 @@ ClutterPaintNode * clutter_clip_node_new (void);
|
|||||||
typedef struct _ClutterPipelineNode ClutterPipelineNode;
|
typedef struct _ClutterPipelineNode ClutterPipelineNode;
|
||||||
typedef struct _ClutterPipelineNodeClass ClutterPipelineNodeClass;
|
typedef struct _ClutterPipelineNodeClass ClutterPipelineNodeClass;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GType clutter_pipeline_node_get_type (void) G_GNUC_CONST;
|
GType clutter_pipeline_node_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
#if defined(COGL_ENABLE_EXPERIMENTAL_2_0_API) && defined(CLUTTER_ENABLE_EXPERIMENTAL_API)
|
#if defined(COGL_ENABLE_EXPERIMENTAL_2_0_API) && defined(CLUTTER_ENABLE_EXPERIMENTAL_API)
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
ClutterPaintNode * clutter_pipeline_node_new (CoglPipeline *pipeline);
|
ClutterPaintNode * clutter_pipeline_node_new (CoglPipeline *pipeline);
|
||||||
#endif /* COGL_ENABLE_EXPERIMENTAL_2_0_API && CLUTTER_ENABLE_EXPERIMENTAL_API */
|
#endif /* COGL_ENABLE_EXPERIMENTAL_2_0_API && CLUTTER_ENABLE_EXPERIMENTAL_API */
|
||||||
|
|
||||||
@ -130,8 +138,10 @@ ClutterPaintNode * clutter_pipeline_node_new (CoglPipeline *
|
|||||||
typedef struct _ClutterTextNode ClutterTextNode;
|
typedef struct _ClutterTextNode ClutterTextNode;
|
||||||
typedef struct _ClutterTextNodeClass ClutterTextNodeClass;
|
typedef struct _ClutterTextNodeClass ClutterTextNodeClass;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GType clutter_text_node_get_type (void) G_GNUC_CONST;
|
GType clutter_text_node_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
ClutterPaintNode * clutter_text_node_new (PangoLayout *layout,
|
ClutterPaintNode * clutter_text_node_new (PangoLayout *layout,
|
||||||
const ClutterColor *color);
|
const ClutterColor *color);
|
||||||
|
|
||||||
|
@ -75,12 +75,16 @@ struct _ClutterPropertyTransitionClass
|
|||||||
gpointer _padding[8];
|
gpointer _padding[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GType clutter_property_transition_get_type (void) G_GNUC_CONST;
|
GType clutter_property_transition_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
ClutterTransition * clutter_property_transition_new (ClutterAnimatable *animatable,
|
ClutterTransition * clutter_property_transition_new (ClutterAnimatable *animatable,
|
||||||
const char *property_name);
|
const char *property_name);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_property_transition_set_property_name (ClutterPropertyTransition *transition,
|
void clutter_property_transition_set_property_name (ClutterPropertyTransition *transition,
|
||||||
const char *property_name);
|
const char *property_name);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
const char * clutter_property_transition_get_property_name (ClutterPropertyTransition *transition);
|
const char * clutter_property_transition_get_property_name (ClutterPropertyTransition *transition);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
@ -93,16 +93,23 @@ struct _ClutterTransitionClass
|
|||||||
gpointer _padding[8];
|
gpointer _padding[8];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
GType clutter_transition_get_type (void) G_GNUC_CONST;
|
GType clutter_transition_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_transition_set_interval (ClutterTransition *transition,
|
void clutter_transition_set_interval (ClutterTransition *transition,
|
||||||
ClutterInterval *interval);
|
ClutterInterval *interval);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
ClutterInterval * clutter_transition_get_interval (ClutterTransition *transition);
|
ClutterInterval * clutter_transition_get_interval (ClutterTransition *transition);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_transition_set_animatable (ClutterTransition *transition,
|
void clutter_transition_set_animatable (ClutterTransition *transition,
|
||||||
ClutterAnimatable *animatable);
|
ClutterAnimatable *animatable);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
ClutterAnimatable * clutter_transition_get_animatable (ClutterTransition *transition);
|
ClutterAnimatable * clutter_transition_get_animatable (ClutterTransition *transition);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
void clutter_transition_set_remove_on_complete (ClutterTransition *transition,
|
void clutter_transition_set_remove_on_complete (ClutterTransition *transition,
|
||||||
gboolean remove_complete);
|
gboolean remove_complete);
|
||||||
|
CLUTTER_AVAILABLE_IN_1_10
|
||||||
gboolean clutter_transition_get_remove_on_complete (ClutterTransition *transition);
|
gboolean clutter_transition_get_remove_on_complete (ClutterTransition *transition);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user