Clean up clutter-actor.h

It's time, we delayed far too long.
This commit is contained in:
Emmanuele Bassi 2012-02-05 08:47:17 +00:00
parent ad62075378
commit bfe7129375

View File

@ -293,7 +293,6 @@ void clutter_actor_set_flags (ClutterActor
void clutter_actor_unset_flags (ClutterActor *self, void clutter_actor_unset_flags (ClutterActor *self,
ClutterActorFlags flags); ClutterActorFlags flags);
ClutterActorFlags clutter_actor_get_flags (ClutterActor *self); ClutterActorFlags clutter_actor_get_flags (ClutterActor *self);
void clutter_actor_show (ClutterActor *self); void clutter_actor_show (ClutterActor *self);
void clutter_actor_hide (ClutterActor *self); void clutter_actor_hide (ClutterActor *self);
void clutter_actor_realize (ClutterActor *self); void clutter_actor_realize (ClutterActor *self);
@ -305,11 +304,14 @@ void clutter_actor_continue_paint (ClutterActor
void clutter_actor_queue_redraw (ClutterActor *self); void clutter_actor_queue_redraw (ClutterActor *self);
void clutter_actor_queue_redraw_with_clip (ClutterActor *self, void clutter_actor_queue_redraw_with_clip (ClutterActor *self,
const cairo_rectangle_int_t *clip); const cairo_rectangle_int_t *clip);
void clutter_actor_queue_relayout (ClutterActor *self); void clutter_actor_queue_relayout (ClutterActor *self);
void clutter_actor_destroy (ClutterActor *self); void clutter_actor_destroy (ClutterActor *self);
void clutter_actor_set_name (ClutterActor *self,
const gchar *name);
const gchar * clutter_actor_get_name (ClutterActor *self);
AtkObject * clutter_actor_get_accessible (ClutterActor *self);
/* size negotiation */ /* Size negotiation */
void clutter_actor_set_request_mode (ClutterActor *self, void clutter_actor_set_request_mode (ClutterActor *self,
ClutterRequestMode mode); ClutterRequestMode mode);
ClutterRequestMode clutter_actor_get_request_mode (ClutterActor *self); ClutterRequestMode clutter_actor_get_request_mode (ClutterActor *self);
@ -361,19 +363,12 @@ void clutter_actor_set_size (ClutterActor
void clutter_actor_get_size (ClutterActor *self, void clutter_actor_get_size (ClutterActor *self,
gfloat *width, gfloat *width,
gfloat *height); gfloat *height);
void clutter_actor_get_transformed_size (ClutterActor *self,
gfloat *width,
gfloat *height);
void clutter_actor_set_position (ClutterActor *self, void clutter_actor_set_position (ClutterActor *self,
gfloat x, gfloat x,
gfloat y); gfloat y);
void clutter_actor_get_position (ClutterActor *self, void clutter_actor_get_position (ClutterActor *self,
gfloat *x, gfloat *x,
gfloat *y); gfloat *y);
void clutter_actor_get_transformed_position (ClutterActor *self,
gfloat *x,
gfloat *y);
gboolean clutter_actor_get_fixed_position_set (ClutterActor *self); gboolean clutter_actor_get_fixed_position_set (ClutterActor *self);
void clutter_actor_set_fixed_position_set (ClutterActor *self, void clutter_actor_set_fixed_position_set (ClutterActor *self,
gboolean is_set); gboolean is_set);
@ -399,15 +394,13 @@ void clutter_actor_set_depth (ClutterActor
gfloat clutter_actor_get_depth (ClutterActor *self); gfloat clutter_actor_get_depth (ClutterActor *self);
void clutter_actor_set_layout_manager (ClutterActor *self, void clutter_actor_set_layout_manager (ClutterActor *self,
ClutterLayoutManager *manager); ClutterLayoutManager *manager);
ClutterLayoutManager *clutter_actor_get_layout_manager (ClutterActor *self); ClutterLayoutManager * clutter_actor_get_layout_manager (ClutterActor *self);
void clutter_actor_set_x_align (ClutterActor *self, void clutter_actor_set_x_align (ClutterActor *self,
ClutterActorAlign x_align); ClutterActorAlign x_align);
ClutterActorAlign clutter_actor_get_x_align (ClutterActor *self); ClutterActorAlign clutter_actor_get_x_align (ClutterActor *self);
void clutter_actor_set_y_align (ClutterActor *self, void clutter_actor_set_y_align (ClutterActor *self,
ClutterActorAlign y_align); ClutterActorAlign y_align);
ClutterActorAlign clutter_actor_get_y_align (ClutterActor *self); ClutterActorAlign clutter_actor_get_y_align (ClutterActor *self);
void clutter_actor_set_margin_top (ClutterActor *self, void clutter_actor_set_margin_top (ClutterActor *self,
gfloat margin); gfloat margin);
gfloat clutter_actor_get_margin_top (ClutterActor *self); gfloat clutter_actor_get_margin_top (ClutterActor *self);
@ -425,22 +418,7 @@ void clutter_actor_set_margin (ClutterActor
void clutter_actor_get_margin (ClutterActor *self, void clutter_actor_get_margin (ClutterActor *self,
ClutterMargin *margin); ClutterMargin *margin);
void clutter_actor_set_opacity (ClutterActor *self, /* Paint */
guint8 opacity);
guint8 clutter_actor_get_opacity (ClutterActor *self);
guint8 clutter_actor_get_paint_opacity (ClutterActor *self);
gboolean clutter_actor_get_paint_visibility (ClutterActor *self);
void clutter_actor_set_offscreen_redirect (ClutterActor *self,
ClutterOffscreenRedirect redirect);
ClutterOffscreenRedirect
clutter_actor_get_offscreen_redirect (ClutterActor *self);
void clutter_actor_set_name (ClutterActor *self,
const gchar *name);
const gchar * clutter_actor_get_name (ClutterActor *self);
void clutter_actor_set_clip (ClutterActor *self, void clutter_actor_set_clip (ClutterActor *self,
gfloat xoff, gfloat xoff,
gfloat yoff, gfloat yoff,
@ -456,6 +434,26 @@ void clutter_actor_get_clip (ClutterActor
void clutter_actor_set_clip_to_allocation (ClutterActor *self, void clutter_actor_set_clip_to_allocation (ClutterActor *self,
gboolean clip_set); gboolean clip_set);
gboolean clutter_actor_get_clip_to_allocation (ClutterActor *self); gboolean clutter_actor_get_clip_to_allocation (ClutterActor *self);
void clutter_actor_set_opacity (ClutterActor *self,
guint8 opacity);
guint8 clutter_actor_get_opacity (ClutterActor *self);
guint8 clutter_actor_get_paint_opacity (ClutterActor *self);
gboolean clutter_actor_get_paint_visibility (ClutterActor *self);
void clutter_actor_set_offscreen_redirect (ClutterActor *self,
ClutterOffscreenRedirect redirect);
ClutterOffscreenRedirect clutter_actor_get_offscreen_redirect (ClutterActor *self);
gboolean clutter_actor_should_pick_paint (ClutterActor *self);
gboolean clutter_actor_is_in_clone_paint (ClutterActor *self);
gboolean clutter_actor_get_paint_box (ClutterActor *self,
ClutterActorBox *box);
gboolean clutter_actor_has_overlaps (ClutterActor *self);
void clutter_actor_set_background_color (ClutterActor *self,
const ClutterColor *color);
void clutter_actor_get_background_color (ClutterActor *self,
ClutterColor *color);
const ClutterPaintVolume * clutter_actor_get_paint_volume (ClutterActor *self);
const ClutterPaintVolume * clutter_actor_get_transformed_paint_volume (ClutterActor *self,
ClutterActor *relative_to_ancestor);
/* Events */ /* Events */
void clutter_actor_set_reactive (ClutterActor *actor, void clutter_actor_set_reactive (ClutterActor *actor,
@ -466,6 +464,16 @@ void clutter_actor_grab_key_focus (ClutterActor
gboolean clutter_actor_event (ClutterActor *actor, gboolean clutter_actor_event (ClutterActor *actor,
ClutterEvent *event, ClutterEvent *event,
gboolean capture); gboolean capture);
gboolean clutter_actor_has_pointer (ClutterActor *self);
/* Text */
PangoContext * clutter_actor_get_pango_context (ClutterActor *self);
PangoContext * clutter_actor_create_pango_context (ClutterActor *self);
PangoLayout * clutter_actor_create_pango_layout (ClutterActor *self,
const gchar *text);
void clutter_actor_set_text_direction (ClutterActor *self,
ClutterTextDirection text_dir);
ClutterTextDirection clutter_actor_get_text_direction (ClutterActor *self);
/* Actor hierarchy */ /* Actor hierarchy */
void clutter_actor_add_child (ClutterActor *self, void clutter_actor_add_child (ClutterActor *self,
@ -506,7 +514,6 @@ void clutter_actor_set_child_above_sibling (ClutterActor
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_);
void clutter_actor_iter_init (ClutterActorIter *iter, void clutter_actor_iter_init (ClutterActorIter *iter,
ClutterActor *root); ClutterActor *root);
gboolean clutter_actor_iter_next (ClutterActorIter *iter, gboolean clutter_actor_iter_next (ClutterActorIter *iter,
@ -533,7 +540,6 @@ gdouble clutter_actor_get_rotation (ClutterActor
gfloat *y, gfloat *y,
gfloat *z); gfloat *z);
ClutterGravity clutter_actor_get_z_rotation_gravity (ClutterActor *self); ClutterGravity clutter_actor_get_z_rotation_gravity (ClutterActor *self);
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);
@ -567,17 +573,19 @@ void clutter_actor_set_anchor_point_from_gravity (ClutterActor
ClutterGravity gravity); ClutterGravity gravity);
void clutter_actor_move_anchor_point_from_gravity (ClutterActor *self, void clutter_actor_move_anchor_point_from_gravity (ClutterActor *self,
ClutterGravity gravity); ClutterGravity gravity);
void clutter_actor_get_transformed_position (ClutterActor *self,
gfloat *x,
gfloat *y);
void clutter_actor_get_transformed_size (ClutterActor *self,
gfloat *width,
gfloat *height);
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);
gboolean clutter_actor_should_pick_paint (ClutterActor *self);
void clutter_actor_get_abs_allocation_vertices (ClutterActor *self, void clutter_actor_get_abs_allocation_vertices (ClutterActor *self,
ClutterVertex verts[]); ClutterVertex verts[]);
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);
@ -585,38 +593,9 @@ void clutter_actor_apply_relative_transform_to_point (ClutterActor *self
ClutterActor *ancestor, ClutterActor *ancestor,
const ClutterVertex *point, const ClutterVertex *point,
ClutterVertex *vertex); ClutterVertex *vertex);
PangoContext *clutter_actor_get_pango_context (ClutterActor *self);
PangoContext *clutter_actor_create_pango_context (ClutterActor *self);
PangoLayout * clutter_actor_create_pango_layout (ClutterActor *self,
const gchar *text);
void clutter_actor_get_transformation_matrix (ClutterActor *self, void clutter_actor_get_transformation_matrix (ClutterActor *self,
CoglMatrix *matrix); CoglMatrix *matrix);
gboolean clutter_actor_is_in_clone_paint (ClutterActor *self);
gboolean clutter_actor_has_pointer (ClutterActor *self);
void clutter_actor_set_text_direction (ClutterActor *self,
ClutterTextDirection text_dir);
ClutterTextDirection clutter_actor_get_text_direction (ClutterActor *self);
AtkObject * clutter_actor_get_accessible (ClutterActor *self);
const ClutterPaintVolume *clutter_actor_get_paint_volume (ClutterActor *self);
const ClutterPaintVolume *clutter_actor_get_transformed_paint_volume (ClutterActor *self,
ClutterActor *relative_to_ancestor);
gboolean clutter_actor_get_paint_box (ClutterActor *self,
ClutterActorBox *box);
gboolean clutter_actor_has_overlaps (ClutterActor *self);
void clutter_actor_set_background_color (ClutterActor *self,
const ClutterColor *color);
void clutter_actor_get_background_color (ClutterActor *self,
ClutterColor *color);
G_END_DECLS G_END_DECLS
#endif /* __CLUTTER_ACTOR_H__ */ #endif /* __CLUTTER_ACTOR_H__ */