[repaint] Run the repaint functions in clutter_redraw()

The clutter_redraw() function is used by libraries embedding
Clutter inside another toolkit, instead of queueing a redraw
on the embedded stage. This means that clutter_redraw() should
perform the same sequence of actions done by the redraw idle
callback.
This commit is contained in:
Emmanuele Bassi
2009-06-05 17:55:24 +01:00
parent f66021825c
commit 6fe22ac850
3 changed files with 32 additions and 9 deletions

View File

@ -211,6 +211,9 @@ ClutterActor *_clutter_do_pick (ClutterStage *stage,
gint y,
ClutterPickMode mode);
/* the actual redraw */
void _clutter_do_redraw (ClutterStage *stage);
guint _clutter_pixel_to_id (guchar pixel[4]);
void _clutter_id_to_color (guint id, ClutterColor *col);