2.0: Remove CLUTTER_AVAILABLE_IN_1_*

We are starting from scratch.
This commit is contained in:
Emmanuele Bassi 2012-08-27 09:51:32 +01:00
parent e3259435f2
commit 00bee5f173
28 changed files with 275 additions and 305 deletions

View File

@ -311,7 +311,7 @@ void clutter_actor_unmap
void clutter_actor_paint (ClutterActor *self); void clutter_actor_paint (ClutterActor *self);
void clutter_actor_continue_paint (ClutterActor *self); void clutter_actor_continue_paint (ClutterActor *self);
void clutter_actor_queue_redraw (ClutterActor *self); void clutter_actor_queue_redraw (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_queue_redraw_with_clip (ClutterActor *self, void clutter_actor_queue_redraw_with_clip (ClutterActor *self,
const cairo_rectangle_int_t *clip); const cairo_rectangle_int_t *clip);
void clutter_actor_queue_relayout (ClutterActor *self); void clutter_actor_queue_relayout (ClutterActor *self);
@ -397,63 +397,63 @@ void clutter_actor_set_x
gfloat x); gfloat x);
void clutter_actor_set_y (ClutterActor *self, void clutter_actor_set_y (ClutterActor *self,
gfloat y); gfloat y);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_set_z_position (ClutterActor *self, void clutter_actor_set_z_position (ClutterActor *self,
gfloat z_position); gfloat z_position);
CLUTTER_AVAILABLE_IN_1_12
gfloat clutter_actor_get_z_position (ClutterActor *self); gfloat clutter_actor_get_z_position (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_layout_manager (ClutterActor *self, void clutter_actor_set_layout_manager (ClutterActor *self,
ClutterLayoutManager *manager); ClutterLayoutManager *manager);
CLUTTER_AVAILABLE_IN_1_10
ClutterLayoutManager * clutter_actor_get_layout_manager (ClutterActor *self); ClutterLayoutManager * clutter_actor_get_layout_manager (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_x_align (ClutterActor *self, void clutter_actor_set_x_align (ClutterActor *self,
ClutterActorAlign x_align); ClutterActorAlign x_align);
CLUTTER_AVAILABLE_IN_1_10
ClutterActorAlign clutter_actor_get_x_align (ClutterActor *self); ClutterActorAlign clutter_actor_get_x_align (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_y_align (ClutterActor *self, void clutter_actor_set_y_align (ClutterActor *self,
ClutterActorAlign y_align); ClutterActorAlign y_align);
CLUTTER_AVAILABLE_IN_1_10
ClutterActorAlign clutter_actor_get_y_align (ClutterActor *self); ClutterActorAlign clutter_actor_get_y_align (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_margin_top (ClutterActor *self, void clutter_actor_set_margin_top (ClutterActor *self,
gfloat margin); gfloat margin);
CLUTTER_AVAILABLE_IN_1_10
gfloat clutter_actor_get_margin_top (ClutterActor *self); gfloat clutter_actor_get_margin_top (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_margin_bottom (ClutterActor *self, void clutter_actor_set_margin_bottom (ClutterActor *self,
gfloat margin); gfloat margin);
CLUTTER_AVAILABLE_IN_1_10
gfloat clutter_actor_get_margin_bottom (ClutterActor *self); gfloat clutter_actor_get_margin_bottom (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_margin_left (ClutterActor *self, void clutter_actor_set_margin_left (ClutterActor *self,
gfloat margin); gfloat margin);
CLUTTER_AVAILABLE_IN_1_10
gfloat clutter_actor_get_margin_left (ClutterActor *self); gfloat clutter_actor_get_margin_left (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_margin_right (ClutterActor *self, void clutter_actor_set_margin_right (ClutterActor *self,
gfloat margin); gfloat margin);
CLUTTER_AVAILABLE_IN_1_10
gfloat clutter_actor_get_margin_right (ClutterActor *self); gfloat clutter_actor_get_margin_right (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_margin (ClutterActor *self, void clutter_actor_set_margin (ClutterActor *self,
const ClutterMargin *margin); const ClutterMargin *margin);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_get_margin (ClutterActor *self, void clutter_actor_get_margin (ClutterActor *self,
ClutterMargin *margin); ClutterMargin *margin);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_set_x_expand (ClutterActor *self, void clutter_actor_set_x_expand (ClutterActor *self,
gboolean expand); gboolean expand);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_actor_get_x_expand (ClutterActor *self); gboolean clutter_actor_get_x_expand (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_set_y_expand (ClutterActor *self, void clutter_actor_set_y_expand (ClutterActor *self,
gboolean expand); gboolean expand);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_actor_get_y_expand (ClutterActor *self); gboolean clutter_actor_get_y_expand (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_actor_needs_expand (ClutterActor *self, gboolean clutter_actor_needs_expand (ClutterActor *self,
ClutterOrientation orientation); ClutterOrientation orientation);
@ -488,42 +488,42 @@ gboolean clutter_actor_get_paint_box
gboolean clutter_actor_has_overlaps (ClutterActor *self); gboolean clutter_actor_has_overlaps (ClutterActor *self);
/* Content */ /* Content */
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_content (ClutterActor *self, void clutter_actor_set_content (ClutterActor *self,
ClutterContent *content); ClutterContent *content);
CLUTTER_AVAILABLE_IN_1_10
ClutterContent * clutter_actor_get_content (ClutterActor *self); ClutterContent * clutter_actor_get_content (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_content_gravity (ClutterActor *self, void clutter_actor_set_content_gravity (ClutterActor *self,
ClutterContentGravity gravity); ClutterContentGravity gravity);
CLUTTER_AVAILABLE_IN_1_10
ClutterContentGravity clutter_actor_get_content_gravity (ClutterActor *self); ClutterContentGravity clutter_actor_get_content_gravity (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_content_scaling_filters (ClutterActor *self, void clutter_actor_set_content_scaling_filters (ClutterActor *self,
ClutterScalingFilter min_filter, ClutterScalingFilter min_filter,
ClutterScalingFilter mag_filter); ClutterScalingFilter mag_filter);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_get_content_scaling_filters (ClutterActor *self, void clutter_actor_get_content_scaling_filters (ClutterActor *self,
ClutterScalingFilter *min_filter, ClutterScalingFilter *min_filter,
ClutterScalingFilter *mag_filter); ClutterScalingFilter *mag_filter);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_set_content_repeat (ClutterActor *self, void clutter_actor_set_content_repeat (ClutterActor *self,
ClutterContentRepeat repeat); ClutterContentRepeat repeat);
CLUTTER_AVAILABLE_IN_1_12
ClutterContentRepeat clutter_actor_get_content_repeat (ClutterActor *self); ClutterContentRepeat clutter_actor_get_content_repeat (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_get_content_box (ClutterActor *self, void clutter_actor_get_content_box (ClutterActor *self,
ClutterActorBox *box); ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_background_color (ClutterActor *self, void clutter_actor_set_background_color (ClutterActor *self,
const ClutterColor *color); const ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_get_background_color (ClutterActor *self, void clutter_actor_get_background_color (ClutterActor *self,
ClutterColor *color); ClutterColor *color);
const ClutterPaintVolume * clutter_actor_get_paint_volume (ClutterActor *self); const ClutterPaintVolume * clutter_actor_get_paint_volume (ClutterActor *self);
const ClutterPaintVolume * clutter_actor_get_transformed_paint_volume (ClutterActor *self, const ClutterPaintVolume * clutter_actor_get_transformed_paint_volume (ClutterActor *self,
ClutterActor *relative_to_ancestor); ClutterActor *relative_to_ancestor);
CLUTTER_AVAILABLE_IN_1_10
const ClutterPaintVolume * clutter_actor_get_default_paint_volume (ClutterActor *self); const ClutterPaintVolume * clutter_actor_get_default_paint_volume (ClutterActor *self);
/* Events */ /* Events */
@ -547,100 +547,100 @@ void clutter_actor_set_text_direction
ClutterTextDirection clutter_actor_get_text_direction (ClutterActor *self); ClutterTextDirection clutter_actor_get_text_direction (ClutterActor *self);
/* Actor hierarchy */ /* Actor hierarchy */
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_add_child (ClutterActor *self, void clutter_actor_add_child (ClutterActor *self,
ClutterActor *child); ClutterActor *child);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_insert_child_at_index (ClutterActor *self, void clutter_actor_insert_child_at_index (ClutterActor *self,
ClutterActor *child, ClutterActor *child,
gint index_); gint index_);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_insert_child_above (ClutterActor *self, void clutter_actor_insert_child_above (ClutterActor *self,
ClutterActor *child, ClutterActor *child,
ClutterActor *sibling); ClutterActor *sibling);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_insert_child_below (ClutterActor *self, void clutter_actor_insert_child_below (ClutterActor *self,
ClutterActor *child, ClutterActor *child,
ClutterActor *sibling); ClutterActor *sibling);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_replace_child (ClutterActor *self, void clutter_actor_replace_child (ClutterActor *self,
ClutterActor *old_child, ClutterActor *old_child,
ClutterActor *new_child); ClutterActor *new_child);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_remove_child (ClutterActor *self, void clutter_actor_remove_child (ClutterActor *self,
ClutterActor *child); ClutterActor *child);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_remove_all_children (ClutterActor *self); void clutter_actor_remove_all_children (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_destroy_all_children (ClutterActor *self); void clutter_actor_destroy_all_children (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
GList * clutter_actor_get_children (ClutterActor *self); GList * clutter_actor_get_children (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
gint clutter_actor_get_n_children (ClutterActor *self); gint clutter_actor_get_n_children (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
ClutterActor * clutter_actor_get_child_at_index (ClutterActor *self, ClutterActor * clutter_actor_get_child_at_index (ClutterActor *self,
gint index_); gint index_);
CLUTTER_AVAILABLE_IN_1_10
ClutterActor * clutter_actor_get_previous_sibling (ClutterActor *self); ClutterActor * clutter_actor_get_previous_sibling (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
ClutterActor * clutter_actor_get_next_sibling (ClutterActor *self); ClutterActor * clutter_actor_get_next_sibling (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
ClutterActor * clutter_actor_get_first_child (ClutterActor *self); ClutterActor * clutter_actor_get_first_child (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
ClutterActor * clutter_actor_get_last_child (ClutterActor *self); ClutterActor * clutter_actor_get_last_child (ClutterActor *self);
ClutterActor * clutter_actor_get_parent (ClutterActor *self); ClutterActor * clutter_actor_get_parent (ClutterActor *self);
gboolean clutter_actor_contains (ClutterActor *self, gboolean clutter_actor_contains (ClutterActor *self,
ClutterActor *descendant); ClutterActor *descendant);
ClutterActor* clutter_actor_get_stage (ClutterActor *actor); ClutterActor* clutter_actor_get_stage (ClutterActor *actor);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_child_below_sibling (ClutterActor *self, void clutter_actor_set_child_below_sibling (ClutterActor *self,
ClutterActor *child, ClutterActor *child,
ClutterActor *sibling); ClutterActor *sibling);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_child_above_sibling (ClutterActor *self, void clutter_actor_set_child_above_sibling (ClutterActor *self,
ClutterActor *child, ClutterActor *child,
ClutterActor *sibling); ClutterActor *sibling);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_child_at_index (ClutterActor *self, void clutter_actor_set_child_at_index (ClutterActor *self,
ClutterActor *child, ClutterActor *child,
gint index_); gint index_);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_iter_init (ClutterActorIter *iter, void clutter_actor_iter_init (ClutterActorIter *iter,
ClutterActor *root); ClutterActor *root);
CLUTTER_AVAILABLE_IN_1_10
gboolean clutter_actor_iter_next (ClutterActorIter *iter, gboolean clutter_actor_iter_next (ClutterActorIter *iter,
ClutterActor **child); ClutterActor **child);
CLUTTER_AVAILABLE_IN_1_10
gboolean clutter_actor_iter_prev (ClutterActorIter *iter, gboolean clutter_actor_iter_prev (ClutterActorIter *iter,
ClutterActor **child); ClutterActor **child);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_iter_remove (ClutterActorIter *iter); void clutter_actor_iter_remove (ClutterActorIter *iter);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_iter_destroy (ClutterActorIter *iter); void clutter_actor_iter_destroy (ClutterActorIter *iter);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_actor_iter_is_valid (const ClutterActorIter *iter); gboolean clutter_actor_iter_is_valid (const ClutterActorIter *iter);
/* Transformations */ /* Transformations */
gboolean clutter_actor_is_rotated (ClutterActor *self); gboolean clutter_actor_is_rotated (ClutterActor *self);
gboolean clutter_actor_is_scaled (ClutterActor *self); gboolean clutter_actor_is_scaled (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_set_pivot_point (ClutterActor *self, void clutter_actor_set_pivot_point (ClutterActor *self,
gfloat pivot_x, gfloat pivot_x,
gfloat pivot_y); gfloat pivot_y);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_get_pivot_point (ClutterActor *self, void clutter_actor_get_pivot_point (ClutterActor *self,
gfloat *pivot_x, gfloat *pivot_x,
gfloat *pivot_y); gfloat *pivot_y);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_set_pivot_point_z (ClutterActor *self, void clutter_actor_set_pivot_point_z (ClutterActor *self,
gfloat pivot_z); gfloat pivot_z);
CLUTTER_AVAILABLE_IN_1_12
gfloat clutter_actor_get_pivot_point_z (ClutterActor *self); gfloat clutter_actor_get_pivot_point_z (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_set_rotation_angle (ClutterActor *self, void clutter_actor_set_rotation_angle (ClutterActor *self,
ClutterRotateAxis axis, ClutterRotateAxis axis,
gdouble angle); gdouble angle);
CLUTTER_AVAILABLE_IN_1_12
gdouble clutter_actor_get_rotation_angle (ClutterActor *self, gdouble clutter_actor_get_rotation_angle (ClutterActor *self,
ClutterRotateAxis axis); ClutterRotateAxis axis);
void clutter_actor_set_scale (ClutterActor *self, void clutter_actor_set_scale (ClutterActor *self,
@ -649,31 +649,31 @@ void clutter_actor_set_scale
void clutter_actor_get_scale (ClutterActor *self, void clutter_actor_get_scale (ClutterActor *self,
gdouble *scale_x, gdouble *scale_x,
gdouble *scale_y); gdouble *scale_y);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_set_scale_z (ClutterActor *self, void clutter_actor_set_scale_z (ClutterActor *self,
gdouble scale_z); gdouble scale_z);
CLUTTER_AVAILABLE_IN_1_12
gdouble clutter_actor_get_scale_z (ClutterActor *self); gdouble clutter_actor_get_scale_z (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_set_translation (ClutterActor *self, void clutter_actor_set_translation (ClutterActor *self,
gfloat translate_x, gfloat translate_x,
gfloat translate_y, gfloat translate_y,
gfloat translate_z); gfloat translate_z);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_get_translation (ClutterActor *self, void clutter_actor_get_translation (ClutterActor *self,
gfloat *translate_x, gfloat *translate_x,
gfloat *translate_y, gfloat *translate_y,
gfloat *translate_z); gfloat *translate_z);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_set_transform (ClutterActor *self, void clutter_actor_set_transform (ClutterActor *self,
const ClutterMatrix *transform); const ClutterMatrix *transform);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_get_transform (ClutterActor *self, void clutter_actor_get_transform (ClutterActor *self,
ClutterMatrix *transform); ClutterMatrix *transform);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_set_child_transform (ClutterActor *self, void clutter_actor_set_child_transform (ClutterActor *self,
const ClutterMatrix *transform); const ClutterMatrix *transform);
CLUTTER_AVAILABLE_IN_1_12
void clutter_actor_get_child_transform (ClutterActor *self, void clutter_actor_get_child_transform (ClutterActor *self,
ClutterMatrix *transform); ClutterMatrix *transform);
void clutter_actor_get_transformed_position (ClutterActor *self, void clutter_actor_get_transformed_position (ClutterActor *self,
@ -698,36 +698,36 @@ void clutter_actor_apply_relative_transform_to_point
ClutterVertex *vertex); ClutterVertex *vertex);
/* Implicit animations */ /* Implicit animations */
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_save_easing_state (ClutterActor *self); void clutter_actor_save_easing_state (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_restore_easing_state (ClutterActor *self); void clutter_actor_restore_easing_state (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_easing_mode (ClutterActor *self, void clutter_actor_set_easing_mode (ClutterActor *self,
ClutterAnimationMode mode); ClutterAnimationMode mode);
CLUTTER_AVAILABLE_IN_1_10
ClutterAnimationMode clutter_actor_get_easing_mode (ClutterActor *self); ClutterAnimationMode clutter_actor_get_easing_mode (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_easing_duration (ClutterActor *self, void clutter_actor_set_easing_duration (ClutterActor *self,
guint msecs); guint msecs);
CLUTTER_AVAILABLE_IN_1_10
guint clutter_actor_get_easing_duration (ClutterActor *self); guint clutter_actor_get_easing_duration (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_set_easing_delay (ClutterActor *self, void clutter_actor_set_easing_delay (ClutterActor *self,
guint msecs); guint msecs);
CLUTTER_AVAILABLE_IN_1_10
guint clutter_actor_get_easing_delay (ClutterActor *self); guint clutter_actor_get_easing_delay (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10
ClutterTransition * clutter_actor_get_transition (ClutterActor *self, ClutterTransition * clutter_actor_get_transition (ClutterActor *self,
const char *name); const char *name);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_add_transition (ClutterActor *self, void clutter_actor_add_transition (ClutterActor *self,
const char *name, const char *name,
ClutterTransition *transition); ClutterTransition *transition);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_remove_transition (ClutterActor *self, void clutter_actor_remove_transition (ClutterActor *self,
const char *name); const char *name);
CLUTTER_AVAILABLE_IN_1_10
void clutter_actor_remove_all_transitions (ClutterActor *self); void clutter_actor_remove_all_transitions (ClutterActor *self);
G_END_DECLS G_END_DECLS

View File

@ -81,10 +81,10 @@ GType clutter_box_layout_get_type (void) G_GNUC_CONST;
ClutterLayoutManager * clutter_box_layout_new (void); ClutterLayoutManager * clutter_box_layout_new (void);
CLUTTER_AVAILABLE_IN_1_12
void clutter_box_layout_set_orientation (ClutterBoxLayout *layout, void clutter_box_layout_set_orientation (ClutterBoxLayout *layout,
ClutterOrientation orientation); ClutterOrientation orientation);
CLUTTER_AVAILABLE_IN_1_12
ClutterOrientation clutter_box_layout_get_orientation (ClutterBoxLayout *layout); ClutterOrientation clutter_box_layout_get_orientation (ClutterBoxLayout *layout);
void clutter_box_layout_set_spacing (ClutterBoxLayout *layout, void clutter_box_layout_set_spacing (ClutterBoxLayout *layout,

View File

@ -85,12 +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);

View File

@ -88,14 +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

View File

@ -129,11 +129,11 @@ void clutter_drag_action_get_motion_coords (ClutterDragAction *actio
gfloat *motion_x, gfloat *motion_x,
gfloat *motion_y); gfloat *motion_y);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_drag_action_get_drag_area (ClutterDragAction *action, gboolean clutter_drag_action_get_drag_area (ClutterDragAction *action,
ClutterRect *drag_area); ClutterRect *drag_area);
CLUTTER_AVAILABLE_IN_1_12
void clutter_drag_action_set_drag_area (ClutterDragAction *action, void clutter_drag_action_set_drag_area (ClutterDragAction *action,
const ClutterRect *drag_area); const ClutterRect *drag_area);

View File

@ -443,24 +443,24 @@ void clutter_event_set_coords (ClutterEvent
void clutter_event_get_coords (const ClutterEvent *event, void clutter_event_get_coords (const ClutterEvent *event,
gfloat *x, gfloat *x,
gfloat *y); gfloat *y);
CLUTTER_AVAILABLE_IN_1_12
void clutter_event_get_position (const ClutterEvent *event, void clutter_event_get_position (const ClutterEvent *event,
ClutterPoint *position); ClutterPoint *position);
CLUTTER_AVAILABLE_IN_1_12
float clutter_event_get_distance (const ClutterEvent *source, float clutter_event_get_distance (const ClutterEvent *source,
const ClutterEvent *target); const ClutterEvent *target);
CLUTTER_AVAILABLE_IN_1_12
double clutter_event_get_angle (const ClutterEvent *source, double clutter_event_get_angle (const ClutterEvent *source,
const ClutterEvent *target); const ClutterEvent *target);
gdouble * clutter_event_get_axes (const ClutterEvent *event, gdouble * clutter_event_get_axes (const ClutterEvent *event,
guint *n_axes); guint *n_axes);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_event_has_shift_modifier (const ClutterEvent *event); gboolean clutter_event_has_shift_modifier (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_event_has_control_modifier (const ClutterEvent *event); gboolean clutter_event_has_control_modifier (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_event_is_pointer_emulated (const ClutterEvent *event); gboolean clutter_event_is_pointer_emulated (const ClutterEvent *event);
void clutter_event_set_key_symbol (ClutterEvent *event, void clutter_event_set_key_symbol (ClutterEvent *event,
@ -485,20 +485,20 @@ ClutterActor * clutter_event_get_related (const ClutterEv
void clutter_event_set_scroll_direction (ClutterEvent *event, void clutter_event_set_scroll_direction (ClutterEvent *event,
ClutterScrollDirection direction); ClutterScrollDirection direction);
ClutterScrollDirection clutter_event_get_scroll_direction (const ClutterEvent *event); ClutterScrollDirection clutter_event_get_scroll_direction (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_10
void clutter_event_set_scroll_delta (ClutterEvent *event, void clutter_event_set_scroll_delta (ClutterEvent *event,
gdouble dx, gdouble dx,
gdouble dy); gdouble dy);
CLUTTER_AVAILABLE_IN_1_10
void clutter_event_get_scroll_delta (const ClutterEvent *event, void clutter_event_get_scroll_delta (const ClutterEvent *event,
gdouble *dx, gdouble *dx,
gdouble *dy); gdouble *dy);
CLUTTER_AVAILABLE_IN_1_10
ClutterEventSequence * clutter_event_get_event_sequence (const ClutterEvent *event); ClutterEventSequence * clutter_event_get_event_sequence (const ClutterEvent *event);
guint32 clutter_keysym_to_unicode (guint keyval); guint32 clutter_keysym_to_unicode (guint keyval);
CLUTTER_AVAILABLE_IN_1_10
guint clutter_unicode_to_keysym (guint32 wc); guint clutter_unicode_to_keysym (guint32 wc);
guint32 clutter_get_current_event_time (void); guint32 clutter_get_current_event_time (void);

View File

@ -116,7 +116,6 @@ void clutter_gesture_action_get_motion_coords (ClutterGestu
guint point, guint point,
gfloat *motion_x, gfloat *motion_x,
gfloat *motion_y); gfloat *motion_y);
CLUTTER_AVAILABLE_IN_1_12
gfloat clutter_gesture_action_get_motion_delta (ClutterGestureAction *action, gfloat clutter_gesture_action_get_motion_delta (ClutterGestureAction *action,
guint point, guint point,
gfloat *delta_x, gfloat *delta_x,
@ -125,28 +124,20 @@ void clutter_gesture_action_get_release_coords (ClutterGestu
guint point, guint point,
gfloat *release_x, gfloat *release_x,
gfloat *release_y); gfloat *release_y);
CLUTTER_AVAILABLE_IN_1_12
gfloat clutter_gesture_action_get_velocity (ClutterGestureAction *action, gfloat clutter_gesture_action_get_velocity (ClutterGestureAction *action,
guint point, guint point,
gfloat *velocity_x, gfloat *velocity_x,
gfloat *velocity_y); gfloat *velocity_y);
CLUTTER_AVAILABLE_IN_1_12
guint clutter_gesture_action_get_n_current_points (ClutterGestureAction *action); guint clutter_gesture_action_get_n_current_points (ClutterGestureAction *action);
CLUTTER_AVAILABLE_IN_1_12
ClutterEventSequence * clutter_gesture_action_get_sequence (ClutterGestureAction *action, ClutterEventSequence * clutter_gesture_action_get_sequence (ClutterGestureAction *action,
guint point); guint point);
CLUTTER_AVAILABLE_IN_1_12
ClutterInputDevice * clutter_gesture_action_get_device (ClutterGestureAction *action, ClutterInputDevice * clutter_gesture_action_get_device (ClutterGestureAction *action,
guint point); guint point);
CLUTTER_AVAILABLE_IN_1_14
const ClutterEvent * clutter_gesture_action_get_last_event (ClutterGestureAction *action, const ClutterEvent * clutter_gesture_action_get_last_event (ClutterGestureAction *action,
guint point); guint point);
CLUTTER_AVAILABLE_IN_1_12
void clutter_gesture_action_cancel (ClutterGestureAction *action); void clutter_gesture_action_cancel (ClutterGestureAction *action);
G_END_DECLS G_END_DECLS

View File

@ -80,13 +80,13 @@ struct _ClutterGridLayoutClass
gpointer _padding[8]; gpointer _padding[8];
}; };
CLUTTER_AVAILABLE_IN_1_12
GType clutter_grid_layout_get_type (void) G_GNUC_CONST; GType clutter_grid_layout_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12
ClutterLayoutManager * clutter_grid_layout_new (void); ClutterLayoutManager * clutter_grid_layout_new (void);
CLUTTER_AVAILABLE_IN_1_12
void clutter_grid_layout_attach (ClutterGridLayout *layout, void clutter_grid_layout_attach (ClutterGridLayout *layout,
ClutterActor *child, ClutterActor *child,
gint left, gint left,
@ -94,7 +94,7 @@ void clutter_grid_layout_attach (ClutterGrid
gint width, gint width,
gint height); gint height);
CLUTTER_AVAILABLE_IN_1_12
void clutter_grid_layout_attach_next_to (ClutterGridLayout *layout, void clutter_grid_layout_attach_next_to (ClutterGridLayout *layout,
ClutterActor *child, ClutterActor *child,
ClutterActor *sibling, ClutterActor *sibling,
@ -102,58 +102,58 @@ void clutter_grid_layout_attach_next_to (ClutterGrid
gint width, gint width,
gint height); gint height);
CLUTTER_AVAILABLE_IN_1_12
ClutterActor * clutter_grid_layout_get_child_at (ClutterGridLayout *layout, ClutterActor * clutter_grid_layout_get_child_at (ClutterGridLayout *layout,
gint left, gint left,
gint top); gint top);
CLUTTER_AVAILABLE_IN_1_12
void clutter_grid_layout_insert_row (ClutterGridLayout *layout, void clutter_grid_layout_insert_row (ClutterGridLayout *layout,
gint position); gint position);
CLUTTER_AVAILABLE_IN_1_12
void clutter_grid_layout_insert_column (ClutterGridLayout *layout, void clutter_grid_layout_insert_column (ClutterGridLayout *layout,
gint position); gint position);
CLUTTER_AVAILABLE_IN_1_12
void clutter_grid_layout_insert_next_to (ClutterGridLayout *layout, void clutter_grid_layout_insert_next_to (ClutterGridLayout *layout,
ClutterActor *sibling, ClutterActor *sibling,
ClutterGridPosition side); ClutterGridPosition side);
CLUTTER_AVAILABLE_IN_1_12
void clutter_grid_layout_set_orientation (ClutterGridLayout *layout, void clutter_grid_layout_set_orientation (ClutterGridLayout *layout,
ClutterOrientation orientation); ClutterOrientation orientation);
CLUTTER_AVAILABLE_IN_1_12
ClutterOrientation clutter_grid_layout_get_orientation (ClutterGridLayout *layout); ClutterOrientation clutter_grid_layout_get_orientation (ClutterGridLayout *layout);
CLUTTER_AVAILABLE_IN_1_12
void clutter_grid_layout_set_column_spacing (ClutterGridLayout *layout, void clutter_grid_layout_set_column_spacing (ClutterGridLayout *layout,
guint spacing); guint spacing);
CLUTTER_AVAILABLE_IN_1_12
guint clutter_grid_layout_get_column_spacing (ClutterGridLayout *layout); guint clutter_grid_layout_get_column_spacing (ClutterGridLayout *layout);
CLUTTER_AVAILABLE_IN_1_12
void clutter_grid_layout_set_row_spacing (ClutterGridLayout *layout, void clutter_grid_layout_set_row_spacing (ClutterGridLayout *layout,
guint spacing); guint spacing);
CLUTTER_AVAILABLE_IN_1_12
guint clutter_grid_layout_get_row_spacing (ClutterGridLayout *layout); guint clutter_grid_layout_get_row_spacing (ClutterGridLayout *layout);
CLUTTER_AVAILABLE_IN_1_12
void clutter_grid_layout_set_column_homogeneous (ClutterGridLayout *layout, void clutter_grid_layout_set_column_homogeneous (ClutterGridLayout *layout,
gboolean homogeneous); gboolean homogeneous);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_grid_layout_get_column_homogeneous (ClutterGridLayout *layout); gboolean clutter_grid_layout_get_column_homogeneous (ClutterGridLayout *layout);
CLUTTER_AVAILABLE_IN_1_12
void clutter_grid_layout_set_row_homogeneous (ClutterGridLayout *layout, void clutter_grid_layout_set_row_homogeneous (ClutterGridLayout *layout,
gboolean homogeneous); gboolean homogeneous);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_grid_layout_get_row_homogeneous (ClutterGridLayout *layout); gboolean clutter_grid_layout_get_row_homogeneous (ClutterGridLayout *layout);
G_END_DECLS G_END_DECLS

View File

@ -100,14 +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,
@ -115,14 +115,14 @@ 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,
const cairo_rectangle_int_t *rect, const cairo_rectangle_int_t *rect,
guint row_stride, guint row_stride,
GError **error); GError **error);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_image_set_bytes (ClutterImage *image, gboolean clutter_image_set_bytes (ClutterImage *image,
GBytes *data, GBytes *data,
CoglPixelFormat pixel_format, CoglPixelFormat pixel_format,
@ -132,7 +132,7 @@ gboolean clutter_image_set_bytes (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

View File

@ -52,7 +52,7 @@ GType clutter_input_device_get_type (void) G_GNUC_CONST;
ClutterInputDeviceType clutter_input_device_get_device_type (ClutterInputDevice *device); ClutterInputDeviceType clutter_input_device_get_device_type (ClutterInputDevice *device);
gint clutter_input_device_get_device_id (ClutterInputDevice *device); gint clutter_input_device_get_device_id (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_input_device_get_coords (ClutterInputDevice *device, gboolean clutter_input_device_get_coords (ClutterInputDevice *device,
ClutterEventSequence *sequence, ClutterEventSequence *sequence,
ClutterPoint *point); ClutterPoint *point);
@ -90,22 +90,22 @@ void clutter_input_device_update_from_event (ClutterInputDev
ClutterEvent *event, ClutterEvent *event,
gboolean update_stage); gboolean update_stage);
CLUTTER_AVAILABLE_IN_1_10
void clutter_input_device_grab (ClutterInputDevice *device, void clutter_input_device_grab (ClutterInputDevice *device,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_AVAILABLE_IN_1_10
void clutter_input_device_ungrab (ClutterInputDevice *device); void clutter_input_device_ungrab (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_10
ClutterActor * clutter_input_device_get_grabbed_actor (ClutterInputDevice *device); ClutterActor * clutter_input_device_get_grabbed_actor (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_12
void clutter_input_device_sequence_grab (ClutterInputDevice *device, void clutter_input_device_sequence_grab (ClutterInputDevice *device,
ClutterEventSequence *sequence, ClutterEventSequence *sequence,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_AVAILABLE_IN_1_12
void clutter_input_device_sequence_ungrab (ClutterInputDevice *device, void clutter_input_device_sequence_ungrab (ClutterInputDevice *device,
ClutterEventSequence *sequence); ClutterEventSequence *sequence);
CLUTTER_AVAILABLE_IN_1_12
ClutterActor * clutter_input_device_sequence_get_grabbed_actor (ClutterInputDevice *device, ClutterActor * clutter_input_device_sequence_get_grabbed_actor (ClutterInputDevice *device,
ClutterEventSequence *sequence); ClutterEventSequence *sequence);

View File

@ -133,7 +133,7 @@ gboolean clutter_interval_compute_value (ClutterInterval *interval,
const GValue * clutter_interval_compute (ClutterInterval *interval, const GValue * clutter_interval_compute (ClutterInterval *interval,
gdouble factor); gdouble factor);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_interval_is_valid (ClutterInterval *interval); gboolean clutter_interval_is_valid (ClutterInterval *interval);
G_END_DECLS G_END_DECLS

View File

@ -73,46 +73,46 @@ struct _ClutterKeyframeTransitionClass
gpointer _padding[8]; gpointer _padding[8];
}; };
CLUTTER_AVAILABLE_IN_1_12
GType clutter_keyframe_transition_get_type (void) G_GNUC_CONST; GType clutter_keyframe_transition_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12
ClutterTransition * clutter_keyframe_transition_new (const char *property_name); ClutterTransition * clutter_keyframe_transition_new (const char *property_name);
CLUTTER_AVAILABLE_IN_1_12
void clutter_keyframe_transition_set_key_frames (ClutterKeyframeTransition *transition, void clutter_keyframe_transition_set_key_frames (ClutterKeyframeTransition *transition,
guint n_key_frames, guint n_key_frames,
const double *key_frames); const double *key_frames);
CLUTTER_AVAILABLE_IN_1_12
void clutter_keyframe_transition_set_values (ClutterKeyframeTransition *transition, void clutter_keyframe_transition_set_values (ClutterKeyframeTransition *transition,
guint n_values, guint n_values,
const GValue *values); const GValue *values);
CLUTTER_AVAILABLE_IN_1_12
void clutter_keyframe_transition_set_modes (ClutterKeyframeTransition *transition, void clutter_keyframe_transition_set_modes (ClutterKeyframeTransition *transition,
guint n_modes, guint n_modes,
const ClutterAnimationMode *modes); const ClutterAnimationMode *modes);
CLUTTER_AVAILABLE_IN_1_12
void clutter_keyframe_transition_set (ClutterKeyframeTransition *transition, void clutter_keyframe_transition_set (ClutterKeyframeTransition *transition,
GType gtype, GType gtype,
guint n_key_frames, guint n_key_frames,
...); ...);
CLUTTER_AVAILABLE_IN_1_12
void clutter_keyframe_transition_set_key_frame (ClutterKeyframeTransition *transition, void clutter_keyframe_transition_set_key_frame (ClutterKeyframeTransition *transition,
guint index_, guint index_,
double key, double key,
ClutterAnimationMode mode, ClutterAnimationMode mode,
const GValue *value); const GValue *value);
CLUTTER_AVAILABLE_IN_1_12
void clutter_keyframe_transition_get_key_frame (ClutterKeyframeTransition *transition, void clutter_keyframe_transition_get_key_frame (ClutterKeyframeTransition *transition,
guint index_, guint index_,
double *key, double *key,
ClutterAnimationMode *mode, ClutterAnimationMode *mode,
GValue *value); GValue *value);
CLUTTER_AVAILABLE_IN_1_12
guint clutter_keyframe_transition_get_n_key_frames (ClutterKeyframeTransition *transition); guint clutter_keyframe_transition_get_n_key_frames (ClutterKeyframeTransition *transition);
CLUTTER_AVAILABLE_IN_1_12
void clutter_keyframe_transition_clear (ClutterKeyframeTransition *transition); void clutter_keyframe_transition_clear (ClutterKeyframeTransition *transition);
G_END_DECLS G_END_DECLS

View File

@ -123,7 +123,7 @@ guint clutter_threads_add_timeout_full (gint
guint clutter_threads_add_repaint_func (GSourceFunc func, guint clutter_threads_add_repaint_func (GSourceFunc func,
gpointer data, gpointer data,
GDestroyNotify notify); GDestroyNotify notify);
CLUTTER_AVAILABLE_IN_1_10
guint clutter_threads_add_repaint_func_full (ClutterRepaintFlags flags, guint clutter_threads_add_repaint_func_full (ClutterRepaintFlags flags,
GSourceFunc func, GSourceFunc func,
gpointer data, gpointer data,

View File

@ -96,7 +96,7 @@ GType clutter_offscreen_effect_get_type (void) G_GNUC_CONST;
CoglMaterial * clutter_offscreen_effect_get_target (ClutterOffscreenEffect *effect); CoglMaterial * clutter_offscreen_effect_get_target (ClutterOffscreenEffect *effect);
CLUTTER_AVAILABLE_IN_1_10
CoglHandle clutter_offscreen_effect_get_texture (ClutterOffscreenEffect *effect); CoglHandle clutter_offscreen_effect_get_texture (ClutterOffscreenEffect *effect);
void clutter_offscreen_effect_paint_target (ClutterOffscreenEffect *effect); void clutter_offscreen_effect_paint_target (ClutterOffscreenEffect *effect);

View File

@ -41,25 +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,
@ -67,10 +67,9 @@ 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_API) && defined(CLUTTER_ENABLE_EXPERIMENTAL_API) #if defined(COGL_ENABLE_EXPERIMENTAL_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_API && CLUTTER_ENABLE_EXPERIMENTAL_API */ #endif /* COGL_ENABLE_EXPERIMENTAL_API && CLUTTER_ENABLE_EXPERIMENTAL_API */
@ -86,15 +85,15 @@ void clutter_paint_node_add_primitive (Clutter
*/ */
#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

View File

@ -49,10 +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 ())
@ -70,10 +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,
@ -94,10 +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 ())
@ -115,11 +115,10 @@ 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_API) && defined(CLUTTER_ENABLE_EXPERIMENTAL_API) #if defined(COGL_ENABLE_EXPERIMENTAL_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_API && CLUTTER_ENABLE_EXPERIMENTAL_API */ #endif /* COGL_ENABLE_EXPERIMENTAL_API && CLUTTER_ENABLE_EXPERIMENTAL_API */
@ -138,10 +137,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);

View File

@ -95,49 +95,36 @@ struct _ClutterPanActionClass
void (* _clutter_pan_action6) (void); void (* _clutter_pan_action6) (void);
}; };
CLUTTER_AVAILABLE_IN_1_12
GType clutter_pan_action_get_type (void) G_GNUC_CONST; GType clutter_pan_action_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12
ClutterAction * clutter_pan_action_new (void); ClutterAction * clutter_pan_action_new (void);
CLUTTER_AVAILABLE_IN_1_12
void clutter_pan_action_set_pan_axis (ClutterPanAction *self, void clutter_pan_action_set_pan_axis (ClutterPanAction *self,
ClutterPanAxis axis); ClutterPanAxis axis);
CLUTTER_AVAILABLE_IN_1_12
ClutterPanAxis clutter_pan_action_get_pan_axis (ClutterPanAction *self); ClutterPanAxis clutter_pan_action_get_pan_axis (ClutterPanAction *self);
CLUTTER_AVAILABLE_IN_1_12
void clutter_pan_action_set_interpolate (ClutterPanAction *self, void clutter_pan_action_set_interpolate (ClutterPanAction *self,
gboolean should_interpolate); gboolean should_interpolate);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_pan_action_get_interpolate (ClutterPanAction *self); gboolean clutter_pan_action_get_interpolate (ClutterPanAction *self);
CLUTTER_AVAILABLE_IN_1_12
void clutter_pan_action_set_deceleration (ClutterPanAction *self, void clutter_pan_action_set_deceleration (ClutterPanAction *self,
gdouble rate); gdouble rate);
CLUTTER_AVAILABLE_IN_1_12
gdouble clutter_pan_action_get_deceleration (ClutterPanAction *self); gdouble clutter_pan_action_get_deceleration (ClutterPanAction *self);
CLUTTER_AVAILABLE_IN_1_12
void clutter_pan_action_set_acceleration_factor (ClutterPanAction *self, void clutter_pan_action_set_acceleration_factor (ClutterPanAction *self,
gdouble factor); gdouble factor);
CLUTTER_AVAILABLE_IN_1_12
gdouble clutter_pan_action_get_acceleration_factor (ClutterPanAction *self); gdouble clutter_pan_action_get_acceleration_factor (ClutterPanAction *self);
CLUTTER_AVAILABLE_IN_1_12
void clutter_pan_action_get_interpolated_coords (ClutterPanAction *self, void clutter_pan_action_get_interpolated_coords (ClutterPanAction *self,
gfloat *interpolated_x, gfloat *interpolated_x,
gfloat *interpolated_y); gfloat *interpolated_y);
CLUTTER_AVAILABLE_IN_1_12
gfloat clutter_pan_action_get_interpolated_delta (ClutterPanAction *self, gfloat clutter_pan_action_get_interpolated_delta (ClutterPanAction *self,
gfloat *delta_x, gfloat *delta_x,
gfloat *delta_y); gfloat *delta_y);
CLUTTER_AVAILABLE_IN_1_14
gfloat clutter_pan_action_get_motion_delta (ClutterPanAction *self, gfloat clutter_pan_action_get_motion_delta (ClutterPanAction *self,
guint point, guint point,
gfloat *delta_x, gfloat *delta_x,
gfloat *delta_y); gfloat *delta_y);
CLUTTER_AVAILABLE_IN_1_14
void clutter_pan_action_get_motion_coords (ClutterPanAction *self, void clutter_pan_action_get_motion_coords (ClutterPanAction *self,
guint point, guint point,
gfloat *motion_x, gfloat *motion_x,
gfloat *motion_y); gfloat *motion_y);
G_END_DECLS G_END_DECLS
#endif /* __CLUTTER_PAN_ACTION_H__ */ #endif /* __CLUTTER_PAN_ACTION_H__ */

View File

@ -75,15 +75,15 @@ 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 (const char *property_name); ClutterTransition * clutter_property_transition_new (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

View File

@ -89,10 +89,10 @@ struct _ClutterRotateActionClass
void (* _clutter_rotate_action7) (void); void (* _clutter_rotate_action7) (void);
}; };
CLUTTER_AVAILABLE_IN_1_12
GType clutter_rotate_action_get_type (void) G_GNUC_CONST; GType clutter_rotate_action_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12
ClutterAction *clutter_rotate_action_new (void); ClutterAction *clutter_rotate_action_new (void);
G_END_DECLS G_END_DECLS

View File

@ -153,7 +153,7 @@ guint clutter_script_load_from_data (ClutterScript
const gchar *data, const gchar *data,
gssize length, gssize length,
GError **error); GError **error);
CLUTTER_AVAILABLE_IN_1_10
guint clutter_script_load_from_resource (ClutterScript *script, guint clutter_script_load_from_resource (ClutterScript *script,
const gchar *resource_path, const gchar *resource_path,
GError **error); GError **error);
@ -182,10 +182,10 @@ gchar * clutter_script_lookup_filename (ClutterScript
GType clutter_script_get_type_from_name (ClutterScript *script, GType clutter_script_get_type_from_name (ClutterScript *script,
const gchar *type_name); const gchar *type_name);
CLUTTER_AVAILABLE_IN_1_10
void clutter_script_set_translation_domain (ClutterScript *script, void clutter_script_set_translation_domain (ClutterScript *script,
const gchar *domain); const gchar *domain);
CLUTTER_AVAILABLE_IN_1_10
const gchar * clutter_script_get_translation_domain (ClutterScript *script); const gchar * clutter_script_get_translation_domain (ClutterScript *script);
const gchar * clutter_get_script_id (GObject *gobject); const gchar * clutter_get_script_id (GObject *gobject);

View File

@ -73,22 +73,22 @@ struct _ClutterScrollActorClass
gpointer _padding[8]; gpointer _padding[8];
}; };
CLUTTER_AVAILABLE_IN_1_12
GType clutter_scroll_actor_get_type (void) G_GNUC_CONST; GType clutter_scroll_actor_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12
ClutterActor * clutter_scroll_actor_new (void); ClutterActor * clutter_scroll_actor_new (void);
CLUTTER_AVAILABLE_IN_1_12
void clutter_scroll_actor_set_scroll_mode (ClutterScrollActor *actor, void clutter_scroll_actor_set_scroll_mode (ClutterScrollActor *actor,
ClutterScrollMode mode); ClutterScrollMode mode);
CLUTTER_AVAILABLE_IN_1_12
ClutterScrollMode clutter_scroll_actor_get_scroll_mode (ClutterScrollActor *actor); ClutterScrollMode clutter_scroll_actor_get_scroll_mode (ClutterScrollActor *actor);
CLUTTER_AVAILABLE_IN_1_12
void clutter_scroll_actor_scroll_to_point (ClutterScrollActor *actor, void clutter_scroll_actor_scroll_to_point (ClutterScrollActor *actor,
const ClutterPoint *point); const ClutterPoint *point);
CLUTTER_AVAILABLE_IN_1_12
void clutter_scroll_actor_scroll_to_rect (ClutterScrollActor *actor, void clutter_scroll_actor_scroll_to_rect (ClutterScrollActor *actor,
const ClutterRect *rect); const ClutterRect *rect);

View File

@ -123,46 +123,46 @@ struct _ClutterTextBufferClass
void (*_clutter_reserved8) (void); void (*_clutter_reserved8) (void);
}; };
CLUTTER_AVAILABLE_IN_1_10
GType clutter_text_buffer_get_type (void) G_GNUC_CONST; GType clutter_text_buffer_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_10
ClutterTextBuffer* clutter_text_buffer_new (void); ClutterTextBuffer* clutter_text_buffer_new (void);
CLUTTER_AVAILABLE_IN_1_10
ClutterTextBuffer* clutter_text_buffer_new_with_text (const gchar *text, ClutterTextBuffer* clutter_text_buffer_new_with_text (const gchar *text,
gssize text_len); gssize text_len);
CLUTTER_AVAILABLE_IN_1_10
gsize clutter_text_buffer_get_bytes (ClutterTextBuffer *buffer); gsize clutter_text_buffer_get_bytes (ClutterTextBuffer *buffer);
CLUTTER_AVAILABLE_IN_1_10
guint clutter_text_buffer_get_length (ClutterTextBuffer *buffer); guint clutter_text_buffer_get_length (ClutterTextBuffer *buffer);
CLUTTER_AVAILABLE_IN_1_10
const gchar* clutter_text_buffer_get_text (ClutterTextBuffer *buffer); const gchar* clutter_text_buffer_get_text (ClutterTextBuffer *buffer);
CLUTTER_AVAILABLE_IN_1_10
void clutter_text_buffer_set_text (ClutterTextBuffer *buffer, void clutter_text_buffer_set_text (ClutterTextBuffer *buffer,
const gchar *chars, const gchar *chars,
gint n_chars); gint n_chars);
CLUTTER_AVAILABLE_IN_1_10
void clutter_text_buffer_set_max_length (ClutterTextBuffer *buffer, void clutter_text_buffer_set_max_length (ClutterTextBuffer *buffer,
gint max_length); gint max_length);
CLUTTER_AVAILABLE_IN_1_10
gint clutter_text_buffer_get_max_length (ClutterTextBuffer *buffer); gint clutter_text_buffer_get_max_length (ClutterTextBuffer *buffer);
CLUTTER_AVAILABLE_IN_1_10
guint clutter_text_buffer_insert_text (ClutterTextBuffer *buffer, guint clutter_text_buffer_insert_text (ClutterTextBuffer *buffer,
guint position, guint position,
const gchar *chars, const gchar *chars,
gint n_chars); gint n_chars);
CLUTTER_AVAILABLE_IN_1_10
guint clutter_text_buffer_delete_text (ClutterTextBuffer *buffer, guint clutter_text_buffer_delete_text (ClutterTextBuffer *buffer,
guint position, guint position,
gint n_chars); gint n_chars);
CLUTTER_AVAILABLE_IN_1_10
void clutter_text_buffer_emit_inserted_text (ClutterTextBuffer *buffer, void clutter_text_buffer_emit_inserted_text (ClutterTextBuffer *buffer,
guint position, guint position,
const gchar *chars, const gchar *chars,
guint n_chars); guint n_chars);
CLUTTER_AVAILABLE_IN_1_10
void clutter_text_buffer_emit_deleted_text (ClutterTextBuffer *buffer, void clutter_text_buffer_emit_deleted_text (ClutterTextBuffer *buffer,
guint position, guint position,
guint n_chars); guint n_chars);

View File

@ -101,11 +101,11 @@ ClutterActor * clutter_text_new_full (const gchar *f
const ClutterColor *color); const ClutterColor *color);
ClutterActor * clutter_text_new_with_text (const gchar *font_name, ClutterActor * clutter_text_new_with_text (const gchar *font_name,
const gchar *text); const gchar *text);
CLUTTER_AVAILABLE_IN_1_10
ClutterActor * clutter_text_new_with_buffer (ClutterTextBuffer *buffer); ClutterActor * clutter_text_new_with_buffer (ClutterTextBuffer *buffer);
CLUTTER_AVAILABLE_IN_1_10
ClutterTextBuffer * clutter_text_get_buffer (ClutterText *self); ClutterTextBuffer * clutter_text_get_buffer (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_10
void clutter_text_set_buffer (ClutterText *self, void clutter_text_set_buffer (ClutterText *self,
ClutterTextBuffer *buffer); ClutterTextBuffer *buffer);
const gchar * clutter_text_get_text (ClutterText *self); const gchar * clutter_text_get_text (ClutterText *self);
@ -213,7 +213,7 @@ void clutter_text_get_selected_text_color (ClutterText
ClutterColor *color); ClutterColor *color);
gboolean clutter_text_activate (ClutterText *self); gboolean clutter_text_activate (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_10
gint clutter_text_coords_to_position (ClutterText *self, gint clutter_text_coords_to_position (ClutterText *self,
gfloat x, gfloat x,
gfloat y); gfloat y);

View File

@ -131,10 +131,10 @@ void clutter_timeline_stop
void clutter_timeline_set_auto_reverse (ClutterTimeline *timeline, void clutter_timeline_set_auto_reverse (ClutterTimeline *timeline,
gboolean reverse); gboolean reverse);
gboolean clutter_timeline_get_auto_reverse (ClutterTimeline *timeline); gboolean clutter_timeline_get_auto_reverse (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_1_10
void clutter_timeline_set_repeat_count (ClutterTimeline *timeline, void clutter_timeline_set_repeat_count (ClutterTimeline *timeline,
gint count); gint count);
CLUTTER_AVAILABLE_IN_1_10
gint clutter_timeline_get_repeat_count (ClutterTimeline *timeline); gint clutter_timeline_get_repeat_count (ClutterTimeline *timeline);
void clutter_timeline_rewind (ClutterTimeline *timeline); void clutter_timeline_rewind (ClutterTimeline *timeline);
void clutter_timeline_skip (ClutterTimeline *timeline, void clutter_timeline_skip (ClutterTimeline *timeline,
@ -164,36 +164,36 @@ gboolean clutter_timeline_has_marker
const gchar *marker_name); const gchar *marker_name);
void clutter_timeline_advance_to_marker (ClutterTimeline *timeline, void clutter_timeline_advance_to_marker (ClutterTimeline *timeline,
const gchar *marker_name); const gchar *marker_name);
CLUTTER_AVAILABLE_IN_1_10
void clutter_timeline_set_progress_func (ClutterTimeline *timeline, void clutter_timeline_set_progress_func (ClutterTimeline *timeline,
ClutterTimelineProgressFunc func, ClutterTimelineProgressFunc func,
gpointer data, gpointer data,
GDestroyNotify notify); GDestroyNotify notify);
CLUTTER_AVAILABLE_IN_1_10
void clutter_timeline_set_progress_mode (ClutterTimeline *timeline, void clutter_timeline_set_progress_mode (ClutterTimeline *timeline,
ClutterAnimationMode mode); ClutterAnimationMode mode);
CLUTTER_AVAILABLE_IN_1_10
ClutterAnimationMode clutter_timeline_get_progress_mode (ClutterTimeline *timeline); ClutterAnimationMode clutter_timeline_get_progress_mode (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_1_12
void clutter_timeline_set_step_progress (ClutterTimeline *timeline, void clutter_timeline_set_step_progress (ClutterTimeline *timeline,
gint n_steps, gint n_steps,
ClutterStepMode step_mode); ClutterStepMode step_mode);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_timeline_get_step_progress (ClutterTimeline *timeline, gboolean clutter_timeline_get_step_progress (ClutterTimeline *timeline,
gint *n_steps, gint *n_steps,
ClutterStepMode *step_mode); ClutterStepMode *step_mode);
CLUTTER_AVAILABLE_IN_1_12
void clutter_timeline_set_cubic_bezier_progress (ClutterTimeline *timeline, void clutter_timeline_set_cubic_bezier_progress (ClutterTimeline *timeline,
const ClutterPoint *c_1, const ClutterPoint *c_1,
const ClutterPoint *c_2); const ClutterPoint *c_2);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_timeline_get_cubic_bezier_progress (ClutterTimeline *timeline, gboolean clutter_timeline_get_cubic_bezier_progress (ClutterTimeline *timeline,
ClutterPoint *c_1, ClutterPoint *c_1,
ClutterPoint *c_2); ClutterPoint *c_2);
CLUTTER_AVAILABLE_IN_1_10
gint64 clutter_timeline_get_duration_hint (ClutterTimeline *timeline); gint64 clutter_timeline_get_duration_hint (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_1_10
gint clutter_timeline_get_current_repeat (ClutterTimeline *timeline); gint clutter_timeline_get_current_repeat (ClutterTimeline *timeline);
G_END_DECLS G_END_DECLS

View File

@ -71,19 +71,19 @@ struct _ClutterTransitionGroupClass
gpointer _padding[8]; gpointer _padding[8];
}; };
CLUTTER_AVAILABLE_IN_1_12
GType clutter_transition_group_get_type (void) G_GNUC_CONST; GType clutter_transition_group_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12
ClutterTransition * clutter_transition_group_new (void); ClutterTransition * clutter_transition_group_new (void);
CLUTTER_AVAILABLE_IN_1_12
void clutter_transition_group_add_transition (ClutterTransitionGroup *group, void clutter_transition_group_add_transition (ClutterTransitionGroup *group,
ClutterTransition *transition); ClutterTransition *transition);
CLUTTER_AVAILABLE_IN_1_12
void clutter_transition_group_remove_transition (ClutterTransitionGroup *group, void clutter_transition_group_remove_transition (ClutterTransitionGroup *group,
ClutterTransition *transition); ClutterTransition *transition);
CLUTTER_AVAILABLE_IN_1_12
void clutter_transition_group_remove_all (ClutterTransitionGroup *group); void clutter_transition_group_remove_all (ClutterTransitionGroup *group);
G_END_DECLS G_END_DECLS

View File

@ -93,38 +93,38 @@ 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_12
void clutter_transition_set_from_value (ClutterTransition *transition, void clutter_transition_set_from_value (ClutterTransition *transition,
const GValue *value); const GValue *value);
CLUTTER_AVAILABLE_IN_1_12
void clutter_transition_set_to_value (ClutterTransition *transition, void clutter_transition_set_to_value (ClutterTransition *transition,
const GValue *value); const GValue *value);
CLUTTER_AVAILABLE_IN_1_12
void clutter_transition_set_from (ClutterTransition *transition, void clutter_transition_set_from (ClutterTransition *transition,
GType value_type, GType value_type,
...); ...);
CLUTTER_AVAILABLE_IN_1_12
void clutter_transition_set_to (ClutterTransition *transition, void clutter_transition_set_to (ClutterTransition *transition,
GType value_type, GType value_type,
...); ...);
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

View File

@ -170,25 +170,25 @@ struct _ClutterPoint
*/ */
#define CLUTTER_POINT_INIT_ZERO CLUTTER_POINT_INIT (0.f, 0.f) #define CLUTTER_POINT_INIT_ZERO CLUTTER_POINT_INIT (0.f, 0.f)
CLUTTER_AVAILABLE_IN_1_12
GType clutter_point_get_type (void) G_GNUC_CONST; GType clutter_point_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12
const ClutterPoint * clutter_point_zero (void); const ClutterPoint * clutter_point_zero (void);
CLUTTER_AVAILABLE_IN_1_12
ClutterPoint * clutter_point_alloc (void); ClutterPoint * clutter_point_alloc (void);
CLUTTER_AVAILABLE_IN_1_12
ClutterPoint * clutter_point_init (ClutterPoint *point, ClutterPoint * clutter_point_init (ClutterPoint *point,
float x, float x,
float y); float y);
CLUTTER_AVAILABLE_IN_1_12
ClutterPoint * clutter_point_copy (const ClutterPoint *point); ClutterPoint * clutter_point_copy (const ClutterPoint *point);
CLUTTER_AVAILABLE_IN_1_12
void clutter_point_free (ClutterPoint *point); void clutter_point_free (ClutterPoint *point);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_point_equals (const ClutterPoint *a, gboolean clutter_point_equals (const ClutterPoint *a,
const ClutterPoint *b); const ClutterPoint *b);
CLUTTER_AVAILABLE_IN_1_12
float clutter_point_distance (const ClutterPoint *a, float clutter_point_distance (const ClutterPoint *a,
const ClutterPoint *b, const ClutterPoint *b,
float *x_distance, float *x_distance,
@ -234,20 +234,20 @@ struct _ClutterSize
*/ */
#define CLUTTER_SIZE_INIT_ZERO CLUTTER_SIZE_INIT (0.f, 0.f) #define CLUTTER_SIZE_INIT_ZERO CLUTTER_SIZE_INIT (0.f, 0.f)
CLUTTER_AVAILABLE_IN_1_12
GType clutter_size_get_type (void) G_GNUC_CONST; GType clutter_size_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12
ClutterSize * clutter_size_alloc (void); ClutterSize * clutter_size_alloc (void);
CLUTTER_AVAILABLE_IN_1_12
ClutterSize * clutter_size_init (ClutterSize *size, ClutterSize * clutter_size_init (ClutterSize *size,
float width, float width,
float height); float height);
CLUTTER_AVAILABLE_IN_1_12
ClutterSize * clutter_size_copy (const ClutterSize *size); ClutterSize * clutter_size_copy (const ClutterSize *size);
CLUTTER_AVAILABLE_IN_1_12
void clutter_size_free (ClutterSize *size); void clutter_size_free (ClutterSize *size);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_size_equals (const ClutterSize *a, gboolean clutter_size_equals (const ClutterSize *a,
const ClutterSize *b); const ClutterSize *b);
@ -305,63 +305,63 @@ struct _ClutterRect
*/ */
#define CLUTTER_RECT_INIT_ZERO CLUTTER_RECT_INIT (0.f, 0.f, 0.f, 0.f) #define CLUTTER_RECT_INIT_ZERO CLUTTER_RECT_INIT (0.f, 0.f, 0.f, 0.f)
CLUTTER_AVAILABLE_IN_1_12
GType clutter_rect_get_type (void) G_GNUC_CONST; GType clutter_rect_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12
const ClutterRect * clutter_rect_zero (void); const ClutterRect * clutter_rect_zero (void);
CLUTTER_AVAILABLE_IN_1_12
ClutterRect * clutter_rect_alloc (void); ClutterRect * clutter_rect_alloc (void);
CLUTTER_AVAILABLE_IN_1_12
ClutterRect * clutter_rect_init (ClutterRect *rect, ClutterRect * clutter_rect_init (ClutterRect *rect,
float x, float x,
float y, float y,
float width, float width,
float height); float height);
CLUTTER_AVAILABLE_IN_1_12
ClutterRect * clutter_rect_copy (const ClutterRect *rect); ClutterRect * clutter_rect_copy (const ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12
void clutter_rect_free (ClutterRect *rect); void clutter_rect_free (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_rect_equals (ClutterRect *a, gboolean clutter_rect_equals (ClutterRect *a,
ClutterRect *b); ClutterRect *b);
CLUTTER_AVAILABLE_IN_1_12
ClutterRect * clutter_rect_normalize (ClutterRect *rect); ClutterRect * clutter_rect_normalize (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12
void clutter_rect_get_center (ClutterRect *rect, void clutter_rect_get_center (ClutterRect *rect,
ClutterPoint *center); ClutterPoint *center);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_rect_contains_point (ClutterRect *rect, gboolean clutter_rect_contains_point (ClutterRect *rect,
ClutterPoint *point); ClutterPoint *point);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_rect_contains_rect (ClutterRect *a, gboolean clutter_rect_contains_rect (ClutterRect *a,
ClutterRect *b); ClutterRect *b);
CLUTTER_AVAILABLE_IN_1_12
void clutter_rect_union (ClutterRect *a, void clutter_rect_union (ClutterRect *a,
ClutterRect *b, ClutterRect *b,
ClutterRect *res); ClutterRect *res);
CLUTTER_AVAILABLE_IN_1_12
gboolean clutter_rect_intersection (ClutterRect *a, gboolean clutter_rect_intersection (ClutterRect *a,
ClutterRect *b, ClutterRect *b,
ClutterRect *res); ClutterRect *res);
CLUTTER_AVAILABLE_IN_1_12
void clutter_rect_offset (ClutterRect *rect, void clutter_rect_offset (ClutterRect *rect,
float d_x, float d_x,
float d_y); float d_y);
CLUTTER_AVAILABLE_IN_1_12
void clutter_rect_inset (ClutterRect *rect, void clutter_rect_inset (ClutterRect *rect,
float d_x, float d_x,
float d_y); float d_y);
CLUTTER_AVAILABLE_IN_1_12
void clutter_rect_clamp_to_pixel (ClutterRect *rect); void clutter_rect_clamp_to_pixel (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12
float clutter_rect_get_x (ClutterRect *rect); float clutter_rect_get_x (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12
float clutter_rect_get_y (ClutterRect *rect); float clutter_rect_get_y (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12
float clutter_rect_get_width (ClutterRect *rect); float clutter_rect_get_width (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12
float clutter_rect_get_height (ClutterRect *rect); float clutter_rect_get_height (ClutterRect *rect);
/** /**
@ -410,7 +410,7 @@ GType clutter_vertex_get_type (void) G_GNUC_CONST;
ClutterVertex *clutter_vertex_new (gfloat x, ClutterVertex *clutter_vertex_new (gfloat x,
gfloat y, gfloat y,
gfloat z); gfloat z);
CLUTTER_AVAILABLE_IN_1_12
ClutterVertex *clutter_vertex_alloc (void); ClutterVertex *clutter_vertex_alloc (void);
ClutterVertex *clutter_vertex_init (ClutterVertex *vertex, ClutterVertex *clutter_vertex_init (ClutterVertex *vertex,
gfloat x, gfloat x,
@ -478,7 +478,7 @@ ClutterActorBox *clutter_actor_box_new (gfloat x_1,
gfloat y_1, gfloat y_1,
gfloat x_2, gfloat x_2,
gfloat y_2); gfloat y_2);
CLUTTER_AVAILABLE_IN_1_12
ClutterActorBox *clutter_actor_box_alloc (void); ClutterActorBox *clutter_actor_box_alloc (void);
ClutterActorBox *clutter_actor_box_init (ClutterActorBox *box, ClutterActorBox *clutter_actor_box_init (ClutterActorBox *box,
gfloat x_1, gfloat x_1,
@ -599,7 +599,7 @@ void clutter_paint_volume_set_depth (ClutterPaintVolume
gfloat clutter_paint_volume_get_depth (const ClutterPaintVolume *pv); gfloat clutter_paint_volume_get_depth (const ClutterPaintVolume *pv);
void clutter_paint_volume_union (ClutterPaintVolume *pv, void clutter_paint_volume_union (ClutterPaintVolume *pv,
const ClutterPaintVolume *another_pv); const ClutterPaintVolume *another_pv);
CLUTTER_AVAILABLE_IN_1_10
void clutter_paint_volume_union_box (ClutterPaintVolume *pv, void clutter_paint_volume_union_box (ClutterPaintVolume *pv,
const ClutterActorBox *box); const ClutterActorBox *box);
@ -662,20 +662,14 @@ typedef gboolean (* ClutterProgressFunc) (const GValue *a,
void clutter_interval_register_progress_func (GType value_type, void clutter_interval_register_progress_func (GType value_type,
ClutterProgressFunc func); ClutterProgressFunc func);
CLUTTER_AVAILABLE_IN_1_12
GType clutter_matrix_get_type (void) G_GNUC_CONST; GType clutter_matrix_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12
ClutterMatrix * clutter_matrix_alloc (void); ClutterMatrix * clutter_matrix_alloc (void);
CLUTTER_AVAILABLE_IN_1_12
ClutterMatrix * clutter_matrix_init_identity (ClutterMatrix *matrix); ClutterMatrix * clutter_matrix_init_identity (ClutterMatrix *matrix);
CLUTTER_AVAILABLE_IN_1_12
ClutterMatrix * clutter_matrix_init_from_array (ClutterMatrix *matrix, ClutterMatrix * clutter_matrix_init_from_array (ClutterMatrix *matrix,
const float values[16]); const float values[16]);
CLUTTER_AVAILABLE_IN_1_12
ClutterMatrix * clutter_matrix_init_from_matrix (ClutterMatrix *a, ClutterMatrix * clutter_matrix_init_from_matrix (ClutterMatrix *a,
const ClutterMatrix *b); const ClutterMatrix *b);
CLUTTER_AVAILABLE_IN_1_12
void clutter_matrix_free (ClutterMatrix *matrix); void clutter_matrix_free (ClutterMatrix *matrix);
G_END_DECLS G_END_DECLS

View File

@ -90,22 +90,22 @@ struct _ClutterZoomActionClass
void (* _clutter_zoom_action5) (void); void (* _clutter_zoom_action5) (void);
}; };
CLUTTER_AVAILABLE_IN_1_12
GType clutter_zoom_action_get_type (void) G_GNUC_CONST; GType clutter_zoom_action_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12
ClutterAction * clutter_zoom_action_new (void); ClutterAction * clutter_zoom_action_new (void);
CLUTTER_AVAILABLE_IN_1_12
void clutter_zoom_action_set_zoom_axis (ClutterZoomAction *action, void clutter_zoom_action_set_zoom_axis (ClutterZoomAction *action,
ClutterZoomAxis axis); ClutterZoomAxis axis);
CLUTTER_AVAILABLE_IN_1_12
ClutterZoomAxis clutter_zoom_action_get_zoom_axis (ClutterZoomAction *action); ClutterZoomAxis clutter_zoom_action_get_zoom_axis (ClutterZoomAction *action);
CLUTTER_AVAILABLE_IN_1_12
void clutter_zoom_action_get_focal_point (ClutterZoomAction *action, void clutter_zoom_action_get_focal_point (ClutterZoomAction *action,
ClutterPoint *point); ClutterPoint *point);
CLUTTER_AVAILABLE_IN_1_12
void clutter_zoom_action_get_transformed_focal_point (ClutterZoomAction *action, void clutter_zoom_action_get_transformed_focal_point (ClutterZoomAction *action,
ClutterPoint *point); ClutterPoint *point);