clutter: Remove clutter specific version

Use the mutter version when something is still needed.
This commit is contained in:
Jonas Ådahl 2018-05-22 23:01:54 +02:00
parent 8894ec462a
commit 8c0e13ca7a
148 changed files with 1706 additions and 2433 deletions

1
clutter/.gitignore vendored
View File

@ -23,7 +23,6 @@ clutter-build-config.h.in
clutter-config.h clutter-config.h
clutter-enum-types.[ch] clutter-enum-types.[ch]
clutter-marshal.[ch] clutter-marshal.[ch]
clutter-version.h
gcov-report.txt gcov-report.txt
clutter-json.h clutter-json.h
clutter-lcov.info clutter-lcov.info

View File

@ -355,10 +355,6 @@ built_source_h = \
DISTCLEANFILES += clutter-config.h DISTCLEANFILES += clutter-config.h
EXTRA_DIST += clutter-config.h.in EXTRA_DIST += clutter-config.h.in
# version header
DISTCLEANFILES += clutter-version.h
EXTRA_DIST += clutter-version.h.in clutter-version.h
# key symbol update script # key symbol update script
EXTRA_DIST += clutter-keysyms-update.pl EXTRA_DIST += clutter-keysyms-update.pl
@ -585,7 +581,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(pc_files) pkgconfig_DATA = $(pc_files)
DISTCLEANFILES += $(pc_files) DISTCLEANFILES += $(pc_files)
clutter_include_HEADERS = $(source_h) clutter.h clutter-version.h clutter-autocleanups.h clutter-mutter.h clutter_include_HEADERS = $(source_h) clutter.h clutter-autocleanups.h clutter-mutter.h
nodist_clutter_include_HEADERS = clutter-config.h $(built_source_h) nodist_clutter_include_HEADERS = clutter-config.h $(built_source_h)
clutter_deprecated_HEADERS = $(deprecated_h) clutter_deprecated_HEADERS = $(deprecated_h)

View File

