2007-03-23 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/glx/clutter-stage-glx.c: (clutter_stage_glx_allocate_coords): Make sure the top-left corner of the box is our origin.
This commit is contained in:
@ -100,6 +100,16 @@ clutter_stage_delete_event (ClutterStage *stage,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
clutter_stage_paint (ClutterActor *actor)
|
||||
{
|
||||
/* chain up */
|
||||
CLUTTER_NOTE (PAINT, "Chaining up to parent class paint");
|
||||
|
||||
if (CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->paint)
|
||||
CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->paint (actor);
|
||||
}
|
||||
|
||||
static void
|
||||
clutter_stage_set_property (GObject *object,
|
||||
guint prop_id,
|
||||
@ -185,11 +195,14 @@ static void
|
||||
clutter_stage_class_init (ClutterStageClass *klass)
|
||||
{
|
||||
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
|
||||
ClutterStageClass *stage_class = CLUTTER_STAGE_CLASS (klass);
|
||||
|
||||
gobject_class->set_property = clutter_stage_set_property;
|
||||
gobject_class->get_property = clutter_stage_get_property;
|
||||
|
||||
actor_class->paint = clutter_stage_paint;
|
||||
|
||||
stage_class->delete_event = clutter_stage_delete_event;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user