edje: make it possible to not reset body position on
authorBruno Dilly <bdilly@profusion.mobi>
Wed, 5 Dec 2012 19:29:54 +0000 (19:29 +0000)
committerBruno Dilly <bdilly@profusion.mobi>
Wed, 5 Dec 2012 19:29:54 +0000 (19:29 +0000)
commitc6eac0ed78717021f23b80cbc9b2010914f972da
tree7ececb57c968319d0158c0af0f282f8ac6f762b0
parent3038f33e8220b2b1a86e9d7aa033a19249ffe643
edje: make it possible to not reset body position on
 state changes

To make it possible, a flag was added: ignore_part_position.
Enabled by default, it will let part position be update
only by physics calculatios. If the body is intended to be
moved when state is changed, the flag must to be explicitely
disabled.
It is required otherwise all the states would inherit position
from "default" and reset body's position.

SVN revision: 80276
legacy/edje/src/bin/edje_cc_handlers.c
legacy/edje/src/examples/Makefile.am
legacy/edje/src/examples/physics_basic.edc
legacy/edje/src/examples/physics_complex.edc [new file with mode: 0644]
legacy/edje/src/lib/edje_calc.c
legacy/edje/src/lib/edje_data.c
legacy/edje/src/lib/edje_private.h