mutter/clutter/deprecated
Emmanuele Bassi b20e9b78e5 actor: Add :z-position and deprecate :depth
The ClutterActor:depth property has always been a bit of a misnomer:
actors are 2D flat surfaces, so they cannot have "depth"; the property
defines the position on the Z axis.

Another side effect of the :depth property is that it decides the
default paint and allocation order on insertion, and that setting it
will call the ClutterContainer.sort_depth_order() method. This has
proven to be a fairly bad design decision that we strung along from the
0.x days, as it gives a false impression of being able to change the
paint and allocation order simply by changing the position on the Z
axis — something that, in reality, requires depth testing to be enabled
during the paint sequence of an actor's parent.

For 2.0 we need a clean break from the side effects, and a better
defined interface.

ClutterActor:z-position is essentially what ClutterActor:depth is, but
doesn't call into ClutterContainer, and has a more apt name.

https://bugzilla.gnome.org/show_bug.cgi?id=679465
2012-07-11 13:22:19 +01:00
..
clutter-actor-deprecated.c actor: Move ClutterShader-related code out of clutter-actor.c 2012-01-31 11:56:59 +00:00
clutter-actor.h actor: Add :z-position and deprecate :depth 2012-07-11 13:22:19 +01:00
clutter-alpha.c docs: Move the easing modes graphs to the AnimationMode docs 2012-05-02 18:40:38 +01:00
clutter-alpha.h Deprecate ClutterAlpha 2012-04-27 12:30:50 +01:00
clutter-animatable.h Add a deprecated header for ClutterAnimatable 2012-02-27 15:21:32 +00:00
clutter-animation.c Disable deprecation warnings in deprecated classes 2012-04-27 12:38:35 +01:00
clutter-animation.h Remove duplicate typedefs 2012-06-20 09:13:11 +01:00
clutter-animator.c Disable deprecation warnings in deprecated classes 2012-04-27 12:38:35 +01:00
clutter-animator.h Add deprecation annotations 2012-04-27 12:30:48 +01:00
clutter-backend.h Update the deprecation macros 2012-02-27 15:21:31 +00:00
clutter-behaviour-depth.c actor: Add :z-position and deprecate :depth 2012-07-11 13:22:19 +01:00
clutter-behaviour-depth.h Annotate deprecated get_type() functions 2012-05-03 11:35:20 +01:00
clutter-behaviour-ellipse.c actor: Add :z-position and deprecate :depth 2012-07-11 13:22:19 +01:00
clutter-behaviour-ellipse.h Annotate deprecated get_type() functions 2012-05-03 11:35:20 +01:00
clutter-behaviour-opacity.c Deprecate ClutterAlpha 2012-04-27 12:30:50 +01:00
clutter-behaviour-opacity.h Annotate deprecated get_type() functions 2012-05-03 11:35:20 +01:00
clutter-behaviour-path.c Deprecate ClutterAlpha 2012-04-27 12:30:50 +01:00
clutter-behaviour-path.h Annotate deprecated get_type() functions 2012-05-03 11:35:20 +01:00
clutter-behaviour-rotate.c Deprecate ClutterAlpha 2012-04-27 12:30:50 +01:00
clutter-behaviour-rotate.h Annotate deprecated get_type() functions 2012-05-03 11:35:20 +01:00
clutter-behaviour-scale.c Deprecate ClutterAlpha 2012-04-27 12:30:50 +01:00
clutter-behaviour-scale.h Annotate deprecated get_type() functions 2012-05-03 11:35:20 +01:00
clutter-behaviour.c Deprecate ClutterAlpha 2012-04-27 12:30:50 +01:00
clutter-behaviour.h Annotate deprecated get_type() functions 2012-05-03 11:35:20 +01:00
clutter-bin-layout.h bin-layout: Deprecate BinLayout alignments 2012-04-27 12:30:49 +01:00
clutter-box.c Clean up the included headers 2012-02-23 17:21:57 +00:00
clutter-box.h Annotate deprecated get_type() functions 2012-05-03 11:35:20 +01:00
clutter-cairo-texture.c cairo: Always update texture after ClutterCairoTexture::draw 2012-06-20 11:45:21 +02:00
clutter-cairo-texture.h Deprecate ClutterCairoTexture 2012-04-27 12:28:49 +01:00
clutter-container.h Update the deprecation macros 2012-02-27 15:21:31 +00:00
clutter-fixed.c Reduce our internal dependence on the Cogl 1.x api 2012-02-21 17:46:11 +00:00
clutter-fixed.h Update the deprecation macros 2012-02-27 15:21:31 +00:00
clutter-frame-source.c Fix missing/redundant declarations 2012-03-07 12:36:43 +00:00
clutter-frame-source.h Update the deprecation macros 2012-02-27 15:21:31 +00:00
clutter-group.c group: Set the NO_LAYOUT flag 2012-01-27 15:48:46 +00:00
clutter-group.h Update the deprecation macros 2012-02-27 15:21:31 +00:00
clutter-keysyms.h Update keysyms headers 2012-06-11 13:47:29 +01:00
clutter-main.h Deprecate clutter_threads_enter()/leave() 2012-07-11 13:22:19 +01:00
clutter-media.c media: Define CLUTTER_DISABLE_DEPRECATION_WARNINGS 2012-04-26 16:59:08 +01:00
clutter-media.h Deprecate ClutterMedia 2012-04-17 18:10:39 +01:00
clutter-rectangle.c Deprecate ClutterRectangle 2012-01-16 23:35:17 +00:00
clutter-rectangle.h Annotate deprecated get_type() functions 2012-05-03 11:35:20 +01:00
clutter-score.c score: Add deprecation annotations to all docs 2012-05-08 16:13:26 +01:00
clutter-score.h score: Fix version of the deprecation annotations 2012-05-08 16:06:59 +01:00
clutter-shader.c Don't use any GL types or defines in Clutter 2012-03-23 17:24:42 +00:00
clutter-shader.h Annotate deprecated get_type() functions 2012-05-03 11:35:20 +01:00
clutter-stage-manager.h Add deprecated header for ClutterStageManager 2012-02-27 15:21:32 +00:00
clutter-stage.h Update the deprecation macros 2012-02-27 15:21:31 +00:00
clutter-state.c Disable deprecation warnings in deprecated classes 2012-04-27 12:38:35 +01:00
clutter-state.h Add deprecation annotations 2012-04-27 12:30:48 +01:00
clutter-texture.h Add a deprecated header for ClutterTexture 2012-02-27 15:44:38 +00:00
clutter-timeline.h Update the deprecation macros 2012-02-27 15:21:31 +00:00
clutter-timeout-interval.c Tag all deprecated symbols using CLUTTER_DEPRECATED 2011-10-14 11:34:38 +01:00
clutter-timeout-interval.h Move timeout pool to the deprecated section 2011-10-11 17:58:39 +01:00
clutter-timeout-pool.c Deprecate clutter_threads_enter()/leave() 2012-07-11 13:22:19 +01:00
clutter-timeout-pool.h Update the deprecation macros 2012-02-27 15:21:31 +00:00
clutter-util.h Move clutter-util.h into the deprecated section 2012-02-27 15:56:12 +00:00