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,
ClutterActorFlags flags);
ClutterActorFlags clutter_actor_get_flags (ClutterActor *self);
void clutter_actor_show (ClutterActor *self);
void clutter_actor_hide (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_with_clip (ClutterActor *self,
const cairo_rectangle_int_t *clip);
void clutter_actor_queue_relayout (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,
ClutterRequestMode mode);
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,
gfloat *width,
gfloat *height);
void clutter_actor_get_transformed_size (ClutterActor *self,
gfloat *width,
gfloat *height);
void clutter_actor_set_position (ClutterActor *self,
gfloat x,
gfloat y);
void clutter_actor_get_position (ClutterActor *self,
gfloat *x,
gfloat *y);
void clutter_actor_get_transformed_position (ClutterActor *self,
gfloat *x,
gfloat *y);
gboolean clutter_actor_get_fixed_position_set (ClutterActor *self);
void clutter_actor_set_fixed_position_set (ClutterActor *self,
gboolean is_set);
@ -400,14 +395,12 @@ gfloat clutter_actor_get_depth (ClutterActor
void clutter_actor_set_layout_manager (ClutterActor *self,
ClutterLayoutManager *manager);
ClutterLayoutManager * clutter_actor_get_layout_manager (ClutterActor *self);
void clutter_actor_set_x_align (ClutterActor *self,
ClutterActorAlign x_align);
ClutterActorAlign clutter_actor_get_x_align (ClutterActor *self);
void clutter_actor_set_y_align (ClutterActor *self,
ClutterActorAlign y_align);
ClutterActorAlign clutter_actor_get_y_align (ClutterActor *self);
void clutter_actor_set_margin_top (ClutterActor *self,
gfloat margin);
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,
ClutterMargin *margin);
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);
void clutter_actor_set_name (ClutterActor *self,
const gchar *name);
const gchar * clutter_actor_get_name (ClutterActor *self);
/* Paint */
void clutter_actor_set_clip (ClutterActor *self,
gfloat xoff,
gfloat yoff,
@ -456,6 +434,26 @@ void clutter_actor_get_clip (ClutterActor
void clutter_actor_set_clip_to_allocation (ClutterActor *self,
gboolean clip_set);
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 */
void clutter_actor_set_reactive (ClutterActor *actor,
@ -466,6 +464,16 @@ void clutter_actor_grab_key_focus (ClutterActor
gboolean clutter_actor_event (ClutterActor *actor,
ClutterEvent *event,
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 */
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,
ClutterActor *child,
gint index_);
void clutter_actor_iter_init (ClutterActorIter *iter,
ClutterActor *root);
gboolean clutter_actor_iter_next (ClutterActorIter *iter,
@ -533,7 +540,6 @@ gdouble clutter_actor_get_rotation (ClutterActor
gfloat *y,
gfloat *z);
ClutterGravity clutter_actor_get_z_rotation_gravity (ClutterActor *self);
void clutter_actor_set_scale (ClutterActor *self,
gdouble scale_x,
gdouble scale_y);
@ -567,17 +573,19 @@ void clutter_actor_set_anchor_point_from_gravity (ClutterActor
ClutterGravity gravity);
void clutter_actor_move_anchor_point_from_gravity (ClutterActor *self,
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,
gfloat x,
gfloat y,
gfloat *x_out,
gfloat *y_out);
gboolean clutter_actor_should_pick_paint (ClutterActor *self);
void clutter_actor_get_abs_allocation_vertices (ClutterActor *self,
ClutterVertex verts[]);
void clutter_actor_apply_transform_to_point (ClutterActor *self,
const ClutterVertex *point,
ClutterVertex *vertex);
@ -585,38 +593,9 @@ void clutter_actor_apply_relative_transform_to_point (ClutterActor *self
ClutterActor *ancestor,
const ClutterVertex *point,
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,
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
#endif /* __CLUTTER_ACTOR_H__ */