From 6974c31ad523d3611472bf12981250c2ba5a8b5b Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Wed, 30 Jul 2008 21:09:58 +0000 Subject: [PATCH] * clutter/clutter-stage.c (clutter_stage_class_init): Added the 'perspective' property. All of the machinery was there to implement the property but somehow the call that actually installs it was missing. --- ChangeLog | 7 +++++++ clutter/clutter-stage.c | 17 +++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/ChangeLog b/ChangeLog index 58043b080..9b5d2acd6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-07-30 Neil Roberts + + * clutter/clutter-stage.c (clutter_stage_class_init): Added the + 'perspective' property. All of the machinery was there to + implement the property but somehow the call that actually installs + it was missing. + 2008-07-30 Emmanuele Bassi * clutter/clutter-fixed.h: diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c index 269c4214b..85052b452 100644 --- a/clutter/clutter-stage.c +++ b/clutter/clutter-stage.c @@ -570,6 +570,23 @@ clutter_stage_class_init (ClutterStageClass *klass) "The color of the main stage", CLUTTER_TYPE_COLOR, CLUTTER_PARAM_READWRITE)); + + /** + * ClutterStage:perspective: + * + * The parameters used for the perspective projection from 3D + * coordinates to 2D + * + * Since: 0.8.2 + */ + g_object_class_install_property + (gobject_class, PROP_PERSPECTIVE, + g_param_spec_boxed ("perspective", + "Perspective", + "Perspective projection parameters", + CLUTTER_TYPE_PERSPECTIVE, + CLUTTER_PARAM_READWRITE)); + /** * ClutterStage:title: *