1
0
Fork 0
mutter-performance-source/clutter/cally
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
..
cally-actor-private.h a11y: expose _cally_actor_get_top_level_origin in cally-actor-private 2011-07-06 16:55:55 +02:00
cally-actor.c actor: Add :z-position and deprecate :depth 2012-07-11 13:22:19 +01:00
cally-actor.h a11y: redoing focus stuff 2012-02-15 19:09:44 +01:00
cally-clone.c cally: Fix redundant declarations 2012-03-07 12:36:43 +00:00
cally-clone.h cally: fixing public headers 2010-09-13 12:19:54 +01:00
cally-factory.h cally: Improving cally doc 2010-07-07 15:48:08 +02:00
cally-group.c cally: Fix redundant declarations 2012-03-07 12:36:43 +00:00
cally-group.h cally: fixing public headers 2010-09-13 12:19:54 +01:00
cally-main.h cally: Clean up the headers 2010-07-05 16:45:43 +01:00
cally-rectangle.c cally: Disable deprecation warnings 2012-05-03 11:34:57 +01:00
cally-rectangle.h cally: fixing public headers 2010-09-13 12:19:54 +01:00
cally-root.c cally: Fix redundant declarations 2012-03-07 12:36:43 +00:00
cally-root.h cally: Clean up the headers 2010-07-05 16:45:43 +01:00
cally-stage.c cally: Fix redundant declarations 2012-03-07 12:36:43 +00:00
cally-stage.h cally: fixing public headers 2010-09-13 12:19:54 +01:00
cally-text.c a11y: implementation for atk_text_get_text_[before/at/after]_offset 2012-06-22 18:06:06 +02:00
cally-text.h cally: fixing public headers 2010-09-13 12:19:54 +01:00
cally-texture.c cally: Fix redundant declarations 2012-03-07 12:36:43 +00:00
cally-texture.h cally: fixing public headers 2010-09-13 12:19:54 +01:00
cally-util.c a11y: remove implementation for [add/remove]_global_event_listener 2012-06-27 14:40:56 +02:00
cally-util.h cally: Clean up the headers 2010-07-05 16:45:43 +01:00
cally.c cally: Disable deprecation warnings 2012-05-03 11:34:57 +01:00
cally.h cally: Clean up the headers 2010-07-05 16:45:43 +01:00
cally.pc.in cally: Fix the pkg-config file 2012-04-21 13:46:00 +01:00
ChangeLog.pre-cally-merge [cally] Added old cally Changelog (pre clutter-cally merge) 2011-05-20 14:13:14 +02:00