@ -126,19 +126,19 @@ struct _CallyActorClass
gpointer _padding_dummy[32]; gpointer _padding_dummy[32];
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType cally_actor_get_type (void) G_GNUC_CONST; GType cally_actor_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
AtkObject* cally_actor_new (ClutterActor *actor); AtkObject* cally_actor_new (ClutterActor *actor);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
guint cally_actor_add_action (CallyActor *cally_actor, guint cally_actor_add_action (CallyActor *cally_actor,
const gchar *action_name, const gchar *action_name,
const gchar *action_description, const gchar *action_description,
const gchar *action_keybinding, const gchar *action_keybinding,
CallyActionFunc action_func); CallyActionFunc action_func);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
guint cally_actor_add_action_full (CallyActor *cally_actor, guint cally_actor_add_action_full (CallyActor *cally_actor,
const gchar *action_name, const gchar *action_name,
const gchar *action_description, const gchar *action_description,
@ -147,11 +147,11 @@ guint cally_actor_add_action_full (CallyActor *cally_actor,
gpointer user_data, gpointer user_data,
GDestroyNotify notify); GDestroyNotify notify);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gboolean cally_actor_remove_action (CallyActor *cally_actor, gboolean cally_actor_remove_action (CallyActor *cally_actor,
gint action_id); gint action_id);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gboolean cally_actor_remove_action_by_name (CallyActor *cally_actor, gboolean cally_actor_remove_action_by_name (CallyActor *cally_actor,
const gchar *action_name); const gchar *action_name);

View File

@ -74,9 +74,9 @@ struct _CallyCloneClass
gpointer _padding_dummy[8]; gpointer _padding_dummy[8];
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType cally_clone_get_type (void) G_GNUC_CONST; GType cally_clone_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
AtkObject *cally_clone_new (ClutterActor *actor); AtkObject *cally_clone_new (ClutterActor *actor);
G_END_DECLS G_END_DECLS

View File

@ -77,9 +77,9 @@ struct _CallyGroupClass
gpointer _padding_dummy[8]; gpointer _padding_dummy[8];
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType cally_group_get_type (void) G_GNUC_CONST; GType cally_group_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
AtkObject* cally_group_new (ClutterActor *actor); AtkObject* cally_group_new (ClutterActor *actor);
G_END_DECLS G_END_DECLS

View File

@ -34,9 +34,9 @@
G_BEGIN_DECLS G_BEGIN_DECLS
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gboolean cally_get_cally_initialized (void); gboolean cally_get_cally_initialized (void);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gboolean cally_accessibility_init (void); gboolean cally_accessibility_init (void);
G_END_DECLS G_END_DECLS

View File

@ -74,9 +74,9 @@ struct _CallyRectangleClass
gpointer _padding_dummy[8]; gpointer _padding_dummy[8];
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType cally_rectangle_get_type (void) G_GNUC_CONST; GType cally_rectangle_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
AtkObject* cally_rectangle_new (ClutterActor *actor); AtkObject* cally_rectangle_new (ClutterActor *actor);
G_END_DECLS G_END_DECLS

View File

@ -74,9 +74,9 @@ struct _CallyRootClass
gpointer _padding_dummy[16]; gpointer _padding_dummy[16];
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType cally_root_get_type (void) G_GNUC_CONST; GType cally_root_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
AtkObject *cally_root_new (void); AtkObject *cally_root_new (void);
G_END_DECLS G_END_DECLS

View File

@ -74,9 +74,9 @@ struct _CallyStageClass
gpointer _padding_dummy[16]; gpointer _padding_dummy[16];
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType cally_stage_get_type (void) G_GNUC_CONST; GType cally_stage_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
AtkObject *cally_stage_new (ClutterActor *actor); AtkObject *cally_stage_new (ClutterActor *actor);
G_END_DECLS G_END_DECLS

View File

@ -74,9 +74,9 @@ struct _CallyTextClass
gpointer _padding_dummy[8]; gpointer _padding_dummy[8];
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType cally_text_get_type (void) G_GNUC_CONST; GType cally_text_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
AtkObject* cally_text_new (ClutterActor *actor); AtkObject* cally_text_new (ClutterActor *actor);
G_END_DECLS G_END_DECLS

View File

@ -74,9 +74,9 @@ struct _CallyTextureClass
gpointer _padding_dummy[8]; gpointer _padding_dummy[8];
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType cally_texture_get_type (void) G_GNUC_CONST; GType cally_texture_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
AtkObject *cally_texture_new (ClutterActor *actor); AtkObject *cally_texture_new (ClutterActor *actor);
G_END_DECLS G_END_DECLS

View File

@ -142,7 +142,7 @@ cally_util_get_toolkit_name (void)
static const gchar * static const gchar *
cally_util_get_toolkit_version (void) cally_util_get_toolkit_version (void)
{ {
return CLUTTER_VERSION_S; return MUTTER_VERSION;
} }
static guint static guint

View File

@ -74,7 +74,7 @@ struct _CallyUtilClass
gpointer _padding_dummy[8]; gpointer _padding_dummy[8];
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType cally_util_get_type (void) G_GNUC_CONST; GType cally_util_get_type (void) G_GNUC_CONST;
void _cally_util_override_atk_util (void); void _cally_util_override_atk_util (void);

View File

@ -78,32 +78,32 @@ struct _ClutterActionClass
void (* _clutter_action8) (void); void (* _clutter_action8) (void);
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_action_get_type (void) G_GNUC_CONST; GType clutter_action_get_type (void) G_GNUC_CONST;
/* ClutterActor API */ /* ClutterActor API */
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_add_action (ClutterActor *self, void clutter_actor_add_action (ClutterActor *self,
ClutterAction *action); ClutterAction *action);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_add_action_with_name (ClutterActor *self, void clutter_actor_add_action_with_name (ClutterActor *self,
const gchar *name, const gchar *name,
ClutterAction *action); ClutterAction *action);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_remove_action (ClutterActor *self, void clutter_actor_remove_action (ClutterActor *self,
ClutterAction *action); ClutterAction *action);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_remove_action_by_name (ClutterActor *self, void clutter_actor_remove_action_by_name (ClutterActor *self,
const gchar *name); const gchar *name);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterAction *clutter_actor_get_action (ClutterActor *self, ClutterAction *clutter_actor_get_action (ClutterActor *self,
const gchar *name); const gchar *name);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GList * clutter_actor_get_actions (ClutterActor *self); GList * clutter_actor_get_actions (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_clear_actions (ClutterActor *self); void clutter_actor_clear_actions (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
gboolean clutter_actor_has_actions (ClutterActor *self); gboolean clutter_actor_has_actions (ClutterActor *self);
G_END_DECLS G_END_DECLS

View File

@ -97,21 +97,21 @@ struct _ClutterActorMetaClass
void (* _clutter_meta7) (void); void (* _clutter_meta7) (void);
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_actor_meta_get_type (void) G_GNUC_CONST; GType clutter_actor_meta_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_meta_set_name (ClutterActorMeta *meta, void clutter_actor_meta_set_name (ClutterActorMeta *meta,
const gchar *name); const gchar *name);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
const gchar * clutter_actor_meta_get_name (ClutterActorMeta *meta); const gchar * clutter_actor_meta_get_name (ClutterActorMeta *meta);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_meta_set_enabled (ClutterActorMeta *meta, void clutter_actor_meta_set_enabled (ClutterActorMeta *meta,
gboolean is_enabled); gboolean is_enabled);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gboolean clutter_actor_meta_get_enabled (ClutterActorMeta *meta); gboolean clutter_actor_meta_get_enabled (ClutterActorMeta *meta);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterActor * clutter_actor_meta_get_actor (ClutterActorMeta *meta); ClutterActor * clutter_actor_meta_get_actor (ClutterActorMeta *meta);
G_END_DECLS G_END_DECLS

View File

@ -61,7 +61,7 @@ G_BEGIN_DECLS
* internal state. * internal state.
*/ */
#define CLUTTER_ACTOR_SET_FLAGS(a,f) \ #define CLUTTER_ACTOR_SET_FLAGS(a,f) \
CLUTTER_MACRO_DEPRECATED_IN_1_24 \ CLUTTER_MACRO_DEPRECATED \
(((ClutterActor*)(a))->flags |= (f)) (((ClutterActor*)(a))->flags |= (f))
/** /**
@ -76,23 +76,23 @@ G_BEGIN_DECLS
* internal state. * internal state.
*/ */
#define CLUTTER_ACTOR_UNSET_FLAGS(a,f) \ #define CLUTTER_ACTOR_UNSET_FLAGS(a,f) \
CLUTTER_MACRO_DEPRECATED_IN_1_24 \ CLUTTER_MACRO_DEPRECATED \
(((ClutterActor*)(a))->flags &= ~(f)) (((ClutterActor*)(a))->flags &= ~(f))
#define CLUTTER_ACTOR_IS_MAPPED(a) \ #define CLUTTER_ACTOR_IS_MAPPED(a) \
CLUTTER_MACRO_DEPRECATED_IN_1_24_FOR ("Deprecated macro. Use clutter_actor_is_mapped instead") \ CLUTTER_MACRO_DEPRECATED_FOR ("Deprecated macro. Use clutter_actor_is_mapped instead") \
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_MAPPED) != FALSE) ((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_MAPPED) != FALSE)
#define CLUTTER_ACTOR_IS_REALIZED(a) \ #define CLUTTER_ACTOR_IS_REALIZED(a) \
CLUTTER_MACRO_DEPRECATED_IN_1_24_FOR ("Deprecated macro. Use clutter_actor_is_realized instead") \ CLUTTER_MACRO_DEPRECATED_FOR ("Deprecated macro. Use clutter_actor_is_realized instead") \
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_REALIZED) != FALSE) ((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_REALIZED) != FALSE)
#define CLUTTER_ACTOR_IS_VISIBLE(a) \ #define CLUTTER_ACTOR_IS_VISIBLE(a) \
CLUTTER_MACRO_DEPRECATED_IN_1_24_FOR ("Deprecated macro. Use clutter_actor_is_visible instead") \ CLUTTER_MACRO_DEPRECATED_FOR ("Deprecated macro. Use clutter_actor_is_visible instead") \
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_VISIBLE) != FALSE) ((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_VISIBLE) != FALSE)
#define CLUTTER_ACTOR_IS_REACTIVE(a) \ #define CLUTTER_ACTOR_IS_REACTIVE(a) \
CLUTTER_MACRO_DEPRECATED_IN_1_24_FOR ("Deprecated macro. Use clutter_actor_get_reactive instead") \ CLUTTER_MACRO_DEPRECATED_FOR ("Deprecated macro. Use clutter_actor_get_reactive instead") \
((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_REACTIVE) != FALSE) ((((ClutterActor*)(a))->flags & CLUTTER_ACTOR_REACTIVE) != FALSE)
typedef struct _ClutterActorClass ClutterActorClass; typedef struct _ClutterActorClass ClutterActorClass;
@ -322,97 +322,97 @@ struct _ClutterActorIter
gpointer CLUTTER_PRIVATE_FIELD (dummy5); gpointer CLUTTER_PRIVATE_FIELD (dummy5);
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_actor_get_type (void) G_GNUC_CONST; GType clutter_actor_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterActor * clutter_actor_new (void); ClutterActor * clutter_actor_new (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_flags (ClutterActor *self, void clutter_actor_set_flags (ClutterActor *self,
ClutterActorFlags flags); ClutterActorFlags flags);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_unset_flags (ClutterActor *self, void clutter_actor_unset_flags (ClutterActor *self,
ClutterActorFlags flags); ClutterActorFlags flags);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActorFlags clutter_actor_get_flags (ClutterActor *self); ClutterActorFlags clutter_actor_get_flags (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_show (ClutterActor *self); void clutter_actor_show (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_hide (ClutterActor *self); void clutter_actor_hide (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_realize (ClutterActor *self); void clutter_actor_realize (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_unrealize (ClutterActor *self); void clutter_actor_unrealize (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_map (ClutterActor *self); void clutter_actor_map (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_unmap (ClutterActor *self); void clutter_actor_unmap (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_paint (ClutterActor *self); void clutter_actor_paint (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_continue_paint (ClutterActor *self); void clutter_actor_continue_paint (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_queue_redraw (ClutterActor *self); void clutter_actor_queue_redraw (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_queue_relayout (ClutterActor *self); void clutter_actor_queue_relayout (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_destroy (ClutterActor *self); void clutter_actor_destroy (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_name (ClutterActor *self, void clutter_actor_set_name (ClutterActor *self,
const gchar *name); const gchar *name);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
const gchar * clutter_actor_get_name (ClutterActor *self); const gchar * clutter_actor_get_name (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
AtkObject * clutter_actor_get_accessible (ClutterActor *self); AtkObject * clutter_actor_get_accessible (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_24 CLUTTER_EXPORT
gboolean clutter_actor_is_visible (ClutterActor *self); gboolean clutter_actor_is_visible (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_24 CLUTTER_EXPORT
gboolean clutter_actor_is_mapped (ClutterActor *self); gboolean clutter_actor_is_mapped (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_24 CLUTTER_EXPORT
gboolean clutter_actor_is_realized (ClutterActor *self); gboolean clutter_actor_is_realized (ClutterActor *self);
/* Size negotiation */ /* Size negotiation */
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_request_mode (ClutterActor *self, void clutter_actor_set_request_mode (ClutterActor *self,
ClutterRequestMode mode); ClutterRequestMode mode);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterRequestMode clutter_actor_get_request_mode (ClutterActor *self); ClutterRequestMode clutter_actor_get_request_mode (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_get_preferred_width (ClutterActor *self, void clutter_actor_get_preferred_width (ClutterActor *self,
gfloat for_height, gfloat for_height,
gfloat *min_width_p, gfloat *min_width_p,
gfloat *natural_width_p); gfloat *natural_width_p);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_get_preferred_height (ClutterActor *self, void clutter_actor_get_preferred_height (ClutterActor *self,
gfloat for_width, gfloat for_width,
gfloat *min_height_p, gfloat *min_height_p,
gfloat *natural_height_p); gfloat *natural_height_p);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_get_preferred_size (ClutterActor *self, void clutter_actor_get_preferred_size (ClutterActor *self,
gfloat *min_width_p, gfloat *min_width_p,
gfloat *min_height_p, gfloat *min_height_p,
gfloat *natural_width_p, gfloat *natural_width_p,
gfloat *natural_height_p); gfloat *natural_height_p);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_allocate (ClutterActor *self, void clutter_actor_allocate (ClutterActor *self,
const ClutterActorBox *box, const ClutterActorBox *box,
ClutterAllocationFlags flags); ClutterAllocationFlags flags);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_allocate_preferred_size (ClutterActor *self, void clutter_actor_allocate_preferred_size (ClutterActor *self,
ClutterAllocationFlags flags); ClutterAllocationFlags flags);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_allocate_available_size (ClutterActor *self, void clutter_actor_allocate_available_size (ClutterActor *self,
gfloat x, gfloat x,
gfloat y, gfloat y,
gfloat available_width, gfloat available_width,
gfloat available_height, gfloat available_height,
ClutterAllocationFlags flags); ClutterAllocationFlags flags);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_allocate_align_fill (ClutterActor *self, void clutter_actor_allocate_align_fill (ClutterActor *self,
const ClutterActorBox *box, const ClutterActorBox *box,
gdouble x_align, gdouble x_align,
@ -420,448 +420,448 @@ void clutter_actor_allocate_align_fill
gboolean x_fill, gboolean x_fill,
gboolean y_fill, gboolean y_fill,
ClutterAllocationFlags flags); ClutterAllocationFlags flags);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_actor_set_allocation (ClutterActor *self, void clutter_actor_set_allocation (ClutterActor *self,
const ClutterActorBox *box, const ClutterActorBox *box,
ClutterAllocationFlags flags); ClutterAllocationFlags flags);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_get_allocation_box (ClutterActor *self, void clutter_actor_get_allocation_box (ClutterActor *self,
ClutterActorBox *box); ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_get_allocation_vertices (ClutterActor *self, void clutter_actor_get_allocation_vertices (ClutterActor *self,
ClutterActor *ancestor, ClutterActor *ancestor,
ClutterVertex verts[]); ClutterVertex verts[]);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_has_allocation (ClutterActor *self); gboolean clutter_actor_has_allocation (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_size (ClutterActor *self, void clutter_actor_set_size (ClutterActor *self,
gfloat width, gfloat width,
gfloat height); gfloat height);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_get_size (ClutterActor *self, void clutter_actor_get_size (ClutterActor *self,
gfloat *width, gfloat *width,
gfloat *height); gfloat *height);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_position (ClutterActor *self, void clutter_actor_set_position (ClutterActor *self,
gfloat x, gfloat x,
gfloat y); gfloat y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_get_position (ClutterActor *self, void clutter_actor_get_position (ClutterActor *self,
gfloat *x, gfloat *x,
gfloat *y); gfloat *y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_get_fixed_position_set (ClutterActor *self); gboolean clutter_actor_get_fixed_position_set (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_fixed_position_set (ClutterActor *self, void clutter_actor_set_fixed_position_set (ClutterActor *self,
gboolean is_set); gboolean is_set);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_move_by (ClutterActor *self, void clutter_actor_move_by (ClutterActor *self,
gfloat dx, gfloat dx,
gfloat dy); gfloat dy);
/* Actor geometry */ /* Actor geometry */
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gfloat clutter_actor_get_width (ClutterActor *self); gfloat clutter_actor_get_width (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gfloat clutter_actor_get_height (ClutterActor *self); gfloat clutter_actor_get_height (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_width (ClutterActor *self, void clutter_actor_set_width (ClutterActor *self,
gfloat width); gfloat width);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_height (ClutterActor *self, void clutter_actor_set_height (ClutterActor *self,
gfloat height); gfloat height);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gfloat clutter_actor_get_x (ClutterActor *self); gfloat clutter_actor_get_x (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gfloat clutter_actor_get_y (ClutterActor *self); gfloat clutter_actor_get_y (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_x (ClutterActor *self, void clutter_actor_set_x (ClutterActor *self,
gfloat x); gfloat x);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_y (ClutterActor *self, void clutter_actor_set_y (ClutterActor *self,
gfloat y); gfloat y);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gfloat clutter_actor_get_z_position (ClutterActor *self); gfloat clutter_actor_get_z_position (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterLayoutManager * clutter_actor_get_layout_manager (ClutterActor *self); ClutterLayoutManager * clutter_actor_get_layout_manager (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterActorAlign clutter_actor_get_x_align (ClutterActor *self); ClutterActorAlign clutter_actor_get_x_align (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterActorAlign clutter_actor_get_y_align (ClutterActor *self); ClutterActorAlign clutter_actor_get_y_align (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gfloat clutter_actor_get_margin_top (ClutterActor *self); gfloat clutter_actor_get_margin_top (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gfloat clutter_actor_get_margin_bottom (ClutterActor *self); gfloat clutter_actor_get_margin_bottom (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gfloat clutter_actor_get_margin_left (ClutterActor *self); gfloat clutter_actor_get_margin_left (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gfloat clutter_actor_get_margin_right (ClutterActor *self); gfloat clutter_actor_get_margin_right (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_actor_get_margin (ClutterActor *self, void clutter_actor_get_margin (ClutterActor *self,
ClutterMargin *margin); ClutterMargin *margin);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gboolean clutter_actor_get_x_expand (ClutterActor *self); gboolean clutter_actor_get_x_expand (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gboolean clutter_actor_get_y_expand (ClutterActor *self); gboolean clutter_actor_get_y_expand (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
gboolean clutter_actor_needs_expand (ClutterActor *self, gboolean clutter_actor_needs_expand (ClutterActor *self,
ClutterOrientation orientation); ClutterOrientation orientation);
/* Paint */ /* Paint */
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_clip (ClutterActor *self, void clutter_actor_set_clip (ClutterActor *self,
gfloat xoff, gfloat xoff,
gfloat yoff, gfloat yoff,
gfloat width, gfloat width,
gfloat height); gfloat height);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_remove_clip (ClutterActor *self); void clutter_actor_remove_clip (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_has_clip (ClutterActor *self); gboolean clutter_actor_has_clip (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_get_clip (ClutterActor *self, void clutter_actor_get_clip (ClutterActor *self,
gfloat *xoff, gfloat *xoff,
gfloat *yoff, gfloat *yoff,
gfloat *width, gfloat *width,
gfloat *height); gfloat *height);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_clip_to_allocation (ClutterActor *self, void clutter_actor_set_clip_to_allocation (ClutterActor *self,
gboolean clip_set); gboolean clip_set);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_get_clip_to_allocation (ClutterActor *self); gboolean clutter_actor_get_clip_to_allocation (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_opacity (ClutterActor *self, void clutter_actor_set_opacity (ClutterActor *self,
guint8 opacity); guint8 opacity);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint8 clutter_actor_get_opacity (ClutterActor *self); guint8 clutter_actor_get_opacity (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint8 clutter_actor_get_paint_opacity (ClutterActor *self); guint8 clutter_actor_get_paint_opacity (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_get_paint_visibility (ClutterActor *self); gboolean clutter_actor_get_paint_visibility (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_actor_set_offscreen_redirect (ClutterActor *self, void clutter_actor_set_offscreen_redirect (ClutterActor *self,
ClutterOffscreenRedirect redirect); ClutterOffscreenRedirect redirect);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
ClutterOffscreenRedirect clutter_actor_get_offscreen_redirect (ClutterActor *self); ClutterOffscreenRedirect clutter_actor_get_offscreen_redirect (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_should_pick_paint (ClutterActor *self); gboolean clutter_actor_should_pick_paint (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_is_in_clone_paint (ClutterActor *self); gboolean clutter_actor_is_in_clone_paint (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_get_paint_box (ClutterActor *self, gboolean clutter_actor_get_paint_box (ClutterActor *self,
ClutterActorBox *box); ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
gboolean clutter_actor_has_overlaps (ClutterActor *self); gboolean clutter_actor_has_overlaps (ClutterActor *self);
/* Content */ /* Content */
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_actor_set_content (ClutterActor *self, void clutter_actor_set_content (ClutterActor *self,
ClutterContent *content); ClutterContent *content);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterContent * clutter_actor_get_content (ClutterActor *self); ClutterContent * clutter_actor_get_content (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterContentGravity clutter_actor_get_content_gravity (ClutterActor *self); ClutterContentGravity clutter_actor_get_content_gravity (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterContentRepeat clutter_actor_get_content_repeat (ClutterActor *self); ClutterContentRepeat clutter_actor_get_content_repeat (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_actor_get_background_color (ClutterActor *self, void clutter_actor_get_background_color (ClutterActor *self,
ClutterColor *color); ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
const ClutterPaintVolume * clutter_actor_get_paint_volume (ClutterActor *self); const ClutterPaintVolume * clutter_actor_get_paint_volume (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
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 CLUTTER_EXPORT
const ClutterPaintVolume * clutter_actor_get_default_paint_volume (ClutterActor *self); const ClutterPaintVolume * clutter_actor_get_default_paint_volume (ClutterActor *self);
/* Events */ /* Events */
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_reactive (ClutterActor *actor, void clutter_actor_set_reactive (ClutterActor *actor,
gboolean reactive); gboolean reactive);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_get_reactive (ClutterActor *actor); gboolean clutter_actor_get_reactive (ClutterActor *actor);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_has_key_focus (ClutterActor *self); gboolean clutter_actor_has_key_focus (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_grab_key_focus (ClutterActor *self); void clutter_actor_grab_key_focus (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_event (ClutterActor *actor, gboolean clutter_actor_event (ClutterActor *actor,
const ClutterEvent *event, const ClutterEvent *event,
gboolean capture); gboolean capture);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_has_pointer (ClutterActor *self); gboolean clutter_actor_has_pointer (ClutterActor *self);
/* Text */ /* Text */
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
PangoContext * clutter_actor_get_pango_context (ClutterActor *self); PangoContext * clutter_actor_get_pango_context (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
PangoContext * clutter_actor_create_pango_context (ClutterActor *self); PangoContext * clutter_actor_create_pango_context (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
PangoLayout * clutter_actor_create_pango_layout (ClutterActor *self, PangoLayout * clutter_actor_create_pango_layout (ClutterActor *self,
const gchar *text); const gchar *text);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_text_direction (ClutterActor *self, void clutter_actor_set_text_direction (ClutterActor *self,
ClutterTextDirection text_dir); ClutterTextDirection text_dir);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_actor_add_child (ClutterActor *self, void clutter_actor_add_child (ClutterActor *self,
ClutterActor *child); ClutterActor *child);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_actor_remove_child (ClutterActor *self, void clutter_actor_remove_child (ClutterActor *self,
ClutterActor *child); ClutterActor *child);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_actor_remove_all_children (ClutterActor *self); void clutter_actor_remove_all_children (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_actor_destroy_all_children (ClutterActor *self); void clutter_actor_destroy_all_children (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
GList * clutter_actor_get_children (ClutterActor *self); GList * clutter_actor_get_children (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
gint clutter_actor_get_n_children (ClutterActor *self); gint clutter_actor_get_n_children (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterActor * clutter_actor_get_previous_sibling (ClutterActor *self); ClutterActor * clutter_actor_get_previous_sibling (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterActor * clutter_actor_get_next_sibling (ClutterActor *self); ClutterActor * clutter_actor_get_next_sibling (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterActor * clutter_actor_get_first_child (ClutterActor *self); ClutterActor * clutter_actor_get_first_child (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterActor * clutter_actor_get_last_child (ClutterActor *self); ClutterActor * clutter_actor_get_last_child (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActor * clutter_actor_get_parent (ClutterActor *self); ClutterActor * clutter_actor_get_parent (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gboolean clutter_actor_contains (ClutterActor *self, gboolean clutter_actor_contains (ClutterActor *self,
ClutterActor *descendant); ClutterActor *descendant);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActor* clutter_actor_get_stage (ClutterActor *actor); ClutterActor* clutter_actor_get_stage (ClutterActor *actor);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_actor_iter_init (ClutterActorIter *iter, void clutter_actor_iter_init (ClutterActorIter *iter,
ClutterActor *root); ClutterActor *root);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
gboolean clutter_actor_iter_next (ClutterActorIter *iter, gboolean clutter_actor_iter_next (ClutterActorIter *iter,
ClutterActor **child); ClutterActor **child);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
gboolean clutter_actor_iter_prev (ClutterActorIter *iter, gboolean clutter_actor_iter_prev (ClutterActorIter *iter,
ClutterActor **child); ClutterActor **child);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_actor_iter_remove (ClutterActorIter *iter); void clutter_actor_iter_remove (ClutterActorIter *iter);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_actor_iter_destroy (ClutterActorIter *iter); void clutter_actor_iter_destroy (ClutterActorIter *iter);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
gboolean clutter_actor_iter_is_valid (const ClutterActorIter *iter); gboolean clutter_actor_iter_is_valid (const ClutterActorIter *iter);
/* Transformations */ /* Transformations */
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_is_rotated (ClutterActor *self); gboolean clutter_actor_is_rotated (ClutterActor *self);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_is_scaled (ClutterActor *self); gboolean clutter_actor_is_scaled (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gfloat clutter_actor_get_pivot_point_z (ClutterActor *self); gfloat clutter_actor_get_pivot_point_z (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gdouble clutter_actor_get_rotation_angle (ClutterActor *self, gdouble clutter_actor_get_rotation_angle (ClutterActor *self,
ClutterRotateAxis axis); ClutterRotateAxis axis);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_set_scale (ClutterActor *self, void clutter_actor_set_scale (ClutterActor *self,
gdouble scale_x, gdouble scale_x,
gdouble scale_y); gdouble scale_y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gdouble clutter_actor_get_scale_z (ClutterActor *self); gdouble clutter_actor_get_scale_z (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_actor_get_transform (ClutterActor *self, void clutter_actor_get_transform (ClutterActor *self,
ClutterMatrix *transform); ClutterMatrix *transform);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_actor_get_child_transform (ClutterActor *self, void clutter_actor_get_child_transform (ClutterActor *self,
ClutterMatrix *transform); ClutterMatrix *transform);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_get_transformed_position (ClutterActor *self, void clutter_actor_get_transformed_position (ClutterActor *self,
gfloat *x, gfloat *x,
gfloat *y); gfloat *y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_get_transformed_size (ClutterActor *self, void clutter_actor_get_transformed_size (ClutterActor *self,
gfloat *width, gfloat *width,
gfloat *height); gfloat *height);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_transform_stage_point (ClutterActor *self, gboolean clutter_actor_transform_stage_point (ClutterActor *self,
gfloat x, gfloat x,
gfloat y, gfloat y,
gfloat *x_out, gfloat *x_out,
gfloat *y_out); gfloat *y_out);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_get_abs_allocation_vertices (ClutterActor *self, void clutter_actor_get_abs_allocation_vertices (ClutterActor *self,
ClutterVertex verts[]); ClutterVertex verts[]);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_apply_transform_to_point (ClutterActor *self, void clutter_actor_apply_transform_to_point (ClutterActor *self,
const ClutterVertex *point, const ClutterVertex *point,
ClutterVertex *vertex); ClutterVertex *vertex);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_apply_relative_transform_to_point (ClutterActor *self, void clutter_actor_apply_relative_transform_to_point (ClutterActor *self,
ClutterActor *ancestor, ClutterActor *ancestor,
const ClutterVertex *point, const ClutterVertex *point,
ClutterVertex *vertex); ClutterVertex *vertex);
/* Implicit animations */ /* Implicit animations */
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_actor_save_easing_state (ClutterActor *self); void clutter_actor_save_easing_state (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_actor_restore_easing_state (ClutterActor *self); void clutter_actor_restore_easing_state (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterAnimationMode clutter_actor_get_easing_mode (ClutterActor *self); ClutterAnimationMode clutter_actor_get_easing_mode (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
guint clutter_actor_get_easing_duration (ClutterActor *self); guint clutter_actor_get_easing_duration (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
guint clutter_actor_get_easing_delay (ClutterActor *self); guint clutter_actor_get_easing_delay (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_actor_remove_all_transitions (ClutterActor *self); void clutter_actor_remove_all_transitions (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_16 CLUTTER_EXPORT
gboolean clutter_actor_has_mapped_clones (ClutterActor *self); gboolean clutter_actor_has_mapped_clones (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_22 CLUTTER_EXPORT
void clutter_actor_set_opacity_override (ClutterActor *self, void clutter_actor_set_opacity_override (ClutterActor *self,
gint opacity); gint opacity);
CLUTTER_AVAILABLE_IN_1_22 CLUTTER_EXPORT
gint clutter_actor_get_opacity_override (ClutterActor *self); gint clutter_actor_get_opacity_override (ClutterActor *self);
/** /**
@ -883,13 +883,13 @@ gint clutter_actor_get_opacity_override
typedef ClutterActor * (* ClutterActorCreateChildFunc) (gpointer item, typedef ClutterActor * (* ClutterActorCreateChildFunc) (gpointer item,
gpointer user_data); gpointer user_data);
CLUTTER_AVAILABLE_IN_1_24 CLUTTER_EXPORT
void clutter_actor_bind_model (ClutterActor *self, void clutter_actor_bind_model (ClutterActor *self,
GListModel *model, GListModel *model,
ClutterActorCreateChildFunc create_child_func, ClutterActorCreateChildFunc create_child_func,
gpointer user_data, gpointer user_data,
GDestroyNotify notify); GDestroyNotify notify);
CLUTTER_AVAILABLE_IN_1_24 CLUTTER_EXPORT
void clutter_actor_bind_model_with_properties (ClutterActor *self, void clutter_actor_bind_model_with_properties (ClutterActor *self,
GListModel *model, GListModel *model,
GType child_type, GType child_type,

View File

@ -48,28 +48,28 @@ G_BEGIN_DECLS
typedef struct _ClutterAlignConstraint ClutterAlignConstraint; typedef struct _ClutterAlignConstraint ClutterAlignConstraint;
typedef struct _ClutterAlignConstraintClass ClutterAlignConstraintClass; typedef struct _ClutterAlignConstraintClass ClutterAlignConstraintClass;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_align_constraint_get_type (void) G_GNUC_CONST; GType clutter_align_constraint_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterConstraint *clutter_align_constraint_new (ClutterActor *source, ClutterConstraint *clutter_align_constraint_new (ClutterActor *source,
ClutterAlignAxis axis, ClutterAlignAxis axis,
gfloat factor); gfloat factor);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_align_constraint_set_source (ClutterAlignConstraint *align, void clutter_align_constraint_set_source (ClutterAlignConstraint *align,
ClutterActor *source); ClutterActor *source);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterActor * clutter_align_constraint_get_source (ClutterAlignConstraint *align); ClutterActor * clutter_align_constraint_get_source (ClutterAlignConstraint *align);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_align_constraint_set_align_axis (ClutterAlignConstraint *align, void clutter_align_constraint_set_align_axis (ClutterAlignConstraint *align,
ClutterAlignAxis axis); ClutterAlignAxis axis);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterAlignAxis clutter_align_constraint_get_align_axis (ClutterAlignConstraint *align); ClutterAlignAxis clutter_align_constraint_get_align_axis (ClutterAlignConstraint *align);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_align_constraint_set_factor (ClutterAlignConstraint *align, void clutter_align_constraint_set_factor (ClutterAlignConstraint *align,
gfloat factor); gfloat factor);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gfloat clutter_align_constraint_get_factor (ClutterAlignConstraint *align); gfloat clutter_align_constraint_get_factor (ClutterAlignConstraint *align);
G_END_DECLS G_END_DECLS

View File

@ -95,21 +95,21 @@ struct _ClutterAnimatableIface
GValue *value); GValue *value);
}; };
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_animatable_get_type (void) G_GNUC_CONST; GType clutter_animatable_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GParamSpec *clutter_animatable_find_property (ClutterAnimatable *animatable, GParamSpec *clutter_animatable_find_property (ClutterAnimatable *animatable,
const gchar *property_name); const gchar *property_name);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_animatable_get_initial_state (ClutterAnimatable *animatable, void clutter_animatable_get_initial_state (ClutterAnimatable *animatable,
const gchar *property_name, const gchar *property_name,
GValue *value); GValue *value);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_animatable_set_final_state (ClutterAnimatable *animatable, void clutter_animatable_set_final_state (ClutterAnimatable *animatable,
const gchar *property_name, const gchar *property_name,
const GValue *value); const GValue *value);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
gboolean clutter_animatable_interpolate_value (ClutterAnimatable *animatable, gboolean clutter_animatable_interpolate_value (ClutterAnimatable *animatable,
const gchar *property_name, const gchar *property_name,
ClutterInterval *interval, ClutterInterval *interval,

View File

@ -135,7 +135,7 @@ gboolean _clutter_backend_translate_event (Clutter
gpointer native, gpointer native,
ClutterEvent *event); ClutterEvent *event);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void _clutter_backend_add_event_translator (ClutterBackend *backend, void _clutter_backend_add_event_translator (ClutterBackend *backend,
ClutterEventTranslator *translator); ClutterEventTranslator *translator);
@ -150,7 +150,7 @@ gint32 _clutter_backend_get_units_serial (Clutter
PangoDirection _clutter_backend_get_keymap_direction (ClutterBackend *backend); PangoDirection _clutter_backend_get_keymap_direction (ClutterBackend *backend);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void _clutter_backend_reset_cogl_framebuffer (ClutterBackend *backend); void _clutter_backend_reset_cogl_framebuffer (ClutterBackend *backend);
void clutter_set_allowed_drivers (const char *drivers); void clutter_set_allowed_drivers (const char *drivers);

View File

@ -51,7 +51,6 @@
#include "clutter-stage-manager-private.h" #include "clutter-stage-manager-private.h"
#include "clutter-stage-private.h" #include "clutter-stage-private.h"
#include "clutter-stage-window.h" #include "clutter-stage-window.h"
#include "clutter-version.h"
#include "clutter-device-manager-private.h" #include "clutter-device-manager-private.h"
#define CLUTTER_DISABLE_DEPRECATION_WARNINGS #define CLUTTER_DISABLE_DEPRECATION_WARNINGS

View File

@ -53,34 +53,34 @@ G_BEGIN_DECLS
typedef struct _ClutterBackend ClutterBackend; typedef struct _ClutterBackend ClutterBackend;
typedef struct _ClutterBackendClass ClutterBackendClass; typedef struct _ClutterBackendClass ClutterBackendClass;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_backend_get_type (void) G_GNUC_CONST; GType clutter_backend_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterBackend * clutter_get_default_backend (void); ClutterBackend * clutter_get_default_backend (void);
CLUTTER_AVAILABLE_IN_1_16 CLUTTER_EXPORT
void clutter_set_windowing_backend (const char *backend_type); void clutter_set_windowing_backend (const char *backend_type);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gdouble clutter_backend_get_resolution (ClutterBackend *backend); gdouble clutter_backend_get_resolution (ClutterBackend *backend);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_backend_set_font_options (ClutterBackend *backend, void clutter_backend_set_font_options (ClutterBackend *backend,
const cairo_font_options_t *options); const cairo_font_options_t *options);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
const cairo_font_options_t * clutter_backend_get_font_options (ClutterBackend *backend); const cairo_font_options_t * clutter_backend_get_font_options (ClutterBackend *backend);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
CoglContext * clutter_backend_get_cogl_context (ClutterBackend *backend); CoglContext * clutter_backend_get_cogl_context (ClutterBackend *backend);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_backend_bell_notify (ClutterBackend *backend); void clutter_backend_bell_notify (ClutterBackend *backend);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
ClutterInputMethod * clutter_backend_get_input_method (ClutterBackend *backend); ClutterInputMethod * clutter_backend_get_input_method (ClutterBackend *backend);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_backend_set_input_method (ClutterBackend *backend, void clutter_backend_set_input_method (ClutterBackend *backend,
ClutterInputMethod *method); ClutterInputMethod *method);
G_END_DECLS G_END_DECLS

View File

@ -74,10 +74,10 @@ struct _ClutterBinLayoutClass
ClutterLayoutManagerClass parent_class; ClutterLayoutManagerClass parent_class;
}; };
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GType clutter_bin_layout_get_type (void) G_GNUC_CONST; GType clutter_bin_layout_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterLayoutManager * clutter_bin_layout_new (ClutterBinAlignment x_align, ClutterLayoutManager * clutter_bin_layout_new (ClutterBinAlignment x_align,
ClutterBinAlignment y_align); ClutterBinAlignment y_align);

View File

@ -48,28 +48,28 @@ G_BEGIN_DECLS
typedef struct _ClutterBindConstraint ClutterBindConstraint; typedef struct _ClutterBindConstraint ClutterBindConstraint;
typedef struct _ClutterBindConstraintClass ClutterBindConstraintClass; typedef struct _ClutterBindConstraintClass ClutterBindConstraintClass;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_bind_constraint_get_type (void) G_GNUC_CONST; GType clutter_bind_constraint_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterConstraint * clutter_bind_constraint_new (ClutterActor *source, ClutterConstraint * clutter_bind_constraint_new (ClutterActor *source,
ClutterBindCoordinate coordinate, ClutterBindCoordinate coordinate,
gfloat offset); gfloat offset);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_bind_constraint_set_source (ClutterBindConstraint *constraint, void clutter_bind_constraint_set_source (ClutterBindConstraint *constraint,
ClutterActor *source); ClutterActor *source);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterActor * clutter_bind_constraint_get_source (ClutterBindConstraint *constraint); ClutterActor * clutter_bind_constraint_get_source (ClutterBindConstraint *constraint);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_bind_constraint_set_coordinate (ClutterBindConstraint *constraint, void clutter_bind_constraint_set_coordinate (ClutterBindConstraint *constraint,
ClutterBindCoordinate coordinate); ClutterBindCoordinate coordinate);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterBindCoordinate clutter_bind_constraint_get_coordinate (ClutterBindConstraint *constraint); ClutterBindCoordinate clutter_bind_constraint_get_coordinate (ClutterBindConstraint *constraint);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_bind_constraint_set_offset (ClutterBindConstraint *constraint, void clutter_bind_constraint_set_offset (ClutterBindConstraint *constraint,
gfloat offset); gfloat offset);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gfloat clutter_bind_constraint_get_offset (ClutterBindConstraint *constraint); gfloat clutter_bind_constraint_get_offset (ClutterBindConstraint *constraint);
G_END_DECLS G_END_DECLS

View File

@ -71,17 +71,17 @@ typedef gboolean (* ClutterBindingActionFunc) (GObject *gobject,
ClutterModifierType modifiers, ClutterModifierType modifiers,
gpointer user_data); gpointer user_data);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_binding_pool_get_type (void) G_GNUC_CONST; GType clutter_binding_pool_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterBindingPool * clutter_binding_pool_new (const gchar *name); ClutterBindingPool * clutter_binding_pool_new (const gchar *name);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterBindingPool * clutter_binding_pool_get_for_class (gpointer klass); ClutterBindingPool * clutter_binding_pool_get_for_class (gpointer klass);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterBindingPool * clutter_binding_pool_find (const gchar *name); ClutterBindingPool * clutter_binding_pool_find (const gchar *name);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_binding_pool_install_action (ClutterBindingPool *pool, void clutter_binding_pool_install_action (ClutterBindingPool *pool,
const gchar *action_name, const gchar *action_name,
guint key_val, guint key_val,
@ -89,44 +89,44 @@ void clutter_binding_pool_install_action (ClutterBindingPool
GCallback callback, GCallback callback,
gpointer data, gpointer data,
GDestroyNotify notify); GDestroyNotify notify);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_binding_pool_install_closure (ClutterBindingPool *pool, void clutter_binding_pool_install_closure (ClutterBindingPool *pool,
const gchar *action_name, const gchar *action_name,
guint key_val, guint key_val,
ClutterModifierType modifiers, ClutterModifierType modifiers,
GClosure *closure); GClosure *closure);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_binding_pool_override_action (ClutterBindingPool *pool, void clutter_binding_pool_override_action (ClutterBindingPool *pool,
guint key_val, guint key_val,
ClutterModifierType modifiers, ClutterModifierType modifiers,
GCallback callback, GCallback callback,
gpointer data, gpointer data,
GDestroyNotify notify); GDestroyNotify notify);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_binding_pool_override_closure (ClutterBindingPool *pool, void clutter_binding_pool_override_closure (ClutterBindingPool *pool,
guint key_val, guint key_val,
ClutterModifierType modifiers, ClutterModifierType modifiers,
GClosure *closure); GClosure *closure);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
const gchar * clutter_binding_pool_find_action (ClutterBindingPool *pool, const gchar * clutter_binding_pool_find_action (ClutterBindingPool *pool,
guint key_val, guint key_val,
ClutterModifierType modifiers); ClutterModifierType modifiers);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_binding_pool_remove_action (ClutterBindingPool *pool, void clutter_binding_pool_remove_action (ClutterBindingPool *pool,
guint key_val, guint key_val,
ClutterModifierType modifiers); ClutterModifierType modifiers);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_binding_pool_activate (ClutterBindingPool *pool, gboolean clutter_binding_pool_activate (ClutterBindingPool *pool,
guint key_val, guint key_val,
ClutterModifierType modifiers, ClutterModifierType modifiers,
GObject *gobject); GObject *gobject);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_binding_pool_block_action (ClutterBindingPool *pool, void clutter_binding_pool_block_action (ClutterBindingPool *pool,
const gchar *action_name); const gchar *action_name);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_binding_pool_unblock_action (ClutterBindingPool *pool, void clutter_binding_pool_unblock_action (ClutterBindingPool *pool,
const gchar *action_name); const gchar *action_name);

View File

@ -48,10 +48,10 @@ G_BEGIN_DECLS
typedef struct _ClutterBlurEffect ClutterBlurEffect; typedef struct _ClutterBlurEffect ClutterBlurEffect;
typedef struct _ClutterBlurEffectClass ClutterBlurEffectClass; typedef struct _ClutterBlurEffectClass ClutterBlurEffectClass;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_blur_effect_get_type (void) G_GNUC_CONST; GType clutter_blur_effect_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterEffect *clutter_blur_effect_new (void); ClutterEffect *clutter_blur_effect_new (void);
G_END_DECLS G_END_DECLS

View File

@ -77,41 +77,41 @@ struct _ClutterBoxLayoutClass
ClutterLayoutManagerClass parent_class; ClutterLayoutManagerClass parent_class;
}; };
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GType clutter_box_layout_get_type (void) G_GNUC_CONST; GType clutter_box_layout_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterLayoutManager * clutter_box_layout_new (void); ClutterLayoutManager * clutter_box_layout_new (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterOrientation clutter_box_layout_get_orientation (ClutterBoxLayout *layout); ClutterOrientation clutter_box_layout_get_orientation (ClutterBoxLayout *layout);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_box_layout_set_spacing (ClutterBoxLayout *layout, void clutter_box_layout_set_spacing (ClutterBoxLayout *layout,
guint spacing); guint spacing);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
guint clutter_box_layout_get_spacing (ClutterBoxLayout *layout); guint clutter_box_layout_get_spacing (ClutterBoxLayout *layout);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_box_layout_set_homogeneous (ClutterBoxLayout *layout, void clutter_box_layout_set_homogeneous (ClutterBoxLayout *layout,
gboolean homogeneous); gboolean homogeneous);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gboolean clutter_box_layout_get_homogeneous (ClutterBoxLayout *layout); gboolean clutter_box_layout_get_homogeneous (ClutterBoxLayout *layout);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_box_layout_set_pack_start (ClutterBoxLayout *layout, void clutter_box_layout_set_pack_start (ClutterBoxLayout *layout,
gboolean pack_start); gboolean pack_start);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gboolean clutter_box_layout_get_pack_start (ClutterBoxLayout *layout); gboolean clutter_box_layout_get_pack_start (ClutterBoxLayout *layout);
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_box_layout_set_orientation) CLUTTER_DEPRECATED_FOR(clutter_box_layout_set_orientation)
void clutter_box_layout_set_vertical (ClutterBoxLayout *layout, void clutter_box_layout_set_vertical (ClutterBoxLayout *layout,
gboolean vertical); gboolean vertical);
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_box_layout_get_orientation) CLUTTER_DEPRECATED_FOR(clutter_box_layout_get_orientation)
gboolean clutter_box_layout_get_vertical (ClutterBoxLayout *layout); gboolean clutter_box_layout_get_vertical (ClutterBoxLayout *layout);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_box_layout_pack (ClutterBoxLayout *layout, void clutter_box_layout_pack (ClutterBoxLayout *layout,
ClutterActor *actor, ClutterActor *actor,
gboolean expand, gboolean expand,
@ -119,48 +119,48 @@ void clutter_box_layout_pack (ClutterBoxLayou
gboolean y_fill, gboolean y_fill,
ClutterBoxAlignment x_align, ClutterBoxAlignment x_align,
ClutterBoxAlignment y_align); ClutterBoxAlignment y_align);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
void clutter_box_layout_set_alignment (ClutterBoxLayout *layout, void clutter_box_layout_set_alignment (ClutterBoxLayout *layout,
ClutterActor *actor, ClutterActor *actor,
ClutterBoxAlignment x_align, ClutterBoxAlignment x_align,
ClutterBoxAlignment y_align); ClutterBoxAlignment y_align);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
void clutter_box_layout_get_alignment (ClutterBoxLayout *layout, void clutter_box_layout_get_alignment (ClutterBoxLayout *layout,
ClutterActor *actor, ClutterActor *actor,
ClutterBoxAlignment *x_align, ClutterBoxAlignment *x_align,
ClutterBoxAlignment *y_align); ClutterBoxAlignment *y_align);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
void clutter_box_layout_set_fill (ClutterBoxLayout *layout, void clutter_box_layout_set_fill (ClutterBoxLayout *layout,
ClutterActor *actor, ClutterActor *actor,
gboolean x_fill, gboolean x_fill,
gboolean y_fill); gboolean y_fill);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
void clutter_box_layout_get_fill (ClutterBoxLayout *layout, void clutter_box_layout_get_fill (ClutterBoxLayout *layout,
ClutterActor *actor, ClutterActor *actor,
gboolean *x_fill, gboolean *x_fill,
gboolean *y_fill); gboolean *y_fill);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
void clutter_box_layout_set_expand (ClutterBoxLayout *layout, void clutter_box_layout_set_expand (ClutterBoxLayout *layout,
ClutterActor *actor, ClutterActor *actor,
gboolean expand); gboolean expand);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
gboolean clutter_box_layout_get_expand (ClutterBoxLayout *layout, gboolean clutter_box_layout_get_expand (ClutterBoxLayout *layout,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
void clutter_box_layout_set_use_animations (ClutterBoxLayout *layout, void clutter_box_layout_set_use_animations (ClutterBoxLayout *layout,
gboolean animate); gboolean animate);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
gboolean clutter_box_layout_get_use_animations (ClutterBoxLayout *layout); gboolean clutter_box_layout_get_use_animations (ClutterBoxLayout *layout);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
void clutter_box_layout_set_easing_mode (ClutterBoxLayout *layout, void clutter_box_layout_set_easing_mode (ClutterBoxLayout *layout,
gulong mode); gulong mode);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
gulong clutter_box_layout_get_easing_mode (ClutterBoxLayout *layout); gulong clutter_box_layout_get_easing_mode (ClutterBoxLayout *layout);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
void clutter_box_layout_set_easing_duration (ClutterBoxLayout *layout, void clutter_box_layout_set_easing_duration (ClutterBoxLayout *layout,
guint msecs); guint msecs);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
guint clutter_box_layout_get_easing_duration (ClutterBoxLayout *layout); guint clutter_box_layout_get_easing_duration (ClutterBoxLayout *layout);
G_END_DECLS G_END_DECLS

View File

@ -49,35 +49,35 @@ G_BEGIN_DECLS
typedef struct _ClutterBrightnessContrastEffect ClutterBrightnessContrastEffect; typedef struct _ClutterBrightnessContrastEffect ClutterBrightnessContrastEffect;
typedef struct _ClutterBrightnessContrastEffectClass ClutterBrightnessContrastEffectClass; typedef struct _ClutterBrightnessContrastEffectClass ClutterBrightnessContrastEffectClass;
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
GType clutter_brightness_contrast_effect_get_type (void) G_GNUC_CONST; GType clutter_brightness_contrast_effect_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterEffect * clutter_brightness_contrast_effect_new (void); ClutterEffect * clutter_brightness_contrast_effect_new (void);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_brightness_contrast_effect_set_brightness_full (ClutterBrightnessContrastEffect *effect, void clutter_brightness_contrast_effect_set_brightness_full (ClutterBrightnessContrastEffect *effect,
float red, float red,
float green, float green,
float blue); float blue);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_brightness_contrast_effect_set_brightness (ClutterBrightnessContrastEffect *effect, void clutter_brightness_contrast_effect_set_brightness (ClutterBrightnessContrastEffect *effect,
float brightness); float brightness);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_brightness_contrast_effect_get_brightness (ClutterBrightnessContrastEffect *effect, void clutter_brightness_contrast_effect_get_brightness (ClutterBrightnessContrastEffect *effect,
float *red, float *red,
float *green, float *green,
float *blue); float *blue);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_brightness_contrast_effect_set_contrast_full (ClutterBrightnessContrastEffect *effect, void clutter_brightness_contrast_effect_set_contrast_full (ClutterBrightnessContrastEffect *effect,
float red, float red,
float green, float green,
float blue); float blue);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_brightness_contrast_effect_set_contrast (ClutterBrightnessContrastEffect *effect, void clutter_brightness_contrast_effect_set_contrast (ClutterBrightnessContrastEffect *effect,
float contrast); float contrast);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_brightness_contrast_effect_get_contrast (ClutterBrightnessContrastEffect *effect, void clutter_brightness_contrast_effect_get_contrast (ClutterBrightnessContrastEffect *effect,
float *red, float *red,
float *green, float *green,

View File

@ -50,9 +50,9 @@ G_BEGIN_DECLS
#define CLUTTER_CAIRO_FORMAT_ARGB32 (COGL_PIXEL_FORMAT_ARGB_8888_PRE) #define CLUTTER_CAIRO_FORMAT_ARGB32 (COGL_PIXEL_FORMAT_ARGB_8888_PRE)
#endif #endif
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
void clutter_cairo_clear (cairo_t *cr); void clutter_cairo_clear (cairo_t *cr);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_cairo_set_source_color (cairo_t *cr, void clutter_cairo_set_source_color (cairo_t *cr,
const ClutterColor *color); const ClutterColor *color);

View File

@ -85,20 +85,20 @@ struct _ClutterCanvasClass
gpointer _padding[16]; gpointer _padding[16];
}; };
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
GType clutter_canvas_get_type (void) G_GNUC_CONST; GType clutter_canvas_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterContent * clutter_canvas_new (void); ClutterContent * clutter_canvas_new (void);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
gboolean clutter_canvas_set_size (ClutterCanvas *canvas, gboolean clutter_canvas_set_size (ClutterCanvas *canvas,
int width, int width,
int height); int height);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
void clutter_canvas_set_scale_factor (ClutterCanvas *canvas, void clutter_canvas_set_scale_factor (ClutterCanvas *canvas,
int scale); int scale);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
int clutter_canvas_get_scale_factor (ClutterCanvas *canvas); int clutter_canvas_get_scale_factor (ClutterCanvas *canvas);
G_END_DECLS G_END_DECLS

View File

@ -109,12 +109,12 @@ struct _ClutterChildMetaClass
GObjectClass parent_class; GObjectClass parent_class;
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_child_meta_get_type (void) G_GNUC_CONST; GType clutter_child_meta_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterContainer * clutter_child_meta_get_container (ClutterChildMeta *data); ClutterContainer * clutter_child_meta_get_container (ClutterChildMeta *data);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActor * clutter_child_meta_get_actor (ClutterChildMeta *data); ClutterActor * clutter_child_meta_get_actor (ClutterChildMeta *data);
G_END_DECLS G_END_DECLS

View File

@ -97,22 +97,22 @@ struct _ClutterClickActionClass
void (* _clutter_click_action7) (void); void (* _clutter_click_action7) (void);
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_click_action_get_type (void) G_GNUC_CONST; GType clutter_click_action_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterAction * clutter_click_action_new (void); ClutterAction * clutter_click_action_new (void);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
guint clutter_click_action_get_button (ClutterClickAction *action); guint clutter_click_action_get_button (ClutterClickAction *action);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterModifierType clutter_click_action_get_state (ClutterClickAction *action); ClutterModifierType clutter_click_action_get_state (ClutterClickAction *action);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_click_action_get_coords (ClutterClickAction *action, void clutter_click_action_get_coords (ClutterClickAction *action,
gfloat *press_x, gfloat *press_x,
gfloat *press_y); gfloat *press_y);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_click_action_release (ClutterClickAction *action); void clutter_click_action_release (ClutterClickAction *action);
G_END_DECLS G_END_DECLS

View File

@ -78,15 +78,15 @@ struct _ClutterCloneClass
void (*_clutter_actor_clone4) (void); void (*_clutter_actor_clone4) (void);
}; };
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_clone_get_type (void) G_GNUC_CONST; GType clutter_clone_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterActor * clutter_clone_new (ClutterActor *source); ClutterActor * clutter_clone_new (ClutterActor *source);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_clone_set_source (ClutterClone *self, void clutter_clone_set_source (ClutterClone *self,
ClutterActor *source); ClutterActor *source);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterActor * clutter_clone_get_source (ClutterClone *self); ClutterActor * clutter_clone_get_source (ClutterClone *self);
G_END_DECLS G_END_DECLS

View File

@ -68,76 +68,76 @@ struct _ClutterColor
*/ */
#define CLUTTER_COLOR_INIT(r,g,b,a) { (r), (g), (b), (a) } #define CLUTTER_COLOR_INIT(r,g,b,a) { (r), (g), (b), (a) }
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_color_get_type (void) G_GNUC_CONST; GType clutter_color_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterColor *clutter_color_new (guint8 red, ClutterColor *clutter_color_new (guint8 red,
guint8 green, guint8 green,
guint8 blue, guint8 blue,
guint8 alpha); guint8 alpha);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
ClutterColor *clutter_color_alloc (void); ClutterColor *clutter_color_alloc (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
ClutterColor *clutter_color_init (ClutterColor *color, ClutterColor *clutter_color_init (ClutterColor *color,
guint8 red, guint8 red,
guint8 green, guint8 green,
guint8 blue, guint8 blue,
guint8 alpha); guint8 alpha);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterColor *clutter_color_copy (const ClutterColor *color); ClutterColor *clutter_color_copy (const ClutterColor *color);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_color_free (ClutterColor *color); void clutter_color_free (ClutterColor *color);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_color_add (const ClutterColor *a, void clutter_color_add (const ClutterColor *a,
const ClutterColor *b, const ClutterColor *b,
ClutterColor *result); ClutterColor *result);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_color_subtract (const ClutterColor *a, void clutter_color_subtract (const ClutterColor *a,
const ClutterColor *b, const ClutterColor *b,
ClutterColor *result); ClutterColor *result);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_color_lighten (const ClutterColor *color, void clutter_color_lighten (const ClutterColor *color,
ClutterColor *result); ClutterColor *result);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_color_darken (const ClutterColor *color, void clutter_color_darken (const ClutterColor *color,
ClutterColor *result); ClutterColor *result);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_color_shade (const ClutterColor *color, void clutter_color_shade (const ClutterColor *color,
gdouble factor, gdouble factor,
ClutterColor *result); ClutterColor *result);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gchar * clutter_color_to_string (const ClutterColor *color); gchar * clutter_color_to_string (const ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_color_from_string (ClutterColor *color, gboolean clutter_color_from_string (ClutterColor *color,
const gchar *str); const gchar *str);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_color_to_hls (const ClutterColor *color, void clutter_color_to_hls (const ClutterColor *color,
gfloat *hue, gfloat *hue,
gfloat *luminance, gfloat *luminance,
gfloat *saturation); gfloat *saturation);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_color_from_hls (ClutterColor *color, void clutter_color_from_hls (ClutterColor *color,
gfloat hue, gfloat hue,
gfloat luminance, gfloat luminance,
gfloat saturation); gfloat saturation);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint32 clutter_color_to_pixel (const ClutterColor *color); guint32 clutter_color_to_pixel (const ClutterColor *color);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_color_from_pixel (ClutterColor *color, void clutter_color_from_pixel (ClutterColor *color,
guint32 pixel); guint32 pixel);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
guint clutter_color_hash (gconstpointer v); guint clutter_color_hash (gconstpointer v);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_color_equal (gconstpointer v1, gboolean clutter_color_equal (gconstpointer v1,
gconstpointer v2); gconstpointer v2);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
void clutter_color_interpolate (const ClutterColor *initial, void clutter_color_interpolate (const ClutterColor *initial,
const ClutterColor *final, const ClutterColor *final,
gdouble progress, gdouble progress,
@ -177,22 +177,22 @@ struct _ClutterParamSpecColor
ClutterColor *default_value; ClutterColor *default_value;
}; };
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_value_set_color (GValue *value, void clutter_value_set_color (GValue *value,
const ClutterColor *color); const ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
const ClutterColor * clutter_value_get_color (const GValue *value); const ClutterColor * clutter_value_get_color (const GValue *value);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_param_color_get_type (void) G_GNUC_CONST; GType clutter_param_color_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GParamSpec * clutter_param_spec_color (const gchar *name, GParamSpec * clutter_param_spec_color (const gchar *name,
const gchar *nick, const gchar *nick,
const gchar *blurb, const gchar *blurb,
const ClutterColor *default_value, const ClutterColor *default_value,
GParamFlags flags); GParamFlags flags);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
const ClutterColor *clutter_color_get_static (ClutterStaticColor color); const ClutterColor *clutter_color_get_static (ClutterStaticColor color);
G_END_DECLS G_END_DECLS

View File

@ -49,16 +49,16 @@ G_BEGIN_DECLS
typedef struct _ClutterColorizeEffect ClutterColorizeEffect; typedef struct _ClutterColorizeEffect ClutterColorizeEffect;
typedef struct _ClutterColorizeEffectClass ClutterColorizeEffectClass; typedef struct _ClutterColorizeEffectClass ClutterColorizeEffectClass;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_colorize_effect_get_type (void) G_GNUC_CONST; GType clutter_colorize_effect_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterEffect *clutter_colorize_effect_new (const ClutterColor *tint); ClutterEffect *clutter_colorize_effect_new (const ClutterColor *tint);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_colorize_effect_set_tint (ClutterColorizeEffect *effect, void clutter_colorize_effect_set_tint (ClutterColorizeEffect *effect,
const ClutterColor *tint); const ClutterColor *tint);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_colorize_effect_get_tint (ClutterColorizeEffect *effect, void clutter_colorize_effect_get_tint (ClutterColorizeEffect *effect,
ClutterColor *tint); ClutterColor *tint);

View File

@ -96,32 +96,32 @@ struct _ClutterConstraintClass
void (* _clutter_constraint7) (void); void (* _clutter_constraint7) (void);
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_constraint_get_type (void) G_GNUC_CONST; GType clutter_constraint_get_type (void) G_GNUC_CONST;
/* ClutterActor API */ /* ClutterActor API */
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_add_constraint (ClutterActor *self, void clutter_actor_add_constraint (ClutterActor *self,
ClutterConstraint *constraint); ClutterConstraint *constraint);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_add_constraint_with_name (ClutterActor *self, void clutter_actor_add_constraint_with_name (ClutterActor *self,
const gchar *name, const gchar *name,
ClutterConstraint *constraint); ClutterConstraint *constraint);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_remove_constraint (ClutterActor *self, void clutter_actor_remove_constraint (ClutterActor *self,
ClutterConstraint *constraint); ClutterConstraint *constraint);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_remove_constraint_by_name (ClutterActor *self, void clutter_actor_remove_constraint_by_name (ClutterActor *self,
const gchar *name); const gchar *name);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GList * clutter_actor_get_constraints (ClutterActor *self); GList * clutter_actor_get_constraints (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterConstraint *clutter_actor_get_constraint (ClutterActor *self, ClutterConstraint *clutter_actor_get_constraint (ClutterActor *self,
const gchar *name); const gchar *name);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_clear_constraints (ClutterActor *self); void clutter_actor_clear_constraints (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
gboolean clutter_actor_has_constraints (ClutterActor *self); gboolean clutter_actor_has_constraints (ClutterActor *self);
G_END_DECLS G_END_DECLS

View File

@ -141,52 +141,52 @@ struct _ClutterContainerIface
GParamSpec *pspec); GParamSpec *pspec);
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_container_get_type (void) G_GNUC_CONST; GType clutter_container_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActor * clutter_container_find_child_by_name (ClutterContainer *container, ClutterActor * clutter_container_find_child_by_name (ClutterContainer *container,
const gchar *child_name); const gchar *child_name);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GParamSpec * clutter_container_class_find_child_property (GObjectClass *klass, GParamSpec * clutter_container_class_find_child_property (GObjectClass *klass,
const gchar *property_name); const gchar *property_name);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GParamSpec ** clutter_container_class_list_child_properties (GObjectClass *klass, GParamSpec ** clutter_container_class_list_child_properties (GObjectClass *klass,
guint *n_properties); guint *n_properties);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_container_create_child_meta (ClutterContainer *container, void clutter_container_create_child_meta (ClutterContainer *container,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_container_destroy_child_meta (ClutterContainer *container, void clutter_container_destroy_child_meta (ClutterContainer *container,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterChildMeta * clutter_container_get_child_meta (ClutterContainer *container, ClutterChildMeta * clutter_container_get_child_meta (ClutterContainer *container,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_container_child_set_property (ClutterContainer *container, void clutter_container_child_set_property (ClutterContainer *container,
ClutterActor *child, ClutterActor *child,
const gchar * property, const gchar * property,
const GValue *value); const GValue *value);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_container_child_get_property (ClutterContainer *container, void clutter_container_child_get_property (ClutterContainer *container,
ClutterActor *child, ClutterActor *child,
const gchar *property, const gchar *property,
GValue *value); GValue *value);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_container_child_set (ClutterContainer *container, void clutter_container_child_set (ClutterContainer *container,
ClutterActor *actor, ClutterActor *actor,
const gchar *first_prop, const gchar *first_prop,
...) G_GNUC_NULL_TERMINATED; ...) G_GNUC_NULL_TERMINATED;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_container_child_get (ClutterContainer *container, void clutter_container_child_get (ClutterContainer *container,
ClutterActor *actor, ClutterActor *actor,
const gchar *first_prop, const gchar *first_prop,
...) G_GNUC_NULL_TERMINATED; ...) G_GNUC_NULL_TERMINATED;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_container_child_notify (ClutterContainer *container, void clutter_container_child_notify (ClutterContainer *container,
ClutterActor *child, ClutterActor *child,
GParamSpec *pspec); GParamSpec *pspec);

View File

@ -88,14 +88,14 @@ struct _ClutterContentIface
void (* invalidate) (ClutterContent *content); void (* invalidate) (ClutterContent *content);
}; };
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
GType clutter_content_get_type (void) G_GNUC_CONST; GType clutter_content_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_content_invalidate (ClutterContent *content); void clutter_content_invalidate (ClutterContent *content);
G_END_DECLS G_END_DECLS

View File

@ -92,24 +92,24 @@ struct _ClutterDeformEffectClass
void (*_clutter_deform7) (void); void (*_clutter_deform7) (void);
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_deform_effect_get_type (void) G_GNUC_CONST; GType clutter_deform_effect_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_deform_effect_set_back_material (ClutterDeformEffect *effect, void clutter_deform_effect_set_back_material (ClutterDeformEffect *effect,
CoglHandle material); CoglHandle material);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
CoglHandle clutter_deform_effect_get_back_material (ClutterDeformEffect *effect); CoglHandle clutter_deform_effect_get_back_material (ClutterDeformEffect *effect);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_deform_effect_set_n_tiles (ClutterDeformEffect *effect, void clutter_deform_effect_set_n_tiles (ClutterDeformEffect *effect,
guint x_tiles, guint x_tiles,
guint y_tiles); guint y_tiles);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_deform_effect_get_n_tiles (ClutterDeformEffect *effect, void clutter_deform_effect_get_n_tiles (ClutterDeformEffect *effect,
guint *x_tiles, guint *x_tiles,
guint *y_tiles); guint *y_tiles);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_deform_effect_invalidate (ClutterDeformEffect *effect); void clutter_deform_effect_invalidate (ClutterDeformEffect *effect);
G_END_DECLS G_END_DECLS

View File

@ -48,16 +48,16 @@ G_BEGIN_DECLS
typedef struct _ClutterDesaturateEffect ClutterDesaturateEffect; typedef struct _ClutterDesaturateEffect ClutterDesaturateEffect;
typedef struct _ClutterDesaturateEffectClass ClutterDesaturateEffectClass; typedef struct _ClutterDesaturateEffectClass ClutterDesaturateEffectClass;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_desaturate_effect_get_type (void) G_GNUC_CONST; GType clutter_desaturate_effect_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterEffect *clutter_desaturate_effect_new (gdouble factor); ClutterEffect *clutter_desaturate_effect_new (gdouble factor);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_desaturate_effect_set_factor (ClutterDesaturateEffect *effect, void clutter_desaturate_effect_set_factor (ClutterDesaturateEffect *effect,
gdouble factor); gdouble factor);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gdouble clutter_desaturate_effect_get_factor (ClutterDesaturateEffect *effect); gdouble clutter_desaturate_effect_get_factor (ClutterDesaturateEffect *effect);
G_END_DECLS G_END_DECLS

View File

@ -125,34 +125,34 @@ struct _ClutterDeviceManagerClass
gpointer _padding[6]; gpointer _padding[6];
}; };
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GType clutter_device_manager_get_type (void) G_GNUC_CONST; GType clutter_device_manager_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterDeviceManager *clutter_device_manager_get_default (void); ClutterDeviceManager *clutter_device_manager_get_default (void);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GSList * clutter_device_manager_list_devices (ClutterDeviceManager *device_manager); GSList * clutter_device_manager_list_devices (ClutterDeviceManager *device_manager);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
const GSList * clutter_device_manager_peek_devices (ClutterDeviceManager *device_manager); const GSList * clutter_device_manager_peek_devices (ClutterDeviceManager *device_manager);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterInputDevice * clutter_device_manager_get_device (ClutterDeviceManager *device_manager, ClutterInputDevice * clutter_device_manager_get_device (ClutterDeviceManager *device_manager,
gint device_id); gint device_id);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterInputDevice * clutter_device_manager_get_core_device (ClutterDeviceManager *device_manager, ClutterInputDevice * clutter_device_manager_get_core_device (ClutterDeviceManager *device_manager,
ClutterInputDeviceType device_type); ClutterInputDeviceType device_type);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterVirtualInputDevice *clutter_device_manager_create_virtual_device (ClutterDeviceManager *device_manager, ClutterVirtualInputDevice *clutter_device_manager_create_virtual_device (ClutterDeviceManager *device_manager,
ClutterInputDeviceType device_type); ClutterInputDeviceType device_type);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterVirtualDeviceType clutter_device_manager_get_supported_virtual_device_types (ClutterDeviceManager *device_manager); ClutterVirtualDeviceType clutter_device_manager_get_supported_virtual_device_types (ClutterDeviceManager *device_manager);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_device_manager_set_kbd_a11y_settings (ClutterDeviceManager *device_manager, void clutter_device_manager_set_kbd_a11y_settings (ClutterDeviceManager *device_manager,
ClutterKbdA11ySettings *settings); ClutterKbdA11ySettings *settings);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_device_manager_get_kbd_a11y_settings (ClutterDeviceManager *device_manager, void clutter_device_manager_get_kbd_a11y_settings (ClutterDeviceManager *device_manager,
ClutterKbdA11ySettings *settings); ClutterKbdA11ySettings *settings);

View File

@ -105,45 +105,45 @@ struct _ClutterDragActionClass
void (* _clutter_drag_action4) (void); void (* _clutter_drag_action4) (void);
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_drag_action_get_type (void) G_GNUC_CONST; GType clutter_drag_action_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterAction * clutter_drag_action_new (void); ClutterAction * clutter_drag_action_new (void);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_drag_action_set_drag_threshold (ClutterDragAction *action, void clutter_drag_action_set_drag_threshold (ClutterDragAction *action,
gint x_threshold, gint x_threshold,
gint y_threshold); gint y_threshold);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_drag_action_get_drag_threshold (ClutterDragAction *action, void clutter_drag_action_get_drag_threshold (ClutterDragAction *action,
guint *x_threshold, guint *x_threshold,
guint *y_threshold); guint *y_threshold);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_drag_action_set_drag_handle (ClutterDragAction *action, void clutter_drag_action_set_drag_handle (ClutterDragAction *action,
ClutterActor *handle); ClutterActor *handle);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterActor * clutter_drag_action_get_drag_handle (ClutterDragAction *action); ClutterActor * clutter_drag_action_get_drag_handle (ClutterDragAction *action);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_drag_action_set_drag_axis (ClutterDragAction *action, void clutter_drag_action_set_drag_axis (ClutterDragAction *action,
ClutterDragAxis axis); ClutterDragAxis axis);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterDragAxis clutter_drag_action_get_drag_axis (ClutterDragAction *action); ClutterDragAxis clutter_drag_action_get_drag_axis (ClutterDragAction *action);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_drag_action_get_press_coords (ClutterDragAction *action, void clutter_drag_action_get_press_coords (ClutterDragAction *action,
gfloat *press_x, gfloat *press_x,
gfloat *press_y); gfloat *press_y);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_drag_action_get_motion_coords (ClutterDragAction *action, void clutter_drag_action_get_motion_coords (ClutterDragAction *action,
gfloat *motion_x, gfloat *motion_x,
gfloat *motion_y); gfloat *motion_y);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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

@ -104,10 +104,10 @@ struct _ClutterDropActionClass
void (*_clutter_drop_action8) (void); void (*_clutter_drop_action8) (void);
}; };
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
GType clutter_drop_action_get_type (void) G_GNUC_CONST; GType clutter_drop_action_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
ClutterAction * clutter_drop_action_new (void); ClutterAction * clutter_drop_action_new (void);
G_END_DECLS G_END_DECLS

View File

@ -91,38 +91,38 @@ struct _ClutterEffectClass
void (* _clutter_effect6) (void); void (* _clutter_effect6) (void);
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_effect_get_type (void) G_GNUC_CONST; GType clutter_effect_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_effect_queue_repaint (ClutterEffect *effect); void clutter_effect_queue_repaint (ClutterEffect *effect);
/* /*
* ClutterActor API * ClutterActor API
*/ */
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_add_effect (ClutterActor *self, void clutter_actor_add_effect (ClutterActor *self,
ClutterEffect *effect); ClutterEffect *effect);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_add_effect_with_name (ClutterActor *self, void clutter_actor_add_effect_with_name (ClutterActor *self,
const gchar *name, const gchar *name,
ClutterEffect *effect); ClutterEffect *effect);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_remove_effect (ClutterActor *self, void clutter_actor_remove_effect (ClutterActor *self,
ClutterEffect *effect); ClutterEffect *effect);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_remove_effect_by_name (ClutterActor *self, void clutter_actor_remove_effect_by_name (ClutterActor *self,
const gchar *name); const gchar *name);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GList * clutter_actor_get_effects (ClutterActor *self); GList * clutter_actor_get_effects (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterEffect *clutter_actor_get_effect (ClutterActor *self, ClutterEffect *clutter_actor_get_effect (ClutterActor *self,
const gchar *name); const gchar *name);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_actor_clear_effects (ClutterActor *self); void clutter_actor_clear_effects (ClutterActor *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
gboolean clutter_actor_has_effects (ClutterActor *self); gboolean clutter_actor_has_effects (ClutterActor *self);
G_END_DECLS G_END_DECLS

View File

@ -17,7 +17,7 @@ G_BEGIN_DECLS
/*** END file-production ***/ /*** END file-production ***/
/*** BEGIN value-header ***/ /*** BEGIN value-header ***/
CLUTTER_AVAILABLE_IN_ALL GType @enum_name@_get_type (void) G_GNUC_CONST; CLUTTER_EXPORT GType @enum_name@_get_type (void) G_GNUC_CONST;
#define CLUTTER_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) #define CLUTTER_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
/*** END value-header ***/ /*** END value-header ***/

View File

@ -29,7 +29,7 @@ struct _ClutterEventTranslatorIface
ClutterEvent *translated); ClutterEvent *translated);
}; };
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
GType _clutter_event_translator_get_type (void) G_GNUC_CONST; GType _clutter_event_translator_get_type (void) G_GNUC_CONST;
ClutterTranslateReturn _clutter_event_translator_translate_event (ClutterEventTranslator *translator, ClutterTranslateReturn _clutter_event_translator_translate_event (ClutterEventTranslator *translator,

View File

@ -589,185 +589,185 @@ union _ClutterEvent
typedef gboolean (* ClutterEventFilterFunc) (const ClutterEvent *event, typedef gboolean (* ClutterEventFilterFunc) (const ClutterEvent *event,
gpointer user_data); gpointer user_data);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_event_get_type (void) G_GNUC_CONST; GType clutter_event_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_20 CLUTTER_EXPORT
GType clutter_event_sequence_get_type (void) G_GNUC_CONST; GType clutter_event_sequence_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_events_pending (void); gboolean clutter_events_pending (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterEvent * clutter_event_get (void); ClutterEvent * clutter_event_get (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterEvent * clutter_event_peek (void); ClutterEvent * clutter_event_peek (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_event_put (const ClutterEvent *event); void clutter_event_put (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
guint clutter_event_add_filter (ClutterStage *stage, guint clutter_event_add_filter (ClutterStage *stage,
ClutterEventFilterFunc func, ClutterEventFilterFunc func,
GDestroyNotify notify, GDestroyNotify notify,
gpointer user_data); gpointer user_data);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
void clutter_event_remove_filter (guint id); void clutter_event_remove_filter (guint id);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterEvent * clutter_event_new (ClutterEventType type); ClutterEvent * clutter_event_new (ClutterEventType type);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterEvent * clutter_event_copy (const ClutterEvent *event); ClutterEvent * clutter_event_copy (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_event_free (ClutterEvent *event); void clutter_event_free (ClutterEvent *event);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterEventType clutter_event_type (const ClutterEvent *event); ClutterEventType clutter_event_type (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_flags (ClutterEvent *event, void clutter_event_set_flags (ClutterEvent *event,
ClutterEventFlags flags); ClutterEventFlags flags);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterEventFlags clutter_event_get_flags (const ClutterEvent *event); ClutterEventFlags clutter_event_get_flags (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_time (ClutterEvent *event, void clutter_event_set_time (ClutterEvent *event,
guint32 time_); guint32 time_);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint32 clutter_event_get_time (const ClutterEvent *event); guint32 clutter_event_get_time (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_state (ClutterEvent *event, void clutter_event_set_state (ClutterEvent *event,
ClutterModifierType state); ClutterModifierType state);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterModifierType clutter_event_get_state (const ClutterEvent *event); ClutterModifierType clutter_event_get_state (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_16 CLUTTER_EXPORT
void clutter_event_get_state_full (const ClutterEvent *event, void clutter_event_get_state_full (const ClutterEvent *event,
ClutterModifierType *button_state, ClutterModifierType *button_state,
ClutterModifierType *base_state, ClutterModifierType *base_state,
ClutterModifierType *latched_state, ClutterModifierType *latched_state,
ClutterModifierType *locked_state, ClutterModifierType *locked_state,
ClutterModifierType *effective_state); ClutterModifierType *effective_state);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
void clutter_event_set_device (ClutterEvent *event, void clutter_event_set_device (ClutterEvent *event,
ClutterInputDevice *device); ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
ClutterInputDevice * clutter_event_get_device (const ClutterEvent *event); ClutterInputDevice * clutter_event_get_device (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
void clutter_event_set_source_device (ClutterEvent *event, void clutter_event_set_source_device (ClutterEvent *event,
ClutterInputDevice *device); ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
ClutterInputDevice * clutter_event_get_source_device (const ClutterEvent *event); ClutterInputDevice * clutter_event_get_source_device (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_event_set_device_tool (ClutterEvent *event, void clutter_event_set_device_tool (ClutterEvent *event,
ClutterInputDeviceTool *tool); ClutterInputDeviceTool *tool);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterInputDeviceTool *clutter_event_get_device_tool (const ClutterEvent *event); ClutterInputDeviceTool *clutter_event_get_device_tool (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_source (ClutterEvent *event, void clutter_event_set_source (ClutterEvent *event,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActor * clutter_event_get_source (const ClutterEvent *event); ClutterActor * clutter_event_get_source (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_stage (ClutterEvent *event, void clutter_event_set_stage (ClutterEvent *event,
ClutterStage *stage); ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterStage * clutter_event_get_stage (const ClutterEvent *event); ClutterStage * clutter_event_get_stage (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gint clutter_event_get_device_id (const ClutterEvent *event); gint clutter_event_get_device_id (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterInputDeviceType clutter_event_get_device_type (const ClutterEvent *event); ClutterInputDeviceType clutter_event_get_device_type (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_coords (ClutterEvent *event, void clutter_event_set_coords (ClutterEvent *event,
gfloat x, gfloat x,
gfloat y); gfloat y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
double clutter_event_get_angle (const ClutterEvent *source, double clutter_event_get_angle (const ClutterEvent *source,
const ClutterEvent *target); const ClutterEvent *target);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gboolean clutter_event_has_shift_modifier (const ClutterEvent *event); gboolean clutter_event_has_shift_modifier (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
gboolean clutter_event_has_control_modifier (const ClutterEvent *event); gboolean clutter_event_has_control_modifier (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
gboolean clutter_event_is_pointer_emulated (const ClutterEvent *event); gboolean clutter_event_is_pointer_emulated (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_key_symbol (ClutterEvent *event, void clutter_event_set_key_symbol (ClutterEvent *event,
guint key_sym); guint key_sym);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
guint clutter_event_get_key_symbol (const ClutterEvent *event); guint clutter_event_get_key_symbol (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_key_code (ClutterEvent *event, void clutter_event_set_key_code (ClutterEvent *event,
guint16 key_code); guint16 key_code);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
guint16 clutter_event_get_key_code (const ClutterEvent *event); guint16 clutter_event_get_key_code (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_key_unicode (ClutterEvent *event, void clutter_event_set_key_unicode (ClutterEvent *event,
gunichar key_unicode); gunichar key_unicode);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gunichar clutter_event_get_key_unicode (const ClutterEvent *event); gunichar clutter_event_get_key_unicode (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_button (ClutterEvent *event, void clutter_event_set_button (ClutterEvent *event,
guint32 button); guint32 button);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
guint32 clutter_event_get_button (const ClutterEvent *event); guint32 clutter_event_get_button (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
guint clutter_event_get_click_count (const ClutterEvent *event); guint clutter_event_get_click_count (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_related (ClutterEvent *event, void clutter_event_set_related (ClutterEvent *event,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterActor * clutter_event_get_related (const ClutterEvent *event); ClutterActor * clutter_event_get_related (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_event_set_scroll_direction (ClutterEvent *event, void clutter_event_set_scroll_direction (ClutterEvent *event,
ClutterScrollDirection direction); ClutterScrollDirection direction);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterScrollDirection clutter_event_get_scroll_direction (const ClutterEvent *event); ClutterScrollDirection clutter_event_get_scroll_direction (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterEventSequence * clutter_event_get_event_sequence (const ClutterEvent *event); ClutterEventSequence * clutter_event_get_event_sequence (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint32 clutter_keysym_to_unicode (guint keyval); guint32 clutter_keysym_to_unicode (guint keyval);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
guint clutter_unicode_to_keysym (guint32 wc); guint clutter_unicode_to_keysym (guint32 wc);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
guint32 clutter_get_current_event_time (void); guint32 clutter_get_current_event_time (void);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
const ClutterEvent * clutter_get_current_event (void); const ClutterEvent * clutter_get_current_event (void);
CLUTTER_AVAILABLE_IN_1_24 CLUTTER_EXPORT
guint clutter_event_get_touchpad_gesture_finger_count (const ClutterEvent *event); guint clutter_event_get_touchpad_gesture_finger_count (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_24 CLUTTER_EXPORT
gdouble clutter_event_get_gesture_pinch_angle_delta (const ClutterEvent *event); gdouble clutter_event_get_gesture_pinch_angle_delta (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_24 CLUTTER_EXPORT
gdouble clutter_event_get_gesture_pinch_scale (const ClutterEvent *event); gdouble clutter_event_get_gesture_pinch_scale (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_24 CLUTTER_EXPORT
ClutterTouchpadGesturePhase clutter_event_get_gesture_phase (const ClutterEvent *event); ClutterTouchpadGesturePhase clutter_event_get_gesture_phase (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_1_24 CLUTTER_EXPORT
void clutter_event_get_gesture_motion_delta (const ClutterEvent *event, void clutter_event_get_gesture_motion_delta (const ClutterEvent *event,
gdouble *dx, gdouble *dx,
gdouble *dy); gdouble *dy);
@ -775,10 +775,10 @@ void clutter_event_get_gesture_motion_delta (const Clut
ClutterScrollSource clutter_event_get_scroll_source (const ClutterEvent *event); ClutterScrollSource clutter_event_get_scroll_source (const ClutterEvent *event);
ClutterScrollFinishFlags clutter_event_get_scroll_finish_flags (const ClutterEvent *event); ClutterScrollFinishFlags clutter_event_get_scroll_finish_flags (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_event_get_mode_group (const ClutterEvent *event); guint clutter_event_get_mode_group (const ClutterEvent *event);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
gboolean clutter_event_get_pad_event_details (const ClutterEvent *event, gboolean clutter_event_get_pad_event_details (const ClutterEvent *event,
guint *number, guint *number,
guint *mode, guint *mode,

View File

@ -32,9 +32,9 @@
G_BEGIN_DECLS G_BEGIN_DECLS
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_feature_available (ClutterFeatureFlags feature); gboolean clutter_feature_available (ClutterFeatureFlags feature);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterFeatureFlags clutter_feature_get_all (void); ClutterFeatureFlags clutter_feature_get_all (void);
G_END_DECLS G_END_DECLS

View File

@ -71,10 +71,10 @@ struct _ClutterFixedLayoutClass
ClutterLayoutManagerClass parent_class; ClutterLayoutManagerClass parent_class;
}; };
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GType clutter_fixed_layout_get_type (void) G_GNUC_CONST; GType clutter_fixed_layout_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterLayoutManager *clutter_fixed_layout_new (void); ClutterLayoutManager *clutter_fixed_layout_new (void);
G_END_DECLS G_END_DECLS

View File

@ -74,54 +74,54 @@ struct _ClutterFlowLayoutClass
ClutterLayoutManagerClass parent_class; ClutterLayoutManagerClass parent_class;
}; };
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GType clutter_flow_layout_get_type (void) G_GNUC_CONST; GType clutter_flow_layout_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterLayoutManager * clutter_flow_layout_new (ClutterFlowOrientation orientation); ClutterLayoutManager * clutter_flow_layout_new (ClutterFlowOrientation orientation);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_flow_layout_set_orientation (ClutterFlowLayout *layout, void clutter_flow_layout_set_orientation (ClutterFlowLayout *layout,
ClutterFlowOrientation orientation); ClutterFlowOrientation orientation);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterFlowOrientation clutter_flow_layout_get_orientation (ClutterFlowLayout *layout); ClutterFlowOrientation clutter_flow_layout_get_orientation (ClutterFlowLayout *layout);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_flow_layout_set_homogeneous (ClutterFlowLayout *layout, void clutter_flow_layout_set_homogeneous (ClutterFlowLayout *layout,
gboolean homogeneous); gboolean homogeneous);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gboolean clutter_flow_layout_get_homogeneous (ClutterFlowLayout *layout); gboolean clutter_flow_layout_get_homogeneous (ClutterFlowLayout *layout);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_flow_layout_set_column_spacing (ClutterFlowLayout *layout, void clutter_flow_layout_set_column_spacing (ClutterFlowLayout *layout,
gfloat spacing); gfloat spacing);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gfloat clutter_flow_layout_get_column_spacing (ClutterFlowLayout *layout); gfloat clutter_flow_layout_get_column_spacing (ClutterFlowLayout *layout);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_flow_layout_set_row_spacing (ClutterFlowLayout *layout, void clutter_flow_layout_set_row_spacing (ClutterFlowLayout *layout,
gfloat spacing); gfloat spacing);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gfloat clutter_flow_layout_get_row_spacing (ClutterFlowLayout *layout); gfloat clutter_flow_layout_get_row_spacing (ClutterFlowLayout *layout);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_flow_layout_set_column_width (ClutterFlowLayout *layout, void clutter_flow_layout_set_column_width (ClutterFlowLayout *layout,
gfloat min_width, gfloat min_width,
gfloat max_width); gfloat max_width);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_flow_layout_get_column_width (ClutterFlowLayout *layout, void clutter_flow_layout_get_column_width (ClutterFlowLayout *layout,
gfloat *min_width, gfloat *min_width,
gfloat *max_width); gfloat *max_width);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_flow_layout_set_row_height (ClutterFlowLayout *layout, void clutter_flow_layout_set_row_height (ClutterFlowLayout *layout,
gfloat min_height, gfloat min_height,
gfloat max_height); gfloat max_height);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_flow_layout_get_row_height (ClutterFlowLayout *layout, void clutter_flow_layout_get_row_height (ClutterFlowLayout *layout,
gfloat *min_height, gfloat *min_height,
gfloat *max_height); gfloat *max_height);
CLUTTER_AVAILABLE_IN_1_16 CLUTTER_EXPORT
void clutter_flow_layout_set_snap_to_grid (ClutterFlowLayout *layout, void clutter_flow_layout_set_snap_to_grid (ClutterFlowLayout *layout,
gboolean snap_to_grid); gboolean snap_to_grid);
CLUTTER_AVAILABLE_IN_1_16 CLUTTER_EXPORT
gboolean clutter_flow_layout_get_snap_to_grid (ClutterFlowLayout *layout); gboolean clutter_flow_layout_get_snap_to_grid (ClutterFlowLayout *layout);
G_END_DECLS G_END_DECLS

View File

@ -101,75 +101,75 @@ struct _ClutterGestureActionClass
void (* _clutter_gesture_action6) (void); void (* _clutter_gesture_action6) (void);
}; };
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
GType clutter_gesture_action_get_type (void) G_GNUC_CONST; GType clutter_gesture_action_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
ClutterAction * clutter_gesture_action_new (void); ClutterAction * clutter_gesture_action_new (void);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
gint clutter_gesture_action_get_n_touch_points (ClutterGestureAction *action); gint clutter_gesture_action_get_n_touch_points (ClutterGestureAction *action);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_gesture_action_set_n_touch_points (ClutterGestureAction *action, void clutter_gesture_action_set_n_touch_points (ClutterGestureAction *action,
gint nb_points); gint nb_points);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_gesture_action_get_press_coords (ClutterGestureAction *action, void clutter_gesture_action_get_press_coords (ClutterGestureAction *action,
guint point, guint point,
gfloat *press_x, gfloat *press_x,
gfloat *press_y); gfloat *press_y);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_gesture_action_get_motion_coords (ClutterGestureAction *action, void clutter_gesture_action_get_motion_coords (ClutterGestureAction *action,
guint point, guint point,
gfloat *motion_x, gfloat *motion_x,
gfloat *motion_y); gfloat *motion_y);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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,
gfloat *delta_y); gfloat *delta_y);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_gesture_action_get_release_coords (ClutterGestureAction *action, void clutter_gesture_action_get_release_coords (ClutterGestureAction *action,
guint point, guint point,
gfloat *release_x, gfloat *release_x,
gfloat *release_y); gfloat *release_y);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_gesture_action_cancel (ClutterGestureAction *action); void clutter_gesture_action_cancel (ClutterGestureAction *action);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
void clutter_gesture_action_set_threshold_trigger_edge (ClutterGestureAction *action, void clutter_gesture_action_set_threshold_trigger_edge (ClutterGestureAction *action,
ClutterGestureTriggerEdge edge); ClutterGestureTriggerEdge edge);
CLUTTER_DEPRECATED_IN_1_20_FOR(clutter_gesture_action_get_threshold_trigger_edge) CLUTTER_DEPRECATED_FOR(clutter_gesture_action_get_threshold_trigger_edge)
ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_egde (ClutterGestureAction *action); ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_egde (ClutterGestureAction *action);
CLUTTER_AVAILABLE_IN_1_20 CLUTTER_EXPORT
ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_edge (ClutterGestureAction *action); ClutterGestureTriggerEdge clutter_gesture_action_get_threshold_trigger_edge (ClutterGestureAction *action);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
void clutter_gesture_action_set_threshold_trigger_distance (ClutterGestureAction *action, void clutter_gesture_action_set_threshold_trigger_distance (ClutterGestureAction *action,
float x, float x,
float y); float y);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
void clutter_gesture_action_get_threshold_trigger_distance (ClutterGestureAction *action, void clutter_gesture_action_get_threshold_trigger_distance (ClutterGestureAction *action,
float *x, float *x,
float *y); float *y);

View File

@ -80,13 +80,13 @@ struct _ClutterGridLayoutClass
gpointer _padding[8]; gpointer _padding[8];
}; };
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterLayoutManager * clutter_grid_layout_new (void); ClutterLayoutManager * clutter_grid_layout_new (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterOrientation clutter_grid_layout_get_orientation (ClutterGridLayout *layout); ClutterOrientation clutter_grid_layout_get_orientation (ClutterGridLayout *layout);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
guint clutter_grid_layout_get_column_spacing (ClutterGridLayout *layout); guint clutter_grid_layout_get_column_spacing (ClutterGridLayout *layout);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
guint clutter_grid_layout_get_row_spacing (ClutterGridLayout *layout); guint clutter_grid_layout_get_row_spacing (ClutterGridLayout *layout);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gboolean clutter_grid_layout_get_column_homogeneous (ClutterGridLayout *layout); gboolean clutter_grid_layout_get_column_homogeneous (ClutterGridLayout *layout);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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

@ -88,7 +88,7 @@ struct _ClutterGroupClass
void (*_clutter_reserved6) (void); void (*_clutter_reserved6) (void);
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_group_get_type (void) G_GNUC_CONST; GType clutter_group_get_type (void) G_GNUC_CONST;
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 CLUTTER_EXPORT
GQuark clutter_image_error_quark (void); GQuark clutter_image_error_quark (void);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
GType clutter_image_get_type (void) G_GNUC_CONST; GType clutter_image_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterContent * clutter_image_new (void); ClutterContent * clutter_image_new (void);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gboolean clutter_image_set_bytes (ClutterImage *image, gboolean clutter_image_set_bytes (ClutterImage *image,
GBytes *data, GBytes *data,
CoglPixelFormat pixel_format, CoglPixelFormat pixel_format,
@ -131,7 +131,7 @@ gboolean clutter_image_set_bytes (ClutterImage
guint row_stride, guint row_stride,
GError **error); GError **error);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
CoglTexture * clutter_image_get_texture (ClutterImage *image); CoglTexture * clutter_image_get_texture (ClutterImage *image);
G_END_DECLS G_END_DECLS

View File

@ -52,16 +52,16 @@ struct _ClutterInputDeviceToolClass
GObjectClass parent_class; GObjectClass parent_class;
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_input_device_tool_get_type (void) G_GNUC_CONST; GType clutter_input_device_tool_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint64 clutter_input_device_tool_get_serial (ClutterInputDeviceTool *tool); guint64 clutter_input_device_tool_get_serial (ClutterInputDeviceTool *tool);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterInputDeviceToolType clutter_input_device_tool_get_tool_type (ClutterInputDeviceTool *tool); ClutterInputDeviceToolType clutter_input_device_tool_get_tool_type (ClutterInputDeviceTool *tool);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint64 clutter_input_device_tool_get_id (ClutterInputDeviceTool *tool); guint64 clutter_input_device_tool_get_id (ClutterInputDeviceTool *tool);
G_END_DECLS G_END_DECLS

View File

@ -47,128 +47,128 @@ G_BEGIN_DECLS
*/ */
typedef struct _ClutterInputDeviceClass ClutterInputDeviceClass; typedef struct _ClutterInputDeviceClass ClutterInputDeviceClass;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_input_device_get_type (void) G_GNUC_CONST; GType clutter_input_device_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterInputDeviceType clutter_input_device_get_device_type (ClutterInputDevice *device); ClutterInputDeviceType clutter_input_device_get_device_type (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gint clutter_input_device_get_device_id (ClutterInputDevice *device); gint clutter_input_device_get_device_id (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
gboolean clutter_input_device_get_coords (ClutterInputDevice *device, gboolean clutter_input_device_get_coords (ClutterInputDevice *device,
ClutterEventSequence *sequence, ClutterEventSequence *sequence,
ClutterPoint *point); ClutterPoint *point);
CLUTTER_AVAILABLE_IN_1_16 CLUTTER_EXPORT
ClutterModifierType clutter_input_device_get_modifier_state (ClutterInputDevice *device); ClutterModifierType clutter_input_device_get_modifier_state (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterActor * clutter_input_device_get_pointer_actor (ClutterInputDevice *device); ClutterActor * clutter_input_device_get_pointer_actor (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterStage * clutter_input_device_get_pointer_stage (ClutterInputDevice *device); ClutterStage * clutter_input_device_get_pointer_stage (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
const gchar * clutter_input_device_get_device_name (ClutterInputDevice *device); const gchar * clutter_input_device_get_device_name (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterInputMode clutter_input_device_get_device_mode (ClutterInputDevice *device); ClutterInputMode clutter_input_device_get_device_mode (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gboolean clutter_input_device_get_has_cursor (ClutterInputDevice *device); gboolean clutter_input_device_get_has_cursor (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_input_device_set_enabled (ClutterInputDevice *device, void clutter_input_device_set_enabled (ClutterInputDevice *device,
gboolean enabled); gboolean enabled);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gboolean clutter_input_device_get_enabled (ClutterInputDevice *device); gboolean clutter_input_device_get_enabled (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
guint clutter_input_device_get_n_axes (ClutterInputDevice *device); guint clutter_input_device_get_n_axes (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterInputAxis clutter_input_device_get_axis (ClutterInputDevice *device, ClutterInputAxis clutter_input_device_get_axis (ClutterInputDevice *device,
guint index_); guint index_);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gboolean clutter_input_device_get_axis_value (ClutterInputDevice *device, gboolean clutter_input_device_get_axis_value (ClutterInputDevice *device,
gdouble *axes, gdouble *axes,
ClutterInputAxis axis, ClutterInputAxis axis,
gdouble *value); gdouble *value);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
guint clutter_input_device_get_n_keys (ClutterInputDevice *device); guint clutter_input_device_get_n_keys (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_input_device_set_key (ClutterInputDevice *device, void clutter_input_device_set_key (ClutterInputDevice *device,
guint index_, guint index_,
guint keyval, guint keyval,
ClutterModifierType modifiers); ClutterModifierType modifiers);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gboolean clutter_input_device_get_key (ClutterInputDevice *device, gboolean clutter_input_device_get_key (ClutterInputDevice *device,
guint index_, guint index_,
guint *keyval, guint *keyval,
ClutterModifierType *modifiers); ClutterModifierType *modifiers);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterInputDevice * clutter_input_device_get_associated_device (ClutterInputDevice *device); ClutterInputDevice * clutter_input_device_get_associated_device (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GList * clutter_input_device_get_slave_devices (ClutterInputDevice *device); GList * clutter_input_device_get_slave_devices (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_input_device_update_from_event (ClutterInputDevice *device, void clutter_input_device_update_from_event (ClutterInputDevice *device,
ClutterEvent *event, ClutterEvent *event,
gboolean update_stage); gboolean update_stage);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_input_device_grab (ClutterInputDevice *device, void clutter_input_device_grab (ClutterInputDevice *device,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_input_device_ungrab (ClutterInputDevice *device); void clutter_input_device_ungrab (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterActor * clutter_input_device_get_grabbed_actor (ClutterInputDevice *device); ClutterActor * clutter_input_device_get_grabbed_actor (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterActor * clutter_input_device_sequence_get_grabbed_actor (ClutterInputDevice *device, ClutterActor * clutter_input_device_sequence_get_grabbed_actor (ClutterInputDevice *device,
ClutterEventSequence *sequence); ClutterEventSequence *sequence);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
gboolean clutter_input_device_keycode_to_evdev (ClutterInputDevice *device, gboolean clutter_input_device_keycode_to_evdev (ClutterInputDevice *device,
guint hardware_keycode, guint hardware_keycode,
guint *evdev_keycode); guint *evdev_keycode);
CLUTTER_AVAILABLE_IN_1_22 CLUTTER_EXPORT
const gchar * clutter_input_device_get_vendor_id (ClutterInputDevice *device); const gchar * clutter_input_device_get_vendor_id (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_1_22 CLUTTER_EXPORT
const gchar * clutter_input_device_get_product_id (ClutterInputDevice *device); const gchar * clutter_input_device_get_product_id (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gint clutter_input_device_get_n_rings (ClutterInputDevice *device); gint clutter_input_device_get_n_rings (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gint clutter_input_device_get_n_strips (ClutterInputDevice *device); gint clutter_input_device_get_n_strips (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gint clutter_input_device_get_n_mode_groups (ClutterInputDevice *device); gint clutter_input_device_get_n_mode_groups (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gint clutter_input_device_get_group_n_modes (ClutterInputDevice *device, gint clutter_input_device_get_group_n_modes (ClutterInputDevice *device,
gint group); gint group);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_input_device_is_mode_switch_button (ClutterInputDevice *device, gboolean clutter_input_device_is_mode_switch_button (ClutterInputDevice *device,
guint group, guint group,
guint button); guint button);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gint clutter_input_device_get_mode_switch_button_group (ClutterInputDevice *device, gint clutter_input_device_get_mode_switch_button_group (ClutterInputDevice *device,
guint button); guint button);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
const gchar * clutter_input_device_get_device_node (ClutterInputDevice *device); const gchar * clutter_input_device_get_device_node (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterInputDeviceMapping clutter_input_device_get_mapping_mode (ClutterInputDevice *device); ClutterInputDeviceMapping clutter_input_device_get_mapping_mode (ClutterInputDevice *device);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_input_device_set_mapping_mode (ClutterInputDevice *device, void clutter_input_device_set_mapping_mode (ClutterInputDevice *device,
ClutterInputDeviceMapping mapping); ClutterInputDeviceMapping mapping);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_input_device_is_grouped (ClutterInputDevice *device, gboolean clutter_input_device_is_grouped (ClutterInputDevice *device,
ClutterInputDevice *other_device); ClutterInputDevice *other_device);

View File

@ -26,7 +26,7 @@
#define CLUTTER_TYPE_INPUT_FOCUS (clutter_input_focus_get_type ()) #define CLUTTER_TYPE_INPUT_FOCUS (clutter_input_focus_get_type ())
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
G_DECLARE_DERIVABLE_TYPE (ClutterInputFocus, clutter_input_focus, G_DECLARE_DERIVABLE_TYPE (ClutterInputFocus, clutter_input_focus,
CLUTTER, INPUT_FOCUS, GObject) CLUTTER, INPUT_FOCUS, GObject)
@ -51,33 +51,33 @@ struct _ClutterInputFocusClass
guint cursor); guint cursor);
}; };
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
gboolean clutter_input_focus_is_focused (ClutterInputFocus *focus); gboolean clutter_input_focus_is_focused (ClutterInputFocus *focus);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_focus_reset (ClutterInputFocus *focus); void clutter_input_focus_reset (ClutterInputFocus *focus);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_focus_set_cursor_location (ClutterInputFocus *focus, void clutter_input_focus_set_cursor_location (ClutterInputFocus *focus,
const ClutterRect *rect); const ClutterRect *rect);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_focus_set_surrounding (ClutterInputFocus *focus, void clutter_input_focus_set_surrounding (ClutterInputFocus *focus,
const gchar *text, const gchar *text,
guint cursor, guint cursor,
guint anchor); guint anchor);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_focus_set_content_hints (ClutterInputFocus *focus, void clutter_input_focus_set_content_hints (ClutterInputFocus *focus,
ClutterInputContentHintFlags hint); ClutterInputContentHintFlags hint);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_focus_set_content_purpose (ClutterInputFocus *focus, void clutter_input_focus_set_content_purpose (ClutterInputFocus *focus,
ClutterInputContentPurpose purpose); ClutterInputContentPurpose purpose);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
gboolean clutter_input_focus_filter_key_event (ClutterInputFocus *focus, gboolean clutter_input_focus_filter_key_event (ClutterInputFocus *focus,
const ClutterKeyEvent *key); const ClutterKeyEvent *key);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_focus_set_can_show_preedit (ClutterInputFocus *focus, void clutter_input_focus_set_can_show_preedit (ClutterInputFocus *focus,
gboolean can_show_preedit); gboolean can_show_preedit);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_focus_request_toggle_input_panel (ClutterInputFocus *focus); void clutter_input_focus_request_toggle_input_panel (ClutterInputFocus *focus);
#endif /* __CLUTTER_INPUT_FOCUS_H__ */ #endif /* __CLUTTER_INPUT_FOCUS_H__ */

View File

@ -26,7 +26,7 @@
#define CLUTTER_TYPE_INPUT_METHOD (clutter_input_method_get_type ()) #define CLUTTER_TYPE_INPUT_METHOD (clutter_input_method_get_type ())
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
G_DECLARE_DERIVABLE_TYPE (ClutterInputMethod, clutter_input_method, G_DECLARE_DERIVABLE_TYPE (ClutterInputMethod, clutter_input_method,
CLUTTER, INPUT_METHOD, GObject) CLUTTER, INPUT_METHOD, GObject)
@ -57,35 +57,35 @@ struct _ClutterInputMethodClass
const ClutterEvent *key); const ClutterEvent *key);
}; };
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_method_focus_in (ClutterInputMethod *im, void clutter_input_method_focus_in (ClutterInputMethod *im,
ClutterInputFocus *focus); ClutterInputFocus *focus);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_method_focus_out (ClutterInputMethod *im); void clutter_input_method_focus_out (ClutterInputMethod *im);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_method_commit (ClutterInputMethod *im, void clutter_input_method_commit (ClutterInputMethod *im,
const gchar *text); const gchar *text);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_method_delete_surrounding (ClutterInputMethod *im, void clutter_input_method_delete_surrounding (ClutterInputMethod *im,
guint offset, guint offset,
guint len); guint len);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_method_request_surrounding (ClutterInputMethod *im); void clutter_input_method_request_surrounding (ClutterInputMethod *im);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_method_set_preedit_text (ClutterInputMethod *im, void clutter_input_method_set_preedit_text (ClutterInputMethod *im,
const gchar *preedit, const gchar *preedit,
guint cursor); guint cursor);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_method_notify_key_event (ClutterInputMethod *im, void clutter_input_method_notify_key_event (ClutterInputMethod *im,
const ClutterEvent *event, const ClutterEvent *event,
gboolean filtered); gboolean filtered);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_method_request_toggle_input_panel (ClutterInputMethod *im); void clutter_input_method_request_toggle_input_panel (ClutterInputMethod *im);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_input_method_forward_key (ClutterInputMethod *im, void clutter_input_method_forward_key (ClutterInputMethod *im,
uint32_t keyval, uint32_t keyval,
uint32_t keycode, uint32_t keycode,

View File

@ -92,66 +92,66 @@ struct _ClutterIntervalClass
void (*_clutter_reserved6) (void); void (*_clutter_reserved6) (void);
}; };
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_interval_get_type (void) G_GNUC_CONST; GType clutter_interval_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterInterval *clutter_interval_new (GType gtype, ClutterInterval *clutter_interval_new (GType gtype,
...); ...);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterInterval *clutter_interval_new_with_values (GType gtype, ClutterInterval *clutter_interval_new_with_values (GType gtype,
const GValue *initial, const GValue *initial,
const GValue *final); const GValue *final);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterInterval *clutter_interval_clone (ClutterInterval *interval); ClutterInterval *clutter_interval_clone (ClutterInterval *interval);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_interval_get_value_type (ClutterInterval *interval); GType clutter_interval_get_value_type (ClutterInterval *interval);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_interval_set_initial (ClutterInterval *interval, void clutter_interval_set_initial (ClutterInterval *interval,
...); ...);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_interval_set_initial_value (ClutterInterval *interval, void clutter_interval_set_initial_value (ClutterInterval *interval,
const GValue *value); const GValue *value);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_interval_get_initial_value (ClutterInterval *interval, void clutter_interval_get_initial_value (ClutterInterval *interval,
GValue *value); GValue *value);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GValue * clutter_interval_peek_initial_value (ClutterInterval *interval); GValue * clutter_interval_peek_initial_value (ClutterInterval *interval);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_interval_set_final (ClutterInterval *interval, void clutter_interval_set_final (ClutterInterval *interval,
...); ...);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_interval_set_final_value (ClutterInterval *interval, void clutter_interval_set_final_value (ClutterInterval *interval,
const GValue *value); const GValue *value);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_interval_get_final_value (ClutterInterval *interval, void clutter_interval_get_final_value (ClutterInterval *interval,
GValue *value); GValue *value);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GValue * clutter_interval_peek_final_value (ClutterInterval *interval); GValue * clutter_interval_peek_final_value (ClutterInterval *interval);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_interval_set_interval (ClutterInterval *interval, void clutter_interval_set_interval (ClutterInterval *interval,
...); ...);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_interval_get_interval (ClutterInterval *interval, void clutter_interval_get_interval (ClutterInterval *interval,
...); ...);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_interval_validate (ClutterInterval *interval, gboolean clutter_interval_validate (ClutterInterval *interval,
GParamSpec *pspec); GParamSpec *pspec);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_interval_compute_value (ClutterInterval *interval, gboolean clutter_interval_compute_value (ClutterInterval *interval,
gdouble factor, gdouble factor,
GValue *value); GValue *value);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
const GValue * clutter_interval_compute (ClutterInterval *interval, const GValue * clutter_interval_compute (ClutterInterval *interval,
gdouble factor); gdouble factor);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
gboolean clutter_interval_is_valid (ClutterInterval *interval); gboolean clutter_interval_is_valid (ClutterInterval *interval);
G_END_DECLS G_END_DECLS

View File

@ -75,46 +75,46 @@ struct _ClutterKeyframeTransitionClass
gpointer _padding[8]; gpointer _padding[8];
}; };
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterTransition * clutter_keyframe_transition_new (const char *property_name); ClutterTransition * clutter_keyframe_transition_new (const char *property_name);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_keyframe_transition_clear (ClutterKeyframeTransition *transition); void clutter_keyframe_transition_clear (ClutterKeyframeTransition *transition);
G_END_DECLS G_END_DECLS

View File

@ -149,77 +149,77 @@ struct _ClutterLayoutManagerClass
void (* _clutter_padding_8) (void); void (* _clutter_padding_8) (void);
}; };
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GType clutter_layout_manager_get_type (void) G_GNUC_CONST; GType clutter_layout_manager_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_layout_manager_get_preferred_width (ClutterLayoutManager *manager, void clutter_layout_manager_get_preferred_width (ClutterLayoutManager *manager,
ClutterContainer *container, ClutterContainer *container,
gfloat for_height, gfloat for_height,
gfloat *min_width_p, gfloat *min_width_p,
gfloat *nat_width_p); gfloat *nat_width_p);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_layout_manager_get_preferred_height (ClutterLayoutManager *manager, void clutter_layout_manager_get_preferred_height (ClutterLayoutManager *manager,
ClutterContainer *container, ClutterContainer *container,
gfloat for_width, gfloat for_width,
gfloat *min_height_p, gfloat *min_height_p,
gfloat *nat_height_p); gfloat *nat_height_p);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_layout_manager_allocate (ClutterLayoutManager *manager, void clutter_layout_manager_allocate (ClutterLayoutManager *manager,
ClutterContainer *container, ClutterContainer *container,
const ClutterActorBox *allocation, const ClutterActorBox *allocation,
ClutterAllocationFlags flags); ClutterAllocationFlags flags);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_layout_manager_set_container (ClutterLayoutManager *manager, void clutter_layout_manager_set_container (ClutterLayoutManager *manager,
ClutterContainer *container); ClutterContainer *container);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_layout_manager_layout_changed (ClutterLayoutManager *manager); void clutter_layout_manager_layout_changed (ClutterLayoutManager *manager);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GParamSpec * clutter_layout_manager_find_child_property (ClutterLayoutManager *manager, GParamSpec * clutter_layout_manager_find_child_property (ClutterLayoutManager *manager,
const gchar *name); const gchar *name);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GParamSpec ** clutter_layout_manager_list_child_properties (ClutterLayoutManager *manager, GParamSpec ** clutter_layout_manager_list_child_properties (ClutterLayoutManager *manager,
guint *n_pspecs); guint *n_pspecs);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterLayoutMeta *clutter_layout_manager_get_child_meta (ClutterLayoutManager *manager, ClutterLayoutMeta *clutter_layout_manager_get_child_meta (ClutterLayoutManager *manager,
ClutterContainer *container, ClutterContainer *container,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_layout_manager_child_set (ClutterLayoutManager *manager, void clutter_layout_manager_child_set (ClutterLayoutManager *manager,
ClutterContainer *container, ClutterContainer *container,
ClutterActor *actor, ClutterActor *actor,
const gchar *first_property, const gchar *first_property,
...) G_GNUC_NULL_TERMINATED; ...) G_GNUC_NULL_TERMINATED;
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_layout_manager_child_get (ClutterLayoutManager *manager, void clutter_layout_manager_child_get (ClutterLayoutManager *manager,
ClutterContainer *container, ClutterContainer *container,
ClutterActor *actor, ClutterActor *actor,
const gchar *first_property, const gchar *first_property,
...) G_GNUC_NULL_TERMINATED; ...) G_GNUC_NULL_TERMINATED;
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_layout_manager_child_set_property (ClutterLayoutManager *manager, void clutter_layout_manager_child_set_property (ClutterLayoutManager *manager,
ClutterContainer *container, ClutterContainer *container,
ClutterActor *actor, ClutterActor *actor,
const gchar *property_name, const gchar *property_name,
const GValue *value); const GValue *value);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_layout_manager_child_get_property (ClutterLayoutManager *manager, void clutter_layout_manager_child_get_property (ClutterLayoutManager *manager,
ClutterContainer *container, ClutterContainer *container,
ClutterActor *actor, ClutterActor *actor,
const gchar *property_name, const gchar *property_name,
GValue *value); GValue *value);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
ClutterAlpha * clutter_layout_manager_begin_animation (ClutterLayoutManager *manager, ClutterAlpha * clutter_layout_manager_begin_animation (ClutterLayoutManager *manager,
guint duration, guint duration,
gulong mode); gulong mode);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
void clutter_layout_manager_end_animation (ClutterLayoutManager *manager); void clutter_layout_manager_end_animation (ClutterLayoutManager *manager);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
gdouble clutter_layout_manager_get_animation_progress (ClutterLayoutManager *manager); gdouble clutter_layout_manager_get_animation_progress (ClutterLayoutManager *manager);
G_END_DECLS G_END_DECLS

View File

@ -92,10 +92,10 @@ struct _ClutterLayoutMetaClass
void (*_clutter_padding4) (void); void (*_clutter_padding4) (void);
}; };
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GType clutter_layout_meta_get_type (void) G_GNUC_CONST; GType clutter_layout_meta_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterLayoutManager *clutter_layout_meta_get_manager (ClutterLayoutMeta *data); ClutterLayoutManager *clutter_layout_meta_get_manager (ClutterLayoutMeta *data);
G_END_DECLS G_END_DECLS

View File

@ -26,8 +26,6 @@
#error "Only <clutter/clutter.h> can be included directly." #error "Only <clutter/clutter.h> can be included directly."
#endif #endif
#include <clutter/clutter-version.h>
/** /**
* CLUTTER_FLAVOUR: * CLUTTER_FLAVOUR:
* *
@ -115,281 +113,18 @@
#ifdef CLUTTER_DISABLE_DEPRECATION_WARNINGS #ifdef CLUTTER_DISABLE_DEPRECATION_WARNINGS
#define CLUTTER_DEPRECATED _CLUTTER_EXTERN #define CLUTTER_DEPRECATED _CLUTTER_EXTERN
#define CLUTTER_DEPRECATED_FOR(f) _CLUTTER_EXTERN #define CLUTTER_DEPRECATED_FOR(f) _CLUTTER_EXTERN
#define CLUTTER_UNAVAILABLE(maj,min) _CLUTTER_EXTERN
#define CLUTTER_DEPRECATED_MACRO #define CLUTTER_DEPRECATED_MACRO
#define CLUTTER_DEPRECATED_MACRO_FOR(f) #define CLUTTER_DEPRECATED_MACRO_FOR(f)
#else #else
#define CLUTTER_DEPRECATED G_DEPRECATED _CLUTTER_EXTERN #define CLUTTER_DEPRECATED G_DEPRECATED _CLUTTER_EXTERN
#define CLUTTER_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _CLUTTER_EXTERN #define CLUTTER_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _CLUTTER_EXTERN
#define CLUTTER_UNAVAILABLE(maj,min) G_UNAVAILABLE(maj,min) _CLUTTER_EXTERN
#define CLUTTER_DEPRECATED_MACRO _CLUTTER_DEPRECATED_MACRO #define CLUTTER_DEPRECATED_MACRO _CLUTTER_DEPRECATED_MACRO
#define CLUTTER_DEPRECATED_MACRO_FOR(f) _CLUTTER_DEPRECATED_MACRO_FOR(f) #define CLUTTER_DEPRECATED_MACRO_FOR(f) _CLUTTER_DEPRECATED_MACRO_FOR(f)
#endif #endif
#define CLUTTER_AVAILABLE_IN_ALL _CLUTTER_EXTERN #define CLUTTER_MACRO_DEPRECATED CLUTTER_DEPRECATED_MACRO
#define CLUTTER_MACRO_DEPRECATED_FOR(f) CLUTTER_DEPRECATED_MACRO_FOR(f)
#define CLUTTER_AVAILABLE_IN_MUTTER _CLUTTER_EXTERN #define CLUTTER_EXPORT _CLUTTER_EXTERN
/**
* CLUTTER_VERSION_MIN_REQUIRED:
*
* A macro that should be defined by the user prior to including the
* clutter.h header.
*
* The definition should be one of the predefined Clutter version macros,
* such as: %CLUTTER_VERSION_1_0, %CLUTTER_VERSION_1_2, ...
*
* This macro defines the lower bound for the Clutter API to be used.
*
* If a function has been deprecated in a newer version of Clutter, it
* is possible to use this symbol to avoid the compiler warnings without
* disabling warnings for every deprecated function.
*
* Since: 1.10
*/
#ifndef CLUTTER_VERSION_MIN_REQUIRED
# define CLUTTER_VERSION_MIN_REQUIRED (CLUTTER_VERSION_CUR_STABLE)
#endif
/**
* CLUTTER_VERSION_MAX_ALLOWED:
*
* A macro that should be define by the user prior to including the
* clutter.h header.
*
* The definition should be one of the predefined Clutter version macros,
* such as: %CLUTTER_VERSION_1_0, %CLUTTER_VERSION_1_2, ...
*
* This macro defines the upper bound for the Clutter API to be used.
*
* If a function has been introduced in a newer version of Clutter, it
* is possible to use this symbol to get compiler warnings when trying
* to use that function.
*
* Since: 1.10
*/
#ifndef CLUTTER_VERSION_MAX_ALLOWED
# if CLUTTER_VERSION_MIN_REQUIRED > CLUTTER_VERSION_PREV_STABLE
# define CLUTTER_VERSION_MAX_ALLOWED CLUTTER_VERSION_MIN_REQUIRED
# else
# define CLUTTER_VERSION_MAX_ALLOWED CLUTTER_VERSION_CUR_STABLE
# endif
#endif
/* sanity checks */
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_MIN_REQUIRED
# error "CLUTTER_VERSION_MAX_ALLOWED must be >= CLUTTER_VERSION_MIN_REQUIRED"
#endif
#if CLUTTER_VERSION_MIN_REQUIRED < CLUTTER_VERSION_1_0
# error "CLUTTER_VERSION_MIN_REQUIRED must be >= CLUTTER_VERSION_1_0"
#endif
/* XXX: Every new stable minor release should add a set of macros here */
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_0
# define CLUTTER_DEPRECATED_IN_1_0 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_0_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_0 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_0_FOR(f) _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_0
# define CLUTTER_AVAILABLE_IN_1_0 CLUTTER_UNAVAILABLE(1, 0)
#else
# define CLUTTER_AVAILABLE_IN_1_0 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_2
# define CLUTTER_DEPRECATED_IN_1_2 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_2_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_2 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_2_FOR(f) _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_2
# define CLUTTER_AVAILABLE_IN_1_2 CLUTTER_UNAVAILABLE(1, 2)
#else
# define CLUTTER_AVAILABLE_IN_1_2 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_4
# define CLUTTER_DEPRECATED_IN_1_4 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_4_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_4 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_4_FOR(f) _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_4
# define CLUTTER_AVAILABLE_IN_1_4 CLUTTER_UNAVAILABLE(1, 4)
#else
# define CLUTTER_AVAILABLE_IN_1_4 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_6
# define CLUTTER_DEPRECATED_IN_1_6 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_6_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_6 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_6_FOR(f) _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_6
# define CLUTTER_AVAILABLE_IN_1_6 CLUTTER_UNAVAILABLE(1, 6)
#else
# define CLUTTER_AVAILABLE_IN_1_6 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_8
# define CLUTTER_DEPRECATED_IN_1_8 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_8_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_8 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_8_FOR(f) _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_8
# define CLUTTER_AVAILABLE_IN_1_8 CLUTTER_UNAVAILABLE(1, 8)
#else
# define CLUTTER_AVAILABLE_IN_1_8 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_10
# define CLUTTER_DEPRECATED_IN_1_10 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_10_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_10 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_10_FOR(f) _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_10
# define CLUTTER_AVAILABLE_IN_1_10 CLUTTER_UNAVAILABLE(1, 10)
#else
# define CLUTTER_AVAILABLE_IN_1_10 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_12
# define CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_12_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_12 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_12_FOR(f) _CLUTTER_EXTERN
#endif
#define CLUTTER_DEPRECATED_IN_MUTTER CLUTTER_DEPRECATED
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_12
# define CLUTTER_AVAILABLE_IN_1_12 CLUTTER_UNAVAILABLE(1, 12)
#else
# define CLUTTER_AVAILABLE_IN_1_12 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_14
# define CLUTTER_DEPRECATED_IN_1_14 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_14_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_14 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_14_FOR(f) _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_14
# define CLUTTER_AVAILABLE_IN_1_14 CLUTTER_UNAVAILABLE(1, 14)
#else
# define CLUTTER_AVAILABLE_IN_1_14 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_16
# define CLUTTER_DEPRECATED_IN_1_16 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_16_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_16 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_16_FOR(f) _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_16
# define CLUTTER_AVAILABLE_IN_1_16 CLUTTER_UNAVAILABLE(1, 16)
#else
# define CLUTTER_AVAILABLE_IN_1_16 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_18
# define CLUTTER_DEPRECATED_IN_1_18 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_18_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_18 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_18_FOR(f) _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_18
# define CLUTTER_AVAILABLE_IN_1_18 CLUTTER_UNAVAILABLE(1, 18)
#else
# define CLUTTER_AVAILABLE_IN_1_18 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_20
# define CLUTTER_DEPRECATED_IN_1_20 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_20_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_20 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_20_FOR(f) _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_20
# define CLUTTER_AVAILABLE_IN_1_20 CLUTTER_UNAVAILABLE(1, 20)
#else
# define CLUTTER_AVAILABLE_IN_1_20 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_22
# define CLUTTER_DEPRECATED_IN_1_22 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_22_FOR(f) CLUTTER_DEPRECATED_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_22 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_22_FOR(f) _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_22
# define CLUTTER_AVAILABLE_IN_1_22 CLUTTER_UNAVAILABLE(1, 22)
#else
# define CLUTTER_AVAILABLE_IN_1_22 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_24
# define CLUTTER_DEPRECATED_IN_1_24 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_24_FOR(f) CLUTTER_DEPRECATED_FOR(f)
# define CLUTTER_MACRO_DEPRECATED_IN_1_24 CLUTTER_DEPRECATED_MACRO
# define CLUTTER_MACRO_DEPRECATED_IN_1_24_FOR(f) CLUTTER_DEPRECATED_MACRO_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_24 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_24_FOR(f) _CLUTTER_EXTERN
# define CLUTTER_MACRO_DEPRECATED_IN_1_24
# define CLUTTER_MACRO_DEPRECATED_IN_1_24_FOR(f)
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_24
# define CLUTTER_AVAILABLE_IN_1_24 CLUTTER_UNAVAILABLE(1, 24)
#else
# define CLUTTER_AVAILABLE_IN_1_24 _CLUTTER_EXTERN
#endif
#if CLUTTER_VERSION_MIN_REQUIRED >= CLUTTER_VERSION_1_26
# define CLUTTER_DEPRECATED_IN_1_26 CLUTTER_DEPRECATED
# define CLUTTER_DEPRECATED_IN_1_26_FOR(f) CLUTTER_DEPRECATED_FOR(f)
# define CLUTTER_MACRO_DEPRECATED_IN_1_26 CLUTTER_DEPRECATED_MACRO
# define CLUTTER_MACRO_DEPRECATED_IN_1_26_FOR(f) CLUTTER_DEPRECATED_MACRO_FOR(f)
#else
# define CLUTTER_DEPRECATED_IN_1_26 _CLUTTER_EXTERN
# define CLUTTER_DEPRECATED_IN_1_26_FOR(f) _CLUTTER_EXTERN
# define CLUTTER_MACRO_DEPRECATED_IN_1_26
# define CLUTTER_MACRO_DEPRECATED_IN_1_26_FOR(f)
#endif
#if CLUTTER_VERSION_MAX_ALLOWED < CLUTTER_VERSION_1_26
# define CLUTTER_AVAILABLE_IN_1_26 CLUTTER_UNAVAILABLE(1, 26)
#else
# define CLUTTER_AVAILABLE_IN_1_26 _CLUTTER_EXTERN
#endif
#endif /* __CLUTTER_MACROS_H__ */ #endif /* __CLUTTER_MACROS_H__ */

View File

@ -65,7 +65,6 @@
#include "clutter-settings-private.h" #include "clutter-settings-private.h"
#include "clutter-stage-manager.h" #include "clutter-stage-manager.h"
#include "clutter-stage-private.h" #include "clutter-stage-private.h"
#include "clutter-version.h" /* For flavour define */
#ifdef CLUTTER_WINDOWING_X11 #ifdef CLUTTER_WINDOWING_X11
#include "x11/clutter-backend-x11.h" #include "x11/clutter-backend-x11.h"
@ -109,10 +108,6 @@ guint clutter_debug_flags = 0;
guint clutter_paint_debug_flags = 0; guint clutter_paint_debug_flags = 0;
guint clutter_pick_debug_flags = 0; guint clutter_pick_debug_flags = 0;
const guint clutter_major_version = CLUTTER_MAJOR_VERSION;
const guint clutter_minor_version = CLUTTER_MINOR_VERSION;
const guint clutter_micro_version = CLUTTER_MICRO_VERSION;
#ifdef CLUTTER_ENABLE_DEBUG #ifdef CLUTTER_ENABLE_DEBUG
static const GDebugKey clutter_debug_keys[] = { static const GDebugKey clutter_debug_keys[] = {
{ "misc", CLUTTER_DEBUG_MISC }, { "misc", CLUTTER_DEBUG_MISC },
@ -3469,36 +3464,6 @@ _clutter_run_repaint_functions (ClutterRepaintFlags flags)
context->repaint_funcs = g_list_reverse (reinvoke_list); context->repaint_funcs = g_list_reverse (reinvoke_list);
} }
/**
* clutter_check_version:
* @major: major version, like 1 in 1.2.3
* @minor: minor version, like 2 in 1.2.3
* @micro: micro version, like 3 in 1.2.3
*
* Run-time version check, to check the version the Clutter library
* that an application is currently linked against
*
* This is the run-time equivalent of the compile-time %CLUTTER_CHECK_VERSION
* pre-processor macro
*
* Return value: %TRUE if the version of the Clutter library is
* greater than (@major, @minor, @micro), and %FALSE otherwise
*
* Since: 1.2
*/
gboolean
clutter_check_version (guint major,
guint minor,
guint micro)
{
return (clutter_major_version > major ||
(clutter_major_version == major &&
clutter_minor_version > minor) ||
(clutter_major_version == major &&
clutter_minor_version == minor &&
clutter_micro_version >= micro));
}
/** /**
* clutter_get_default_text_direction: * clutter_get_default_text_direction:
* *

View File

@ -61,7 +61,7 @@ typedef enum {
CLUTTER_INIT_ERROR_INTERNAL = -3 CLUTTER_INIT_ERROR_INTERNAL = -3
} ClutterInitError; } ClutterInitError;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GQuark clutter_init_error_quark (void); GQuark clutter_init_error_quark (void);
/** /**
@ -78,12 +78,12 @@ GQuark clutter_init_error_quark (void);
#define CLUTTER_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 50) #define CLUTTER_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 50)
/* Initialisation */ /* Initialisation */
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_base_init (void); void clutter_base_init (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterInitError clutter_init (int *argc, ClutterInitError clutter_init (int *argc,
char ***argv) G_GNUC_WARN_UNUSED_RESULT; char ***argv) G_GNUC_WARN_UNUSED_RESULT;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterInitError clutter_init_with_args (int *argc, ClutterInitError clutter_init_with_args (int *argc,
char ***argv, char ***argv,
const char *parameter_string, const char *parameter_string,
@ -91,91 +91,86 @@ ClutterInitError clutter_init_with_args (int *a
const char *translation_domain, const char *translation_domain,
GError **error) G_GNUC_WARN_UNUSED_RESULT; GError **error) G_GNUC_WARN_UNUSED_RESULT;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GOptionGroup * clutter_get_option_group (void); GOptionGroup * clutter_get_option_group (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GOptionGroup * clutter_get_option_group_without_init (void); GOptionGroup * clutter_get_option_group_without_init (void);
/* Mainloop */ /* Mainloop */
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_main (void); void clutter_main (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_main_quit (void); void clutter_main_quit (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gint clutter_main_level (void); gint clutter_main_level (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_do_event (ClutterEvent *event); void clutter_do_event (ClutterEvent *event);
/* Debug utility functions */ /* Debug utility functions */
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gboolean clutter_get_accessibility_enabled (void); gboolean clutter_get_accessibility_enabled (void);
CLUTTER_AVAILABLE_IN_1_14 CLUTTER_EXPORT
void clutter_disable_accessibility (void); void clutter_disable_accessibility (void);
/* Threading functions */ /* Threading functions */
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_threads_set_lock_functions (GCallback enter_fn, void clutter_threads_set_lock_functions (GCallback enter_fn,
GCallback leave_fn); GCallback leave_fn);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_threads_add_idle (GSourceFunc func, guint clutter_threads_add_idle (GSourceFunc func,
gpointer data); gpointer data);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_threads_add_idle_full (gint priority, guint clutter_threads_add_idle_full (gint priority,
GSourceFunc func, GSourceFunc func,
gpointer data, gpointer data,
GDestroyNotify notify); GDestroyNotify notify);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_threads_add_timeout (guint interval, guint clutter_threads_add_timeout (guint interval,
GSourceFunc func, GSourceFunc func,
gpointer data); gpointer data);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_threads_add_timeout_full (gint priority, guint clutter_threads_add_timeout_full (gint priority,
guint interval, guint interval,
GSourceFunc func, GSourceFunc func,
gpointer data, gpointer data,
GDestroyNotify notify); GDestroyNotify notify);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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,
GDestroyNotify notify); GDestroyNotify notify);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_threads_remove_repaint_func (guint handle_id); void clutter_threads_remove_repaint_func (guint handle_id);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_grab_pointer (ClutterActor *actor); void clutter_grab_pointer (ClutterActor *actor);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_ungrab_pointer (void); void clutter_ungrab_pointer (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActor * clutter_get_pointer_grab (void); ClutterActor * clutter_get_pointer_grab (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_grab_keyboard (ClutterActor *actor); void clutter_grab_keyboard (ClutterActor *actor);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_ungrab_keyboard (void); void clutter_ungrab_keyboard (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActor * clutter_get_keyboard_grab (void); ClutterActor * clutter_get_keyboard_grab (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
PangoFontMap * clutter_get_font_map (void); PangoFontMap * clutter_get_font_map (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterTextDirection clutter_get_default_text_direction (void); ClutterTextDirection clutter_get_default_text_direction (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_get_default_frame_rate (void); guint clutter_get_default_frame_rate (void);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gboolean clutter_check_version (guint major,
guint minor,
guint micro);
CLUTTER_AVAILABLE_IN_1_10
gboolean clutter_check_windowing_backend (const char *backend_type); gboolean clutter_check_windowing_backend (const char *backend_type);

View File

@ -31,16 +31,16 @@
#include "cogl/clutter-stage-cogl.h" #include "cogl/clutter-stage-cogl.h"
#include "x11/clutter-stage-x11.h" #include "x11/clutter-stage-x11.h"
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_set_custom_backend_func (ClutterBackend *(* func) (void)); void clutter_set_custom_backend_func (ClutterBackend *(* func) (void));
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
gboolean _clutter_get_sync_to_vblank (void); gboolean _clutter_get_sync_to_vblank (void);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
int64_t clutter_stage_get_frame_counter (ClutterStage *stage); int64_t clutter_stage_get_frame_counter (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_stage_capture_into (ClutterStage *stage, void clutter_stage_capture_into (ClutterStage *stage,
gboolean paint, gboolean paint,
cairo_rectangle_int_t *rect, cairo_rectangle_int_t *rect,

View File

@ -91,28 +91,28 @@ struct _ClutterOffscreenEffectClass
void (* _clutter_offscreen7) (void); void (* _clutter_offscreen7) (void);
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_offscreen_effect_get_type (void) G_GNUC_CONST; GType clutter_offscreen_effect_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
CoglMaterial * clutter_offscreen_effect_get_target (ClutterOffscreenEffect *effect); CoglMaterial * clutter_offscreen_effect_get_target (ClutterOffscreenEffect *effect);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
CoglHandle clutter_offscreen_effect_get_texture (ClutterOffscreenEffect *effect); CoglHandle clutter_offscreen_effect_get_texture (ClutterOffscreenEffect *effect);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_offscreen_effect_paint_target (ClutterOffscreenEffect *effect); void clutter_offscreen_effect_paint_target (ClutterOffscreenEffect *effect);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
CoglHandle clutter_offscreen_effect_create_texture (ClutterOffscreenEffect *effect, CoglHandle clutter_offscreen_effect_create_texture (ClutterOffscreenEffect *effect,
gfloat width, gfloat width,
gfloat height); gfloat height);
CLUTTER_DEPRECATED_IN_1_14_FOR (clutter_offscreen_effect_get_target_rect) CLUTTER_DEPRECATED_FOR (clutter_offscreen_effect_get_target_rect)
gboolean clutter_offscreen_effect_get_target_size (ClutterOffscreenEffect *effect, gboolean clutter_offscreen_effect_get_target_size (ClutterOffscreenEffect *effect,
gfloat *width, gfloat *width,
gfloat *height); gfloat *height);
CLUTTER_AVAILABLE_IN_1_14 CLUTTER_EXPORT
gboolean clutter_offscreen_effect_get_target_rect (ClutterOffscreenEffect *effect, gboolean clutter_offscreen_effect_get_target_rect (ClutterOffscreenEffect *effect,
ClutterRect *rect); ClutterRect *rect);

View File

@ -51,28 +51,28 @@ G_BEGIN_DECLS
typedef struct _ClutterPageTurnEffect ClutterPageTurnEffect; typedef struct _ClutterPageTurnEffect ClutterPageTurnEffect;
typedef struct _ClutterPageTurnEffectClass ClutterPageTurnEffectClass; typedef struct _ClutterPageTurnEffectClass ClutterPageTurnEffectClass;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_page_turn_effect_get_type (void) G_GNUC_CONST; GType clutter_page_turn_effect_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterEffect *clutter_page_turn_effect_new (gdouble period, ClutterEffect *clutter_page_turn_effect_new (gdouble period,
gdouble angle, gdouble angle,
gfloat radius); gfloat radius);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_page_turn_effect_set_period (ClutterPageTurnEffect *effect, void clutter_page_turn_effect_set_period (ClutterPageTurnEffect *effect,
gdouble period); gdouble period);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gdouble clutter_page_turn_effect_get_period (ClutterPageTurnEffect *effect); gdouble clutter_page_turn_effect_get_period (ClutterPageTurnEffect *effect);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_page_turn_effect_set_angle (ClutterPageTurnEffect *effect, void clutter_page_turn_effect_set_angle (ClutterPageTurnEffect *effect,
gdouble angle); gdouble angle);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gdouble clutter_page_turn_effect_get_angle (ClutterPageTurnEffect *effect); gdouble clutter_page_turn_effect_get_angle (ClutterPageTurnEffect *effect);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_page_turn_effect_set_radius (ClutterPageTurnEffect *effect, void clutter_page_turn_effect_set_radius (ClutterPageTurnEffect *effect,
gfloat radius); gfloat radius);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gfloat clutter_page_turn_effect_get_radius (ClutterPageTurnEffect *effect); gfloat clutter_page_turn_effect_get_radius (ClutterPageTurnEffect *effect);
G_END_DECLS G_END_DECLS

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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterPaintNode * clutter_paint_node_ref (ClutterPaintNode *node); ClutterPaintNode * clutter_paint_node_ref (ClutterPaintNode *node);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_paint_node_unref (ClutterPaintNode *node); void clutter_paint_node_unref (ClutterPaintNode *node);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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,10 @@ void clutter_paint_node_add_texture_rectangle (Clutter
float x_2, float x_2,
float y_2); float y_2);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_paint_node_add_primitive (ClutterPaintNode *node, void clutter_paint_node_add_primitive (ClutterPaintNode *node,
CoglPrimitive *primitive); CoglPrimitive *primitive);
@ -85,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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gpointer clutter_value_get_paint_node (const GValue *value); gpointer clutter_value_get_paint_node (const GValue *value);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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,10 +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 CLUTTER_EXPORT
GType clutter_pipeline_node_get_type (void) G_GNUC_CONST; GType clutter_pipeline_node_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterPaintNode * clutter_pipeline_node_new (CoglPipeline *pipeline); ClutterPaintNode * clutter_pipeline_node_new (CoglPipeline *pipeline);
#define CLUTTER_TYPE_TEXT_NODE (clutter_text_node_get_type ()) #define CLUTTER_TYPE_TEXT_NODE (clutter_text_node_get_type ())
@ -136,10 +136,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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterPaintNode * clutter_text_node_new (PangoLayout *layout, ClutterPaintNode * clutter_text_node_new (PangoLayout *layout,
const ClutterColor *color); const ClutterColor *color);

View File

@ -99,50 +99,50 @@ struct _ClutterPanActionClass
void (* _clutter_pan_action6) (void); void (* _clutter_pan_action6) (void);
}; };
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterAction * clutter_pan_action_new (void); ClutterAction * clutter_pan_action_new (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterPanAxis clutter_pan_action_get_pan_axis (ClutterPanAction *self); ClutterPanAxis clutter_pan_action_get_pan_axis (ClutterPanAction *self);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gboolean clutter_pan_action_get_interpolate (ClutterPanAction *self); gboolean clutter_pan_action_get_interpolate (ClutterPanAction *self);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gdouble clutter_pan_action_get_deceleration (ClutterPanAction *self); gdouble clutter_pan_action_get_deceleration (ClutterPanAction *self);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gdouble clutter_pan_action_get_acceleration_factor (ClutterPanAction *self); gdouble clutter_pan_action_get_acceleration_factor (ClutterPanAction *self);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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);
CLUTTER_AVAILABLE_IN_1_24 CLUTTER_EXPORT
gfloat clutter_pan_action_get_constrained_motion_delta (ClutterPanAction *self, gfloat clutter_pan_action_get_constrained_motion_delta (ClutterPanAction *self,
guint point, guint point,
gfloat *delta_x, gfloat *delta_x,

View File

@ -49,22 +49,22 @@ G_BEGIN_DECLS
typedef struct _ClutterPathConstraint ClutterPathConstraint; typedef struct _ClutterPathConstraint ClutterPathConstraint;
typedef struct _ClutterPathConstraintClass ClutterPathConstraintClass; typedef struct _ClutterPathConstraintClass ClutterPathConstraintClass;
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
GType clutter_path_constraint_get_type (void) G_GNUC_CONST; GType clutter_path_constraint_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
ClutterConstraint *clutter_path_constraint_new (ClutterPath *path, ClutterConstraint *clutter_path_constraint_new (ClutterPath *path,
gfloat offset); gfloat offset);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
void clutter_path_constraint_set_path (ClutterPathConstraint *constraint, void clutter_path_constraint_set_path (ClutterPathConstraint *constraint,
ClutterPath *path); ClutterPath *path);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
ClutterPath * clutter_path_constraint_get_path (ClutterPathConstraint *constraint); ClutterPath * clutter_path_constraint_get_path (ClutterPathConstraint *constraint);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
void clutter_path_constraint_set_offset (ClutterPathConstraint *constraint, void clutter_path_constraint_set_offset (ClutterPathConstraint *constraint,
gfloat offset); gfloat offset);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
gfloat clutter_path_constraint_get_offset (ClutterPathConstraint *constraint); gfloat clutter_path_constraint_get_offset (ClutterPathConstraint *constraint);
G_END_DECLS G_END_DECLS

View File

@ -86,30 +86,30 @@ struct _ClutterPathClass
GInitiallyUnownedClass parent_class; GInitiallyUnownedClass parent_class;
}; };
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_path_get_type (void) G_GNUC_CONST; GType clutter_path_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterPath *clutter_path_new (void); ClutterPath *clutter_path_new (void);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterPath *clutter_path_new_with_description (const gchar *desc); ClutterPath *clutter_path_new_with_description (const gchar *desc);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_add_move_to (ClutterPath *path, void clutter_path_add_move_to (ClutterPath *path,
gint x, gint x,
gint y); gint y);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_add_rel_move_to (ClutterPath *path, void clutter_path_add_rel_move_to (ClutterPath *path,
gint x, gint x,
gint y); gint y);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_add_line_to (ClutterPath *path, void clutter_path_add_line_to (ClutterPath *path,
gint x, gint x,
gint y); gint y);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_add_rel_line_to (ClutterPath *path, void clutter_path_add_rel_line_to (ClutterPath *path,
gint x, gint x,
gint y); gint y);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_add_curve_to (ClutterPath *path, void clutter_path_add_curve_to (ClutterPath *path,
gint x_1, gint x_1,
gint y_1, gint y_1,
@ -117,7 +117,7 @@ void clutter_path_add_curve_to (ClutterPath *path,
gint y_2, gint y_2,
gint x_3, gint x_3,
gint y_3); gint y_3);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_add_rel_curve_to (ClutterPath *path, void clutter_path_add_rel_curve_to (ClutterPath *path,
gint x_1, gint x_1,
gint y_1, gint y_1,
@ -125,55 +125,55 @@ void clutter_path_add_rel_curve_to (ClutterPath *path,
gint y_2, gint y_2,
gint x_3, gint x_3,
gint y_3); gint y_3);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_add_close (ClutterPath *path); void clutter_path_add_close (ClutterPath *path);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_path_add_string (ClutterPath *path, gboolean clutter_path_add_string (ClutterPath *path,
const gchar *str); const gchar *str);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_add_node (ClutterPath *path, void clutter_path_add_node (ClutterPath *path,
const ClutterPathNode *node); const ClutterPathNode *node);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_add_cairo_path (ClutterPath *path, void clutter_path_add_cairo_path (ClutterPath *path,
const cairo_path_t *cpath); const cairo_path_t *cpath);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
guint clutter_path_get_n_nodes (ClutterPath *path); guint clutter_path_get_n_nodes (ClutterPath *path);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_get_node (ClutterPath *path, void clutter_path_get_node (ClutterPath *path,
guint index_, guint index_,
ClutterPathNode *node); ClutterPathNode *node);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GSList * clutter_path_get_nodes (ClutterPath *path); GSList * clutter_path_get_nodes (ClutterPath *path);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_foreach (ClutterPath *path, void clutter_path_foreach (ClutterPath *path,
ClutterPathCallback callback, ClutterPathCallback callback,
gpointer user_data); gpointer user_data);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_insert_node (ClutterPath *path, void clutter_path_insert_node (ClutterPath *path,
gint index_, gint index_,
const ClutterPathNode *node); const ClutterPathNode *node);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_remove_node (ClutterPath *path, void clutter_path_remove_node (ClutterPath *path,
guint index_); guint index_);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_replace_node (ClutterPath *path, void clutter_path_replace_node (ClutterPath *path,
guint index_, guint index_,
const ClutterPathNode *node); const ClutterPathNode *node);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gchar * clutter_path_get_description (ClutterPath *path); gchar * clutter_path_get_description (ClutterPath *path);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_path_set_description (ClutterPath *path, gboolean clutter_path_set_description (ClutterPath *path,
const gchar *str); const gchar *str);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_clear (ClutterPath *path); void clutter_path_clear (ClutterPath *path);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_to_cairo_path (ClutterPath *path, void clutter_path_to_cairo_path (ClutterPath *path,
cairo_t *cr); cairo_t *cr);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
guint clutter_path_get_position (ClutterPath *path, guint clutter_path_get_position (ClutterPath *path,
gdouble progress, gdouble progress,
ClutterKnot *position); ClutterKnot *position);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
guint clutter_path_get_length (ClutterPath *path); guint clutter_path_get_length (ClutterPath *path);
G_END_DECLS G_END_DECLS

View File

@ -75,15 +75,15 @@ struct _ClutterPropertyTransitionClass
gpointer _padding[8]; gpointer _padding[8];
}; };
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterTransition * clutter_property_transition_new (const char *property_name); ClutterTransition * clutter_property_transition_new (const char *property_name);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterAction *clutter_rotate_action_new (void); ClutterAction *clutter_rotate_action_new (void);
G_END_DECLS G_END_DECLS

View File

@ -93,7 +93,7 @@ typedef enum {
* Since: 0.6 * Since: 0.6
*/ */
#define CLUTTER_SCRIPT_ERROR (clutter_script_error_quark ()) #define CLUTTER_SCRIPT_ERROR (clutter_script_error_quark ())
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GQuark clutter_script_error_quark (void); GQuark clutter_script_error_quark (void);
/** /**
@ -144,75 +144,75 @@ struct _ClutterScriptClass
void (*_clutter_reserved8) (void); void (*_clutter_reserved8) (void);
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_script_get_type (void) G_GNUC_CONST; GType clutter_script_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterScript * clutter_script_new (void); ClutterScript * clutter_script_new (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_script_load_from_file (ClutterScript *script, guint clutter_script_load_from_file (ClutterScript *script,
const gchar *filename, const gchar *filename,
GError **error); GError **error);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_script_load_from_data (ClutterScript *script, guint clutter_script_load_from_data (ClutterScript *script,
const gchar *data, const gchar *data,
gssize length, gssize length,
GError **error); GError **error);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GObject * clutter_script_get_object (ClutterScript *script, GObject * clutter_script_get_object (ClutterScript *script,
const gchar *name); const gchar *name);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gint clutter_script_get_objects (ClutterScript *script, gint clutter_script_get_objects (ClutterScript *script,
const gchar *first_name, const gchar *first_name,
...) G_GNUC_NULL_TERMINATED; ...) G_GNUC_NULL_TERMINATED;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GList * clutter_script_list_objects (ClutterScript *script); GList * clutter_script_list_objects (ClutterScript *script);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_script_unmerge_objects (ClutterScript *script, void clutter_script_unmerge_objects (ClutterScript *script,
guint merge_id); guint merge_id);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_script_ensure_objects (ClutterScript *script); void clutter_script_ensure_objects (ClutterScript *script);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
void clutter_script_add_states (ClutterScript *script, void clutter_script_add_states (ClutterScript *script,
const gchar *name, const gchar *name,
ClutterState *state); ClutterState *state);
CLUTTER_DEPRECATED_IN_1_12 CLUTTER_DEPRECATED
ClutterState * clutter_script_get_states (ClutterScript *script, ClutterState * clutter_script_get_states (ClutterScript *script,
const gchar *name); const gchar *name);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_script_connect_signals (ClutterScript *script, void clutter_script_connect_signals (ClutterScript *script,
gpointer user_data); gpointer user_data);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_script_connect_signals_full (ClutterScript *script, void clutter_script_connect_signals_full (ClutterScript *script,
ClutterScriptConnectFunc func, ClutterScriptConnectFunc func,
gpointer user_data); gpointer user_data);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_script_add_search_paths (ClutterScript *script, void clutter_script_add_search_paths (ClutterScript *script,
const gchar * const paths[], const gchar * const paths[],
gsize n_paths); gsize n_paths);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gchar * clutter_script_lookup_filename (ClutterScript *script, gchar * clutter_script_lookup_filename (ClutterScript *script,
const gchar *filename) G_GNUC_MALLOC; const gchar *filename) G_GNUC_MALLOC;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
const gchar * clutter_script_get_translation_domain (ClutterScript *script); const gchar * clutter_script_get_translation_domain (ClutterScript *script);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
const gchar * clutter_get_script_id (GObject *gobject); const gchar * clutter_get_script_id (GObject *gobject);
G_END_DECLS G_END_DECLS

View File

@ -87,21 +87,21 @@ struct _ClutterScriptableIface
const GValue *value); const GValue *value);
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_scriptable_get_type (void) G_GNUC_CONST; GType clutter_scriptable_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_scriptable_set_id (ClutterScriptable *scriptable, void clutter_scriptable_set_id (ClutterScriptable *scriptable,
const gchar *id_); const gchar *id_);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
const gchar * clutter_scriptable_get_id (ClutterScriptable *scriptable); const gchar * clutter_scriptable_get_id (ClutterScriptable *scriptable);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_scriptable_parse_custom_node (ClutterScriptable *scriptable, gboolean clutter_scriptable_parse_custom_node (ClutterScriptable *scriptable,
ClutterScript *script, ClutterScript *script,
GValue *value, GValue *value,
const gchar *name, const gchar *name,
JsonNode *node); JsonNode *node);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_scriptable_set_custom_property (ClutterScriptable *scriptable, void clutter_scriptable_set_custom_property (ClutterScriptable *scriptable,
ClutterScript *script, ClutterScript *script,
const gchar *name, const gchar *name,

View File

@ -73,22 +73,22 @@ struct _ClutterScrollActorClass
gpointer _padding[8]; gpointer _padding[8];
}; };
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterActor * clutter_scroll_actor_new (void); ClutterActor * clutter_scroll_actor_new (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterScrollMode clutter_scroll_actor_get_scroll_mode (ClutterScrollActor *actor); ClutterScrollMode clutter_scroll_actor_get_scroll_mode (ClutterScrollActor *actor);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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

@ -16,10 +16,10 @@ G_BEGIN_DECLS
typedef struct _ClutterSettings ClutterSettings; typedef struct _ClutterSettings ClutterSettings;
typedef struct _ClutterSettingsClass ClutterSettingsClass; typedef struct _ClutterSettingsClass ClutterSettingsClass;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_settings_get_type (void) G_GNUC_CONST; GType clutter_settings_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterSettings *clutter_settings_get_default (void); ClutterSettings *clutter_settings_get_default (void);
G_END_DECLS G_END_DECLS

View File

@ -90,30 +90,30 @@ struct _ClutterShaderEffectClass
void (*_clutter_shader5) (void); void (*_clutter_shader5) (void);
}; };
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
GType clutter_shader_effect_get_type (void) G_GNUC_CONST; GType clutter_shader_effect_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
ClutterEffect * clutter_shader_effect_new (ClutterShaderType shader_type); ClutterEffect * clutter_shader_effect_new (ClutterShaderType shader_type);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
gboolean clutter_shader_effect_set_shader_source (ClutterShaderEffect *effect, gboolean clutter_shader_effect_set_shader_source (ClutterShaderEffect *effect,
const gchar *source); const gchar *source);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_shader_effect_set_uniform (ClutterShaderEffect *effect, void clutter_shader_effect_set_uniform (ClutterShaderEffect *effect,
const gchar *name, const gchar *name,
GType gtype, GType gtype,
gsize n_values, gsize n_values,
...); ...);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
void clutter_shader_effect_set_uniform_value (ClutterShaderEffect *effect, void clutter_shader_effect_set_uniform_value (ClutterShaderEffect *effect,
const gchar *name, const gchar *name,
const GValue *value); const GValue *value);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
CoglHandle clutter_shader_effect_get_shader (ClutterShaderEffect *effect); CoglHandle clutter_shader_effect_get_shader (ClutterShaderEffect *effect);
CLUTTER_AVAILABLE_IN_1_4 CLUTTER_EXPORT
CoglHandle clutter_shader_effect_get_program (ClutterShaderEffect *effect); CoglHandle clutter_shader_effect_get_program (ClutterShaderEffect *effect);
G_END_DECLS G_END_DECLS

View File

@ -70,32 +70,32 @@ typedef struct _ClutterShaderMatrix ClutterShaderMatrix;
*/ */
#define CLUTTER_VALUE_HOLDS_SHADER_MATRIX(x) (G_VALUE_HOLDS ((x), CLUTTER_TYPE_SHADER_MATRIX)) #define CLUTTER_VALUE_HOLDS_SHADER_MATRIX(x) (G_VALUE_HOLDS ((x), CLUTTER_TYPE_SHADER_MATRIX))
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_shader_float_get_type (void) G_GNUC_CONST; GType clutter_shader_float_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_shader_int_get_type (void) G_GNUC_CONST; GType clutter_shader_int_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_shader_matrix_get_type (void) G_GNUC_CONST; GType clutter_shader_matrix_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_value_set_shader_float (GValue *value, void clutter_value_set_shader_float (GValue *value,
gint size, gint size,
const gfloat *floats); const gfloat *floats);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_value_set_shader_int (GValue *value, void clutter_value_set_shader_int (GValue *value,
gint size, gint size,
const gint *ints); const gint *ints);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_value_set_shader_matrix (GValue *value, void clutter_value_set_shader_matrix (GValue *value,
gint size, gint size,
const gfloat *matrix); const gfloat *matrix);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
const gfloat * clutter_value_get_shader_float (const GValue *value, const gfloat * clutter_value_get_shader_float (const GValue *value,
gsize *length); gsize *length);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
const gint * clutter_value_get_shader_int (const GValue *value, const gint * clutter_value_get_shader_int (const GValue *value,
gsize *length); gsize *length);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
const gfloat * clutter_value_get_shader_matrix (const GValue *value, const gfloat * clutter_value_get_shader_matrix (const GValue *value,
gsize *length); gsize *length);

View File

@ -48,32 +48,32 @@ G_BEGIN_DECLS
typedef struct _ClutterSnapConstraint ClutterSnapConstraint; typedef struct _ClutterSnapConstraint ClutterSnapConstraint;
typedef struct _ClutterSnapConstraintClass ClutterSnapConstraintClass; typedef struct _ClutterSnapConstraintClass ClutterSnapConstraintClass;
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
GType clutter_snap_constraint_get_type (void) G_GNUC_CONST; GType clutter_snap_constraint_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
ClutterConstraint * clutter_snap_constraint_new (ClutterActor *source, ClutterConstraint * clutter_snap_constraint_new (ClutterActor *source,
ClutterSnapEdge from_edge, ClutterSnapEdge from_edge,
ClutterSnapEdge to_edge, ClutterSnapEdge to_edge,
gfloat offset); gfloat offset);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
void clutter_snap_constraint_set_source (ClutterSnapConstraint *constraint, void clutter_snap_constraint_set_source (ClutterSnapConstraint *constraint,
ClutterActor *source); ClutterActor *source);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
ClutterActor * clutter_snap_constraint_get_source (ClutterSnapConstraint *constraint); ClutterActor * clutter_snap_constraint_get_source (ClutterSnapConstraint *constraint);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
void clutter_snap_constraint_set_edges (ClutterSnapConstraint *constraint, void clutter_snap_constraint_set_edges (ClutterSnapConstraint *constraint,
ClutterSnapEdge from_edge, ClutterSnapEdge from_edge,
ClutterSnapEdge to_edge); ClutterSnapEdge to_edge);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
void clutter_snap_constraint_get_edges (ClutterSnapConstraint *constraint, void clutter_snap_constraint_get_edges (ClutterSnapConstraint *constraint,
ClutterSnapEdge *from_edge, ClutterSnapEdge *from_edge,
ClutterSnapEdge *to_edge); ClutterSnapEdge *to_edge);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
void clutter_snap_constraint_set_offset (ClutterSnapConstraint *constraint, void clutter_snap_constraint_set_offset (ClutterSnapConstraint *constraint,
gfloat offset); gfloat offset);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
gfloat clutter_snap_constraint_get_offset (ClutterSnapConstraint *constraint); gfloat clutter_snap_constraint_get_offset (ClutterSnapConstraint *constraint);
G_END_DECLS G_END_DECLS

View File

@ -43,7 +43,6 @@
#include "clutter-marshal.h" #include "clutter-marshal.h"
#include "clutter-debug.h" #include "clutter-debug.h"
#include "clutter-private.h" #include "clutter-private.h"
#include "clutter-version.h"
#include "deprecated/clutter-stage-manager.h" #include "deprecated/clutter-stage-manager.h"

View File

@ -69,16 +69,16 @@ struct _ClutterStageManagerClass
ClutterStage *stage); ClutterStage *stage);
}; };
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_stage_manager_get_type (void) G_GNUC_CONST; GType clutter_stage_manager_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterStageManager *clutter_stage_manager_get_default (void); ClutterStageManager *clutter_stage_manager_get_default (void);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterStage * clutter_stage_manager_get_default_stage (ClutterStageManager *stage_manager); ClutterStage * clutter_stage_manager_get_default_stage (ClutterStageManager *stage_manager);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GSList * clutter_stage_manager_list_stages (ClutterStageManager *stage_manager); GSList * clutter_stage_manager_list_stages (ClutterStageManager *stage_manager);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
const GSList * clutter_stage_manager_peek_stages (ClutterStageManager *stage_manager); const GSList * clutter_stage_manager_peek_stages (ClutterStageManager *stage_manager);
G_END_DECLS G_END_DECLS

View File

@ -25,7 +25,7 @@
#include "clutter-macros.h" #include "clutter-macros.h"
#define CLUTTER_TYPE_STAGE_VIEW (clutter_stage_view_get_type ()) #define CLUTTER_TYPE_STAGE_VIEW (clutter_stage_view_get_type ())
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
G_DECLARE_DERIVABLE_TYPE (ClutterStageView, clutter_stage_view, G_DECLARE_DERIVABLE_TYPE (ClutterStageView, clutter_stage_view,
CLUTTER, STAGE_VIEW, CLUTTER, STAGE_VIEW,
GObject) GObject)
@ -41,18 +41,18 @@ struct _ClutterStageViewClass
CoglMatrix *matrix); CoglMatrix *matrix);
}; };
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_stage_view_get_layout (ClutterStageView *view, void clutter_stage_view_get_layout (ClutterStageView *view,
cairo_rectangle_int_t *rect); cairo_rectangle_int_t *rect);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
CoglFramebuffer *clutter_stage_view_get_framebuffer (ClutterStageView *view); CoglFramebuffer *clutter_stage_view_get_framebuffer (ClutterStageView *view);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
CoglFramebuffer *clutter_stage_view_get_onscreen (ClutterStageView *view); CoglFramebuffer *clutter_stage_view_get_onscreen (ClutterStageView *view);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_stage_view_invalidate_offscreen_blit_pipeline (ClutterStageView *view); void clutter_stage_view_invalidate_offscreen_blit_pipeline (ClutterStageView *view);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_stage_view_transform_to_onscreen (ClutterStageView *view, void clutter_stage_view_transform_to_onscreen (ClutterStageView *view,
gfloat *x, gfloat *x,
gfloat *y); gfloat *y);
@ -60,7 +60,7 @@ void clutter_stage_view_transform_to_onscreen (ClutterStageView *vie
void clutter_stage_view_blit_offscreen (ClutterStageView *view, void clutter_stage_view_blit_offscreen (ClutterStageView *view,
const cairo_rectangle_int_t *clip); const cairo_rectangle_int_t *clip);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
float clutter_stage_view_get_scale (ClutterStageView *view); float clutter_stage_view_get_scale (ClutterStageView *view);
gboolean clutter_stage_view_is_dirty_viewport (ClutterStageView *view); gboolean clutter_stage_view_is_dirty_viewport (ClutterStageView *view);
@ -73,7 +73,7 @@ gboolean clutter_stage_view_is_dirty_projection (ClutterStageView *view);
void clutter_stage_view_set_dirty_projection (ClutterStageView *view, void clutter_stage_view_set_dirty_projection (ClutterStageView *view,
gboolean dirty); gboolean dirty);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_stage_view_get_offscreen_transformation_matrix (ClutterStageView *view, void clutter_stage_view_get_offscreen_transformation_matrix (ClutterStageView *view,
CoglMatrix *matrix); CoglMatrix *matrix);

View File

@ -88,7 +88,7 @@ struct _ClutterStageWindowIface
void (* finish_frame) (ClutterStageWindow *stage_window); void (* finish_frame) (ClutterStageWindow *stage_window);
}; };
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
GType _clutter_stage_window_get_type (void) G_GNUC_CONST; GType _clutter_stage_window_get_type (void) G_GNUC_CONST;
ClutterActor * _clutter_stage_window_get_wrapper (ClutterStageWindow *window); ClutterActor * _clutter_stage_window_get_wrapper (ClutterStageWindow *window);

View File

@ -72,7 +72,6 @@
#include "clutter-private.h" #include "clutter-private.h"
#include "clutter-stage-manager-private.h" #include "clutter-stage-manager-private.h"
#include "clutter-stage-private.h" #include "clutter-stage-private.h"
#include "clutter-version.h" /* For flavour */
#include "clutter-private.h" #include "clutter-private.h"
#include "cogl/cogl.h" #include "cogl/cogl.h"

View File

@ -151,114 +151,114 @@ typedef struct _ClutterCapture
cairo_rectangle_int_t rect; cairo_rectangle_int_t rect;
} ClutterCapture; } ClutterCapture;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_perspective_get_type (void) G_GNUC_CONST; GType clutter_perspective_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_10 CLUTTER_DEPRECATED
GType clutter_fog_get_type (void) G_GNUC_CONST; GType clutter_fog_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_stage_get_type (void) G_GNUC_CONST; GType clutter_stage_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActor * clutter_stage_new (void); ClutterActor * clutter_stage_new (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_set_perspective (ClutterStage *stage, void clutter_stage_set_perspective (ClutterStage *stage,
ClutterPerspective *perspective); ClutterPerspective *perspective);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_get_perspective (ClutterStage *stage, void clutter_stage_get_perspective (ClutterStage *stage,
ClutterPerspective *perspective); ClutterPerspective *perspective);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_set_fullscreen (ClutterStage *stage, void clutter_stage_set_fullscreen (ClutterStage *stage,
gboolean fullscreen); gboolean fullscreen);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_stage_get_fullscreen (ClutterStage *stage); gboolean clutter_stage_get_fullscreen (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_show_cursor (ClutterStage *stage); void clutter_stage_show_cursor (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_hide_cursor (ClutterStage *stage); void clutter_stage_hide_cursor (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_set_title (ClutterStage *stage, void clutter_stage_set_title (ClutterStage *stage,
const gchar *title); const gchar *title);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
const gchar * clutter_stage_get_title (ClutterStage *stage); const gchar * clutter_stage_get_title (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_set_user_resizable (ClutterStage *stage, void clutter_stage_set_user_resizable (ClutterStage *stage,
gboolean resizable); gboolean resizable);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_stage_get_user_resizable (ClutterStage *stage); gboolean clutter_stage_get_user_resizable (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_set_minimum_size (ClutterStage *stage, void clutter_stage_set_minimum_size (ClutterStage *stage,
guint width, guint width,
guint height); guint height);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_get_minimum_size (ClutterStage *stage, void clutter_stage_get_minimum_size (ClutterStage *stage,
guint *width, guint *width,
guint *height); guint *height);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_set_no_clear_hint (ClutterStage *stage, void clutter_stage_set_no_clear_hint (ClutterStage *stage,
gboolean no_clear); gboolean no_clear);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_stage_get_no_clear_hint (ClutterStage *stage); gboolean clutter_stage_get_no_clear_hint (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_set_use_alpha (ClutterStage *stage, void clutter_stage_set_use_alpha (ClutterStage *stage,
gboolean use_alpha); gboolean use_alpha);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_stage_get_use_alpha (ClutterStage *stage); gboolean clutter_stage_get_use_alpha (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_set_key_focus (ClutterStage *stage, void clutter_stage_set_key_focus (ClutterStage *stage,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActor * clutter_stage_get_key_focus (ClutterStage *stage); ClutterActor * clutter_stage_get_key_focus (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_set_throttle_motion_events (ClutterStage *stage, void clutter_stage_set_throttle_motion_events (ClutterStage *stage,
gboolean throttle); gboolean throttle);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_stage_get_throttle_motion_events (ClutterStage *stage); gboolean clutter_stage_get_throttle_motion_events (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_set_motion_events_enabled (ClutterStage *stage, void clutter_stage_set_motion_events_enabled (ClutterStage *stage,
gboolean enabled); gboolean enabled);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_stage_get_motion_events_enabled (ClutterStage *stage); gboolean clutter_stage_get_motion_events_enabled (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_set_accept_focus (ClutterStage *stage, void clutter_stage_set_accept_focus (ClutterStage *stage,
gboolean accept_focus); gboolean accept_focus);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_stage_get_accept_focus (ClutterStage *stage); gboolean clutter_stage_get_accept_focus (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_stage_event (ClutterStage *stage, gboolean clutter_stage_event (ClutterStage *stage,
ClutterEvent *event); ClutterEvent *event);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActor * clutter_stage_get_actor_at_pos (ClutterStage *stage, ClutterActor * clutter_stage_get_actor_at_pos (ClutterStage *stage,
ClutterPickMode pick_mode, ClutterPickMode pick_mode,
gint x, gint x,
gint y); gint y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guchar * clutter_stage_read_pixels (ClutterStage *stage, guchar * clutter_stage_read_pixels (ClutterStage *stage,
gint x, gint x,
gint y, gint y,
gint width, gint width,
gint height); gint height);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_get_redraw_clip_bounds (ClutterStage *stage, void clutter_stage_get_redraw_clip_bounds (ClutterStage *stage,
cairo_rectangle_int_t *clip); cairo_rectangle_int_t *clip);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_ensure_viewport (ClutterStage *stage); void clutter_stage_ensure_viewport (ClutterStage *stage);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_stage_ensure_redraw (ClutterStage *stage); void clutter_stage_ensure_redraw (ClutterStage *stage);
#ifdef CLUTTER_ENABLE_EXPERIMENTAL_API #ifdef CLUTTER_ENABLE_EXPERIMENTAL_API
CLUTTER_AVAILABLE_IN_1_14 CLUTTER_EXPORT
void clutter_stage_set_sync_delay (ClutterStage *stage, void clutter_stage_set_sync_delay (ClutterStage *stage,
gint sync_delay); gint sync_delay);
CLUTTER_AVAILABLE_IN_1_14 CLUTTER_EXPORT
void clutter_stage_skip_sync_delay (ClutterStage *stage); void clutter_stage_skip_sync_delay (ClutterStage *stage);
#endif #endif
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
gboolean clutter_stage_capture (ClutterStage *stage, gboolean clutter_stage_capture (ClutterStage *stage,
gboolean paint, gboolean paint,
cairo_rectangle_int_t *rect, cairo_rectangle_int_t *rect,

View File

@ -98,10 +98,10 @@ struct _ClutterSwipeActionClass
void (* _clutter_swipe_action6) (void); void (* _clutter_swipe_action6) (void);
}; };
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
GType clutter_swipe_action_get_type (void) G_GNUC_CONST; GType clutter_swipe_action_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
ClutterAction * clutter_swipe_action_new (void); ClutterAction * clutter_swipe_action_new (void);
G_END_DECLS G_END_DECLS

View File

@ -92,10 +92,10 @@ struct _ClutterTapActionClass
void (* _clutter_tap_action6) (void); void (* _clutter_tap_action6) (void);
}; };
CLUTTER_AVAILABLE_IN_1_14 CLUTTER_EXPORT
GType clutter_tap_action_get_type (void) G_GNUC_CONST; GType clutter_tap_action_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_14 CLUTTER_EXPORT
ClutterAction * clutter_tap_action_new (void); ClutterAction * clutter_tap_action_new (void);
G_END_DECLS G_END_DECLS

View File

@ -88,26 +88,26 @@ main (int argc, char *argv[]) \
return clutter_test_run (); \ return clutter_test_run (); \
} }
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
void clutter_test_init (int *argc, void clutter_test_init (int *argc,
char ***argv); char ***argv);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
int clutter_test_run (void); int clutter_test_run (void);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
void clutter_test_add (const char *test_path, void clutter_test_add (const char *test_path,
GTestFunc test_func); GTestFunc test_func);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
void clutter_test_add_data (const char *test_path, void clutter_test_add_data (const char *test_path,
GTestDataFunc test_func, GTestDataFunc test_func,
gpointer test_data); gpointer test_data);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
void clutter_test_add_data_full (const char *test_path, void clutter_test_add_data_full (const char *test_path,
GTestDataFunc test_func, GTestDataFunc test_func,
gpointer test_data, gpointer test_data,
GDestroyNotify test_notify); GDestroyNotify test_notify);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
ClutterActor * clutter_test_get_stage (void); ClutterActor * clutter_test_get_stage (void);
#define clutter_test_assert_actor_at_point(stage,point,actor) \ #define clutter_test_assert_actor_at_point(stage,point,actor) \
@ -148,12 +148,12 @@ G_STMT_START { \
} \ } \
} G_STMT_END } G_STMT_END
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
gboolean clutter_test_check_actor_at_point (ClutterActor *stage, gboolean clutter_test_check_actor_at_point (ClutterActor *stage,
const ClutterPoint *point, const ClutterPoint *point,
ClutterActor *actor, ClutterActor *actor,
ClutterActor **result); ClutterActor **result);
CLUTTER_AVAILABLE_IN_1_18 CLUTTER_EXPORT
gboolean clutter_test_check_color_at_point (ClutterActor *stage, gboolean clutter_test_check_color_at_point (ClutterActor *stage,
const ClutterPoint *point, const ClutterPoint *point,
const ClutterColor *color, const ClutterColor *color,

View File

@ -123,46 +123,46 @@ struct _ClutterTextBufferClass
void (*_clutter_reserved8) (void); void (*_clutter_reserved8) (void);
}; };
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterTextBuffer* clutter_text_buffer_new (void); ClutterTextBuffer* clutter_text_buffer_new (void);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gsize clutter_text_buffer_get_bytes (ClutterTextBuffer *buffer); gsize clutter_text_buffer_get_bytes (ClutterTextBuffer *buffer);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
guint clutter_text_buffer_get_length (ClutterTextBuffer *buffer); guint clutter_text_buffer_get_length (ClutterTextBuffer *buffer);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
const gchar* clutter_text_buffer_get_text (ClutterTextBuffer *buffer); const gchar* clutter_text_buffer_get_text (ClutterTextBuffer *buffer);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gint clutter_text_buffer_get_max_length (ClutterTextBuffer *buffer); gint clutter_text_buffer_get_max_length (ClutterTextBuffer *buffer);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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

@ -96,224 +96,224 @@ struct _ClutterTextClass
void (* _clutter_reserved7) (void); void (* _clutter_reserved7) (void);
}; };
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_text_get_type (void) G_GNUC_CONST; GType clutter_text_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterActor * clutter_text_new (void); ClutterActor * clutter_text_new (void);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterActor * clutter_text_new_full (const gchar *font_name, ClutterActor * clutter_text_new_full (const gchar *font_name,
const gchar *text, const gchar *text,
const ClutterColor *color); const ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterActor * clutter_text_new_with_buffer (ClutterTextBuffer *buffer); ClutterActor * clutter_text_new_with_buffer (ClutterTextBuffer *buffer);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterTextBuffer * clutter_text_get_buffer (ClutterText *self); ClutterTextBuffer * clutter_text_get_buffer (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_text_set_buffer (ClutterText *self, void clutter_text_set_buffer (ClutterText *self,
ClutterTextBuffer *buffer); ClutterTextBuffer *buffer);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
const gchar * clutter_text_get_text (ClutterText *self); const gchar * clutter_text_get_text (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_text (ClutterText *self, void clutter_text_set_text (ClutterText *self,
const gchar *text); const gchar *text);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_markup (ClutterText *self, void clutter_text_set_markup (ClutterText *self,
const gchar *markup); const gchar *markup);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_color (ClutterText *self, void clutter_text_set_color (ClutterText *self,
const ClutterColor *color); const ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_get_color (ClutterText *self, void clutter_text_get_color (ClutterText *self,
ClutterColor *color); ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_font_name (ClutterText *self, void clutter_text_set_font_name (ClutterText *self,
const gchar *font_name); const gchar *font_name);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
const gchar * clutter_text_get_font_name (ClutterText *self); const gchar * clutter_text_get_font_name (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_text_set_font_description (ClutterText *self, void clutter_text_set_font_description (ClutterText *self,
PangoFontDescription *font_desc); PangoFontDescription *font_desc);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
PangoFontDescription *clutter_text_get_font_description (ClutterText *self); PangoFontDescription *clutter_text_get_font_description (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_ellipsize (ClutterText *self, void clutter_text_set_ellipsize (ClutterText *self,
PangoEllipsizeMode mode); PangoEllipsizeMode mode);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
PangoEllipsizeMode clutter_text_get_ellipsize (ClutterText *self); PangoEllipsizeMode clutter_text_get_ellipsize (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_line_wrap (ClutterText *self, void clutter_text_set_line_wrap (ClutterText *self,
gboolean line_wrap); gboolean line_wrap);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_text_get_line_wrap (ClutterText *self); gboolean clutter_text_get_line_wrap (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_line_wrap_mode (ClutterText *self, void clutter_text_set_line_wrap_mode (ClutterText *self,
PangoWrapMode wrap_mode); PangoWrapMode wrap_mode);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
PangoWrapMode clutter_text_get_line_wrap_mode (ClutterText *self); PangoWrapMode clutter_text_get_line_wrap_mode (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
PangoLayout * clutter_text_get_layout (ClutterText *self); PangoLayout * clutter_text_get_layout (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_attributes (ClutterText *self, void clutter_text_set_attributes (ClutterText *self,
PangoAttrList *attrs); PangoAttrList *attrs);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
PangoAttrList * clutter_text_get_attributes (ClutterText *self); PangoAttrList * clutter_text_get_attributes (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_use_markup (ClutterText *self, void clutter_text_set_use_markup (ClutterText *self,
gboolean setting); gboolean setting);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_text_get_use_markup (ClutterText *self); gboolean clutter_text_get_use_markup (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_line_alignment (ClutterText *self, void clutter_text_set_line_alignment (ClutterText *self,
PangoAlignment alignment); PangoAlignment alignment);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
PangoAlignment clutter_text_get_line_alignment (ClutterText *self); PangoAlignment clutter_text_get_line_alignment (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_justify (ClutterText *self, void clutter_text_set_justify (ClutterText *self,
gboolean justify); gboolean justify);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_text_get_justify (ClutterText *self); gboolean clutter_text_get_justify (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_insert_unichar (ClutterText *self, void clutter_text_insert_unichar (ClutterText *self,
gunichar wc); gunichar wc);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_delete_chars (ClutterText *self, void clutter_text_delete_chars (ClutterText *self,
guint n_chars); guint n_chars);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_insert_text (ClutterText *self, void clutter_text_insert_text (ClutterText *self,
const gchar *text, const gchar *text,
gssize position); gssize position);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_delete_text (ClutterText *self, void clutter_text_delete_text (ClutterText *self,
gssize start_pos, gssize start_pos,
gssize end_pos); gssize end_pos);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gchar * clutter_text_get_chars (ClutterText *self, gchar * clutter_text_get_chars (ClutterText *self,
gssize start_pos, gssize start_pos,
gssize end_pos); gssize end_pos);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_editable (ClutterText *self, void clutter_text_set_editable (ClutterText *self,
gboolean editable); gboolean editable);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_text_get_editable (ClutterText *self); gboolean clutter_text_get_editable (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_activatable (ClutterText *self, void clutter_text_set_activatable (ClutterText *self,
gboolean activatable); gboolean activatable);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_text_get_activatable (ClutterText *self); gboolean clutter_text_get_activatable (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gint clutter_text_get_cursor_position (ClutterText *self); gint clutter_text_get_cursor_position (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_cursor_position (ClutterText *self, void clutter_text_set_cursor_position (ClutterText *self,
gint position); gint position);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_cursor_visible (ClutterText *self, void clutter_text_set_cursor_visible (ClutterText *self,
gboolean cursor_visible); gboolean cursor_visible);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_text_get_cursor_visible (ClutterText *self); gboolean clutter_text_get_cursor_visible (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_cursor_color (ClutterText *self, void clutter_text_set_cursor_color (ClutterText *self,
const ClutterColor *color); const ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_get_cursor_color (ClutterText *self, void clutter_text_get_cursor_color (ClutterText *self,
ClutterColor *color); ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_cursor_size (ClutterText *self, void clutter_text_set_cursor_size (ClutterText *self,
gint size); gint size);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
guint clutter_text_get_cursor_size (ClutterText *self); guint clutter_text_get_cursor_size (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_16 CLUTTER_EXPORT
void clutter_text_get_cursor_rect (ClutterText *self, void clutter_text_get_cursor_rect (ClutterText *self,
ClutterRect *rect); ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_selectable (ClutterText *self, void clutter_text_set_selectable (ClutterText *self,
gboolean selectable); gboolean selectable);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_text_get_selectable (ClutterText *self); gboolean clutter_text_get_selectable (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_selection_bound (ClutterText *self, void clutter_text_set_selection_bound (ClutterText *self,
gint selection_bound); gint selection_bound);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gint clutter_text_get_selection_bound (ClutterText *self); gint clutter_text_get_selection_bound (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_selection (ClutterText *self, void clutter_text_set_selection (ClutterText *self,
gssize start_pos, gssize start_pos,
gssize end_pos); gssize end_pos);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gchar * clutter_text_get_selection (ClutterText *self); gchar * clutter_text_get_selection (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_selection_color (ClutterText *self, void clutter_text_set_selection_color (ClutterText *self,
const ClutterColor *color); const ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_get_selection_color (ClutterText *self, void clutter_text_get_selection_color (ClutterText *self,
ClutterColor *color); ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_text_delete_selection (ClutterText *self); gboolean clutter_text_delete_selection (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_password_char (ClutterText *self, void clutter_text_set_password_char (ClutterText *self,
gunichar wc); gunichar wc);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gunichar clutter_text_get_password_char (ClutterText *self); gunichar clutter_text_get_password_char (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_max_length (ClutterText *self, void clutter_text_set_max_length (ClutterText *self,
gint max); gint max);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gint clutter_text_get_max_length (ClutterText *self); gint clutter_text_get_max_length (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_text_set_single_line_mode (ClutterText *self, void clutter_text_set_single_line_mode (ClutterText *self,
gboolean single_line); gboolean single_line);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_text_get_single_line_mode (ClutterText *self); gboolean clutter_text_get_single_line_mode (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_text_set_selected_text_color (ClutterText *self, void clutter_text_set_selected_text_color (ClutterText *self,
const ClutterColor *color); const ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_text_get_selected_text_color (ClutterText *self, void clutter_text_get_selected_text_color (ClutterText *self,
ClutterColor *color); ClutterColor *color);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_text_activate (ClutterText *self); gboolean clutter_text_activate (ClutterText *self);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
gint clutter_text_coords_to_position (ClutterText *self, gint clutter_text_coords_to_position (ClutterText *self,
gfloat x, gfloat x,
gfloat y); gfloat y);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_text_position_to_coords (ClutterText *self, gboolean clutter_text_position_to_coords (ClutterText *self,
gint position, gint position,
gfloat *x, gfloat *x,
gfloat *y, gfloat *y,
gfloat *line_height); gfloat *line_height);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_text_set_preedit_string (ClutterText *self, void clutter_text_set_preedit_string (ClutterText *self,
const gchar *preedit_str, const gchar *preedit_str,
PangoAttrList *preedit_attrs, PangoAttrList *preedit_attrs,
guint cursor_pos); guint cursor_pos);
CLUTTER_AVAILABLE_IN_1_8 CLUTTER_EXPORT
void clutter_text_get_layout_offsets (ClutterText *self, void clutter_text_get_layout_offsets (ClutterText *self,
gint *x, gint *x,
gint *y); gint *y);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_text_set_input_hints (ClutterText *self, void clutter_text_set_input_hints (ClutterText *self,
ClutterInputContentHintFlags hints); ClutterInputContentHintFlags hints);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
void clutter_text_set_input_purpose (ClutterText *self, void clutter_text_set_input_purpose (ClutterText *self,
ClutterInputContentPurpose purpose); ClutterInputContentPurpose purpose);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
ClutterInputContentHintFlags clutter_text_get_input_hints (ClutterText *self); ClutterInputContentHintFlags clutter_text_get_input_hints (ClutterText *self);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
ClutterInputContentPurpose clutter_text_get_input_purpose (ClutterText *self); ClutterInputContentPurpose clutter_text_get_input_purpose (ClutterText *self);
CLUTTER_AVAILABLE_IN_MUTTER CLUTTER_EXPORT
gboolean clutter_text_has_preedit (ClutterText *self); gboolean clutter_text_has_preedit (ClutterText *self);
G_END_DECLS G_END_DECLS

View File

@ -67,7 +67,7 @@ typedef enum {
* Since: 0.4 * Since: 0.4
*/ */
#define CLUTTER_TEXTURE_ERROR (clutter_texture_error_quark ()) #define CLUTTER_TEXTURE_ERROR (clutter_texture_error_quark ())
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GQuark clutter_texture_error_quark (void); GQuark clutter_texture_error_quark (void);
typedef struct _ClutterTexture ClutterTexture; typedef struct _ClutterTexture ClutterTexture;
@ -122,7 +122,7 @@ struct _ClutterTextureClass
void (*_clutter_texture5) (void); void (*_clutter_texture5) (void);
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_texture_get_type (void) G_GNUC_CONST; GType clutter_texture_get_type (void) G_GNUC_CONST;
G_END_DECLS G_END_DECLS

View File

@ -115,110 +115,110 @@ struct _ClutterTimelineClass
void (*_clutter_timeline_4) (void); void (*_clutter_timeline_4) (void);
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_timeline_get_type (void) G_GNUC_CONST; GType clutter_timeline_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterTimeline * clutter_timeline_new (guint msecs); ClutterTimeline * clutter_timeline_new (guint msecs);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_timeline_get_duration (ClutterTimeline *timeline); guint clutter_timeline_get_duration (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_timeline_set_duration (ClutterTimeline *timeline, void clutter_timeline_set_duration (ClutterTimeline *timeline,
guint msecs); guint msecs);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterTimelineDirection clutter_timeline_get_direction (ClutterTimeline *timeline); ClutterTimelineDirection clutter_timeline_get_direction (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_timeline_set_direction (ClutterTimeline *timeline, void clutter_timeline_set_direction (ClutterTimeline *timeline,
ClutterTimelineDirection direction); ClutterTimelineDirection direction);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_timeline_start (ClutterTimeline *timeline); void clutter_timeline_start (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_timeline_pause (ClutterTimeline *timeline); void clutter_timeline_pause (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_timeline_stop (ClutterTimeline *timeline); void clutter_timeline_stop (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
void clutter_timeline_set_auto_reverse (ClutterTimeline *timeline, void clutter_timeline_set_auto_reverse (ClutterTimeline *timeline,
gboolean reverse); gboolean reverse);
CLUTTER_AVAILABLE_IN_1_6 CLUTTER_EXPORT
gboolean clutter_timeline_get_auto_reverse (ClutterTimeline *timeline); gboolean clutter_timeline_get_auto_reverse (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gint clutter_timeline_get_repeat_count (ClutterTimeline *timeline); gint clutter_timeline_get_repeat_count (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_timeline_rewind (ClutterTimeline *timeline); void clutter_timeline_rewind (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_timeline_skip (ClutterTimeline *timeline, void clutter_timeline_skip (ClutterTimeline *timeline,
guint msecs); guint msecs);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_timeline_advance (ClutterTimeline *timeline, void clutter_timeline_advance (ClutterTimeline *timeline,
guint msecs); guint msecs);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_timeline_get_elapsed_time (ClutterTimeline *timeline); guint clutter_timeline_get_elapsed_time (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gdouble clutter_timeline_get_progress (ClutterTimeline *timeline); gdouble clutter_timeline_get_progress (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_timeline_is_playing (ClutterTimeline *timeline); gboolean clutter_timeline_is_playing (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_timeline_set_delay (ClutterTimeline *timeline, void clutter_timeline_set_delay (ClutterTimeline *timeline,
guint msecs); guint msecs);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_timeline_get_delay (ClutterTimeline *timeline); guint clutter_timeline_get_delay (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
guint clutter_timeline_get_delta (ClutterTimeline *timeline); guint clutter_timeline_get_delta (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_1_14 CLUTTER_EXPORT
void clutter_timeline_add_marker (ClutterTimeline *timeline, void clutter_timeline_add_marker (ClutterTimeline *timeline,
const gchar *marker_name, const gchar *marker_name,
gdouble progress); gdouble progress);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_timeline_add_marker_at_time (ClutterTimeline *timeline, void clutter_timeline_add_marker_at_time (ClutterTimeline *timeline,
const gchar *marker_name, const gchar *marker_name,
guint msecs); guint msecs);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_timeline_remove_marker (ClutterTimeline *timeline, void clutter_timeline_remove_marker (ClutterTimeline *timeline,
const gchar *marker_name); const gchar *marker_name);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gchar ** clutter_timeline_list_markers (ClutterTimeline *timeline, gchar ** clutter_timeline_list_markers (ClutterTimeline *timeline,
gint msecs, gint msecs,
gsize *n_markers) G_GNUC_MALLOC; gsize *n_markers) G_GNUC_MALLOC;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_timeline_has_marker (ClutterTimeline *timeline, gboolean clutter_timeline_has_marker (ClutterTimeline *timeline,
const gchar *marker_name); const gchar *marker_name);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterAnimationMode clutter_timeline_get_progress_mode (ClutterTimeline *timeline); ClutterAnimationMode clutter_timeline_get_progress_mode (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
gint64 clutter_timeline_get_duration_hint (ClutterTimeline *timeline); gint64 clutter_timeline_get_duration_hint (ClutterTimeline *timeline);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
gint clutter_timeline_get_current_repeat (ClutterTimeline *timeline); gint clutter_timeline_get_current_repeat (ClutterTimeline *timeline);
G_END_DECLS G_END_DECLS

View File

@ -75,19 +75,19 @@ struct _ClutterTransitionGroupClass
gpointer _padding[8]; gpointer _padding[8];
}; };
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterTransition * clutter_transition_group_new (void); ClutterTransition * clutter_transition_group_new (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
GType clutter_transition_get_type (void) G_GNUC_CONST; GType clutter_transition_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_transition_set_interval (ClutterTransition *transition, void clutter_transition_set_interval (ClutterTransition *transition,
ClutterInterval *interval); ClutterInterval *interval);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterInterval * clutter_transition_get_interval (ClutterTransition *transition); ClutterInterval * clutter_transition_get_interval (ClutterTransition *transition);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_transition_set_animatable (ClutterTransition *transition, void clutter_transition_set_animatable (ClutterTransition *transition,
ClutterAnimatable *animatable); ClutterAnimatable *animatable);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterAnimatable * clutter_transition_get_animatable (ClutterTransition *transition); ClutterAnimatable * clutter_transition_get_animatable (ClutterTransition *transition);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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

@ -178,25 +178,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 CLUTTER_EXPORT
GType clutter_point_get_type (void) G_GNUC_CONST; GType clutter_point_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
const ClutterPoint * clutter_point_zero (void); const ClutterPoint * clutter_point_zero (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
ClutterPoint * clutter_point_alloc (void); ClutterPoint * clutter_point_alloc (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterPoint * clutter_point_copy (const ClutterPoint *point); ClutterPoint * clutter_point_copy (const ClutterPoint *point);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
void clutter_point_free (ClutterPoint *point); void clutter_point_free (ClutterPoint *point);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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,
@ -242,20 +242,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 CLUTTER_EXPORT
GType clutter_size_get_type (void) G_GNUC_CONST; GType clutter_size_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
ClutterSize * clutter_size_alloc (void); ClutterSize * clutter_size_alloc (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterSize * clutter_size_copy (const ClutterSize *size); ClutterSize * clutter_size_copy (const ClutterSize *size);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
void clutter_size_free (ClutterSize *size); void clutter_size_free (ClutterSize *size);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
gboolean clutter_size_equals (const ClutterSize *a, gboolean clutter_size_equals (const ClutterSize *a,
const ClutterSize *b); const ClutterSize *b);
@ -313,63 +313,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 CLUTTER_EXPORT
GType clutter_rect_get_type (void) G_GNUC_CONST; GType clutter_rect_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
const ClutterRect * clutter_rect_zero (void); const ClutterRect * clutter_rect_zero (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
ClutterRect * clutter_rect_alloc (void); ClutterRect * clutter_rect_alloc (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterRect * clutter_rect_copy (const ClutterRect *rect); ClutterRect * clutter_rect_copy (const ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
void clutter_rect_free (ClutterRect *rect); void clutter_rect_free (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
gboolean clutter_rect_equals (ClutterRect *a, gboolean clutter_rect_equals (ClutterRect *a,
ClutterRect *b); ClutterRect *b);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
ClutterRect * clutter_rect_normalize (ClutterRect *rect); ClutterRect * clutter_rect_normalize (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
void clutter_rect_get_center (ClutterRect *rect, void clutter_rect_get_center (ClutterRect *rect,
ClutterPoint *center); ClutterPoint *center);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
gboolean clutter_rect_contains_point (ClutterRect *rect, gboolean clutter_rect_contains_point (ClutterRect *rect,
ClutterPoint *point); ClutterPoint *point);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
gboolean clutter_rect_contains_rect (ClutterRect *a, gboolean clutter_rect_contains_rect (ClutterRect *a,
ClutterRect *b); ClutterRect *b);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_rect_clamp_to_pixel (ClutterRect *rect); void clutter_rect_clamp_to_pixel (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
float clutter_rect_get_x (ClutterRect *rect); float clutter_rect_get_x (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
float clutter_rect_get_y (ClutterRect *rect); float clutter_rect_get_y (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
float clutter_rect_get_width (ClutterRect *rect); float clutter_rect_get_width (ClutterRect *rect);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
float clutter_rect_get_height (ClutterRect *rect); float clutter_rect_get_height (ClutterRect *rect);
/** /**
@ -414,24 +414,24 @@ struct _ClutterVertex
*/ */
#define CLUTTER_VERTEX_INIT_ZERO CLUTTER_VERTEX_INIT (0.f, 0.f, 0.f) #define CLUTTER_VERTEX_INIT_ZERO CLUTTER_VERTEX_INIT (0.f, 0.f, 0.f)
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_vertex_get_type (void) G_GNUC_CONST; GType clutter_vertex_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
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 CLUTTER_EXPORT
ClutterVertex *clutter_vertex_alloc (void); ClutterVertex *clutter_vertex_alloc (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterVertex *clutter_vertex_init (ClutterVertex *vertex, ClutterVertex *clutter_vertex_init (ClutterVertex *vertex,
gfloat x, gfloat x,
gfloat y, gfloat y,
gfloat z); gfloat z);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterVertex *clutter_vertex_copy (const ClutterVertex *vertex); ClutterVertex *clutter_vertex_copy (const ClutterVertex *vertex);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_vertex_free (ClutterVertex *vertex); void clutter_vertex_free (ClutterVertex *vertex);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_vertex_equal (const ClutterVertex *vertex_a, gboolean clutter_vertex_equal (const ClutterVertex *vertex_a,
const ClutterVertex *vertex_b); const ClutterVertex *vertex_b);
@ -487,76 +487,76 @@ struct _ClutterActorBox
*/ */
#define CLUTTER_ACTOR_BOX_INIT_ZERO CLUTTER_ACTOR_BOX_INIT (0.f, 0.f, 0.f, 0.f) #define CLUTTER_ACTOR_BOX_INIT_ZERO CLUTTER_ACTOR_BOX_INIT (0.f, 0.f, 0.f, 0.f)
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_actor_box_get_type (void) G_GNUC_CONST; GType clutter_actor_box_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActorBox *clutter_actor_box_new (gfloat x_1, 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 CLUTTER_EXPORT
ClutterActorBox *clutter_actor_box_alloc (void); ClutterActorBox *clutter_actor_box_alloc (void);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActorBox *clutter_actor_box_init (ClutterActorBox *box, ClutterActorBox *clutter_actor_box_init (ClutterActorBox *box,
gfloat x_1, gfloat x_1,
gfloat y_1, gfloat y_1,
gfloat x_2, gfloat x_2,
gfloat y_2); gfloat y_2);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_box_init_rect (ClutterActorBox *box, void clutter_actor_box_init_rect (ClutterActorBox *box,
gfloat x, gfloat x,
gfloat y, gfloat y,
gfloat width, gfloat width,
gfloat height); gfloat height);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterActorBox *clutter_actor_box_copy (const ClutterActorBox *box); ClutterActorBox *clutter_actor_box_copy (const ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_box_free (ClutterActorBox *box); void clutter_actor_box_free (ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_box_equal (const ClutterActorBox *box_a, gboolean clutter_actor_box_equal (const ClutterActorBox *box_a,
const ClutterActorBox *box_b); const ClutterActorBox *box_b);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gfloat clutter_actor_box_get_x (const ClutterActorBox *box); gfloat clutter_actor_box_get_x (const ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gfloat clutter_actor_box_get_y (const ClutterActorBox *box); gfloat clutter_actor_box_get_y (const ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gfloat clutter_actor_box_get_width (const ClutterActorBox *box); gfloat clutter_actor_box_get_width (const ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gfloat clutter_actor_box_get_height (const ClutterActorBox *box); gfloat clutter_actor_box_get_height (const ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_box_get_origin (const ClutterActorBox *box, void clutter_actor_box_get_origin (const ClutterActorBox *box,
gfloat *x, gfloat *x,
gfloat *y); gfloat *y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_box_get_size (const ClutterActorBox *box, void clutter_actor_box_get_size (const ClutterActorBox *box,
gfloat *width, gfloat *width,
gfloat *height); gfloat *height);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gfloat clutter_actor_box_get_area (const ClutterActorBox *box); gfloat clutter_actor_box_get_area (const ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_actor_box_contains (const ClutterActorBox *box, gboolean clutter_actor_box_contains (const ClutterActorBox *box,
gfloat x, gfloat x,
gfloat y); gfloat y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_box_from_vertices (ClutterActorBox *box, void clutter_actor_box_from_vertices (ClutterActorBox *box,
const ClutterVertex verts[]); const ClutterVertex verts[]);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_box_interpolate (const ClutterActorBox *initial, void clutter_actor_box_interpolate (const ClutterActorBox *initial,
const ClutterActorBox *final, const ClutterActorBox *final,
gdouble progress, gdouble progress,
ClutterActorBox *result); ClutterActorBox *result);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_box_clamp_to_pixel (ClutterActorBox *box); void clutter_actor_box_clamp_to_pixel (ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_box_union (const ClutterActorBox *a, void clutter_actor_box_union (const ClutterActorBox *a,
const ClutterActorBox *b, const ClutterActorBox *b,
ClutterActorBox *result); ClutterActorBox *result);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_box_set_origin (ClutterActorBox *box, void clutter_actor_box_set_origin (ClutterActorBox *box,
gfloat x, gfloat x,
gfloat y); gfloat y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_actor_box_set_size (ClutterActorBox *box, void clutter_actor_box_set_size (ClutterActorBox *box,
gfloat width, gfloat width,
gfloat height); gfloat height);
@ -585,14 +585,14 @@ struct _ClutterGeometry
guint height; guint height;
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_geometry_get_type (void) G_GNUC_CONST; GType clutter_geometry_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_16 CLUTTER_DEPRECATED
void clutter_geometry_union (const ClutterGeometry *geometry_a, void clutter_geometry_union (const ClutterGeometry *geometry_a,
const ClutterGeometry *geometry_b, const ClutterGeometry *geometry_b,
ClutterGeometry *result); ClutterGeometry *result);
CLUTTER_DEPRECATED_IN_1_16 CLUTTER_DEPRECATED
gboolean clutter_geometry_intersects (const ClutterGeometry *geometry0, gboolean clutter_geometry_intersects (const ClutterGeometry *geometry0,
const ClutterGeometry *geometry1); const ClutterGeometry *geometry1);
@ -611,13 +611,13 @@ struct _ClutterKnot
gint y; gint y;
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
GType clutter_knot_get_type (void) G_GNUC_CONST; GType clutter_knot_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterKnot *clutter_knot_copy (const ClutterKnot *knot); ClutterKnot *clutter_knot_copy (const ClutterKnot *knot);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_knot_free (ClutterKnot *knot); void clutter_knot_free (ClutterKnot *knot);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
gboolean clutter_knot_equal (const ClutterKnot *knot_a, gboolean clutter_knot_equal (const ClutterKnot *knot_a,
const ClutterKnot *knot_b); const ClutterKnot *knot_b);
@ -642,14 +642,14 @@ struct _ClutterPathNode
ClutterKnot points[3]; ClutterKnot points[3];
}; };
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_path_node_get_type (void) G_GNUC_CONST; GType clutter_path_node_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterPathNode *clutter_path_node_copy (const ClutterPathNode *node); ClutterPathNode *clutter_path_node_copy (const ClutterPathNode *node);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_path_node_free (ClutterPathNode *node); void clutter_path_node_free (ClutterPathNode *node);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_path_node_equal (const ClutterPathNode *node_a, gboolean clutter_path_node_equal (const ClutterPathNode *node_a,
const ClutterPathNode *node_b); const ClutterPathNode *node_b);
@ -657,43 +657,43 @@ gboolean clutter_path_node_equal (const ClutterPathNode *node_a,
* ClutterPaintVolume * ClutterPaintVolume
*/ */
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
GType clutter_paint_volume_get_type (void) G_GNUC_CONST; GType clutter_paint_volume_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
ClutterPaintVolume *clutter_paint_volume_copy (const ClutterPaintVolume *pv); ClutterPaintVolume *clutter_paint_volume_copy (const ClutterPaintVolume *pv);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_paint_volume_free (ClutterPaintVolume *pv); void clutter_paint_volume_free (ClutterPaintVolume *pv);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_paint_volume_set_origin (ClutterPaintVolume *pv, void clutter_paint_volume_set_origin (ClutterPaintVolume *pv,
const ClutterVertex *origin); const ClutterVertex *origin);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_paint_volume_get_origin (const ClutterPaintVolume *pv, void clutter_paint_volume_get_origin (const ClutterPaintVolume *pv,
ClutterVertex *vertex); ClutterVertex *vertex);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_paint_volume_set_width (ClutterPaintVolume *pv, void clutter_paint_volume_set_width (ClutterPaintVolume *pv,
gfloat width); gfloat width);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gfloat clutter_paint_volume_get_width (const ClutterPaintVolume *pv); gfloat clutter_paint_volume_get_width (const ClutterPaintVolume *pv);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_paint_volume_set_height (ClutterPaintVolume *pv, void clutter_paint_volume_set_height (ClutterPaintVolume *pv,
gfloat height); gfloat height);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gfloat clutter_paint_volume_get_height (const ClutterPaintVolume *pv); gfloat clutter_paint_volume_get_height (const ClutterPaintVolume *pv);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
void clutter_paint_volume_set_depth (ClutterPaintVolume *pv, void clutter_paint_volume_set_depth (ClutterPaintVolume *pv,
gfloat depth); gfloat depth);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gfloat clutter_paint_volume_get_depth (const ClutterPaintVolume *pv); gfloat clutter_paint_volume_get_depth (const ClutterPaintVolume *pv);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_paint_volume_union_box (ClutterPaintVolume *pv, void clutter_paint_volume_union_box (ClutterPaintVolume *pv,
const ClutterActorBox *box); const ClutterActorBox *box);
CLUTTER_AVAILABLE_IN_1_2 CLUTTER_EXPORT
gboolean clutter_paint_volume_set_from_allocation (ClutterPaintVolume *pv, gboolean clutter_paint_volume_set_from_allocation (ClutterPaintVolume *pv,
ClutterActor *actor); ClutterActor *actor);
@ -716,14 +716,14 @@ struct _ClutterMargin
float bottom; float bottom;
}; };
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
GType clutter_margin_get_type (void) G_GNUC_CONST; GType clutter_margin_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterMargin * clutter_margin_new (void) G_GNUC_MALLOC; ClutterMargin * clutter_margin_new (void) G_GNUC_MALLOC;
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
ClutterMargin * clutter_margin_copy (const ClutterMargin *margin_); ClutterMargin * clutter_margin_copy (const ClutterMargin *margin_);
CLUTTER_AVAILABLE_IN_1_10 CLUTTER_EXPORT
void clutter_margin_free (ClutterMargin *margin_); void clutter_margin_free (ClutterMargin *margin_);
/** /**
@ -754,24 +754,24 @@ typedef gboolean (* ClutterProgressFunc) (const GValue *a,
gdouble progress, gdouble progress,
GValue *retval); GValue *retval);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
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 CLUTTER_EXPORT
GType clutter_matrix_get_type (void) G_GNUC_CONST; GType clutter_matrix_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
ClutterMatrix * clutter_matrix_alloc (void); ClutterMatrix * clutter_matrix_alloc (void);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
ClutterMatrix * clutter_matrix_init_identity (ClutterMatrix *matrix); ClutterMatrix * clutter_matrix_init_identity (ClutterMatrix *matrix);
CLUTTER_AVAILABLE_IN_1_12 CLUTTER_EXPORT
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 CLUTTER_EXPORT
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 CLUTTER_EXPORT
void clutter_matrix_free (ClutterMatrix *matrix); void clutter_matrix_free (ClutterMatrix *matrix);
G_END_DECLS G_END_DECLS

View File

@ -70,45 +70,45 @@ struct _ClutterUnits
gint64 __padding_2; gint64 __padding_2;
}; };
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_units_get_type (void) G_GNUC_CONST; GType clutter_units_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterUnitType clutter_units_get_unit_type (const ClutterUnits *units); ClutterUnitType clutter_units_get_unit_type (const ClutterUnits *units);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gfloat clutter_units_get_unit_value (const ClutterUnits *units); gfloat clutter_units_get_unit_value (const ClutterUnits *units);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
ClutterUnits * clutter_units_copy (const ClutterUnits *units); ClutterUnits * clutter_units_copy (const ClutterUnits *units);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_units_free (ClutterUnits *units); void clutter_units_free (ClutterUnits *units);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_units_from_pixels (ClutterUnits *units, void clutter_units_from_pixels (ClutterUnits *units,
gint px); gint px);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_units_from_em (ClutterUnits *units, void clutter_units_from_em (ClutterUnits *units,
gfloat em); gfloat em);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_units_from_em_for_font (ClutterUnits *units, void clutter_units_from_em_for_font (ClutterUnits *units,
const gchar *font_name, const gchar *font_name,
gfloat em); gfloat em);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_units_from_mm (ClutterUnits *units, void clutter_units_from_mm (ClutterUnits *units,
gfloat mm); gfloat mm);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_units_from_cm (ClutterUnits *units, void clutter_units_from_cm (ClutterUnits *units,
gfloat cm); gfloat cm);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_units_from_pt (ClutterUnits *units, void clutter_units_from_pt (ClutterUnits *units,
gfloat pt); gfloat pt);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gfloat clutter_units_to_pixels (ClutterUnits *units); gfloat clutter_units_to_pixels (ClutterUnits *units);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gboolean clutter_units_from_string (ClutterUnits *units, gboolean clutter_units_from_string (ClutterUnits *units,
const gchar *str); const gchar *str);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
gchar * clutter_units_to_string (const ClutterUnits *units); gchar * clutter_units_to_string (const ClutterUnits *units);
/* shorthands for the constructors */ /* shorthands for the constructors */
@ -160,10 +160,10 @@ struct _ClutterParamSpecUnits
gfloat maximum; gfloat maximum;
}; };
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GType clutter_param_units_get_type (void) G_GNUC_CONST; GType clutter_param_units_get_type (void) G_GNUC_CONST;
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
GParamSpec * clutter_param_spec_units (const gchar *name, GParamSpec * clutter_param_spec_units (const gchar *name,
const gchar *nick, const gchar *nick,
const gchar *blurb, const gchar *blurb,
@ -173,10 +173,10 @@ GParamSpec * clutter_param_spec_units (const gchar *name,
gfloat default_value, gfloat default_value,
GParamFlags flags); GParamFlags flags);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
void clutter_value_set_units (GValue *value, void clutter_value_set_units (GValue *value,
const ClutterUnits *units); const ClutterUnits *units);
CLUTTER_AVAILABLE_IN_1_0 CLUTTER_EXPORT
const ClutterUnits * clutter_value_get_units (const GValue *value); const ClutterUnits * clutter_value_get_units (const GValue *value);
G_END_DECLS G_END_DECLS

View File

@ -1,347 +0,0 @@
/*
* Clutter.
*
* An OpenGL based 'interactive canvas' library.
*
* Authored By Matthew Allum <mallum@openedhand.com>
*
* Copyright (C) 2006 OpenedHand
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*
*/
#ifndef __CLUTTER_VERSION_H__
#define __CLUTTER_VERSION_H__
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only <clutter/clutter.h> can be included directly."
#endif
/**
* SECTION:clutter-version
* @short_description: Versioning utility macros
*
* Clutter offers a set of macros for checking the version of the library
* at compile time; it also provides a function to perform the same check
* at run time.
*
* Clutter adds version information to both API deprecations and additions;
* by definining the macros %CLUTTER_VERSION_MIN_REQUIRED and
* %CLUTTER_VERSION_MAX_ALLOWED, you can specify the range of Clutter versions
* whose API you want to use. Functions that were deprecated before, or
* introduced after, this range will trigger compiler warnings. For instance,
* if we define the following symbols:
*
* |[
* CLUTTER_VERSION_MIN_REQUIRED = CLUTTER_VERSION_1_6
* CLUTTER_VERSION_MAX_ALLOWED = CLUTTER_VERSION_1_8
* ]|
*
* and we have the following functions annotated in the Clutter headers:
*
* |[
* void clutter_function_A (void) CLUTTER_DEPRECATED_IN_1_4;
* void clutter_function_B (void) CLUTTER_DEPRECATED_IN_1_6;
* void clutter_function_C (void) CLUTTER_AVAILABLE_IN_1_8;
* void clutter_function_D (void) CLUTTER_AVAILABLE_IN_1_10;
* ]|
*
* then any application code using the functions above will get the output:
*
* |[
* clutter_function_A: deprecation warning
* clutter_function_B: no warning
* clutter_function_C: no warning
* clutter_function_D: symbol not available warning
* ]|
*
* It is possible to disable the compiler warnings by defining the macro
* %CLUTTER_DISABLE_DEPRECATION_WARNINGS before including the clutter.h
* header.
*/
#include <glib.h>
G_BEGIN_DECLS
/**
* CLUTTER_MAJOR_VERSION:
*
* The major version of the Clutter library (1, if %CLUTTER_VERSION is 1.2.3)
*/
#define CLUTTER_MAJOR_VERSION (@CLUTTER_MAJOR_VERSION@)
/**
* CLUTTER_MINOR_VERSION:
*
* The minor version of the Clutter library (2, if %CLUTTER_VERSION is 1.2.3)
*/
#define CLUTTER_MINOR_VERSION (@CLUTTER_MINOR_VERSION@)
/**
* CLUTTER_MICRO_VERSION:
*
* The micro version of the Clutter library (3, if %CLUTTER_VERSION is 1.2.3)
*/
#define CLUTTER_MICRO_VERSION (@CLUTTER_MICRO_VERSION@)
/**
* CLUTTER_VERSION:
*
* The full version of the Clutter library, like 1.2.3
*/
#define CLUTTER_VERSION @CLUTTER_VERSION@
/**
* CLUTTER_VERSION_S:
*
* The full version of the Clutter library, in string form (suited for
* string concatenation)
*/
#define CLUTTER_VERSION_S "@CLUTTER_VERSION@"
/**
* CLUTTER_VERSION_HEX:
*
* Numerically encoded version of the Clutter library, like 0x010203
*/
#define CLUTTER_VERSION_HEX ((CLUTTER_MAJOR_VERSION << 24) | \
(CLUTTER_MINOR_VERSION << 16) | \
(CLUTTER_MICRO_VERSION << 8))
/* XXX - Every new stable minor release bump should add a macro here */
/**
* CLUTTER_VERSION_1_0:
*
* A macro that evaluates to the 1.0 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.10
*/
#define CLUTTER_VERSION_1_0 (G_ENCODE_VERSION (1, 0))
/**
* CLUTTER_VERSION_1_2:
*
* A macro that evaluates to the 1.2 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.10
*/
#define CLUTTER_VERSION_1_2 (G_ENCODE_VERSION (1, 2))
/**
* CLUTTER_VERSION_1_4:
*
* A macro that evaluates to the 1.4 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.10
*/
#define CLUTTER_VERSION_1_4 (G_ENCODE_VERSION (1, 4))
/**
* CLUTTER_VERSION_1_6:
*
* A macro that evaluates to the 1.6 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.10
*/
#define CLUTTER_VERSION_1_6 (G_ENCODE_VERSION (1, 6))
/**
* CLUTTER_VERSION_1_8:
*
* A macro that evaluates to the 1.8 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.10
*/
#define CLUTTER_VERSION_1_8 (G_ENCODE_VERSION (1, 8))
/**
* CLUTTER_VERSION_1_10:
*
* A macro that evaluates to the 1.10 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.10
*/
#define CLUTTER_VERSION_1_10 (G_ENCODE_VERSION (1, 10))
/**
* CLUTTER_VERSION_1_12:
*
* A macro that evaluates to the 1.12 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.12
*/
#define CLUTTER_VERSION_1_12 (G_ENCODE_VERSION (1, 12))
/**
* CLUTTER_VERSION_1_14:
*
* A macro that evaluates to the 1.14 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.14
*/
#define CLUTTER_VERSION_1_14 (G_ENCODE_VERSION (1, 14))
/**
* CLUTTER_VERSION_1_16:
*
* A macro that evaluates to the 1.16 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.16
*/
#define CLUTTER_VERSION_1_16 (G_ENCODE_VERSION (1, 16))
/**
* CLUTTER_VERSION_1_18:
*
* A macro that evaluates to the 1.18 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.18
*/
#define CLUTTER_VERSION_1_18 (G_ENCODE_VERSION (1, 18))
/**
* CLUTTER_VERSION_1_20:
*
* A macro that evaluates to the 1.20 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.20
*/
#define CLUTTER_VERSION_1_20 (G_ENCODE_VERSION (1, 20))
/**
* CLUTTER_VERSION_1_22:
*
* A macro that evaluates to the 1.22 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.22
*/
#define CLUTTER_VERSION_1_22 (G_ENCODE_VERSION (1, 22))
/**
* CLUTTER_VERSION_1_24:
*
* A macro that evaluates to the 1.24 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.24
*/
#define CLUTTER_VERSION_1_24 (G_ENCODE_VERSION (1, 24))
/**
* CLUTTER_VERSION_1_26:
*
* A macro that evaluates to the 1.26 version of Clutter, in a format
* that can be used by the C pre-processor.
*
* Since: 1.26
*/
#define CLUTTER_VERSION_1_26 (G_ENCODE_VERSION (1, 26))
/* evaluates to the current stable version; for development cycles,
* this means the next stable target
*/
#if (CLUTTER_MINOR_VERSION % 2)
# define CLUTTER_VERSION_CUR_STABLE (G_ENCODE_VERSION (CLUTTER_MAJOR_VERSION, CLUTTER_MINOR_VERSION + 1))
#else
# define CLUTTER_VERSION_CUR_STABLE (G_ENCODE_VERSION (CLUTTER_MAJOR_VERSION, CLUTTER_MINOR_VERSION))
#endif
/* evaluates to the previous stable version */
#if (CLUTTER_MINOR_VERSION % 2)
# define CLUTTER_VERSION_PREV_STABLE (G_ENCODE_VERSION (CLUTTER_MAJOR_VERSION, CLUTTER_MINOR_VERSION - 1))
#else
# define CLUTTER_VERSION_PREV_STABLE (G_ENCODE_VERSION (CLUTTER_MAJOR_VERSION, CLUTTER_MINOR_VERSION - 2))
#endif
/**
* CLUTTER_CHECK_VERSION:
* @major: major version, like 1 in 1.2.3
* @minor: minor version, like 2 in 1.2.3
* @micro: micro version, like 3 in 1.2.3
*
* Evaluates to %TRUE if the version of the Clutter library is greater
* than @major, @minor and @micro
*/
#define CLUTTER_CHECK_VERSION(major,minor,micro) \
(CLUTTER_MAJOR_VERSION > (major) || \
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION > (minor)) || \
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION == (minor) && CLUTTER_MICRO_VERSION >= (micro)))
#ifndef _CLUTTER_EXTERN
#define _CLUTTER_EXTERN extern
#endif
#define CLUTTER_VAR _CLUTTER_EXTERN
/**
* clutter_major_version:
*
* The major component of the Clutter library version, e.g. 1 if the version
* is 1.2.3
*
* This value can be used for run-time version checks
*
* For a compile-time check, use %CLUTTER_MAJOR_VERSION
*
* Since: 1.2
*/
extern const guint clutter_major_version;
/**
* clutter_minor_version:
*
* The minor component of the Clutter library version, e.g. 2 if the version
* is 1.2.3
*
* This value can be used for run-time version checks
*
* For a compile-time check, use %CLUTTER_MINOR_VERSION
*
* Since: 1.2
*/
extern const guint clutter_minor_version;
/**
* clutter_micro_version:
*
* The micro component of the Clutter library version, e.g. 3 if the version
* is 1.2.3
*
* This value can be used for run-time version checks
*
* For a compile-time check, use %CLUTTER_MICRO_VERSION
*
* Since: 1.2
*/
extern const guint clutter_micro_version;
G_END_DECLS
#endif /* __CLUTTER_VERSION_H__ */

View File

@ -31,7 +31,7 @@
#define CLUTTER_TYPE_VIRTUAL_INPUT_DEVICE (clutter_virtual_input_device_get_type ()) #define CLUTTER_TYPE_VIRTUAL_INPUT_DEVICE (clutter_virtual_input_device_get_type ())
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
G_DECLARE_DERIVABLE_TYPE (ClutterVirtualInputDevice, G_DECLARE_DERIVABLE_TYPE (ClutterVirtualInputDevice,
clutter_virtual_input_device, clutter_virtual_input_device,
CLUTTER, VIRTUAL_INPUT_DEVICE, CLUTTER, VIRTUAL_INPUT_DEVICE,
@ -106,43 +106,43 @@ struct _ClutterVirtualInputDeviceClass
int slot); int slot);
}; };
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_virtual_input_device_notify_relative_motion (ClutterVirtualInputDevice *virtual_device, void clutter_virtual_input_device_notify_relative_motion (ClutterVirtualInputDevice *virtual_device,
uint64_t time_us, uint64_t time_us,
double dx, double dx,
double dy); double dy);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_virtual_input_device_notify_absolute_motion (ClutterVirtualInputDevice *virtual_device, void clutter_virtual_input_device_notify_absolute_motion (ClutterVirtualInputDevice *virtual_device,
uint64_t time_us, uint64_t time_us,
double x, double x,
double y); double y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_virtual_input_device_notify_button (ClutterVirtualInputDevice *virtual_device, void clutter_virtual_input_device_notify_button (ClutterVirtualInputDevice *virtual_device,
uint64_t time_us, uint64_t time_us,
uint32_t button, uint32_t button,
ClutterButtonState button_state); ClutterButtonState button_state);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_virtual_input_device_notify_key (ClutterVirtualInputDevice *virtual_device, void clutter_virtual_input_device_notify_key (ClutterVirtualInputDevice *virtual_device,
uint64_t time_us, uint64_t time_us,
uint32_t key, uint32_t key,
ClutterKeyState key_state); ClutterKeyState key_state);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_virtual_input_device_notify_keyval (ClutterVirtualInputDevice *virtual_device, void clutter_virtual_input_device_notify_keyval (ClutterVirtualInputDevice *virtual_device,
uint64_t time_us, uint64_t time_us,
uint32_t keyval, uint32_t keyval,
ClutterKeyState key_state); ClutterKeyState key_state);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_virtual_input_device_notify_discrete_scroll (ClutterVirtualInputDevice *virtual_device, void clutter_virtual_input_device_notify_discrete_scroll (ClutterVirtualInputDevice *virtual_device,
uint64_t time_us, uint64_t time_us,
ClutterScrollDirection direction, ClutterScrollDirection direction,
ClutterScrollSource scroll_source); ClutterScrollSource scroll_source);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_virtual_input_device_notify_scroll_continuous (ClutterVirtualInputDevice *virtual_device, void clutter_virtual_input_device_notify_scroll_continuous (ClutterVirtualInputDevice *virtual_device,
uint64_t time_us, uint64_t time_us,
double dx, double dx,
@ -150,26 +150,26 @@ void clutter_virtual_input_device_notify_scroll_continuous (ClutterVirtualInputD
ClutterScrollSource scroll_source, ClutterScrollSource scroll_source,
ClutterScrollFinishFlags finish_flags); ClutterScrollFinishFlags finish_flags);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_virtual_input_device_notify_touch_down (ClutterVirtualInputDevice *virtual_device, void clutter_virtual_input_device_notify_touch_down (ClutterVirtualInputDevice *virtual_device,
uint64_t time_us, uint64_t time_us,
int slot, int slot,
double x, double x,
double y); double y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_virtual_input_device_notify_touch_motion (ClutterVirtualInputDevice *virtual_device, void clutter_virtual_input_device_notify_touch_motion (ClutterVirtualInputDevice *virtual_device,
uint64_t time_us, uint64_t time_us,
int slot, int slot,
double x, double x,
double y); double y);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
void clutter_virtual_input_device_notify_touch_up (ClutterVirtualInputDevice *virtual_device, void clutter_virtual_input_device_notify_touch_up (ClutterVirtualInputDevice *virtual_device,
uint64_t time_us, uint64_t time_us,
int slot); int slot);
CLUTTER_AVAILABLE_IN_ALL CLUTTER_EXPORT
ClutterDeviceManager * clutter_virtual_input_device_get_manager (ClutterVirtualInputDevice *virtual_device); ClutterDeviceManager * clutter_virtual_input_device_get_manager (ClutterVirtualInputDevice *virtual_device);
int clutter_virtual_input_device_get_device_type (ClutterVirtualInputDevice *virtual_device); int clutter_virtual_input_device_get_device_type (ClutterVirtualInputDevice *virtual_device);

Some files were not shown because too many files have changed in this diff Show More